On 2017-07-30 16:30:23, Johannes Schauer wrote: > Quoting Antoine Beaupré (2017-07-30 16:26:08) >> On 2017-07-30 16:06:29, Johannes Schauer wrote: >> > Quoting Antoine Beaupré (2017-07-30 16:05:08) >> >> On 2017-07-30 08:31:08, Johannes Schauer wrote: >> >> > Do you not find the script in >> >> > /usr/share/doc/sbuild/examples/sbuild-update-all >> >> > sufficient? >> >> s/sufficient// :) I didn't notice that one at all. >> >> >> >> How about hooking it straight into cron in some way, or documenting it >> >> somewhere? >> > Patches welcome! >> For documenting or for cron? > > For documenting. The cron script already exists. ;)
I mean in /etc/cron.weekly for example. > It even has documentation of how to use it at the top. What's missing is to > somehow tell people that the script exists. Okay, so where can we do this - i suggested the wiki as a starting point, but I guess adding it to the README file would be good as well? >> In fact, how about just installing the script in /usr/sbin? > > Since it's not made to be used like a normal script (controlled via > environment > variables and redirections for logging) I don't think that would be a good > idea. It seems to have sane enough defaults that this shouldn't matter. I don't see why that would be a problem anyways. Another advantage in having it in the PATH somewhere is that it could then have a manpage and be cross-referenced from stuff like sbuild-update... Autocompletion also does wonder for auto-discovery... Thanks! -- Nothing incites to money-crimes like great poverty or great wealth. - Mark Twain