summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* In config.setcpv(), move the code that makes sure "pkg" values override "env"Zac Medico2009-04-301-4/+8
| | | | | | values _after_ the reset() call. svn path=/main/trunk/; revision=13418
* Generate a pruned version of ACCEPT_LICENSE, by intersection withZac Medico2009-04-301-0/+28
| | | | | | | | LICENSE. This is required since otherwise ACCEPT_LICENSE might be too big (bigger than ARG_MAX), causing execve() calls to fail with E2BIG errors as in bug #262647. svn path=/main/trunk/; revision=13417
* In config.regenerate(), explicitly include self.backupenv when processingZac Medico2009-04-301-0/+1
| | | | | | incrementals, since it's no longer included in self.configlist. svn path=/main/trunk/; revision=13416
* Exclude 'backupenv' from config.configlist and lookuplist since it doesn'tZac Medico2009-04-301-13/+12
| | | | | | | | | make size to have it in there when configdict['env'] already serves that purpose. This allows values to be temporarily removed from configdict['env'] and have them not appear in the environment until reset() is called to restore those values from the backupenv. svn path=/main/trunk/; revision=13415
* Warn about sed and epatch calls which should be moved from src_unpack toZac Medico2009-04-291-1/+33
| | | | | | src_prepare. Thanks to Markus Meier <maekke@g.o> for the initial patch. svn path=/main/trunk/; revision=13413
* Move the here-document code from the EbuildWhitespace check to theZac Medico2009-04-291-26/+26
| | | | | | | run_checks() function, so that all checks ignore the content of here-documents. svn path=/main/trunk/; revision=13412
* Make EbuildWhitespace ignore here-documents. Thanks to Diego PettenòZac Medico2009-04-291-4/+19
| | | | | | <flameeyes@g.o> for reporting. svn path=/main/trunk/; revision=13411
* Make xtermTitle() use a global variable to cache the result of the TERM check.Zac Medico2009-04-291-13/+17
| | | | svn path=/main/trunk/; revision=13410
* Bug #267860 - Make JobStatusDisplay respect FEATURES=notitles.Zac Medico2009-04-291-3/+6
| | | | svn path=/main/trunk/; revision=13409
* Fix the code from bug #267104 to account non-root users.Zac Medico2009-04-291-1/+3
| | | | svn path=/main/trunk/; revision=13408
* Bug #267810 - Don't sort C/CXX/LDFLAGS in emerge --info output since theseZac Medico2009-04-291-23/+3
| | | | | | variables aren't really sortable in that way. svn path=/main/trunk/; revision=13407
* Bug #267104 - If the statvfs f_bavail field shows insufficient free space andZac Medico2009-04-291-2/+9
| | | | | | userfetch is not enabled, recalculate using the f_bfree field. svn path=/main/trunk/; revision=13406
* Bug #71646 - Don't allow the HISTFILE variable into the ebuild environmentZac Medico2009-04-281-1/+1
| | | | | | since it triggers sandbox violations. svn path=/main/trunk/; revision=13403
* 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