summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fix depclean breakage so that it doesn't clean some packages thatZac Medico2008-02-161-1/+2
| | | | | | shouldn't be cleaned. svn path=/main/trunk/; revision=9341
* Make depclean code filter out blocker atoms where appropriate.Zac Medico2008-02-161-1/+5
| | | | svn path=/main/trunk/; revision=9340
* Bug #201045 - Use a topological sort to create an unmerge order such thatZac Medico2008-02-161-41/+154
| | | | | | | | each package is unmerged before it's dependencies. This is necessary to avoid breaking things that may need to run during pkg_prerm or pkg_postrm phases. svn path=/main/trunk/; revision=9339
* Update the DepPriority documentation so that the table shows all theZac Medico2008-02-161-7/+10
| | | | | | currently supported priorities and categories. svn path=/main/trunk/; revision=9338
* Fix --newuse reinstall logic broken by the previous commit.Zac Medico2008-02-151-1/+5
| | | | svn path=/main/trunk/; revision=9337
* Fix package selection logic in order to prevent downgrade in casesZac Medico2008-02-141-3/+5
| | | | | | | | | | | | when selective is True and the currently installed version does not have a matching ebuild in the tree. For example, this type of situation is likely to occur if the user somehow obtains a binary package that has a newer version than any of the ebuilds in the portage tree. If package maintainers want to encourage a downgrade in a case like this then they should use package.mask so that the user receives a warning about the installed package being masked. svn path=/main/trunk/; revision=9336
* Bug #209768 - Fix --search "Size of files:" handling so that it properlyZac Medico2008-02-121-4/+5
| | | | | | shows the "Unknown (missing digest)" message instead of a traceback. svn path=/main/trunk/; revision=9333
* Bug #209538 - Disable annoying "masked by keyword" warnings for installedZac Medico2008-02-102-4/+16
| | | | | | | packages. We can assume that if the user accepted the keywords at merge time then they never want to be bothered again. svn path=/main/trunk/; revision=9330
* fix more trivial issues breaking repomanv2.2_pre2Marius Mauch2008-02-101-1/+2
| | | | svn path=/main/trunk/; revision=9328
* Fix CHOST masking logic wrt installed packages so that it's consistentZac Medico2008-02-101-1/+1
| | | | | | between visible() and get_masking_status(). svn path=/main/trunk/; revision=9324
* Bug #209144 - For emerge --sync, show an informative error and don'tZac Medico2008-02-101-0/+6
| | | | | | | return 1 when PORTAGE_RSYNC_RETRIES is exceeded. svn path=/main/trunk/; revision=9321
* Fix the exitcode logic for bug #209144 so that when the server isZac Medico2008-02-101-1/+4
| | | | | | | out of date it's not interpreted like an actual rsync exitcode (to avoid a misleading exitcode interpretation message). svn path=/main/trunk/; revision=9320
* Fix get_mask_info() to properly pass the "installed" attribute intoZac Medico2008-02-101-1/+1
| | | | | | the Package constructor. svn path=/main/trunk/; revision=9318
* Bug #208708 - Show informative warning messages for installedZac Medico2008-02-091-96/+152
| | | | | | packages that are masked. svn path=/main/trunk/; revision=9301
* Fix some broken variable references found by pyflakes.Zac Medico2008-02-081-2/+2
| | | | svn path=/main/trunk/; revision=9299
* Bug #208708 - Fix masked package display some more:Zac Medico2008-02-081-3/+29
| | | | | | | | | | - Warn if all matching ebuilds are masked or the installed package itself is masked. - Do not warn if there are simply no matching ebuilds since that would be annoying in some cases. svn path=/main/trunk/; revision=9293
* Don't show unmasked packages (currently installed packages) inZac Medico2008-02-081-0/+2
| | | | | | the masking display. svn path=/main/trunk/; revision=9292
* Add DISTDIR to the EbuildQuote.var_names. Thanks to Betelgeuse.Zac Medico2008-02-081-1/+1
| | | | svn path=/main/trunk/; revision=9290
* Bug #208708 - Fix warnings for system or world packages that are masked.Zac Medico2008-02-081-1/+3
| | | | svn path=/main/trunk/; revision=9289