summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Use ensure_dirs() and apply_permissions() to avoid redundant chown/chmod ↵Zac Medico2007-09-162-8/+5
| | | | | | calls. This helps avoid 'Permission denied' errors during elog_process() when the ebuild command is run by normal user (issue reported by graaff). svn path=/main/trunk/; revision=7789
* Revert the workaround for bug #192341 since it will be much cleaner if we ↵Zac Medico2007-09-151-37/+0
| | | | | | fall back to spawning the chflags command when the freebsd module is unavailable. svn path=/main/trunk/; revision=7785
* Bug #192341 - Make emerge bail out on FreeBSD if the freebsd python moduleZac Medico2007-09-131-0/+37
| | | | | | | | | fails to import. Display a notification that "ignore-missing-freebsd-module" can be added to FEATURES in order to bypass the error. If that feature is enabled but the freebsd python module imported successfully, show a warning message since the user should remove if from FEATURES asap. svn path=/main/trunk/; revision=7780
* Bug #192346 - The emerge --help shows a -i option that does not exist.Zac Medico2007-09-131-1/+1
| | | | svn path=/main/trunk/; revision=7779
* Bug #192321 - Clean dir.old cruft so that they don't prevent unmerge ofZac Medico2007-09-131-0/+10
| | | | | | otherwise empty directories. svn path=/main/trunk/; revision=7774
* Bug #192195 - In dir_get_list(), append a trailing / to the address whenZac Medico2007-09-121-0/+4
| | | | | | necessary in order to avoid getting a 400 error from the http server. svn path=/main/trunk/; revision=7771
* Catch errno.ENOTDIR instead of using os.path.isdir().Zac Medico2007-09-121-2/+3
| | | | svn path=/main/trunk/; revision=7770
* Bug #192298 - Handle PermissionDenied error in cache.update_eclasses().Zac Medico2007-09-121-2/+15
| | | | svn path=/main/trunk/; revision=7769
* Adjust for r7767Marius Mauch2007-09-111-5/+5
| | | | svn path=/main/trunk/; revision=7768
* Remove name from PackageSet, it's pointless as the caller has to keep track ↵Marius Mauch2007-09-119-46/+46
| | | | | | of the name himself anyway svn path=/main/trunk/; revision=7767
* or I was right the first time :(Alec Warner2007-09-091-1/+1
| | | | svn path=/main/trunk/; revision=7766
* sigh, or, not andAlec Warner2007-09-091-1/+1
| | | | svn path=/main/trunk/; revision=7765
* compress two loop iterations into oneAlec Warner2007-09-081-2/+1
| | | | svn path=/main/trunk/; revision=7764
* In depgraph.altlist(), try to merge asap_nodes sooner by giving them an ↵Zac Medico2007-09-081-1/+2
| | | | | | exemption from the accept_root_node flag. (branches/2.1.2 r7762) svn path=/main/trunk/; revision=7763
* Fix a typo.Zac Medico2007-09-081-1/+1
| | | | svn path=/main/trunk/; revision=7761
* Bug #190268 - Avoid unwanted sandbox violations in src_test().Zac Medico2007-09-082-3/+10
| | | | | | | | - Allow SANDBOX_* variables to pass through. - Don't try to create an sandbox instance inside a test case in order to interaction with SANDBOX_* variables in src_test(). svn path=/main/trunk/; revision=7759
* Implement/fix testcases for some PackageSet subclassesMarius Mauch2007-09-072-14/+25
| | | | svn path=/main/trunk/; revision=7758
* Fix incorrect parse check as value lists in KeyListFileLoader might be ↵Marius Mauch2007-09-071-5/+32
| | | | | | empty, add support for value validators in relevant Loaders svn path=/main/trunk/; revision=7757
* Undo some unwanted changesMarius Mauch2007-09-076-176/+172
| | | | svn path=/main/trunk/; revision=7756
* return the full path, not just the filenameMarius Mauch2007-09-071-1/+1
| | | | svn path=/main/trunk/; revision=7755
* fix errors in call logicMarius Mauch2007-09-071-2/+2
| | | | svn path=/main/trunk/; revision=7754
* Fix minor issues with loaders in the static file loader, fix quoting and ↵Alec Warner2007-09-073-23/+58
| | | | | | import style in news.py. Add TextFileLoader and EnvLoader loaders svn path=/main/trunk/; revision=7753
* dbapi currently depends on being subclassed and having the subclasses ↵Alec Warner2007-09-072-12/+77
| | | | | | impelement certain functions (that aren't even implemented IN dbapi, so a particular child has no idea what functions are actually required). Try to make this cleared by adding stubs in dbapi. There should be no behavior change here because these cases would be Attribute errors in the current scheme. Also add a horribly bad testdbapi with stub funcs to use in testing code. Remove regexes with possibly faster string comparisons. svn path=/main/trunk/; revision=7752
* test news item filteringAlec Warner2007-09-072-36/+50
| | | | svn path=/main/trunk/; revision=7751
* 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