From: Brian Harring <ferringb@gmail.com>
To: gentoo-dev@lists.gentoo.org
Cc: Micha?? G??rny <mgorny@gentoo.org>
Subject: Re: [gentoo-dev] [Future EAPI] src_fetch() phase function to support VCS fetching
Date: Thu, 6 Sep 2012 09:49:13 -0700 [thread overview]
Message-ID: <20120906164913.GG18495@localhost> (raw)
In-Reply-To: <20120905120722.04921249@googlemail.com>
On Wed, Sep 05, 2012 at 12:07:22PM +0100, Ciaran McCreesh wrote:
> On Wed, 5 Sep 2012 13:00:05 +0200
> Micha?? G??rny <mgorny@gentoo.org> wrote:
> > > I guess that's a pretty comprehensive "we need to do this properly"
> > > then.
> >
> > Did I say we don't need to? We have the two eclasses which need to do
> > this properly, right? So what's your problem?
>
> The problem is that we need to work out how to deal with this at least
> for Subversion, and probably for CVS too... As much as we'd like to, we
> can't just roll out a src_fetch without eclass changes. This doesn't
> appear to be a trivial feature to provide.
You're conflating the required phase/hook w/ existing bad
implementations; they're separate.
The bad implementations can't use the hook till they sort out their
mess; straight forward enough.
Worth noting, last I looked, git eclass actually didn't do this right
either; basically merges the namespace of each remote/fetch source
into the local namespace, no prefixing. Fixable, but the issue mostly
comes about because of the fact we do *not* have a src_fetch in the
first place.
Either way, if the hook was in place, I expect the eclass level issues
to be sorted shortly after; right now there isn't a reason to do that
work (chicken/egg).
Consider that my +1 for src_fetch also, although FDEPEND is needed or
dependencies; I don't care which, getting a src_fetch has been on my
todo for chrome-os for a while now.
One additional thought- re: the scenarios where we don't fetch to an
intermediate location, then transfer that contents into ${WORKDIR},
while a better name is needed, something along the lines of
RESTRICT=fetches-into-workdir comes to mind.
Basically that restriction would be interpretted as "$WORKDIR must be
setup/preserved from invocation of src_fetch to actual building".
Via that restrict, both scenarios should be addressed in full.
~harring
next prev parent reply other threads:[~2012-09-06 16:52 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-04 16:43 [gentoo-dev] [Future EAPI] src_fetch() phase function to support VCS fetching Michał Górny
2012-09-04 17:02 ` Rick "Zero_Chaos" Farina
2012-09-04 17:02 ` Michael Mol
2012-09-04 17:23 ` Michał Górny
2012-09-05 7:25 ` Ciaran McCreesh
2012-09-05 8:38 ` Michał Górny
2012-09-05 9:07 ` Ulrich Mueller
2012-09-05 10:07 ` Michał Górny
2012-09-05 10:29 ` Ulrich Mueller
2012-09-05 10:45 ` Andreas K. Huettel
2012-09-05 10:49 ` Ciaran McCreesh
2012-09-05 11:00 ` Michał Górny
2012-09-05 11:07 ` Ciaran McCreesh
2012-09-05 11:25 ` Michał Górny
2012-09-05 13:25 ` Ian Stakenvicius
2012-09-06 16:49 ` Brian Harring [this message]
2012-09-06 18:50 ` Michał Górny
2012-09-06 19:10 ` Brian Harring
2012-09-11 22:36 ` Rick "Zero_Chaos" Farina
2012-09-11 23:40 ` Brian Harring
2012-09-06 15:12 ` James Cloos
2012-09-04 17:24 ` Rick "Zero_Chaos" Farina
2012-09-04 17:05 ` Rick "Zero_Chaos" Farina
2012-09-04 17:32 ` Zac Medico
2012-09-04 19:56 ` Ian Stakenvicius
2012-09-04 20:05 ` Rick "Zero_Chaos" Farina
2012-09-04 20:09 ` Michał Górny
2012-09-04 20:12 ` Andreas K. Huettel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120906164913.GG18495@localhost \
--to=ferringb@gmail.com \
--cc=gentoo-dev@lists.gentoo.org \
--cc=mgorny@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox