summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Add a new EAPI.definition check for cases in which EAPI is defined after anZac Medico2009-04-262-1/+19
| | | | | | inherit call. Thanks to Markus Meier <maekke@g.o> for the initial patch. svn path=/main/trunk/; revision=13401
* Automatically define errno.ESTALE if it doesn't exist (like on interix).Zac Medico2009-04-231-0/+3
| | | | | | Thanks to Markus Duft <mduft@g.o> for reporting. svn path=/main/trunk/; revision=13387
* When in --nodeps mode, make depgraph._serialize_tasks() preserve the packageZac Medico2009-04-201-0/+7
| | | | | | | order given on the command line. Thanks to Markus Duft <mduft@g.o> for reporting. svn path=/main/trunk/; revision=13377
* Add note about 'use' in the Atom.intersects() docstring.v2.2_rc31Zac Medico2009-04-191-2/+3
| | | | svn path=/main/trunk/; revision=13375
* Drop from --ask to --pretend for uninstall all actions.Zac Medico2009-04-191-1/+2
| | | | svn path=/main/trunk/; revision=13374
* Add missing del when cleansing cache in action_metadata().Zac Medico2009-04-191-1/+1
| | | | svn path=/main/trunk/; revision=13373
* Tweak _eclasses_ logic inside action_metadata().Zac Medico2009-04-191-5/+7
| | | | svn path=/main/trunk/; revision=13372
* In action_deselect(), use the installed packages to expand atoms into slotZac Medico2009-04-191-3/+14
| | | | | | atoms. svn path=/main/trunk/; revision=13366
* Add --ask support to action_deselect().Zac Medico2009-04-191-0/+7
| | | | svn path=/main/trunk/; revision=13365
* Fix bugs in action_deselect() and add --pretend support.Zac Medico2009-04-191-5/+8
| | | | svn path=/main/trunk/; revision=13364
* Add a new --deselect action which removes atoms from the world file. ThisZac Medico2009-04-193-9/+111
| | | | | | | | action is implied by uninstall actions, including --depclean, --prune and --unmerge. Use --deselect=n in order to prevent uninstall actions from removing atoms from the world file. This solves bug #259994 and bug #265206. svn path=/main/trunk/; revision=13363
* Fix default master code so that it doesn't trigger when PORTDIR is empty.Zac Medico2009-04-191-1/+1
| | | | svn path=/main/trunk/; revision=13362
* If a repo doesn't have metadata/layout.conf then use either missing eclassZac Medico2009-04-191-3/+5
| | | | | | | directory or missing profiles/profiles.desc to trigger assignment of a default master. svn path=/main/trunk/; revision=13361
* Add support to emerge --metadata for transfering cache from overlays thatZac Medico2009-04-181-56/+235
| | | | | | have a metadata/cache directory. svn path=/main/trunk/; revision=13356
* Fix lockfile() docstring to correctly document the wantnewlockfile behavior.Zac Medico2009-04-181-2/+4
| | | | | | Thanks to Arfrever for reporting. svn path=/main/trunk/; revision=13355
* Simplify pkgcmp(). Thanks to Douglas Anderson <dja@gendja.com> for this patchZac Medico2009-04-181-9/+1
| | | | | | from bug #266493. svn path=/main/trunk/; revision=13354
* Bug #266493 - Never return a long from vercmp() since that can trigger anZac Medico2009-04-171-9/+19
| | | | | | | | | OverflowError if it's returned by a __cmp__ implementation. Thanks to Douglas Anderson <dja@gendja.com> for the initial patch. I've modified it to use the (a > b) - (a < b) construct as suggested in the py3k docs, since cmp() is no longer supported in py3k. svn path=/main/trunk/; revision=13353
* Add support for repos.conf 'aliases' attribute which allows aliasZac Medico2009-04-162-1/+22
| | | | | | substitution in metadata/layout.conf repository references. svn path=/main/trunk/; revision=13352
* Add support in repos.conf to override the "masters" setting from layout.conf.Zac Medico2009-04-162-11/+30
| | | | svn path=/main/trunk/; revision=13350
* 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