-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Leverton wrote: > 2008/9/4 Zac Medico <[EMAIL PROTECTED]>: >> * The 'unpack' helper function recognizes ;sf=tbz2 and ;sf=tgz >> extensions, for interoperability with gitweb. >> >> * SRC_URI supports a syntax extension which allows customization >> of output file names by using a "->" operator. > > Is it useful to have both of these? The former seems awfully > specialised for a general format like ebuilds, and can be replaced > with > > COMMIT="1234..." > SRC_URI="http://git.example.org/?p=foo.git;a=snapshot;h=${COMMIT};sf=tbz2 > -> foo-${COMMIT}.tar.bz2"
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. - -- Thanks, Zac -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkjA3WUACgkQ/ejvha5XGaOpJgCbBUuFc2POX2nE9An065fC+b2z zTsAoIXp+CyP6Dy15OlcdYjNktoo7/Hq =xJss -----END PGP SIGNATURE-----