summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
...
* Bug #265909 - Make emerge display a warning message if any overlays areZac Medico2009-04-153-2/+40
| | | | | | | ignored due to duplicate profiles/repo_name entries. The warning can be disabled by setting PORTAGE_REPO_DUPLICATE_WARN=0 in /etc/make.conf. svn path=/main/trunk/; revision=13348
* Bug #266211 - Handle ESTALE like ENOENT in fetch and locking code. Thanks toZac Medico2009-04-152-10/+11
| | | | | | Krzysztof Olędzki <ole+gentoo@ans.pl> for the initial patch. svn path=/main/trunk/; revision=13347
* Add support in action_uninstall() for file -> package lookup.Zac Medico2009-04-151-19/+67
| | | | svn path=/main/trunk/; revision=13345
* Split out an action_uninstall() function to handle argument validation forZac Medico2009-04-151-53/+61
| | | | | | clean, depclean, prune, and unmerge actions. svn path=/main/trunk/; revision=13344
* Convert portage.bsd_chflags into a class with chflags() and lchflags() classZac Medico2009-04-131-40/+42
| | | | | | methods. svn path=/main/trunk/; revision=13343
* Make portage.bsd_chflags correspond to FEATURES=chflags so that it can beZac Medico2009-04-131-0/+3
| | | | | | used for related conditionals in shell code. svn path=/main/trunk/; revision=13342
* Add a note about dlopen and libtool archives in the LinkageMap.findConsumers()Zac Medico2009-04-121-0/+5
| | | | | | docstring. svn path=/main/trunk/; revision=13334
* Add a LibraryFileConsumerSet class that can be used to rebuild all packagesZac Medico2009-04-121-1/+35
| | | | | | | | that consume one or more given files. Note: This does not detect libtool archive (*.la) files that consume the specified files (revdep-rebuild is able to detect them). svn path=/main/trunk/; revision=13333
* Bug #265768 - Handle CacheError when deleting currupt cache insidev2.2_rc30Zac Medico2009-04-121-0/+2
| | | | | | portdbapi._pull_valid_cache(). svn path=/main/trunk/; revision=13331
* Add a note about egencache to the --regen docs.Zac Medico2009-04-121-1/+2
| | | | svn path=/main/trunk/; revision=13330
* Bug #265768 - If the user happens to be using the metadata_overlay moduleZac Medico2009-04-121-1/+3
| | | | | | | then initialize it's eclass cache with an appropriate instance inside the portdbapi constructor. svn path=/main/trunk/; revision=13329
* Bug #265768 - When initializing the eclass cache, use the correct location.Zac Medico2009-04-121-1/+1
| | | | svn path=/main/trunk/; revision=13328
* Inside the portdbapi constructor, handle repositories with the same repo_nameZac Medico2009-04-121-20/+40
| | | | | | by discarding the ones that were encountered earlier. svn path=/main/trunk/; revision=13327
* Bug #265747 - Add a new /etc/portage/repos.conf config file which can be usedZac Medico2009-04-112-2/+69
| | | | | | | | | | | | | | | | | | | | | | | to configure site-specific eclass override behavior. Note that configuration settings which are specified here do not apply to tools such as repoman(1) and egencache(1) since their operations are inherently not site-specific. Beware that use of eclass-overrides is generally not recommended and that it may trigger performance issues under some circumstances (see bug #124041). Example: # make all repositories inherit eclasses from the java-overlay and # java-experimental repositories, with eclasses from java-experimental # taking precedence over those from java-overlay [DEFAULT] eclass-overrides = java-overlay java-experimental # disable all eclass overrides for the gentoo repository [gentoo] eclass-overrides = svn path=/main/trunk/; revision=13325
* Filter virtuals when expanding atoms if it helps to avoid an ambiguity.Zac Medico2009-04-111-0/+9
| | | | svn path=/main/trunk/; revision=13314
* Fix broken logic from previous commit.Zac Medico2009-04-101-2/+4
| | | | svn path=/main/trunk/; revision=13313
* Bug #265034 - In depgraph.loadResumeCommand(), tolerate missing packagesZac Medico2009-04-101-2/+4
| | | | | | since it's possible that the resume list is still partially valid. svn path=/main/trunk/; revision=13312
* Use _doebuild_exit_status_check() for unsuccessful return codes (no justZac Medico2009-04-101-20/+20
| | | | | | | | | | successful ones), since we want to be sure to produce an informative warning message whenever the shell exits unexpectedly (whether it's successful or unsuccessful). This is important since it can be makes these kinds of issues easier to diagnose (otherwise the user might blame portage, when it's really the ebuild/eclasses that is at fault). svn path=/main/trunk/; revision=13311
* In config.setcpv(), don't add empty values to self.configdict['pkg'] forZac Medico2009-04-101-1/+3
| | | | | | keys that don't exist in the given dict. svn path=/main/trunk/; revision=13310
* Fix typo in docstring.Zac Medico2009-04-091-1/+1
| | | | svn path=/main/trunk/; revision=13309
* Remove --nocolor since it's been replaced by --color=n and the support codeZac Medico2009-04-091-1/+1
| | | | | | no longer exists. svn path=/main/trunk/; revision=13308
* Bug #264435 - Handle EAGAIN errors when writing to stdout, due to poorlyZac Medico2009-04-091-2/+35
| | | | | | | | | behaved subprocesses that set O_NONBLOCK mode on inherited file descriptors. TODO: When possible, avoid having child processes inherit stdio file descriptors from portage (maybe it can't be avoided with PROPERTIES=interactive). svn path=/main/trunk/; revision=13306
* Don't try to execut the pkg_info phase if DEFINED_PHASES is available andZac Medico2009-04-081-0/+5
| | | | | | it shows that the phase is undefined. svn path=/main/trunk/; revision=13305
* Reorganize emerge --info <atom> display, and make sure that the "cpv wasZac Medico2009-04-081-10/+13
| | | | | | built with the following" line is shown for every package. svn path=/main/trunk/; revision=13304
* Add UseFlagDisplay.sort_combined and sort_separated attributes that can beZac Medico2009-04-081-6/+10
| | | | | | passed directly as key parameters to list.sort(). svn path=/main/trunk/; revision=13303
* Bug #265111 - Make current options override older options for --resume.Zac Medico2009-04-081-0/+4
| | | | svn path=/main/trunk/; revision=13302
* Make RecursiveFileLoader skip hidden directories, and only use a single statZac Medico2009-04-081-5/+10
| | | | | | call to check for existence and file type. svn path=/main/trunk/; revision=13298
* Make emerge --info <atom> display USE similarly to how they are displayedZac Medico2009-04-081-26/+111
| | | | | | in the merge list. svn path=/main/trunk/; revision=13297
* Fix some _doebuild_exit_status_check() calls so that they only happen whenZac Medico2009-04-071-14/+17
| | | | | | | | | | the bash process exits successfully (for consistency with usage elsewhere). When calling this functions, we're mainly concerned about false success, and we always want to allow things like using bashrc die hooks to clean up $PORTAGE_BUILDDIR for users that are building in tmpfs (in which case the exit status file may be removed before bash exits). svn path=/main/trunk/; revision=13296
* Add support to repoman for using layout.conf to control which repositoriesZac Medico2009-04-072-2/+15
| | | | | | | | | | are used to satisfy dependencies. Thanks to Alistair Bush <ali_bush@g.o> for the initial patch. See the "QA Overlay Layout support" thread on the gentoo-dev mailing list for more information: http://archives.gentoo.org/gentoo-dev/msg_33c61550b4ed2b7b25dd5a4110e1ec81.xml svn path=/main/trunk/; revision=13295
* Replace references to portdbapi.eclassdb with appropriate references for theZac Medico2009-04-071-5/+6
| | | | | | specific repo. svn path=/main/trunk/; revision=13294
* Fix code in the portdbapi constructor to cache eclass_cache.cache instancesZac Medico2009-04-071-0/+1
| | | | | | where appropriate. svn path=/main/trunk/; revision=13293
* Add portdbapi support for a metadata/layout.conf file whichZac Medico2009-04-066-53/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | specifies information about the repository layout. Currently, only a single "masters" attribute is supported, which is used to specify names of repositories which satisfy dependencies on eclasses and/or ebuilds. Each repository name should correspond the value of a repo_name entry from one of the repositories that is configured via the PORTDIR or PORTDIR_OVERLAY variables. Since layout.conf is now used to control eclass inheritance, it is now safer to use overlays which contain forked eclasses have names identical to those from the main tree. Such eclasses will only apply to their containing repository and any other repositories which reference their containing repository via layout.conf. This solves bug #124041 by containing eclass overrides so that they don't necessarily apply to all ebuilds. Thanks to Alistair Bush <ali_bush@g.o> for his initial patch for layout.conf support in repoman (will be merged later). See the "QA Overlay Layout support" thread on the gentoo-dev mailing list for more information: http://archives.gentoo.org/gentoo-dev/msg_33c61550b4ed2b7b25dd5a4110e1ec81.xml svn path=/main/trunk/; revision=13291
* Bug #262647 - Inside config.setcpv(), never add SRC_URI to the environmentZac Medico2009-04-051-4/+10
| | | | | | since that can cause execve() calls to fail with E2BIG errors. svn path=/main/trunk/; revision=13290
* Inside tar_contents(), don't emulate tar --numeric-id option. The uid/gidZac Medico2009-04-021-3/+0
| | | | | | | might be different on the system where the package will be installed, so we need to store the actual user/group name in the tar file. svn path=/main/trunk/; revision=13281
* Allow --root-deps for ROOT=/, so people can do weird things like use it withZac Medico2009-04-011-8/+6
| | | | | | | | | -e to remerge deep runtime deps without pulling in build-time deps. It's not something we really want to advertise, but it's good to leave the option open in case it happens to be useful. Thanks to Ned Ludd <solar@g.o> for the suggestion. svn path=/main/trunk/; revision=13271
* Clarify docs for --root-deps.Zac Medico2009-04-011-1/+2
| | | | svn path=/main/trunk/; revision=13268
* Combine the --rdeps-only and --root-deps options into a single --root-depsZac Medico2009-04-012-17/+32
| | | | | | option which takes an optional 'rdeps' argument. svn path=/main/trunk/; revision=13267
* Add support for a EGENCACHE_DEFAULT_OPTS variable in make.conf.Zac Medico2009-04-011-1/+1
| | | | svn path=/main/trunk/; revision=13266
* Add a new egencache --rsync option which enables a stat collision workaroundZac Medico2009-03-312-8/+63
| | | | | | | | | | | | for cases in which the content of a cache entry changes and neither the file mtime nor size changes (preventing rsync from detecting changes). See bug #139134. This option should only be needed for distribution via something like rsync, which relies on timestamps and file sizes to detect changes. It's not needed with git since that uses a more thorough mechanism which allows it to detect changed inode numbers (described in racy-git.txt in the git technical docs). svn path=/main/trunk/; revision=13262
* Bug #263370 - In create_message(), use email.header.Header to wrap theZac Medico2009-03-311-1/+4
| | | | | | | subject, as a workaround so that long subject lines are wrapped correctly by <=python-2.6 (gentoo bug #263370, python issue #1974). svn path=/main/trunk/; revision=13261
* When in --quiet mode, still show a message for failures inZac Medico2009-03-311-1/+1
| | | | | | MetadataRegen._metadata_exit(). svn path=/main/trunk/; revision=13259
* In MetadataRegen._metadata_exit(), notify the consumer of failures (in thisZac Medico2009-03-311-7/+10
| | | | | | case the metadata argument is None). svn path=/main/trunk/; revision=13258
* Add a "consumer" keyword parameter to the MetadataRegen constructor whichZac Medico2009-03-312-8/+27
| | | | | | | can be used to pass in a callback that is called for each ebuild that is processed (allowing access to the ebuild metadata). svn path=/main/trunk/; revision=13256
* Add support in MetadataRegen for cleansing stale cache when only a subsetZac Medico2009-03-302-10/+28
| | | | | | of packages are processed. svn path=/main/trunk/; revision=13255
* Add a cp_iter keyword argument to the MetadataRegen constructor, which can beZac Medico2009-03-301-15/+32
| | | | | | | used to do a regen for a subset of packages. TODO: Add support to cleanse cache for the specific cp values that are processed. svn path=/main/trunk/; revision=13254
* Fix --newuse code to compare installed package USE to the USE that a binaryZac Medico2009-03-301-1/+1
| | | | | | package was built with (instead of config["PORTAGE_USE"]). svn path=/main/trunk/; revision=13253
* Bug #264291 - Fix inappropriate build dir creation for emerge --fetchonly.Zac Medico2009-03-302-3/+7
| | | | svn path=/main/trunk/; revision=13252
* Implement _use_dep.__repr__(). Thanks to Douglass Anderson for the suggestion.Zac Medico2009-03-301-0/+3
| | | | svn path=/main/trunk/; revision=13251
* Update dep_getusedeps() docstring. Thanks to Douglass AndersonZac Medico2009-03-301-2/+2
| | | | | | <dja@gendja.com>. svn path=/main/trunk/; revision=13250