summaryrefslogtreecommitdiffstats
path: root/pym/portage/dbapi
Commit message (Collapse)AuthorAgeFilesLines
* Add new emaint targets called "moveinst" and "movebin" for applying package ↵Zac Medico2007-05-282-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 Medico2007-05-271-1/+1
| | | | svn path=/main/trunk/; revision=6644
* Fix broken dict.get logic.Zac Medico2007-05-261-2/+4
| | | | svn path=/main/trunk/; revision=6634
* Create the Packages index whether or not $PKGDIR/All/ exists so that ↵Zac Medico2007-05-261-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 Medico2007-05-251-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 Medico2007-05-241-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 Medico2007-05-241-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 Medico2007-05-231-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 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-231-2/+48
| | | | | | 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-221-22/+6
| | | | 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-221-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 Medico2007-05-221-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 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
* 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
* Add registration support for preserved library objects, move the ↵Marius Mauch2007-05-181-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 semanticsMarius Mauch2007-04-301-6/+8
| | | | svn path=/main/trunk/; revision=6459
* Use a config instance that's not locked/immutable.Zac Medico2007-04-131-2/+2
| | | | svn path=/main/trunk/; revision=6383
* Efficiently recycle partial valid vdb cache when possible. This reduces ↵Zac Medico2007-04-101-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 Medico2007-04-091-1/+1
| | | | svn path=/main/trunk/; revision=6356
* Continue to support profile masking at least until bug #170697 is settled.Zac Medico2007-03-261-0/+13
| | | | svn path=/main/trunk/; revision=6292
* Pass a list of USE flags into config.getMissingLicenses() so that the method ↵Zac Medico2007-03-211-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 Medico2007-03-201-4/+19
| | | | svn path=/main/trunk/; revision=6251
* Never use listdir with both recursion=True and followSymlinks=True since it ↵Zac Medico2007-03-181-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 Medico2007-03-161-2/+2
| | | | svn path=/main/trunk/; revision=6217
* For bug #171117, ensure that the new and old config have different ↵Zac Medico2007-03-161-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 Medico2007-03-101-3/+4
| | | | svn path=/main/trunk/; revision=6203
* Remove legacy "masked by: profile" support as per bug #149508. Profiles ↵Zac Medico2007-03-091-17/+0
| | | | | | should use package.mask to mask unwanted versions of system packages. svn path=/main/trunk/; revision=6195
* Fix misplaced [1]Zac Medico2007-03-011-1/+1
| | | | svn path=/main/trunk/; revision=6107
* For bug #168823, fix broken except statement syntax that prevents the ↵Zac Medico2007-03-011-1/+1
| | | | | | ValueError from being caught as intended. svn path=/main/trunk/; revision=6102
* Merged from branches/prefix r6091:6092.Zac Medico2007-02-271-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 Medico2007-02-221-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 Medico2007-02-201-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 callMarius Mauch2007-02-181-1/+1
| | | | svn path=/main/trunk/; revision=5995
* Move preserve-libs and collision-protect code from treewalk() into their own ↵Marius Mauch2007-02-181-117/+131
| | | | | | functions svn path=/main/trunk/; revision=5994
* extend check for internal references, should remove all libs that are only ↵Marius Mauch2007-02-181-6/+25
| | | | | | used internally now svn path=/main/trunk/; revision=5993
* Move reverse NEEDED cache into CACHE_PATH and use a more descriptive nameMarius Mauch2007-02-181-2/+2
| | | | svn path=/main/trunk/; revision=5992
* For bug #163990, warn about binary packages with invalid categories and do ↵Zac Medico2007-02-181-0/+18
| | | | | | not allow them to be installed. svn path=/main/trunk/; revision=5990