Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15790 - Batch fetching of distfiles (two variants)
Summary: Batch fetching of distfiles (two variants)
Status: RESOLVED DUPLICATE of bug 1661
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-16 12:58 UTC by Tommie
Modified: 2011-10-30 22:38 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 Tommie 2003-02-16 12:58:06 UTC
After seeing much discussion in the forums, and since I myself is on a modem,
I'd like to offer the following solution to the 'batch fetching' problem.

1) Have an online html (or text) page which lists all SRC_URIs, which is taken
from all ebuilds in all categories. (I.e. traversing the entire portage tree.)
This would enable users who does not yet have Portage to take that file and
input it to wget, or similar, to download the up-to-date distfiles. This should
of course be integrated with the on-line package database, allowing users to see
all SRC_URIs in the package details.

2) Have the option of inputing package names (ebuilds) to emerge using stdin.
Linux has a 128 kB command line limit, if I'm not misstaken, and this probably
means I'm not able to put _all_ packages on the emerge command line, to do
something like 'emerge --fetchonly packages...'. It also makes scripts look
nicer (without nesting backticks...)

3) Have emerge output the list of _all_ SRC_URIs (including dependencies) for a
particular command line. This would be like --fetchonly, except even less is
actually done. ;)

4) Allow for wildcards in the package name specification of 'emerge'. I tried
doing 'emerge --fetchonly net-mail/.+', but this fails, so I assume regexp
support does not exist except when searching.

The first would not be hard to implement when the third has been implemented,
all that is needed then would be the profiles/categories and the 'ls' command.
If number four is implemented, neither profiles/categories nor ls would be
needed to implement 1).

Reproducible: Always
Steps to Reproduce:
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-02-16 13:29:59 UTC
emerge -efp packages

if you ever need more than 2-3 thousand entries on the command line, there is
a major problem. Most system use less than 350 explicit packages. The rest
are dependancies. I have 200 on my system.
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-05-22 13:45:02 UTC

*** This bug has been marked as a duplicate of 1661 ***