public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [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

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