[gentoo-portage-dev] [PATCH] glsa-check: add --reverse option (bug 235970)

2019-08-31 Thread Zac Medico
Add --reverse option which causes GLSAs to be listed in reverse order, so that the most recent GLSAs are listed earlier. Suggested-by: Pavel Sanda Bug: https://bugs.gentoo.org/235970 Signed-off-by: Zac Medico --- bin/glsa-check | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff

[gentoo-portage-dev] [PATCH] glsa-check: fix truncated CVE ids in listmode (bug 692134)

2019-08-31 Thread Zac Medico
Use a regular expression to search for CVE ids in GLSA references. Import unicode_literals from __future__ since portage's Glsa class returns unicode strings for all python versions. Reported-by: Georg Weiss Bug: https://bugs.gentoo.org/692134 Signed-off-by: Zac Medico --- bin/glsa-check | 11

[gentoo-portage-dev] [PATCH] _slot_confict_backtrack: consider masking a package matched by all parent atoms (bug 692746)

2019-08-31 Thread Zac Medico
When a slot conflict occurs involving a package that is matched by all involved parent atoms, consider masking the package in order to avoid a possible missed update. The included unit test demonstrates the case fixed by this patch. There are 2 previously existing unit tests that require larger

[gentoo-portage-dev] [PATCH] _backtrack_depgraph: fix premature backtracking termination (bug 693242)

2019-08-31 Thread Zac Medico
Make backtracking continue as long as the backtracker has remaining nodes to explore. This fixes a case where it would terminate prematurely when the depgraph.need_restart() method returned False, even though the backtracker had remaining nodes to explore. Bug: https://bugs.gentoo.org/693242

Re: [gentoo-portage-dev] [PATCH] glsa-check: add exit code for affected GLSAs

2019-08-31 Thread Zac Medico
On 8/30/19 12:18 PM, Aaron Bauman wrote: > Bug: https://bugs.gentoo.org/587930 > > Reported-by: Bandie Yip Kojote > Signed-off-by: Aaron Bauman > --- > bin/glsa-check | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/bin/glsa-check b/bin/glsa-check > index 83ea6b7c3..b3ddc532a 100755 >

Re: [gentoo-portage-dev] [PATCH 1/2] Use RTNETLINK to configure the loopback interface

2019-08-31 Thread Zac Medico
On 8/30/19 11:24 AM, Mike Gilbert wrote: > This eliminates the dependency on iproute2 on Linux. > > Signed-off-by: Mike Gilbert > --- > lib/portage/process.py | 26 -- > lib/portage/util/netlink.py | 98 + > 2 files changed, 108 insertions(+), 16