summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
* 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-301-11/+77
| | | | | | | | | | | | | | | | | 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
* 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
* 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 #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-271-6/+10
| | | | | | 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-271-45/+47
| | | | | | (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
* 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-251-63/+111
| | | | | | | | | 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
* Combine --nodeps spinner logic. (trunk r9953)Zac Medico2008-04-241-5/+4
| | | | svn path=/main/branches/2.1.2/; revision=9958
* Bug #172812 - Automatically uninstall packages to avoid blocker conflicts.Zac Medico2008-04-241-111/+358
| | | | | | (trunk r9944:9956) svn path=/main/branches/2.1.2/; revision=9957
* In show_slot_collision_notice(), refer to the problem as a "slot conflict"Zac Medico2008-04-211-2/+3
| | | | | | since that's how I'm refering to it in the docs. (trunk r9938) svn path=/main/branches/2.1.2/; revision=9939
* In action_metadata(), properly put the source cache in readonly mode.Zac Medico2008-04-211-1/+1
| | | | | | (trunk r9936) svn path=/main/branches/2.1.2/; revision=9937
* Bug #218559 - Make portdbapi automatically add sandbox write access toZac Medico2008-04-201-4/+0
| | | | | | | self.depcachedir when appropriate. This makes the portageq blanket sandbox exemption unnecessary. (trunk r9928) svn path=/main/branches/2.1.2/; revision=9929
* Bug #218202 - Make sure the spinner is quiet in --nodep mode. (trunk r9924)Zac Medico2008-04-181-0/+2
| | | | svn path=/main/branches/2.1.2/; revision=9925
* Handle potential InvalidDependString exceptions from visible(). (trunk r9912)Zac Medico2008-04-161-4/+11
| | | | svn path=/main/branches/2.1.2/; revision=9913
* Comment some more on the significance of passing the graph_db and parentZac Medico2008-04-151-1/+8
| | | | | | | into depgraph._select_atoms() to solve some cases of bug #1343 while avoiding unresolvable direct circular dependencies. (trunk r9904) svn path=/main/branches/2.1.2/; revision=9905
* Add support to depgraph._select_atoms() to take a "parent" parameterZac Medico2008-04-151-2/+7
| | | | | | | | | | | | and use that to try and avoid unresolvable direct circular dependencies when necessary. Also, make atom selection more consistent with the graph to solve some cases of bug #1343. This improves the fix from bug #141118 to work in cases when a virtual is not yet installed but it has been pulled into the graph. For example, see the case of Bug #163801#c17, where we want kaffe to satisfy virtual/jdk-1.4 without an extra jvm being pulled in unnecessarily. (trunk r9901) svn path=/main/branches/2.1.2/; revision=9903
* Revert part of atom selection consistency improvement from r9873 since itZac Medico2008-04-151-1/+12
| | | | | | | | | | in some cases it triggers unresolvable direct circular dependencies. For example, this happens with gwydion-dylan which depends on either itself or gwydion-dylan-bin. In case gwydion-dylan is not yet installed, gwydion-dylan-bin needs to be selected in order to avoid a an unresolvable direct circular dependency. (trunk r9900) svn path=/main/branches/2.1.2/; revision=9902
* Bug #217664 - Fix emerge 'by path' package argument handling so thatZac Medico2008-04-141-0/+2
| | | | | | | Package instances are properly cached (avoiding a KeyError later). (trunk r9898) svn path=/main/branches/2.1.2/; revision=9899