summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Make readpkgindex() and writepkgindex() private methods of PackageIndex.v2.2_pre4Zac Medico2008-03-081-24/+24
| | | | svn path=/main/trunk/; revision=9453
* Convert PackageIndex.packages from a dict to a list so that in the futureZac Medico2008-03-072-11/+32
| | | | | | it will be possible to support multiple packages with the same cpv. svn path=/main/trunk/; revision=9452
* Make --prune and --depclean operate with missing dependencies when onlyZac Medico2008-03-071-2/+10
| | | | | | asked to remove specific packages since it's relatively safe in this case. svn path=/main/trunk/; revision=9451
* As requested by wolf31o2, use the ROOT setting from make.conf as long asZac Medico2008-03-051-7/+2
| | | | | | it's not overridden by the calling environment. svn path=/main/trunk/; revision=9439
* Remove redundant CUSTOM_PROFILE_PATH from the PROFILE_PATHS variable soZac Medico2008-03-051-1/+1
| | | | | | | that /etc/portage/profile/profile.bashrc will only be sourced once if it exists. svn path=/main/trunk/; revision=9435
* don't list files as being merged when they are ignored due to confmem, bug ↵Marius Mauch2008-03-031-2/+1
| | | | | | #212080 svn path=/main/trunk/; revision=9426
* check available space in DISTDIR before trying to fetch/copy a file, bug #212152Marius Mauch2008-03-031-2/+11
| | | | svn path=/main/trunk/; revision=9425
* Make profile stacking of default USE and package.* slightly more efficientZac Medico2008-03-021-3/+6
| | | | | | by skipping list.insert() calls when possible. svn path=/main/trunk/; revision=9415
* one more fix to restore correct order for usemask/useforceMarius Mauch2008-03-021-6/+12
| | | | svn path=/main/trunk/; revision=9414
* fix indentation screwup from r9412Marius Mauch2008-03-021-3/+3
| | | | svn path=/main/trunk/; revision=9413
* change stacking order of r9408 so more specific atoms override generic onesMarius Mauch2008-03-021-7/+7
| | | | svn path=/main/trunk/; revision=9412
* Fix typo.Zac Medico2008-03-021-1/+1
| | | | svn path=/main/trunk/; revision=9411
* apply r9408 also for profile-base package.*use* filesMarius Mauch2008-03-021-9/+27
| | | | svn path=/main/trunk/; revision=9410
* remove FEATURES=livecvsportageMarius Mauch2008-03-022-32/+29
| | | | svn path=/main/trunk/; revision=9409
* stack use flags from package.use for multiple matching atoms (bug #200385)Marius Mauch2008-03-021-3/+9
| | | | svn path=/main/trunk/; revision=9408
* ensure that global variables are used to prevent confusing issues like bug ↵Marius Mauch2008-03-022-1/+8
| | | | | | #212055 svn path=/main/trunk/; revision=9407
* undo registrations of preserved libraries if the merge fails, bug #210501Marius Mauch2008-03-021-0/+3
| | | | svn path=/main/trunk/; revision=9406
* Make 'import portage' statements more tolerant to broken source statementsZac Medico2008-03-012-3/+28
| | | | | | | | in make.conf since exceptions thrown during 'import portage' statements can practically render the api unusable for api consumers. Thanks to lxnay for the suggestion. svn path=/main/trunk/; revision=9400
* remove code for manifest1 supportMarius Mauch2008-02-283-180/+7
| | | | svn path=/main/trunk/; revision=9398
* supress stupid line echo in deprecation noticesMarius Mauch2008-02-281-1/+6
| | | | svn path=/main/trunk/; revision=9397
* remove obsolete information from preserve-libs post-emerge messagev2.2_pre3Marius Mauch2008-02-281-1/+0
| | | | svn path=/main/trunk/; revision=9395
* separate different messages with newlines in post-emerge outputMarius Mauch2008-02-281-3/+4
| | | | svn path=/main/trunk/; revision=9394
* Fix some references to config["PORTAGE_USE"] to prevent potentialZac Medico2008-02-281-3/+3
| | | | | | KeyErrors. svn path=/main/trunk/; revision=9393
* Bug #211554 - Replace references to config["USE"] with references toZac Medico2008-02-272-72/+76
| | | | | | | | config["PORTAGE_USE"] (which is filtered for intersection with IUSE) so that dependency calculations at installation time are consistent with those at depclean time. svn path=/main/trunk/; revision=9392
* Revert r9387 (the fix for bug #211554) until I figure out why it's messingZac Medico2008-02-272-15/+15
| | | | | | up USE calculations for world updates. svn path=/main/trunk/; revision=9391
* Don't filter USE flags in emerge --info output.Zac Medico2008-02-271-1/+1
| | | | svn path=/main/trunk/; revision=9388
* Bug #211554 - Replace references to config["USE"] with references toZac Medico2008-02-272-16/+16
| | | | | | | | config["PORTAGE_USE"] (which is filtered for intersection with IUSE) so that dependency calculations at installation time are consistent with those at depclean time. svn path=/main/trunk/; revision=9387
* For depclean/prune unmerge order, if there are no dependencies betweenZac Medico2008-02-261-27/+33
| | | | | | package then just unmerge them alphabetically. svn path=/main/trunk/; revision=9385
* Bug #211365 - Use catpkgsplit() instead of pkgsplit() on the cpv in theZac Medico2008-02-261-1/+2
| | | | | | | | dblink constructor since otherwise weird categories containing numbers can make pkgsplit() return None (likely related to version regex handling). (branches/2.1.2 r9383) svn path=/main/trunk/; revision=9384
* Various repoman fixes, plus a weird lockfile tracekback in news.Alec Warner2008-02-242-3/+6
| | | | svn path=/main/trunk/; revision=9377
* Revert portdbapi category auto-detection code since it's not really neededZac Medico2008-02-221-9/+4
| | | | | | | | and can cause problems if we need to add new non-category directories in the future. We only really need the category auto-detection for bindbapi and vardbapi anyway. svn path=/main/trunk/; revision=9368
* Add support for file paths as arguments to emerge. If an argument startsZac Medico2008-02-221-0/+30
| | | | | | | | with / and it's not recognized as a tbz2 or ebuild then we try to find and owner in the vdb and generate a slot atom from it. Thanks to solar for the suggestion. svn path=/main/trunk/; revision=9367
* Bug #211067 - Make the "portdir_overlay" and "mydir" variables containZac Medico2008-02-221-4/+6
| | | | | | | | | | paths that are consistent wrt eachother regardless of any path irregularities that can be induced by symlinks. Consistency is achieved by regenerating one of the paths to ensure that both paths have the exact same mapping between inodes and paths. This consistency ensures that the path manipulations used to calculate "repolevel" will work as intended. svn path=/main/trunk/; revision=9365
* Make LibraryPackageMap.update() sort the contents of the library_consumersZac Medico2008-02-211-1/+2
| | | | | | cache so that it's nice and orderly. svn path=/main/trunk/; revision=9364
* Optimize dblink.isowner() to use fewer stat calls by doing a basenameZac Medico2008-02-211-1/+12
| | | | | | | | comparison to try and eliminate the file before resorting to inode comparison. This speeds up the `portageq owners` command as well as the search that is done when collision-protect finds a collision. svn path=/main/trunk/; revision=9363
* In the circular dependency display, drop PDEPEND (aka MEDIUM_SOFT) fromZac Medico2008-02-201-1/+1
| | | | | | the graph so there's less noise. svn path=/main/trunk/; revision=9362
* Make stack_dicts() treat an empty variable assignment just like a non-emptyZac Medico2008-02-201-1/+1
| | | | | | | assignment. This allows the profile to set and empty variable in make.defaults and have it override a non-empty value as one would expect. svn path=/main/trunk/; revision=9361
* When showing an unsatisfied dep, never include installed packages.Zac Medico2008-02-191-0/+2
| | | | svn path=/main/trunk/; revision=9360
* For greedy slot behavior, in addition to any installed slots alsoZac Medico2008-02-191-5/+6
| | | | | | try to pull in the latest new slot that may be available. svn path=/main/trunk/; revision=9359
* - outsource logic for boolean options into a central functionMarius Mauch2008-02-194-20/+39
| | | | | | | - enable support for greedy behavior in StaticFileSet svn path=/main/trunk/; revision=9358
* Make PreservedLibsRegistry.store() use atomic_ofstream so that we don'tZac Medico2008-02-191-2/+4
| | | | | | lose the whole registry if an error such as 'out of space' occurs. svn path=/main/trunk/; revision=9354
* Make LibraryConsumerSet.mapPathsToAtoms() produce slot atoms so that atomsZac Medico2008-02-191-2/+4
| | | | | | | aren't restricted to the currently installed version, making upgrades possible. svn path=/main/trunk/; revision=9351
* Fix the --depclean/--prune code to use visible() for visibility checksZac Medico2008-02-171-12/+13
| | | | | | instead of the old portdbapi hack. svn path=/main/trunk/; revision=9350
* Fix unmerge() breakage from due to pkgmap being changed fromZac Medico2008-02-171-1/+1
| | | | | | a dict to a list. svn path=/main/trunk/; revision=9349
* Now that unmerge() preserves the order that it's given, if two differentZac Medico2008-02-171-1/+10
| | | | | | | | | slots of the same package are being unmerged then they are not necessarily unmerged consecutively. To make the display less confusing, never display packages as "protected" or "omitted" when they actually belong to the overall set of "selected" packages to be unmerged. svn path=/main/trunk/; revision=9348
* Make sure all packages to be pruned or depcleaned are added to the graph,Zac Medico2008-02-171-0/+1
| | | | | | even when they don't have any dependencies. svn path=/main/trunk/; revision=9347
* Bug #201045 - Make unmerge() preserve the unmerge order of packagesZac Medico2008-02-171-12/+13
| | | | | | given to it by the user or depclean. svn path=/main/trunk/; revision=9346
* In the action_depclean() topological sort, only add packages to theZac Medico2008-02-161-7/+7
| | | | | | graph if they are being removed. svn path=/main/trunk/; revision=9345
* Fix reversed order of parent/child parameders to digraph.add().Zac Medico2008-02-161-1/+1
| | | | svn path=/main/trunk/; revision=9343
* Add missing % x (bug #208946, comment #2).Zac Medico2008-02-161-1/+1
| | | | svn path=/main/trunk/; revision=9342