summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Remove "selective" depgraph logic from dep_zapdeps() since it's nowZac Medico2008-04-052-10/+0
| | | | | | handled by CompositeDbapi. svn path=/main/trunk/; revision=9714
* Replace the depgraph's fakedbapi of visible packages with a newZac Medico2008-04-051-130/+34
| | | | | | | CompositeDbapi that is implemented on top of the depgraph's existing package selection logic. svn path=/main/trunk/; revision=9713
* In dbapi.move_ent(), never assume that any of the expected metadataZac Medico2008-04-052-5/+6
| | | | | | entries exist (PF, CATEGORY, or *.ebuild). svn path=/main/trunk/; revision=9712
* Add missing "the" to fix grammar.Zac Medico2008-04-041-2/+2
| | | | svn path=/main/trunk/; revision=9710
* Adjust newlines whitespace masked packages display.Zac Medico2008-04-041-2/+2
| | | | svn path=/main/trunk/; revision=9706
* Display the note referencing "masked packages" docs when there areZac Medico2008-04-041-15/+20
| | | | | | installed masked packages to display. svn path=/main/trunk/; revision=9705
* Fix a typo in the depclean USE flag handling when populating theZac Medico2008-04-041-1/+1
| | | | | | digraph for bug #201045. svn path=/main/trunk/; revision=9702
* Fix a typo.Zac Medico2008-04-041-1/+1
| | | | svn path=/main/trunk/; revision=9700
* When the user has given --depclean a list of atoms to clean, pull allZac Medico2008-04-041-3/+9
| | | | | | | | installed packages into the graph (not just those traversable from system or world) to ensure that packages can not be uninstalled unless nothing requires them. svn path=/main/trunk/; revision=9699
* Decrease priority on --onlydpes dependencies so thatZac Medico2008-04-041-0/+4
| | | | | | --buildpkgonly hasallzeros() works correctly. svn path=/main/trunk/; revision=9697
* Add missing DepPriority instances to the graph so that the --buildpkgonlyZac Medico2008-04-041-3/+4
| | | | | | hasallzeros() calculation works correctly again. svn path=/main/trunk/; revision=9696
* Eliminate a redundant atom from the --update greedy slot expansion code.Zac Medico2008-04-031-3/+2
| | | | svn path=/main/trunk/; revision=9695
* Fix package selection logic so that it always properly finds the highestZac Medico2008-04-031-5/+39
| | | | | | | available version in a new slot even though the graph already contains a matching version in a lower slot. svn path=/main/trunk/; revision=9693
* Add missing str.upper() call for PORTAGE_FETCH_RESUME_MIN_SIZE.Zac Medico2008-04-031-1/+1
| | | | svn path=/main/trunk/; revision=9691
* If PORTAGE_FETCH_RESUME_MIN_SIZE is undefined or empty, silently useZac Medico2008-04-031-0/+3
| | | | | | the default. svn path=/main/trunk/; revision=9689
* Implement a PORTAGE_FETCH_RESUME_MIN_SIZE variable that is useful forZac Medico2008-04-031-3/+57
| | | | | | | helping to ensure that small garbage files such as html 404 pages are properly discarded. svn path=/main/trunk/; revision=9687
* For old-style virtuals, we need to repeat the package.providedZac Medico2008-04-031-0/+12
| | | | | | check against the selected package. svn path=/main/trunk/; revision=9685
* In cpv_expand(), if the virtuals file contains a versioned atom (likeZac Medico2008-04-031-1/+5
| | | | | | | | the base profile currently has for virtual/pam), properly remove the operator and version from the atom before it is passed into dbapi.cp_list(). svn path=/main/trunk/; revision=9683
* Fix the previous commit so that the Package instance is created in theZac Medico2008-04-021-2/+9
| | | | | | correct scope. svn path=/main/trunk/; revision=9681
* Use Package.cp instead of dep_getkey(cpv).Zac Medico2008-04-021-2/+6
| | | | svn path=/main/trunk/; revision=9680
* Eliminate a redundant os.path.join() call.Zac Medico2008-04-021-2/+1
| | | | svn path=/main/trunk/; revision=9678
* Handle a potential FileNotFound exception in new_protect_filename() whenZac Medico2008-04-021-3/+9
| | | | | | | the last ._cfg* file happens to be a broken symlink. Thanks to bonsaikitten for reporting. svn path=/main/trunk/; revision=9677
* Remove the digraph._parent_child_digraph since it's no longer needed. It'sZac Medico2008-04-011-10/+7
| | | | | | | main purpose was to track PDEPEND relationships but those are handled just like the other deps now. svn path=/main/trunk/; revision=9675
* Use pkgcmp() instead of == and best() for correctness in case of implicitZac Medico2008-04-011-2/+4
| | | | | | -r0. svn path=/main/trunk/; revision=9672
* Remove some boolean logic that is obsolete now that the "selective" parameterZac Medico2008-04-011-4/+1
| | | | | | is passed into dep_zapdeps(). svn path=/main/trunk/; revision=9669
* Exploid ascending order returned from dbapi.match() calls to avoid the needZac Medico2008-04-011-2/+4
| | | | | | to call best(). svn path=/main/trunk/; revision=9665
* Handle missing LICENSE in the Packages index since that's allowed forZac Medico2008-04-011-0/+1
| | | | | | virtual packages. svn path=/main/trunk/; revision=9662
* When identifying a sys-apps/portage node, compare category too (not justZac Medico2008-04-011-2/+1
| | | | | | "portage". svn path=/main/trunk/; revision=9660
* Bug #215308 - Cache the paths of known bad manifests to ensure that theZac Medico2008-04-011-1/+8
| | | | | | same broken manifest is never checked twice. svn path=/main/trunk/; revision=9658
* When deps are forced to be satisfied by installed packages due to maskingZac Medico2008-03-311-3/+8
| | | | | | | | or unavailability, only tolerate it when the atom comes from either the system or world set since otherwise it's a good idea to bail so that the user can correct the problem. svn path=/main/trunk/; revision=9656
* In the package selection loop, move the installed package rejectionZac Medico2008-03-311-10/+6
| | | | | | code as early as possible. svn path=/main/trunk/; revision=9654
* Fix package selection logic to always properly reject the installed packageZac Medico2008-03-311-2/+4
| | | | | | when another is available and the user wants to reinstall. svn path=/main/trunk/; revision=9652
* Remove some redundant and obsolete code for warning about installedZac Medico2008-03-311-22/+2
| | | | | | packages pulled into the graph. svn path=/main/trunk/; revision=9650
* When selecting packages and there is a mixture of old-style and new-styleZac Medico2008-03-311-4/+17
| | | | | | virtual matches, filter out the old-style virtual matches. svn path=/main/trunk/; revision=9648
* Bug #197810 - Fix package selection logic so that it will always fall backZac Medico2008-03-311-8/+0
| | | | | | to an installed package when necessary. svn path=/main/trunk/; revision=9646
* Make depgraph creation more tolerant of missing or masked packages whenZac Medico2008-03-311-21/+24
| | | | | | | | | | | the relevant deps are satisfied by installed packages. This kind of friendliness is especially desired in cases such as --emptytree where it might not be possible to reinstall every single package. Also, it allows multislot atoms from the world file (that are necessary to prevent them from being removed by depclean) trigger warning messages while still allowing a --emptytree to proceed. svn path=/main/trunk/; revision=9645
* Replace an package tuple with a real Package instance.Zac Medico2008-03-311-2/+1
| | | | svn path=/main/trunk/; revision=9644
* Pass Package instances into visible() so that the package instance canZac Medico2008-03-311-27/+30
| | | | | | | be used to cache relevant visibility information such as whether or not the package is corrupt or otherwise invalid. svn path=/main/trunk/; revision=9643
* When dblink.treewalk() queries for other packages in the same slot, filterZac Medico2008-03-301-3/+6
| | | | | | out old-style virtual matches since they are not desired. svn path=/main/trunk/; revision=9637
* Make sure the all resume lists are deleted when a stale one is encountered.Zac Medico2008-03-301-1/+5
| | | | svn path=/main/trunk/; revision=9636
* Fix typos. Thanks to Arfrever Frehtes Taifersar ArahesisZac Medico2008-03-301-1/+1
| | | | | | <Arfrever.FTA@GMail.Com>. svn path=/main/trunk/; revision=9632
* Fix display code that can triger a 'Invalid category' exception when itZac Medico2008-03-301-17/+17
| | | | | | is given a blocker. It's only supposed to execute for normal packages. svn path=/main/trunk/; revision=9630
* Bug #211365 - Use catpkgsplit() instead of pkgsplit() for a cpv.Zac Medico2008-03-301-4/+5
| | | | svn path=/main/trunk/; revision=9625
* Bug #211365 - Use catpkgsplit() instead of pkgsplit() for a cpv.Zac Medico2008-03-301-1/+2
| | | | svn path=/main/trunk/; revision=9623
* Move the AUTOCLEAN code into dblink.treewalk since it's already partiallyZac Medico2008-03-302-18/+8
| | | | | | | | supported there anyway (for replacement of identical cpv). This has the benefit of guaranteeing that the order of installation and removal phases is always the same. svn path=/main/trunk/; revision=9621
* Make code a bit less prone to potentially hidden TypeError like bugs.Zac Medico2008-03-301-9/+10
| | | | svn path=/main/trunk/; revision=9616
* Bug #211365 - Use catpkgsplit() instead of pkgsplit() for a cpv.Zac Medico2008-03-301-1/+2
| | | | svn path=/main/trunk/; revision=9615
* Use enumerate() it iterate over an array.Zac Medico2008-03-301-2/+1
| | | | svn path=/main/trunk/; revision=9613
* For bugs #197810 and #215308, pass the depgraph's "selective" parameterZac Medico2008-03-302-1/+4
| | | | | | | down into dep_check() for better atom preference selection when handling virtuals and other disjunctive || dependencies. (branches/2.1.2 r9610) svn path=/main/trunk/; revision=9611
* Bug #215308 - Simplify the greedy atoms logic so that it behaves moreZac Medico2008-03-301-22/+5
| | | | | | like StaticFileSet and won't pull in lower slots. svn path=/main/trunk/; revision=9607