summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* check if PORTAGE_TMPDIR is mounted readonly/noexec (bug #219957)Zac Medico2008-05-021-0/+28
| | | | | | (trunk r10069) svn path=/main/branches/2.1.2/; revision=10076
* Fix broken variable references found by pyflakes. (trunk r10072)Zac Medico2008-05-021-4/+2
| | | | svn path=/main/branches/2.1.2/; revision=10074
* Skip group/owner tarsync options for tarsync if chown on /usr/portageZac Medico2008-05-021-1/+4
| | | | | | | fails, since the user might still be able to sync even though the chown call is not permitted. (trunk r10070) svn path=/main/branches/2.1.2/; revision=10071
* Bug #219837 - Adjust date calculations some more and show anZac Medico2008-05-021-15/+53
| | | | | | | informative ewarn message when bailing out due to a newer snapshot being unavailable. (trunk r10067) svn path=/main/branches/2.1.2/; revision=10068
* Fix variable rename breakage: pkg -> pkg.cpv (trunk r10065)Zac Medico2008-05-011-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=10066
* When adding blockers for installed packages to the graph, use cachedZac Medico2008-05-011-22/+14
| | | | | | Package instances instead of constructing new ones. (trunk r10062) svn path=/main/branches/2.1.2/; revision=10063
* Bug #219918 - Remove the last traces of PORTAGE_TMPFS.Zac Medico2008-05-011-8/+0
| | | | svn path=/main/branches/2.1.2/; revision=10061
* remove PORTAGE_TMPFS commentMarius Mauch2008-05-011-9/+0
| | | | svn path=/main/branches/2.1.2/; revision=10058
* Detect an old version of tarsync and use bzip2 compression in that case.Zac Medico2008-05-011-3/+9
| | | | | | (trunk r10056) svn path=/main/branches/2.1.2/; revision=10057
* Sort blockers when caching them. (trunk r10054)Zac Medico2008-05-011-0/+1
| | | | svn path=/main/branches/2.1.2/; revision=10055
* Don't add blockers to the graph more times than necessary. (trunk r10052)Zac Medico2008-05-011-0/+1
| | | | svn path=/main/branches/2.1.2/; revision=10053
* * Add a Package.operation attribute and use it to distinguish "uninstall"Zac Medico2008-05-011-37/+27
| | | | | | operations. (trunk r10050) svn path=/main/branches/2.1.2/; revision=10051
* Fix 2 more types.InstanceType comparisons that are broken byZac Medico2008-04-301-2/+2
| | | | | | the transition of dbapi to new-style classes. (trunk r6188) svn path=/main/branches/2.1.2/; revision=10049
* Bug #219837 - Adjust date calculations to improve accuracy. (trunk r10047)Zac Medico2008-04-301-3/+7
| | | | svn path=/main/branches/2.1.2/; revision=10048
* Handle a KeyError when validating the blocker cache. (trunk r10045)Zac Medico2008-04-301-1/+6
| | | | svn path=/main/branches/2.1.2/; revision=10046
* * Fix dep_check() so that it doesn't expand virtual blockers since theZac Medico2008-04-302-11/+83
| | | | | | | | | | | | | | | | | un-expanded virtual atom is more useful for maintaining a cache of blocker atoms. * Expand virtual blockers in depgraph.validate_blockers(), since it's not done by dep_check() anymore. * If blocker data from the graph is available, use it to validate the blocker cache and update the cache if it seems invalid. * Make BlockerCache._load() more tolerant to installs/uninstalls so so that cache isn't rebuilt so often. (trunk r10040:10043) svn path=/main/branches/2.1.2/; revision=10044
* Fix "deep" logic in depgraph._complete_graph() so that it alwaysZac Medico2008-04-301-2/+4
| | | | | | | properly recognizes whether or not "deep" was previously enabled. (trunk r10039) svn path=/main/branches/2.1.2/; revision=10040
* Make unmerge() group packages by cat/pn when the order doesn't matter, soZac Medico2008-04-291-6/+29
| | | | | | the display appears like earlier versions of portage. (trunk r10037) svn path=/main/branches/2.1.2/; revision=10038
* Prevent some more visible downgrades from possibly being missed (bug #219369).Zac Medico2008-04-291-2/+8
| | | | | | (trunk r10033:10035) svn path=/main/branches/2.1.2/; revision=10036
* Handle a potential KeyError in depgraph.display() when in --resume modeZac Medico2008-04-281-4/+15
| | | | | | and a package scheduled for uninstall is no longer installed. (trunk r10032) svn path=/main/branches/2.1.2/; revision=10033
* When a package scheduled for uninstall isn't installed anymore, moveZac Medico2008-04-281-4/+12
| | | | | | on to the next task. (trunk r10030) svn path=/main/branches/2.1.2/; revision=10031
* Fix spelling. (trunk r10028)Zac Medico2008-04-281-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=10029
* Add a Package.pv_split attibute to optimize version comparisonZac Medico2008-04-281-17/+10
| | | | | | operators. (trunk r10026) svn path=/main/branches/2.1.2/; revision=10027
* For bug #211833, be explicit that the pkg_prerm() and pkg_postrm() removalZac Medico2008-04-281-1/+2
| | | | | | phases are the ones that are skipped. (trunk r10024) svn path=/main/branches/2.1.2/; revision=10025
* As suggested by Chr. Schaefer in bug #211833, comment #15, note thatZac Medico2008-04-281-5/+7
| | | | | | | removal of the environment.bz2 file is preferred since it may allow the removal phases to execute successfully. (trunk r10022) svn path=/main/branches/2.1.2/; revision=10023
* Add comma to ("__weakref__",) so that it's a tuple instead of a string.Zac Medico2008-04-281-1/+1
| | | | | | Thanks to ferringb. (trunk r10020) svn path=/main/branches/2.1.2/; revision=10021
* Try to format the elog message better for bug #211833, separatingZac Medico2008-04-281-9/+23
| | | | | | paragraphs for easier reading. (trunk r10018) svn path=/main/branches/2.1.2/; revision=10019
* Use write_atomic() for manifest updates. (trunk r10016)Zac Medico2008-04-281-4/+2
| | | | svn path=/main/branches/2.1.2/; revision=10017
* Fix PackageVirtualDbapi.cpv_inject() to make sure packages with duplicateZac Medico2008-04-281-0/+6
| | | | | | cpv or slot are handled correctly. (trunk r10014) svn path=/main/branches/2.1.2/; revision=10015
* Bug #211833 - When an ebuild removal phase fails, notify the user thatZac Medico2008-04-281-1/+8
| | | | | | | | removal of environment.bz2 file will cause the ebuild to be sourced and eclasses from the current portage tree will be used when necessary. (trunk r10009) svn path=/main/branches/2.1.2/; revision=10013
* Bug #218854 - Fix depgraph._iter_atoms_for_pkg() so that argument atomsZac Medico2008-04-281-8/+59
| | | | | | only match the highest visible slot. (trunk r10006:10008) svn path=/main/branches/2.1.2/; revision=10012
* Fix the EbuildQuote check to ignore "echo" and the elog functions sinceZac Medico2008-04-281-1/+4
| | | | | | people might not want quotes in those cases. (trunk r10006) svn path=/main/branches/2.1.2/; revision=10011
* * Remove the only remaining sys.exit() calls inside the depgraph class.Zac Medico2008-04-281-5/+9
| | | | | | | * Fix _unknown_internal_error() to work with zero arguments. (trunk r10005) svn path=/main/branches/2.1.2/; revision=10010
* Never uninstall sys-apps/portage except through replacement. (trunk r10003)Zac Medico2008-04-271-0/+4
| | | | svn path=/main/branches/2.1.2/; revision=10004
* Bug #219369 - Enable automatic upgrage or downgrade to a versionZac Medico2008-04-271-0/+20
| | | | | | | | with visible KEYWORDS when the installed version is masked by KEYWORDS, but never reinstall the same exact version only due to a KEYWORDS mask. (trunk r10001) svn path=/main/branches/2.1.2/; revision=10002
* Take the classes that initialize variables in __slots__ with keywordZac Medico2008-04-271-42/+31
| | | | | | | constructor arguments and make them all derive from a new SlotObject class. (trunk r9994) svn path=/main/branches/2.1.2/; revision=9995
* Create a digraph.difference_update() method and use it to amortize theZac Medico2008-04-272-6/+30
| | | | | | cost of removing nodes from the digraph.order list. (trunk r9992) svn path=/main/branches/2.1.2/; revision=9993
* Remove unnecessary "mydbapi" variable in depgraph.display(). (trunk r9990)Zac Medico2008-04-271-14/+3
| | | | svn path=/main/branches/2.1.2/; revision=9991
* Bug #172812 - When a package needs to be uninstalled in advance ratherZac Medico2008-04-271-24/+77
| | | | | | | | | | | than through replacement, show the corresponding [blocks] entries in the displayed list. In order to show more structure in the --tree display, expand Package -> Uninstall edges into Package -> Blocker -> Uninstall edges. Also, create edges between a package's own blockers and it's Uninstall task since it's blockers become irrelevant as soon as it's uninstalled. (trunk r9983) svn path=/main/branches/2.1.2/; revision=9989
* Add a PackageVirtualDbapi.copy() method. (trunk r9982)Zac Medico2008-04-271-0/+9
| | | | svn path=/main/branches/2.1.2/; revision=9988
* Use digraphs to clean up blocker reference counting in the depgraph.Zac Medico2008-04-272-45/+69
| | | | | | (trunk r9981) svn path=/main/branches/2.1.2/; revision=9987
* Don't assume that altlist() will succeed inside display_problems().Zac Medico2008-04-271-1/+1
| | | | | | (trunk r9980) svn path=/main/branches/2.1.2/; revision=9986
* * Add a Blocker class to use instead of tuples.Zac Medico2008-04-271-5/+24
| | | | | | | | * Fix the Task constructor to properly traverse __slots__ of all inherited classes. (trunk r9979) svn path=/main/branches/2.1.2/; revision=9985
* Refactor the way that depgraph.altlist(), _complete_graph(), andZac Medico2008-04-271-28/+22
| | | | | | | | validate_blockers() interact with eachother. This simplifies things by eliminating the need for recursive calls to validate_blockers(). (trunk r9977) svn path=/main/branches/2.1.2/; revision=9984
* Don't duplicate "system" in xterm titles either.Zac Medico2008-04-251-2/+2
| | | | svn path=/main/branches/2.1.2/; revision=9975
* Don't show "world" twice in the xterm titles. Thanks to armin76 for reporting.Zac Medico2008-04-251-1/+3
| | | | svn path=/main/branches/2.1.2/; revision=9974
* s/be only/only be/ (trunk r9972)Zac Medico2008-04-251-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=9973
* Add some more spinner.update() calls in possibly time consuming loops.Zac Medico2008-04-251-0/+4
| | | | | | (trunk r9968) svn path=/main/branches/2.1.2/; revision=9969
* Bug #172812 - If any Uninstall tasks need to be executed in orderZac Medico2008-04-252-65/+114
| | | | | | | | | to avoid a conflict, complete the graph with any dependencies that may have been initially neglected (to ensure that unsafe Uninstall tasks are properly identified and blocked from execution). (trunk r9962:9965) svn path=/main/branches/2.1.2/; revision=9966
* Add a note about automatic uninstallation to solve blockers. (trunk r9959)Zac Medico2008-04-241-0/+8
| | | | svn path=/main/branches/2.1.2/; revision=9960