On Thu, 02 Jan 2014 11:10:54 -0500
Ian Stakenvicius <a...@gentoo.org> wrote:

> ..or we could just do this, using the existing RESTRICT="mirror"
> that's already in ebuilds -- have a DISTDIR and a NODISTCACHEDIR,
> NODISTCACHEDIR defaults to DISTDIR; if RESTRICT="mirror" then
> distfiles are saved to NODISTCACHEDIR, otherwise are saved to DISTDIR.

IMHO, this is the best solution proposed so far. It doesn't need a new
USE flag duplicating information which is already in RESTRICT (or am I
missing some corner cases here?), and it doesn't bother those who don't
care about this issue with new distfiles-*/ dirs, as with Kent's
proposal.

@Kent: Why do you think another distinction for RESTRICT=fetch is
neccessary? If it really is, it could also be integrated into this
solution, but I don't get the point -- either you're allowed to
redistribute it, or you're not. RESTRICT=fetch just signals Portage
that it won't be *technically* able to download the distfiles.


Luis

Attachment: signature.asc
Description: PGP signature

Reply via email to