Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: Zac Medico <zmedico@g.o>, gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] Re: [PATCH] autounmask: prefer || choices with existing packages (bug 327177)
Date: Mon, 29 Apr 2019 07:51:47
Message-Id: 48731dba-da0a-a72d-7722-80cfd3c5917e@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH] autounmask: prefer || choices with existing packages (bug 327177) by Zac Medico
1 On 4/29/19 12:33 AM, Zac Medico wrote:
2
3 > + # If all choices have unsatisfied deps, fall back to default
4 > + # autounmask=False behavior.
5 > + choice = choices[0]
6 > +
7 > + if autounmask:
8 > + # An autounmask choice has been rejected, so clear its
9 > + # package selections from the cache.
10 > + self._dynamic_config._filtered_trees[dep_root]["porttree"].dbapi._clear_cache()
11
12 In the above case we actually need to revert any autounmask settings
13 that might have been created. I'll add that and submit an updated patch.
14 --
15 Thanks,
16 Zac

Attachments

File name MIME type
signature.asc application/pgp-signature