summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Save memory by not holding a reference to the PackageIndex when it's not ↵Zac Medico2007-05-231-10/+9
| | | | | | being used. svn path=/main/trunk/; revision=6590
* Lock the Packages index while it's being updated with a packages that was ↵Zac Medico2007-05-231-12/+36
| | | | | | just built. svn path=/main/trunk/; revision=6589
* Store the path of $PKGDIR/Packages as binarytree._pkgindex_file.Zac Medico2007-05-231-4/+4
| | | | svn path=/main/trunk/; revision=6588
* Lock $PKGDIR/Packages during population so that it won't get out of sync if ↵Zac Medico2007-05-231-0/+12
| | | | | | another process updates it. svn path=/main/trunk/; revision=6587
* Update /Packages as each package is built (MD5 is done here since it won't ↵Zac Medico2007-05-232-4/+49
| | | | | | hurt performance). svn path=/main/trunk/; revision=6586
* Discard metadata from the Packages file if there's no MTIME attribute.Zac Medico2007-05-221-10/+4
| | | | svn path=/main/trunk/; revision=6585
* Split reading/writing of $PKGDIR/Packages into a PackageIndex class.Zac Medico2007-05-222-22/+38
| | | | svn path=/main/trunk/; revision=6584
* Fix missing red import.Zac Medico2007-05-221-1/+1
| | | | svn path=/main/trunk/; revision=6583
* Punt the portdbapi.getsize() function since it's unused and broken (mysum ↵Zac Medico2007-05-221-13/+0
| | | | | | referenced before assignment). svn path=/main/trunk/; revision=6582
* More namespace fixes.Zac Medico2007-05-221-2/+2
| | | | svn path=/main/trunk/; revision=6581
* Fix namespace for S_ISUID and S_ISGID.Zac Medico2007-05-221-1/+1
| | | | svn path=/main/trunk/; revision=6580
* - cleaner version of the hardlink basic suid protection. actually check that ↵Ned Ludd2007-05-221-5/+6
| | | | | | the file is setXid svn path=/main/trunk/; revision=6579
* Handle a KeyError if an MTIME is missing from the Packages index.Zac Medico2007-05-221-2/+2
| | | | svn path=/main/trunk/; revision=6571
* Fix size comparison logic.Zac Medico2007-05-221-2/+2
| | | | svn path=/main/trunk/; revision=6570
* Cache xpak metadata in ${PKGDIR}/Packages in order to minimize disk load ↵Zac Medico2007-05-222-2/+122
| | | | | | when binarytree.populate() is called. This does not do all the keys that genpkgindex does but it will copy metadata from the existing Packages file if it appears valid. The binarytree.populate() code is performance critical, so the MD5 will certainly have to be done elsewhere (like just after a package is built). svn path=/main/trunk/; revision=6569
* When ${PKGDIR}/All/ doesn't exist, put packages in ${PKGDIR}/${CATEGORY}/ ↵Zac Medico2007-05-223-12/+20
| | | | | | instead. This new layout is backward compatible with portage-2.1.2 and it will be a requirement for new PORTAGE_BINHOST support that is comming. svn path=/main/trunk/; revision=6568
* Fix src_compile() ECONF_SOURCE logic to make sure it behaves properly.Zac Medico2007-05-221-3/+3
| | | | svn path=/main/trunk/; revision=6567
* Use bash to spawn FETCHCOMMAND under selinux since most other binaries are ↵Zac Medico2007-05-221-0/+2
| | | | | | forbidden as entrypoints into the fetch domain. Thanks to Justin Heesemann <jh@ionium.org> for reporting. svn path=/main/trunk/; revision=6566
* For bug #179380, make support for ECONF_SOURCE in the default src_compile() ↵Zac Medico2007-05-221-1/+3
| | | | | | conditional on EAPI != 0. svn path=/main/trunk/; revision=6565
* Add a missing newline to the writemsg output.Zac Medico2007-05-211-1/+2
| | | | svn path=/main/trunk/; revision=6564
* - blind chmod 0 before unlinking files to avoid anybody doing sneaky stuff ↵Ned Ludd2007-05-211-0/+4
| | | | | | via hardlinks svn path=/main/trunk/; revision=6563
* For bug #179008, just use metadata.dtd directly from $DISTDIR.Zac Medico2007-05-201-14/+13
| | | | svn path=/main/trunk/; revision=6562
* In fetch(), don't try to parse digests unless the "O" variable is defined.Zac Medico2007-05-201-2/+7
| | | | svn path=/main/trunk/; revision=6561
* For bug #179206, improve efficiency by using a containment test instead of ↵Zac Medico2007-05-201-2/+2
| | | | | | str.count inside update_dbentry. Thanks to Jason Lai <jason.lai@gmail.com>. svn path=/main/trunk/; revision=6560
* Use device number and i-node number (like os.path.samefile does) to check if ↵Zac Medico2007-05-191-1/+18
| | | | | | the current directory is inside a given overlay. This solves issues with path comparison and symlinks. svn path=/main/trunk/; revision=6559
* For bug #178378, make the default src_compile() check for configure in ↵Zac Medico2007-05-191-1/+1
| | | | | | ${ECONF_SOURCE:-.} (instead of just .) before it calls econf. Thanks to James C. Georgas <jgeorgas@rogers.com>. svn path=/main/trunk/; revision=6558
* Add edges to shown_edges at the first oportunity.Zac Medico2007-05-191-6/+3
| | | | svn path=/main/trunk/; revision=6557
* In --tree output, keep track of which graph edges have already been ↵Zac Medico2007-05-191-2/+14
| | | | | | displayed and try not to display a given edge more than once. svn path=/main/trunk/; revision=6556
* Avoid permission errors when trying to lock repo_path. Note that the lock ↵Zac Medico2007-05-191-1/+6
| | | | | | file should be mapped into /var somewhere. svn path=/main/trunk/; revision=6555
* For bug #176539, add a "manifest" target to repoman so that there's a simple ↵Zac Medico2007-05-191-2/+16
| | | | | | way to just generate a Manifest. svn path=/main/trunk/; revision=6554
* fix from James C. Georgas to not modify EXTRA_EINSTALL #178544Mike Frysinger2007-05-191-3/+4
| | | | svn path=/main/trunk/; revision=6553
* Fall back to pickle if cPickle is unavailable. Thanks to Michael ↵Zac Medico2007-05-181-1/+5
| | | | | | Haubenwallner <michael.haubenwallner@salomon.at> for reporting. svn path=/main/trunk/; revision=6552
* Only show extra whitespace where there are some news items to display.Zac Medico2007-05-181-4/+6
| | | | svn path=/main/trunk/; revision=6551
* Catch a potential OSError if the child process has already died.Zac Medico2007-05-181-1/+4
| | | | svn path=/main/trunk/; revision=6550
* Update for glep42, preserve-libs and elogMarius Mauch2007-05-181-0/+4
| | | | svn path=/main/trunk/; revision=6549
* Enable elog functionality for the python side of portageMarius Mauch2007-05-1810-119/+213
| | | | svn path=/main/trunk/; revision=6548
* Display notification about unread news in all situations specified by glep 42Marius Mauch2007-05-181-16/+28
| | | | svn path=/main/trunk/; revision=6547
* - store newsid in unread file, not the path to the news itemMarius Mauch2007-05-181-52/+52
| | | | | | | | - use octal numbers to specify file permissions - use descriptive exceptions when (not) creating NewsItem objects - code style cleanups svn path=/main/trunk/; revision=6546
* Add registration support for preserved library objects, move the ↵Marius Mauch2007-05-182-45/+168
| | | | | | | | | library->consumer map code out of vardbapi and fix a bug in the setup code for preserve-libs and collision-protect caused by using relative paths with os.path.islink() svn path=/main/trunk/; revision=6545
* Check to see if I have svn.g.o fixed, no actual file changes, pass #2Robin H. Johnson2007-05-181-1/+1
| | | | svn path=/main/trunk/; revision=6544
* Check to see if I have svn.g.o fixed, no actual file changes.Robin H. Johnson2007-05-181-1/+1
| | | | svn path=/main/trunk/; revision=6543
* wrap linesZac Medico2007-05-171-9/+9
| | | | svn path=/main/trunk/; revision=6542
* For bug #162404, use a pseudo-terminal device pair (instead of a normal ↵Zac Medico2007-05-171-25/+47
| | | | | | pipe) for moving ouput out of the sesandbox domain. svn path=/main/trunk/; revision=6541
* Don't protect USE_EXPAND variables from -* anymore because the really ↵Zac Medico2007-05-161-1/+1
| | | | | | critical ones should all be in use.force now (typically kernel_linux, elibc_glibc, and userland_GNU). svn path=/main/trunk/; revision=6540
* fix syntax (merged from branches/prefix r6534)Zac Medico2007-05-141-1/+1
| | | | svn path=/main/trunk/; revision=6537
* For bug #178293, don't write digest-* files unnecessarily when SRC_URI is empty.Zac Medico2007-05-131-2/+5
| | | | svn path=/main/trunk/; revision=6535
* the profile check is spammy and should be squelched when --quiet is givenAlec Warner2007-05-131-1/+2
| | | | svn path=/main/trunk/; revision=6530
* remove old importZac Medico2007-05-131-1/+0
| | | | svn path=/main/trunk/; revision=6529
* import dispatch_conf from the new namespaceZac Medico2007-05-131-1/+1
| | | | svn path=/main/trunk/; revision=6528
* tabs -> spacesZac Medico2007-05-131-3/+3
| | | | svn path=/main/trunk/; revision=6527