Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349719 - emerge needs the ability to fetch a subset of the portage tree
Summary: emerge needs the ability to fetch a subset of the portage tree
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Configuration (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Portage team
URL: http://wiki.gentoo.org/wiki/Google_Su...
Whiteboard:
Keywords:
Depends on:
Blocks: 240187 377365
  Show dependency tree
 
Reported: 2010-12-26 03:18 UTC by Jerry McBride
Modified: 2014-11-11 23:59 UTC (History)
2 users (show)

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 Jerry McBride 2010-12-26 03:18:55 UTC
Enhancement Request. Need a new make.config keyword to allow more control over what is put into /usr/portage.

I'm asking for a new keyword in make,config. 

The idea being... an intelligent way to filter what is being maintained in /usr/portage. Currently, everything and the kitchen sink is in /usr/portage/. A new keyword, say "x86-linux" would restrict emerge --sync to only consider ebuilds that are stable for the linux platform. Thus no testing ebuilds, patches and above all else no bsd and any other non-linux stuff would be put into /usr/portage.

The benefit would be three fold... 

1 - a much smaller /usr/portage tree
2 - a much more snappier portage process
3 - BEST OF ALL... simpler and shorter sync sessions with the Gentoo servers...

The "x86-linux" could be expanded to "~x86-linux"  and "x86-bsd", "~x86-bsd" and so on...

In my best guess... I don't need or use nearly two thirds of what is in my portage tree on my x86 server... Why must we maintain what we don't use? It's time to fix this.

Also... it'd be a good time for a switch that would enable/disable keeping multiple versions of ebuilds. If I'm running an x86 (stable) server, why on earth are we required to maintain several x86 versions of the ebuilds?

Thank you, for your time and Merry Christmas.

Reproducible: Always
Comment 1 Fabian Groffen gentoo-dev 2010-12-26 09:07:47 UTC
There is only few packages that are not intended for x86/amd64 IMO, so your particular example doesn't hold.  Only the minorities (bsd, hppa, etc.) would benefit from your idea.  However, it should be implemented server side, which IMO is a disadvantage which is bigger than the intended benefits for the users.
Comment 2 Zac Medico gentoo-dev 2010-12-26 21:45:49 UTC
(In reply to comment #0)
> The idea being... an intelligent way to filter what is being maintained in
> /usr/portage.

The most practical way to do this is to allow the dependency metadata to be fetched separately from whole ebuild. That way, you can calculate which ebuilds to fetch and only fetch the ones that are needed. This idea is discussed here:

http://en.gentoo-wiki.com/wiki/Google_Summer_of_Code_2010_ideas#Cache_sync
http://en.gentoo-wiki.com/wiki/Google_Summer_of_Code_2010_ideas#Repository_of_Self-Contained_Ebuild_Source_Packages
Comment 3 Zac Medico gentoo-dev 2011-01-15 22:27:35 UTC
*** Bug 351808 has been marked as a duplicate of this bug. ***
Comment 4 Jerry McBride 2014-11-11 23:40:28 UTC
Nothing done with my original request,

Can soeone close this?
Comment 5 Zac Medico gentoo-dev 2014-11-11 23:59:09 UTC
It might still get implemented someday:

http://wiki.gentoo.org/wiki/Google_Summer_of_Code/2012/Ideas#Repository_of_self-contained_ebuild_source_packages

If bugzilla still had the resolved:later resolution, then I'd probably choose that.