First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 10803
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Nicholas Jones (RETIRED) <carpaski@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: foser (RETIRED) <foser@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
portage-2.0.44.multioverlay.patch portage-2.0.44.multioverlay.patch patch foser (RETIRED) 2002-11-15 19:04 0000 2.74 KB Details | Diff
patch.orig.20030504 Fixed the patch so it applies against 2.0.48_pre5 patch Robin Johnson 2003-05-05 00:19 0000 2.45 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 10803 depends on: Show dependency tree
Bug 10803 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2002-11-15 19:01 0000
A small patch to support multiple overlay dirs. The PORTDIR_OVERLAY should be a
colon seperated list. Like this :
PORTDIR_OVERLAY=/usr/portage.local:/home/user/portdir .

Hm not much to it. The only thing i'm slightly worried about is the usage of
PORTDIR_OVERLAY in ebuild.sh which breaks right now i suppose if used with more
then 1 overly entry, i'm not sure of it's importance.

------- Comment #1 From foser (RETIRED) 2002-11-15 19:04:40 0000 -------
Created an attachment (id=5709) [details]
portage-2.0.44.multioverlay.patch

multi overlay patch , diff to portage-2.0.44/pym/portage.py

------- Comment #2 From Zach Welch (RETIRED) 2002-11-15 23:13:04 0000 -------
reassigning to carpaski, per seemant's irc instruction  Also, it would be nice
for the system to report which ebuild is being used if PORTDIR_OVERLAY is in
effect.  I just spent my evening chasing another bug that would have been
obvious if emerge would just have told me.  If I actually had several overlay
dirs, the nightmare would have been worse. 

------- Comment #3 From Zach Welch (RETIRED) 2002-11-15 23:14:32 0000 -------
sorry for that last unwrapped comment. :( 
 
Also, it would be nice for the system to report which ebuild is being used if 
PORTDIR_OVERLAY is in effect.  I just spent my evening chasing another bug 
that would have been obvious if emerge would just have told me.  If I 
actually had several overlay dirs, the nightmare would have been worse 

------- Comment #4 From foser (RETIRED) 2002-11-16 12:16:14 0000 -------
I think that's a task for emerge, not portage.py .

------- Comment #5 From foser (RETIRED) 2003-01-03 14:16:31 0000 -------
carpaski, any progress here ? It's really an easy feature (i use it all the
time) and the patch still applies to my portage (2.0.46-r4) almost perfectly.

------- Comment #6 From Robin Johnson 2003-02-20 20:30:39 0000 -------
It would be nice to have multiple sources for DISTDIR and PKGDIR as well. This
would enable networks of gentoo machines to share nicely.

A vision:
DISTDIR=/usr/portage/distfiles:/mnt/portage/distfiles
use the first file available in the listed paths, if not available, download it
and put it in the first path. /mnt/portage/distfiles for example could come
from an NFS mount. 
PKGDIR=/usr/portage/packages:/mnt/portage/packages-pentium3:/mnt/portage/packages-pentium2
Again, check the current directory first, (assuming this machine is a pentium3)
but then check a network mounted directory of pentium3 binaries, then a
directory of pentium2 binaries.

It would also have some use for those people with laptops. In the above, have a
check if a directory in the list exists before trying to use it. If it doesn't
exist, just display a warning, but no error. But when they are plugged into a
network where those paths exist (with files in them), things suddenly become
much faster for them.

------- Comment #7 From Robin Johnson 2003-05-05 00:19:58 0000 -------
Created an attachment (id=11506) [details]
Fixed the patch so it applies against 2.0.48_pre5

------- Comment #8 From Robin Johnson 2003-05-05 00:32:16 0000 -------
I'm improving this patch to add the same functionality for DISTDIR/PKGDIR now.
I now have a very good reason.

For cvs ebuilds, portage tries to checkout to $DISTDIR/cvs-src/
if $DISTDIR is a read-only NFS mount, then it fails. Having multiple DISTDIR
allows CVS checkouts to a local distdir, while still having access to large NFS
distdirs.

------- Comment #9 From foser (RETIRED) 2003-07-08 10:26:35 0000 -------
i suppose this one can be closed now ?

------- Comment #10 From Robin Johnson 2003-07-08 13:39:02 0000 -------
Yup.
For multiple distfiles, see Kurt Hindenburg's ongoing work here:
http://www.cherrynebula.net/projects/portage-kvh/portage-kvh.html

I suggested a new approach to him that would avoid breakage in any of the current ebuilds.

First Last Prev Next    No search results available      Search page      Enter new bug