Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ideas for Portage
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
alechiko
Guru
Guru


Joined: 01 Feb 2004
Posts: 465
Location: Inside piano, do not disturb.

PostPosted: Sat Nov 20, 2004 2:43 pm    Post subject: Ideas for Portage Reply with quote

I wonder if this has been considered already or not. Im sure if it has ill be shot down quickly by the various folk in this community! :P

Gentoo is all about customizability right? Id love to see the option to customize portage's emerge sync more. When gentoo started out, an "emerge sync" could be done relatively quickly. Now that more and more packages have been added, even with a fast connection (ok really really fast ones dont count for this) it can take quite a while to download a recent portage tree. Lets face it, maybe half or more of the packages in that tree you will never use.

Firstly, it would be great to see portage being changed to be architecture specific. If you dont have amd64 or sparc or whatever, then it would be great if you could only download ebuilds for your architecture when you sync. Just like you can put for example -KDE -qt in your USE flags in make.conf it would be really cool if you could just not download all the KDE ebuilds when you Sync.

Im not sure how feasable this idea is or if the developers are already working on something like this in the background but i just wanted to suggest the idea incase :)

akiru
_________________
None
Back to top
View user's profile Send private message
plbe
l33t
l33t


Joined: 01 May 2004
Posts: 661

PostPosted: Sat Nov 20, 2004 3:20 pm    Post subject: Reply with quote

If I'm not mistaken you can already tell portage to ignore certain ebuilds or directories
Back to top
View user's profile Send private message
Duty
Apprentice
Apprentice


Joined: 15 Nov 2003
Posts: 253

PostPosted: Sat Nov 20, 2004 8:41 pm    Post subject: Reply with quote

/etc/portage/rsync_excludes

This can break ebuilds, though. It would be nice if Portage had more elegant handling for when an possibly rsync_excluded dependency is not found.
Back to top
View user's profile Send private message
iTux
Guru
Guru


Joined: 07 Sep 2004
Posts: 586
Location: Toronto

PostPosted: Sat Nov 20, 2004 8:56 pm    Post subject: Reply with quote

Hi,

Very few ebuilds are architecture specific.
I can only think of boot loaders, x86-only or other pre-compiled binaries and things like Mac-on-Linux :)

So the USE flags thing would be the way to start.

Agree that the full tree might not be needed.

Not that dependences are always computed on the tree. So, would need something smart enough to have at least ebuilds of all dependencies and to get these if dependencies change.

Download speed? It takes about 2 min to sync on a 56K modem... Hint, try to sync more often. :)

Updating the portage cache at the end does take quite some computation time. There also disk space taken by portage tree.

But there is all that source code to download and store. So Gentoo is already not appropriate for low-disk space low Internet connection systems... Unless you compile on other system and download on other system.

So I think development time might be better spent to speed up computation of dependies and of portage cache.

But there are several developers working in different areas and hopefully it will keep improving :)

iTux
Back to top
View user's profile Send private message
alechiko
Guru
Guru


Joined: 01 Feb 2004
Posts: 465
Location: Inside piano, do not disturb.

PostPosted: Sun Nov 21, 2004 3:57 pm    Post subject: Reply with quote

Ill refer back to the portage documentation then ;) thx guys.

akiru
_________________
None
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum