On 19/09/13 at 18:33 +0200, Christophe Siraut wrote: > Salut, > > > The use case I have in mind here is: > > I have two machines: a laptop, and a server. I don't run apt very often > > on the server, but I still care about the packages installed there. So, > > I'd like to monitor those packages using how-can-i-help on my laptop. > > It would be more convenient if the list of packages was provided as a > > file (.config/how-can-i-help/packages by default, maybe?). > > As how-can-i-help is primarily intended to be run as apt-get hook, (is > it?) our config file should probably live in /var/lib/how-can-i-help. > Obviously that place is not user writable. I think it would be odd for > the user to manage both its own additional-packages-configuration-file > and a global one.
Well it could be in /root/.config/how-can-i-help/packages, or /etc/how-can-i-help/packages. > Maybe `how-can-i-help -p somepackage,anotherniceone` could add these > packages to /var/lib/how-can-i-help/packages when missing and when the > application is run as priviledgied user. That sounds a bit complex, doesn't it? > At first I found it quite confusing the change of behavior depending on > the privileges, and the need to always output: "Not running as root, > implies --all (lists all opportunities)..." and "Show all opportunities, > not just new ones: how-can-i-help --all". Maybe consider some simplier > messages: "All opportunities" and "New opportunities". The thing is, you can't write the list of seen opportunities of you are not root. That's the only reason for differenciating. Alternatively, we could just display new opportunities when running as user, and display them again the next time we are running as root. That's a bit simpler. What do you think? Lucas -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org