* [gentoo-dev] [portage] "download as"-feature
@ 2007-10-18 23:48 Sven Köhler
2007-10-19 1:10 ` Zac Medico
0 siblings, 1 reply; 3+ messages in thread
From: Sven Köhler @ 2007-10-18 23:48 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 952 bytes --]
Hi,
so a while back, i already had the problem. And just now, i ran into the
problem again:
In an ebuild, i'd like to specify an "download as"-filename. That means,
out there, there is a file called "http://host/myprogram-1.2.3/patch01"
which i'd like to download as "myprogram-1.2.3-patch01".
Of course, there are multiple files out there:
http://host/myprogram-1.2.1/patch01
http://host/myprogram-1.2.3/patch01
http://other.host/other-program-2.1.3/patch01
But current portage versions would download them all to
/usr/portage/distfiles/patch01 which leads to a conflict.
Of course, some collisions are intentional. But some are not, but cannot
be avoided.
Of course, this features needs some new SRC_URI-Syntax. Maybe something
like SRC_URI="http://host/filename|download-as-finename".
Do you think, this feature makes sense?
(I want to discuss, before i make an RFE in BugZilla)
Greetings,
Sven
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] [portage] "download as"-feature
2007-10-18 23:48 [gentoo-dev] [portage] "download as"-feature Sven Köhler
@ 2007-10-19 1:10 ` Zac Medico
2007-10-20 15:17 ` [gentoo-dev] " Sven Köhler
0 siblings, 1 reply; 3+ messages in thread
From: Zac Medico @ 2007-10-19 1:10 UTC (permalink / raw
To: gentoo-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sven Köhler wrote:
> In an ebuild, i'd like to specify an "download as"-filename. That means,
> out there, there is a file called "http://host/myprogram-1.2.3/patch01"
> which i'd like to download as "myprogram-1.2.3-patch01".
http://bugs.gentoo.org/show_bug.cgi?id=177863
We're planning to support that in a coming EAPI (didn't make it into
EAPI 1).
Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
iD8DBQFHGAPn/ejvha5XGaMRApqkAJ4hP2l7NucxDKn/55N/y3/TTFU8PwCggoDf
eiUFV5P2L2JLmwTqrde7rqA=
=BOQ4
-----END PGP SIGNATURE-----
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-dev] Re: [portage] "download as"-feature
2007-10-19 1:10 ` Zac Medico
@ 2007-10-20 15:17 ` Sven Köhler
0 siblings, 0 replies; 3+ messages in thread
From: Sven Köhler @ 2007-10-20 15:17 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 381 bytes --]
>> In an ebuild, i'd like to specify an "download as"-filename. That means,
>> out there, there is a file called "http://host/myprogram-1.2.3/patch01"
>> which i'd like to download as "myprogram-1.2.3-patch01".
>
> http://bugs.gentoo.org/show_bug.cgi?id=177863
>
> We're planning to support that in a coming EAPI (didn't make it into
> EAPI 1).
Thanks for the hint.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-10-20 15:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-18 23:48 [gentoo-dev] [portage] "download as"-feature Sven Köhler
2007-10-19 1:10 ` Zac Medico
2007-10-20 15:17 ` [gentoo-dev] " Sven Köhler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox