Hi, I use gentoo on several systems, basically I'm using a build farm, then I'm deploying pre-built packages on others systems. On all systems, I'm using : > PORTAGE_ELOG_CLASSES="log warn error" > PORTAGE_ELOG_SYSTEM="mail save_summary" Then on local network I'm getting mails when portage wants to tell me something about some updated packages. This is great, but not sufficient IMO : when the entire emerge process succeeds (or fails and stops), I would like to receive a mail from emerge with a summary of the entire process : list and order of updated (binary or not) packages, versions, failures, ... Is it possible ? portage-2.3.76-r1 here. Thank you.
You can save the emerge output to a file and then send as an attachment. A few lines in bash.
Created attachment 594604 [details] emerge output (In reply to Tomáš Mózes from comment #1) > You can save the emerge output to a file and then send as an attachment. A > few lines in bash. Attached file is the emerge output, saved through script, of an update one of my systems. Do you think it is human readable in a mail client ?
You can remove the colors
https://dev.gentoo.org/~zmedico/portage/doc/man/emerge.1.html Try these: --color --nospinner --quiet --quiet-build
Of course I can remove the colors, of course I can do it quiet... but two hours sooner when I must determine if I can validate the command, I then wouldn't see nothing in my terminal. What I'm searching is a summary of what was really done, not the output of what would be (hopefully without error) done calculated two hours sooner. I run emerge through app-misc/screen. When I lock the screen session, two hours later when I come back it can happen that the list of calculated dependencies has disappeared. And I do not remember what was those packages. And : >>> Emerging binary (17 of 43) app-text/libabw-0.1.3::gentoo >>> Installing (17 of 43) app-text/libabw-0.1.3::gentoo >>> Emerging binary (18 of 43) media-libs/libvisio-0.1.7::gentoo >>> Emerging binary (19 of 43) dev-qt/qtcore-5.12.5-r1::gentoo >>> Installing (18 of 43) media-libs/libvisio-0.1.7::gentoo >>> Installing (19 of 43) dev-qt/qtcore-5.12.5-r1::gentoo >>> Emerging binary (20 of 43) dev-qt/qtxml-5.12.5::gentoo >>> Installing (20 of 43) dev-qt/qtxml-5.12.5::gentoo >>> Emerging binary (21 of 43) dev-qt/qttest-5.12.5::gentoo >>> Installing (21 of 43) dev-qt/qttest-5.12.5::gentoo >>> Emerging binary (22 of 43) dev-qt/qtnetwork-5.12.5::gentoo >>> Emerging binary (23 of 43) dev-qt/qtscript-5.12.5::gentoo >>> Installing (22 of 43) dev-qt/qtnetwork-5.12.5::gentoo >>> Emerging binary (24 of 43) dev-qt/linguist-tools-5.12.5::gentoo >>> Emerging binary (25 of 43) dev-qt/qtdbus-5.12.5::gentoo >>> Installing (23 of 43) dev-qt/qtscript-5.12.5::gentoo >>> Installing (24 of 43) dev-qt/linguist-tools-5.12.5::gentoo Seems to me really hard to read (and is also sometimes truncated).
Created attachment 594728 [details] summary