Alec Warner kirjoitti:
On Fri, Sep 5, 2008 at 12:39 AM, Zac Medico <[EMAIL PROTECTED]> wrote:
David Leverton wrote:
2008/9/5 Zac Medico <[EMAIL PROTECTED]>:
Both approaches are essentially equivalent but it's a little simpler
for ebuild writer if they don't have to customize the output file name.
But is it so much simpler as to justify adding a special
gitweb-specific hack to the package managers?
Well, it's not much different from the existing file extension logic
that's already built into the unpack function. I think what really
matters is whether or not the majority of people see it as a useful
extension.

I think the question isn't 'why is this functionality being made
available'; I think to me it is useful piece of code.

I question its inclusion in the PM though; I would rather see it in
eutils or something similar.

Arguably you could inherit a function from eutils that does SRC_URI
transformation for you.

SRC_URI="foo bar baz;sf=tbz2"
src_uri_gitize

would transform "baz;sf=tbz2" into "baz;sf=tbz2 -> baz.tar.bz2"


I think this is better than having it in EAPI2. You could even move SRC_URI above inherit and automatically transform the URI.

Regards,
Petteri

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to