On Thu, 02 Jan 2014 11:10:54 -0500 Ian Stakenvicius <a...@gentoo.org> wrote:
> On 02/01/14 07:50 AM, Ryan Hill wrote: > > > > Maybe we could add RESTRICT=srcdist which would cause ebuilds to > > save their distfiles in a separate directory controlled by > > PORTDIR_NODIST or something. If the variable is unset then it's > > business as usual. > > > > ..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. This I like (except the name, but mine sucks too ;p). Portage should probably check both dirs when searching for distfiles so it can find manually fetched files the user may have dropped into the wrong one, and also to maybe warn if sources are found in distdir for a mirror-restricted package (or just move them to the right place itself). -- Ryan Hill psn: dirtyepic_sk gcc-porting/toolchain/wxwidgets @ gentoo.org 47C3 6D62 4864 0E49 8E9E 7F92 ED38 BD49 957A 8463
signature.asc
Description: PGP signature