Re: [gentoo-portage-dev] [PATCH] depgraph: make _minimize_children deterministic (bug 631894)

2017-09-25 Thread Zac Medico
On 09/24/2017 11:11 PM, Brian Dolbec wrote: > On Sun, 24 Sep 2017 11:57:19 -0700 > Zac Medico wrote: > >> In order for the eliminate_pkg loop to produce deterministic results, >> the order of the pkgs list must not be random. Prefer to eliminate >> installed packages first,

Re: [gentoo-portage-dev] [PATCH] depgraph: make _minimize_children deterministic (bug 631894)

2017-09-25 Thread Brian Dolbec
On Sun, 24 Sep 2017 11:57:19 -0700 Zac Medico wrote: > In order for the eliminate_pkg loop to produce deterministic results, > the order of the pkgs list must not be random. Prefer to eliminate > installed packages first, in case rebuilds are needed, and also sort > in

[gentoo-portage-dev] [PATCH] depgraph: make _minimize_children deterministic (bug 631894)

2017-09-24 Thread Zac Medico
In order for the eliminate_pkg loop to produce deterministic results, the order of the pkgs list must not be random. Prefer to eliminate installed packages first, in case rebuilds are needed, and also sort in ascending order so that older versions are eliminated first. X-Gentoo-bug: 631894