On Fri, Sep 5, 2008 at 12:39 AM, Zac Medico <[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 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"

>
> - --
> Thanks,
> Zac
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.9 (GNU/Linux)
>
> iEYEARECAAYFAkjA4iMACgkQ/ejvha5XGaOPxwCfWolOw1zC+VbgrGrFQXqRwoXn
> vDoAoOLGL+PXhyCb2+cmAI4INLfO9reS
> =TXwO
> -----END PGP SIGNATURE-----
>
>

Reply via email to