Luca Barbato posted on Sat, 27 Feb 2016 14:14:12 +0100 as excerpted: > On 24/02/16 01:33, Duncan wrote: >> That option is there, and indeed, a patch providing it was specifically >> added to portage for infra to use, because appending entries to >> existing files is vastly easier and more performant than trying to >> prepend entries and having to rewrite the entire file as a result. > > This sounds wrong in many different ways. The changelog files are tiny > and makes next to no difference truncate+write or append.
FWIW, here's the egencache --updatechangelogs related patch-thread starters (from which the links can be followed to the threads) from back in early November, on the portage-dev list. The 4/4 patch in the first thread added --reverse-order, tho as the intro suggests, there was prior discussion, which my quick "changelog" search didn't pick up. IIRC the original discussion was triggered on the gentoo-dev list by... patrick@, and infra/robbat2's replies started there. http://permalink.gmane.org/gmane.linux.gentoo.portage.devel/5899 http://permalink.gmane.org/gmane.linux.gentoo.portage.devel/5934 http://permalink.gmane.org/gmane.linux.gentoo.portage.devel/5964 http://permalink.gmane.org/gmane.linux.gentoo.portage.devel/5989 The last two also mention: https://bugs.gentoo.org/show_bug.cgi?id=565540 (egencache --update-changelog: parallel support, bug still, BTW, status: IN_PROGRESS) OK, here's the original gentoo-dev thread OP by patrick@: http://permalink.gmane.org/gmane.linux.gentoo.devel/98287 And here's the beginning of the "infra response" subthread with infra/ robbat2@'s responses: http://permalink.gmane.org/gmane.linux.gentoo.devel/98337 And... as it happens that first infra response explains the oldest-first, straight from the horse's mouth, as the saying goes. =:^) -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman