Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 683 - Need support for alternative URIs in SRC_URI
Summary: Need support for alternative URIs in SRC_URI
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-13 10:32 UTC by Arcady Genkin
Modified: 2011-10-30 22:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arcady Genkin 2002-02-13 10:32:04 UTC
The ebuild files should allow specifying multiple mirrors for pulling the
sources.  For example, in the case of net-mail/tmda, the software maintainer
usually keeps only the latest release in foo.bar/releases/.  As soon as the next
release comes out, the previous one is moved into foo.bar/old/.  This means that
until the .ebuild is updated for the new release, it will contain an invalid URI
for the sources.

Given that currently SRC_URI treats a list of URIs as multiple files, that need
to be downloaded to build the package, implementing this feature would not be
too easy.  As as starting point, I propose adding optional alternate URIs in
variables SRC_URI[1-9].  This will limit the number of supported backups to 9,
but I think that this is *way* more than enough.
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-02-13 15:31:14 UTC
Can't you just list *both* possible URIs in SRC_URI?  The downloader should try
them both in succession.