So, here's my crontab entry. It's not necessarily the most efficient, but since I'm not around to wait on it, I don't really care; it works.
0 18 * * * /usr/bin/eix-sync >/dev/null; /usr/bin/glsa-check --list ; /usr/sbin/perl-cleaner all ; /usr/sbin/python-updater ; /usr/sbin/haskell-updater ; /usr/bin/emerge -uDN @wor
ld && emerge @preserved-rebuild && revdep-rebuild && emerge --depclean && revdep-rebuild
The eix-sync, when backed by git, is really, really, really noisy, so I >/dev/null it. There's a ridiculous amount of stuff in the output every night. Though that may be because of my EMERGE_DEFAULT_OPTS:
EMERGE_DEFAULT_OPTS="--tree --with-bdeps=y --keep-going --quiet-build=y --deep --unordered-display --load-average 3 --jobs=3 --rebuild-if-new-slot y"
In the end, it's been working for me for quite a long time. I've been doing this (or something like it) for well over a year without it hosing my system. I even have it rolling updating KDE Plasma, KDE Applications, KDE Frameworks and Qt, though that takes about 450 lines in packages.accept_keywords.
If I were to automate something for servers, it'd be a much more intense process, with tight constraints on versioning, integration with application unit tests and further integration tests at each step. (Something I'd absolutely *love* to do, but no way I'm going to have time for setting that up right now. So it's yum-cron on non-critical servers, and manual zoned rolling updates on critical ones.)
--
:wq
On 16 Aug 2016, at 17:24, Michael Mol <mik...@gmail.com> wrote:So, here's my crontab entry. It's not necessarily the most efficient, but since I'm not around to wait on it, I don't really care; it works.
0 18 * * * /usr/bin/eix-sync >/dev/null; /usr/bin/glsa-check --list ; /usr/sbin/perl-cleaner all ; /usr/sbin/python-updater ; /usr/sbin/haskell-updater ; /usr/bin/emerge -uDN @wor
ld && emerge @preserved-rebuild && revdep-rebuild && emerge --depclean && revdep-rebuildThe eix-sync, when backed by git, is really, really, really noisy, so I >/dev/null it. There's a ridiculous amount of stuff in the output every night. Though that may be because of my EMERGE_DEFAULT_OPTS:
EMERGE_DEFAULT_OPTS="--tree --with-bdeps=y --keep-going --quiet-build=y --deep --unordered-display --load-average 3 --jobs=3 --rebuild-if-new-slot y"In the end, it's been working for me for quite a long time. I've been doing this (or something like it) for well over a year without it hosing my system. I even have it rolling updating KDE Plasma, KDE Applications, KDE Frameworks and Qt, though that takes about 450 lines in packages.accept_keywords.