Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 587400

Summary: sys-apps/portage - emerge: Add an option to ignore already downloaded files
Product: Gentoo Linux Reporter: Kete Tefid <ketetefid>
Component: Current packagesAssignee: Portage team <dev-portage>
Status: UNCONFIRMED ---    
Severity: normal CC: ketetefid
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=358923
Whiteboard:
Package list:
Runtime testing required: ---

Description Kete Tefid 2016-06-28 10:10:28 UTC
I have been waiting for this for a long time. When you do "emerge -pfuDN world" to get a list of files for download, it does not check if they exist in DISTDIR or not and it will always include the packages that have already been downloaded in the list. It means that over a slight change to portage and if you have downloaded needed distfiles for the last one and have not upgraded yet, the new list will have the links for the older ones as well. This is is a flaw in design.
Why should I see a link of a file that has already been downloaded?
There should be a flag like --do-not-list-already-downloaded so that there will be two commands:

emerge -pfuDN world

and:

emerge -pfuDN --do-not-list-already-downloaded world

Also, please include another option that will list only one link per file so further text processing is not required for batch downloads.

emerge -pfuDN --do-not-list-already-downloaded --list-one-link-per-file world

Regards
Comment 1 Alexander Berntsen (RETIRED) gentoo-dev 2016-07-01 10:18:42 UTC
(In reply to Kete Tefid from comment #0)
> Also, please include another option that will list only one link per file so
> further text processing is not required for batch downloads.

Please file a separate bug for this.
Comment 2 Kete Tefid 2016-07-03 07:26:59 UTC
(In reply to Alexander Berntsen from comment #1)
> (In reply to Kete Tefid from comment #0)
> > Also, please include another option that will list only one link per file so
> > further text processing is not required for batch downloads.
> 
> Please file a separate bug for this.

As the second option was already explained in this suggestion:
https://bugs.gentoo.org/show_bug.cgi?id=358923
I edited the title accordingly.
Comment 3 Kete Tefid 2016-07-07 12:12:25 UTC
Any update on this?
Comment 4 Alexander Berntsen (RETIRED) gentoo-dev 2016-07-07 14:52:21 UTC
(In reply to Kete Tefid from comment #3)
> Any update on this?

Please don't spam the bug tracker. If anyone has done any work, they will present it if they want to. It looks like no one are working on this bug right now -- would you like to work on it? We have a guide for contributors here: <https://wiki.gentoo.org/wiki/Project:Portage#Contributing_to_Portage>.