Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96554 - request: add emerge --fetch-simultaneous flag
Summary: request: add emerge --fetch-simultaneous flag
Status: RESOLVED DUPLICATE of bug 1661
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-19 15:24 UTC by Gasper Azman
Modified: 2005-06-19 15:28 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 Gasper Azman 2005-06-19 15:24:51 UTC
Every emerge -uaDN world I make, it always waits for each packgage to be
downloaded and then compiled, in sequence. Wouldn't it be nicer to have the
packages downloaded *simultaneously*, while other packages are being compiled,
avoiding wasting processor-time and real-time, especially for users with slow
bandwidths.

I have made a habit of running an emerge -fuDN world paralel to emerge -uaDN
world, and it works. the -uaDN process waits for the lock-file to dissapear in
the event that the package isn't downloaded yet by the time the -uaDN process
makes it's way to it, and when the lockfile is gone, it compiles it, while the
-fuDN process proceeds to downloading the next package.

Couldn't this be done automatically by adding --simultaneous-fetch to emerge
commandline?

Possible implementation:

1) If -a is specified, wait for the user to confirm the emerge.
2) Fork the emerge into a process (threading is hard in bash :D) with -f and the
same commandline arguments used to invoke the original emerge, add -f and remove
--fetch-simultaneous and -a flags.
3) enjoy the show.

Thank you for reading.

Reproducible: Always
Steps to Reproduce:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-06-19 15:28:16 UTC

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