* [gentoo-dev] Re: RFC: new global USE flag "srcdist"
@ 2014-01-02 21:24 99% ` Ryan Hill
0 siblings, 0 replies; 1+ results
From: Ryan Hill @ 2014-01-02 21:24 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 1155 bytes --]
On Thu, 02 Jan 2014 11:10:54 -0500
Ian Stakenvicius <axs@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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2014-01-01 22:28 [gentoo-dev] RFC: new global USE flag "srcdist" Ulrich Mueller
2014-01-02 12:50 ` [gentoo-dev] " Ryan Hill
2014-01-02 16:10 ` Ian Stakenvicius
2014-01-02 21:24 99% ` Ryan Hill
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox