Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add new emaint targets called "moveinst" and "movebin" for applying package ↵ | Zac Medico | 2007-05-28 | 2 | -12/+18 |
| | | | | | | moves from $PORTDIR/profiles/updates/ on installed packages and binary packages. svn path=/main/trunk/; revision=6652 | ||||
* | Make emaint prune stale entires from $PKGDIR/Packages. | Zac Medico | 2007-05-27 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=6644 | ||||
* | Fix broken dict.get logic. | Zac Medico | 2007-05-26 | 1 | -2/+4 |
| | | | | svn path=/main/trunk/; revision=6634 | ||||
* | Create the Packages index whether or not $PKGDIR/All/ exists so that ↵ | Zac Medico | 2007-05-26 | 1 | -38/+37 |
| | | | | | | improved binarytree.populate() performance will be available in either case. When dealing with packages in $PKGDIR/All/, it's assumed that the file name, size, and timestamp are enough information to avoid reading the xpak data. svn path=/main/trunk/; revision=6633 | ||||
* | To ease the namespace transition, automatically translate cache.* to ↵ | Zac Medico | 2007-05-25 | 1 | -0/+3 |
| | | | | | | portage.cache.* if an ImportError occurs. svn path=/main/trunk/; revision=6620 | ||||
* | Don't treat KEYWORDS="-*" like KEYWORDS="*", because it's never been that ↵ | Zac Medico | 2007-05-24 | 1 | -2/+3 |
| | | | | | | way and the * behavior was already annoying enough. svn path=/main/trunk/; revision=6617 | ||||
* | Add more relevant package metadata to the Packages index, including ↵ | Zac Medico | 2007-05-24 | 1 | -0/+23 |
| | | | | | | dependencies with USE conditionals collapsed. svn path=/main/trunk/; revision=6609 | ||||
* | Pass a temporary file name to the package phase in the environment variable ↵ | Zac Medico | 2007-05-23 | 1 | -3/+24 |
| | | | | | | PORTAGE_BINPKG_TMPFILE and move the temporary file into place inside binarytree.inject(). This allows binarytree.inject() to perform the move while holding a lock. svn path=/main/trunk/; revision=6591 | ||||
* | Save memory by not holding a reference to the PackageIndex when it's not ↵ | Zac Medico | 2007-05-23 | 1 | -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 Medico | 2007-05-23 | 1 | -12/+36 |
| | | | | | | just built. svn path=/main/trunk/; revision=6589 | ||||
* | Store the path of $PKGDIR/Packages as binarytree._pkgindex_file. | Zac Medico | 2007-05-23 | 1 | -4/+4 |
| | | | | svn path=/main/trunk/; revision=6588 | ||||
* | Lock $PKGDIR/Packages during population so that it won't get out of sync if ↵ | Zac Medico | 2007-05-23 | 1 | -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 Medico | 2007-05-23 | 1 | -2/+48 |
| | | | | | | hurt performance). svn path=/main/trunk/; revision=6586 | ||||
* | Discard metadata from the Packages file if there's no MTIME attribute. | Zac Medico | 2007-05-22 | 1 | -10/+4 |
| | | | | svn path=/main/trunk/; revision=6585 | ||||
* | Split reading/writing of $PKGDIR/Packages into a PackageIndex class. | Zac Medico | 2007-05-22 | 1 | -22/+6 |
| | | | | svn path=/main/trunk/; revision=6584 | ||||
* | Fix missing red import. | Zac Medico | 2007-05-22 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=6583 | ||||
* | Punt the portdbapi.getsize() function since it's unused and broken (mysum ↵ | Zac Medico | 2007-05-22 | 1 | -13/+0 |
| | | | | | | referenced before assignment). svn path=/main/trunk/; revision=6582 | ||||
* | More namespace fixes. | Zac Medico | 2007-05-22 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=6581 | ||||
* | Fix namespace for S_ISUID and S_ISGID. | Zac Medico | 2007-05-22 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=6580 | ||||
* | - cleaner version of the hardlink basic suid protection. actually check that ↵ | Ned Ludd | 2007-05-22 | 1 | -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 Medico | 2007-05-22 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=6571 | ||||
* | Fix size comparison logic. | Zac Medico | 2007-05-22 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=6570 | ||||
* | Cache xpak metadata in ${PKGDIR}/Packages in order to minimize disk load ↵ | Zac Medico | 2007-05-22 | 1 | -2/+102 |
| | | | | | | 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 Medico | 2007-05-22 | 1 | -4/+9 |
| | | | | | | 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 | ||||
* | Add a missing newline to the writemsg output. | Zac Medico | 2007-05-21 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=6564 | ||||
* | - blind chmod 0 before unlinking files to avoid anybody doing sneaky stuff ↵ | Ned Ludd | 2007-05-21 | 1 | -0/+4 |
| | | | | | | via hardlinks svn path=/main/trunk/; revision=6563 | ||||
* | Fall back to pickle if cPickle is unavailable. Thanks to Michael ↵ | Zac Medico | 2007-05-18 | 1 | -1/+5 |
| | | | | | | Haubenwallner <michael.haubenwallner@salomon.at> for reporting. svn path=/main/trunk/; revision=6552 | ||||
* | Add registration support for preserved library objects, move the ↵ | Marius Mauch | 2007-05-18 | 1 | -44/+154 |
| | | | | | | | | | 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 | ||||
* | Fix -* handling in gvisible to match incremental semantics | Marius Mauch | 2007-04-30 | 1 | -6/+8 |
| | | | | svn path=/main/trunk/; revision=6459 | ||||
* | Use a config instance that's not locked/immutable. | Zac Medico | 2007-04-13 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=6383 | ||||
* | Efficiently recycle partial valid vdb cache when possible. This reduces ↵ | Zac Medico | 2007-04-10 | 1 | -4/+7 |
| | | | | | | disk load when switching between versions of portage that cache different keys. svn path=/main/trunk/; revision=6360 | ||||
* | Cache NEEDED in order to optimize update_library_map() calls. | Zac Medico | 2007-04-09 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=6356 | ||||
* | Continue to support profile masking at least until bug #170697 is settled. | Zac Medico | 2007-03-26 | 1 | -0/+13 |
| | | | | svn path=/main/trunk/; revision=6292 | ||||
* | Pass a list of USE flags into config.getMissingLicenses() so that the method ↵ | Zac Medico | 2007-03-21 | 1 | -1/+6 |
| | | | | | | can eventually be used for binary packages in addition to ebuilds. svn path=/main/trunk/; revision=6260 | ||||
* | Implement license visibility filtering for GLEP 23, bug #17367, and bug #152593. | Zac Medico | 2007-03-20 | 1 | -4/+19 |
| | | | | svn path=/main/trunk/; revision=6251 | ||||
* | Never use listdir with both recursion=True and followSymlinks=True since it ↵ | Zac Medico | 2007-03-18 | 1 | -2/+2 |
| | | | | | | circular symlinks will lead to endless recursion loops. Thanks to Tobias Hahn <tobhahn@web.de> for this patch. svn path=/main/trunk/; revision=6242 | ||||
* | Fix a utime call to prevent a timestamp collision for bug #171117. | Zac Medico | 2007-03-16 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=6217 | ||||
* | For bug #171117, ensure that the new and old config have different ↵ | Zac Medico | 2007-03-16 | 1 | -1/+7 |
| | | | | | | timestamps (for the benefit of programs like rsync that need distiguishable timestamps to detect file changes). Thanks to Ben Bennett <sink@limey.net> for reporting. svn path=/main/trunk/; revision=6215 | ||||
* | For bug #170178, remove all hardcoded references to '/usr/lib/portage'. | Zac Medico | 2007-03-10 | 1 | -3/+4 |
| | | | | svn path=/main/trunk/; revision=6203 | ||||
* | Remove legacy "masked by: profile" support as per bug #149508. Profiles ↵ | Zac Medico | 2007-03-09 | 1 | -17/+0 |
| | | | | | | should use package.mask to mask unwanted versions of system packages. svn path=/main/trunk/; revision=6195 | ||||
* | Fix misplaced [1] | Zac Medico | 2007-03-01 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=6107 | ||||
* | For bug #168823, fix broken except statement syntax that prevents the ↵ | Zac Medico | 2007-03-01 | 1 | -1/+1 |
| | | | | | | ValueError from being caught as intended. svn path=/main/trunk/; revision=6102 | ||||
* | Merged from branches/prefix r6091:6092. | Zac Medico | 2007-02-27 | 1 | -1/+1 |
| | | | | | | | Fix undefined whatever 'best' error by importing it from portage.versions svn path=/main/trunk/; revision=6098 | ||||
* | Fix "NameError: global name 'myfilelist' is not defined" when ↵ | Zac Medico | 2007-02-22 | 1 | -2/+2 |
| | | | | | | collision-protect is enabled. svn path=/main/trunk/; revision=6038 | ||||
* | For bug #167795, try avoid the population routine when possible, so that ↵ | Zac Medico | 2007-02-20 | 1 | -0/+11 |
| | | | | | | FEATURES=buildpkg doesn't always force population. svn path=/main/trunk/; revision=6019 | ||||
* | set.remove() returns None, so can't use it in a function call | Marius Mauch | 2007-02-18 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=5995 | ||||
* | Move preserve-libs and collision-protect code from treewalk() into their own ↵ | Marius Mauch | 2007-02-18 | 1 | -117/+131 |
| | | | | | | functions svn path=/main/trunk/; revision=5994 | ||||
* | extend check for internal references, should remove all libs that are only ↵ | Marius Mauch | 2007-02-18 | 1 | -6/+25 |
| | | | | | | used internally now svn path=/main/trunk/; revision=5993 | ||||
* | Move reverse NEEDED cache into CACHE_PATH and use a more descriptive name | Marius Mauch | 2007-02-18 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=5992 | ||||
* | For bug #163990, warn about binary packages with invalid categories and do ↵ | Zac Medico | 2007-02-18 | 1 | -0/+18 |
| | | | | | | not allow them to be installed. svn path=/main/trunk/; revision=5990 |