summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
...
* Last commit added more tests for sets and taught me what I was doing wrong ↵Alec Warner2007-09-072-0/+0
| | | | | | ;) This commit adds yet more tests svn path=/main/trunk/; revision=7750
* fighting with svn over weirdnessAlec Warner2007-09-074-0/+49
| | | | svn path=/main/trunk/; revision=7749
* Rewrite testing to use __test__ instead of hardcoded dirsAlec Warner2007-09-078-2/+13
| | | | svn path=/main/trunk/; revision=7748
* For bug #190268, filter SANDBOX_* from the calling environment so that they ↵Zac Medico2007-09-071-1/+2
| | | | | | can't interfere with ebuild.sh. svn path=/main/trunk/; revision=7746
* Fix a typo.Zac Medico2007-09-061-1/+1
| | | | svn path=/main/trunk/; revision=7729
* In the topological sort for merge order, try to avoid selecting root nodesZac Medico2007-09-051-2/+34
| | | | | | | | | | | | whenever possible. This helps ensure that the maximimum possible number of soft dependencies have been removed from the graph before their parent nodes have been selected. This is especially important when those dependencies are going to be rebuilt by revdep-rebuild or `emerge -e system` after the CHOST has been changed (like when building a stage3 from a stage2). With this patch, `emerge -e system` properly rebuilds dev-lang/python before sys-apps/file, which helps to avoid a potential build failure. svn path=/main/trunk/; revision=7728
* Reformat collision-protect output so that the list of file collisions is ↵Zac Medico2007-08-301-2/+7
| | | | | | shown below the banner. This puts more distance between the collision list and the list of files that prepstrip often displays just above, hopefully preventing user confusion about which files had collisions. svn path=/main/trunk/; revision=7720
* Bug #190406 - Filter the myheaders list so that it doesn't include binary ↵Zac Medico2007-08-271-1/+18
| | | | | | blobs added to cvs with the -kb option. svn path=/main/trunk/; revision=7705
* Move blocker handling from depgraph.create() to select_dep().Zac Medico2007-08-251-12/+11
| | | | svn path=/main/trunk/; revision=7701
* Bug #190214 - Make the rpm phase use /usr/src/rpm instead of /usr/src/redhat.Zac Medico2007-08-251-0/+3
| | | | | | Bug #190144 - Use the realpath of DISTDIR so that things like subversion.eclass are compatible with sandbox. svn path=/main/trunk/; revision=7700
* Remove pointless information from --info outputMarius Mauch2007-08-251-20/+0
| | | | svn path=/main/trunk/; revision=7695
* Don't cache results from match_from_list() since *dbapi.match() caches do ↵Zac Medico2007-08-241-10/+1
| | | | | | the job. svn path=/main/trunk/; revision=7694
* Call config.regenerate() after config.reload() so that the incrementals are ↵Zac Medico2007-08-241-0/+1
| | | | | | restacked. svn path=/main/trunk/; revision=7693
* Use a config.reload() method to explicitly reload /etc/profile.env when ↵Zac Medico2007-08-242-16/+10
| | | | | | setting up the ebuild environment. svn path=/main/trunk/; revision=7692
* Fix another typo.Zac Medico2007-08-241-1/+1
| | | | svn path=/main/trunk/; revision=7691
* Fix a typo.Zac Medico2007-08-241-1/+1
| | | | svn path=/main/trunk/; revision=7690
* Add * and ~* to the list of valid values for ACCEPT_KEYWORDS.Zac Medico2007-08-231-1/+1
| | | | svn path=/main/trunk/; revision=7688
* Make depgraph.select_dep() node reuse work when in --usepkgonly mode.Zac Medico2007-08-231-54/+55
| | | | svn path=/main/trunk/; revision=7686
* Bug #189791 - Define EBUILD_PHASE=unpack during the nofetch phase since ↵Zac Medico2007-08-231-0/+1
| | | | | | otherwise we get EBUILD_PHASE=merge which isn't in our list of valid EBUILD_PHASES recognized by elog. svn path=/main/trunk/; revision=7684
* In config.regenerate(), skip loading /etc/profile.env if it's mtime hasn't ↵Zac Medico2007-08-231-6/+13
| | | | | | changed. svn path=/main/trunk/; revision=7682
* Make depgraph.create() avoid metadata lookups for binary packages and ↵Zac Medico2007-08-231-2/+11
| | | | | | ebuilds in cases where an installed package has already been added to the graph. This greatly improves performance when the graph contains a large number of installed packages. svn path=/main/trunk/; revision=7680
* Fix a typo from r7663.Zac Medico2007-08-231-1/+1
| | | | svn path=/main/trunk/; revision=7676
* Use INFORM to colorize the package name.Zac Medico2007-08-221-2/+3
| | | | svn path=/main/trunk/; revision=7674
* Prevent output from being flushed to the console too frequently in ↵Zac Medico2007-08-221-10/+30
| | | | | | dir_get_metadata(). svn path=/main/trunk/; revision=7672
* Skip --newuse checks for nodes that have already been added to the graph as ↵Zac Medico2007-08-221-0/+4
| | | | | | "merge" nodes. svn path=/main/trunk/; revision=7671
* Make depgraph.select_dep() reuse cached metadata from nodes that have ↵Zac Medico2007-08-221-6/+25
| | | | | | already been added to the graph. svn path=/main/trunk/; revision=7666
* Fix update_dbentry() to process version components properly before passing ↵Zac Medico2007-08-221-2/+7
| | | | | | them into ververify(). svn path=/main/trunk/; revision=7665
* Make best() return early when it's only given one packages.Zac Medico2007-08-221-3/+3
| | | | svn path=/main/trunk/; revision=7664
* Pass complete package metadata from depgraph.select_dep() into create() in ↵Zac Medico2007-08-221-40/+37
| | | | | | order to minimize aux_get calls. svn path=/main/trunk/; revision=7663
* Bug #188703 - Don't adjust permissions in ${T} unless userpriv is enabled.Zac Medico2007-08-221-1/+2
| | | | svn path=/main/trunk/; revision=7661
* Make --info detect more /etc/*-release files as suggested by grobian.Zac Medico2007-08-221-10/+18
| | | | svn path=/main/trunk/; revision=7659
* Send cache hit/miss status updates to stdout instead of stderr and add some ↵Zac Medico2007-08-221-11/+22
| | | | | | more flush() calls. svn path=/main/trunk/; revision=7656
* Show cache miss/hit counts all on one line, using \r to return to the ↵Zac Medico2007-08-221-3/+9
| | | | | | beginning of he line and rewrite it each time that a counter is updated. Thanks to Mike "Fuzzy" Partin <fuzzy@smoke.dope.org> for this patch (submitted on the gentoo-portage-dev mailing list). svn path=/main/trunk/; revision=7655
* Try harder to figure out what OS we are runningAlec Warner2007-08-211-5/+12
| | | | svn path=/main/trunk/; revision=7652
* Just use os.listdir() since portage.listdir() is unnecessary.Zac Medico2007-08-211-4/+6
| | | | svn path=/main/trunk/; revision=7651
* Fix ACCEPT_KEYWORDS validation so that ** is valid.Zac Medico2007-08-191-1/+3
| | | | svn path=/main/trunk/; revision=7647
* For bug #189219, use pkgcmp() to sort versions in selected/protected/omitted ↵Zac Medico2007-08-171-5/+7
| | | | | | unmerge display. svn path=/main/trunk/; revision=7639
* Fix existing_node logic inside depgraph.create().Zac Medico2007-08-161-20/+15
| | | | svn path=/main/trunk/; revision=7628
* Combine 2 locations in depgraph.create() where nodes are added to the ↵Zac Medico2007-08-161-19/+14
| | | | | | digraph. This ensures that dependencies on "rebuild" nodes always have their priority increased. svn path=/main/trunk/; revision=7627
* Always assign higher priority to dependencies on packages that are being ↵Zac Medico2007-08-161-11/+13
| | | | | | rebuilt (except when --emptytree is enabled since all packages are merged in that case). This optimizes merge order so that dependencies are rebuilt/updated as soon as possible. svn path=/main/trunk/; revision=7625
* Add some floating point vercmp cases.Zac Medico2007-08-151-1/+4
| | | | svn path=/main/trunk/; revision=7622
* For bug #188449, since python floats have limited range, we multiply both ↵Zac Medico2007-08-151-2/+11
| | | | | | floating point representations by a constant so that they are transformed into whole numbers. This allows the practically infinite range of a python int to be exploited. The multiplication is done by padding both literal strings with zeros as necessary to ensure equal length. svn path=/main/trunk/; revision=7606
* For bug #188782, dependencies on packages specified as arguments are given ↵Zac Medico2007-08-151-24/+39
| | | | | | higher priority since the currently installed version has been rendered useless by ABI breakage. It's okay to increase the priority here even if the caller is not revdep-rebuild. svn path=/main/trunk/; revision=7604
* Make sure to skip info dir files with the .old extension.Zac Medico2007-08-141-1/+2
| | | | svn path=/main/trunk/; revision=7602
* For bug #188782, keep "nomerge" nodes in the graph during the merge order ↵Zac Medico2007-08-141-4/+2
| | | | | | calculation so that merge order is better in cases where installed packages have unsatisfied dependencies. svn path=/main/trunk/; revision=7599
* For bug #33585, leave the old info dir file in place if there is nothing to ↵Zac Medico2007-08-121-9/+35
| | | | | | generate. svn path=/main/trunk/; revision=7593
* For bug #188559, invalidate dblink._contents_inodes as necessary to prevent ↵Zac Medico2007-08-121-0/+6
| | | | | | FEATURES=unmerge-orphans from unmerging anything that belongs to the package that has just been merged. svn path=/main/trunk/; revision=7591
* Optimize config.setcpv() so that it doesn't call regenerate() unnecessarily ↵Zac Medico2007-08-111-1/+12
| | | | | | when there are no USE wildcards to expand. svn path=/main/trunk/; revision=7589
* Update emerge --help and --info docs. Thanks to Arfrever Frehtes Taifersar ↵Zac Medico2007-08-061-1/+1
| | | | | | Arahesis in bug #137483. svn path=/main/trunk/; revision=7583
* Fix from ferringbAlec Warner2007-08-051-1/+1
| | | | svn path=/main/trunk/; revision=7578