summaryrefslogtreecommitdiff
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Move the here-document code from the EbuildWhitespace check to theZac Medico2009-04-301-26/+26
| | | | | | | run_checks() function, so that all checks ignore the content of here-documents. (trunk r13412) svn path=/main/branches/2.1.6/; revision=13552
* Make EbuildWhitespace ignore here-documents. Thanks to Diego PettenòZac Medico2009-04-301-4/+19
| | | | | | <flameeyes@g.o> for reporting. (trunk r13411) svn path=/main/branches/2.1.6/; revision=13551
* Make xtermTitle() use a global variable to cache the result of the TERM check.Zac Medico2009-04-301-13/+17
| | | | | | (trunk r13410) svn path=/main/branches/2.1.6/; revision=13550
* Bug #267860 - Make JobStatusDisplay respect FEATURES=notitles. (trunk r13409)Zac Medico2009-04-301-3/+6
| | | | svn path=/main/branches/2.1.6/; revision=13549
* Fix the code from bug #267104 to account non-root users. (trunk r13408)Zac Medico2009-04-301-1/+3
| | | | svn path=/main/branches/2.1.6/; revision=13548
* Bug #267810 - Don't sort C/CXX/LDFLAGS in emerge --info output since theseZac Medico2009-04-301-23/+3
| | | | | | variables aren't really sortable in that way. (trunk r13407) svn path=/main/branches/2.1.6/; revision=13547
* Bug #267104 - If the statvfs f_bavail field shows insufficient free space andZac Medico2009-04-301-2/+9
| | | | | | userfetch is not enabled, recalculate using the f_bfree field. (trunk r13406) svn path=/main/branches/2.1.6/; revision=13546
* Bug #71646 - Don't allow the HISTFILE variable into the ebuild environmentZac Medico2009-04-301-1/+1
| | | | | | since it triggers sandbox violations. (trunk r13403) svn path=/main/branches/2.1.6/; revision=13544
* Add a new EAPI.definition check for cases in which EAPI is defined after anZac Medico2009-04-302-1/+19
| | | | | | | inherit call. Thanks to Markus Meier <maekke@g.o> for the initial patch. (trunk r13401) svn path=/main/branches/2.1.6/; revision=13542
* Automatically define errno.ESTALE if it doesn't exist (like on interix).Zac Medico2009-04-301-0/+3
| | | | | | Thanks to Markus Duft <mduft@g.o> for reporting. (trunk r13387) svn path=/main/branches/2.1.6/; revision=13539
* When in --nodeps mode, make depgraph._serialize_tasks() preserve the packageZac Medico2009-04-301-0/+7
| | | | | | | order given on the command line. Thanks to Markus Duft <mduft@g.o> for reporting. (trunk r13377) svn path=/main/branches/2.1.6/; revision=13529
* Add note about 'use' in the Atom.intersects() docstring. (trunk r13375)Zac Medico2009-04-301-2/+3
| | | | svn path=/main/branches/2.1.6/; revision=13528
* Drop from --ask to --pretend for uninstall all actions. (trunk r13374)Zac Medico2009-04-301-1/+2
| | | | svn path=/main/branches/2.1.6/; revision=13527
* Add missing del when cleansing cache in action_metadata(). (trunk r13373)Zac Medico2009-04-301-1/+1
| | | | svn path=/main/branches/2.1.6/; revision=13526
* Tweak _eclasses_ logic inside action_metadata(). (trunk r13372)Zac Medico2009-04-301-5/+7
| | | | svn path=/main/branches/2.1.6/; revision=13525
* In action_deselect(), use the installed packages to expand atoms into slotZac Medico2009-04-301-3/+14
| | | | | | atoms. (trunk r13366) svn path=/main/branches/2.1.6/; revision=13522
* Add --ask support to action_deselect(). (trunk r13365)Zac Medico2009-04-301-0/+7
| | | | svn path=/main/branches/2.1.6/; revision=13521
* Fix bugs in action_deselect() and add --pretend support. (trunk r13364)Zac Medico2009-04-301-5/+8
| | | | svn path=/main/branches/2.1.6/; revision=13520
* Add a new --deselect action which removes atoms from the world file. ThisZac Medico2009-04-303-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. (trunk r13363) svn path=/main/branches/2.1.6/; revision=13519
* Fix default master code so that it doesn't trigger when PORTDIR is empty.Zac Medico2009-04-301-1/+1
| | | | | | (trunk r13362) svn path=/main/branches/2.1.6/; revision=13518
* If a repo doesn't have metadata/layout.conf then use either missing eclassZac Medico2009-04-301-3/+5
| | | | | | | directory or missing profiles/profiles.desc to trigger assignment of a default master. (trunk r13361) svn path=/main/branches/2.1.6/; revision=13517
* Add support to emerge --metadata for transfering cache from overlays thatZac Medico2009-04-301-56/+235
| | | | | | have a metadata/cache directory. (trunk r13356) svn path=/main/branches/2.1.6/; revision=13512
* Fix lockfile() docstring to correctly document the wantnewlockfile behavior.Zac Medico2009-04-301-2/+4
| | | | | | Thanks to Arfrever for reporting. (trunk r13355) svn path=/main/branches/2.1.6/; revision=13511
* Simplify pkgcmp(). Thanks to Douglas Anderson <dja@gendja.com> for this patchZac Medico2009-04-301-9/+1
| | | | | | from bug #266493. (trunk r13354) svn path=/main/branches/2.1.6/; revision=13510
* Bug #266493 - Never return a long from vercmp() since that can trigger anZac Medico2009-04-301-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. (trunk r13353) svn path=/main/branches/2.1.6/; revision=13509
* Add support for repos.conf 'aliases' attribute which allows aliasZac Medico2009-04-302-1/+22
| | | | | | substitution in metadata/layout.conf repository references. (trunk r13352) svn path=/main/branches/2.1.6/; revision=13508
* Add support in repos.conf to override the "masters" setting from layout.conf.Zac Medico2009-04-302-11/+30
| | | | | | (trunk r13350) svn path=/main/branches/2.1.6/; revision=13506
* Bug #265909 - Make emerge display a warning message if any overlays areZac Medico2009-04-303-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. (trunk r13348) svn path=/main/branches/2.1.6/; revision=13504
* Bug #266211 - Handle ESTALE like ENOENT in fetch and locking code. Thanks toZac Medico2009-04-302-10/+11
| | | | | | Krzysztof Olędzki <ole+gentoo@ans.pl> for the initial patch. (trunk r13347) svn path=/main/branches/2.1.6/; revision=13503
* Add support in action_uninstall() for file -> package lookup. (trunk r13345)Zac Medico2009-04-301-19/+67
| | | | svn path=/main/branches/2.1.6/; revision=13502
* Split out an action_uninstall() function to handle argument validation forZac Medico2009-04-301-53/+61
| | | | | | clean, depclean, prune, and unmerge actions. (trunk r13344) svn path=/main/branches/2.1.6/; revision=13501
* Convert portage.bsd_chflags into a class with chflags() and lchflags() classZac Medico2009-04-301-40/+42
| | | | | | methods. (trunk r13343) svn path=/main/branches/2.1.6/; revision=13500
* Make portage.bsd_chflags correspond to FEATURES=chflags so that it can beZac Medico2009-04-301-0/+3
| | | | | | used for related conditionals in shell code. (trunk r13342) svn path=/main/branches/2.1.6/; revision=13499
* Bug #265768 - Handle CacheError when deleting currupt cache insideZac Medico2009-04-301-0/+2
| | | | | | portdbapi._pull_valid_cache(). (trunk r13331) svn path=/main/branches/2.1.6/; revision=13496
* Add a note about egencache to the --regen docs. (trunk r13330)Zac Medico2009-04-301-1/+2
| | | | svn path=/main/branches/2.1.6/; revision=13495
* Bug #265768 - If the user happens to be using the metadata_overlay moduleZac Medico2009-04-301-1/+3
| | | | | | | then initialize it's eclass cache with an appropriate instance inside the portdbapi constructor. (trunk r13329) svn path=/main/branches/2.1.6/; revision=13494
* Bug #265768 - When initializing the eclass cache, use the correct location.Zac Medico2009-04-301-1/+1
| | | | | | (trunk r13328) svn path=/main/branches/2.1.6/; revision=13493
* Inside the portdbapi constructor, handle repositories with the same repo_nameZac Medico2009-04-301-20/+40
| | | | | | by discarding the ones that were encountered earlier. (trunk r13327) svn path=/main/branches/2.1.6/; revision=13492
* Bug #265747 - Add a new /etc/portage/repos.conf config file which can be usedZac Medico2009-04-302-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 = (trunk r13325) svn path=/main/branches/2.1.6/; revision=13490
* Filter virtuals when expanding atoms if it helps to avoid an ambiguity.Zac Medico2009-04-301-0/+9
| | | | | | (trunk r13314) svn path=/main/branches/2.1.6/; revision=13485
* Fix broken logic from previous commit. (trunk r13313)Zac Medico2009-04-301-2/+4
| | | | svn path=/main/branches/2.1.6/; revision=13484
* Bug #265034 - In depgraph.loadResumeCommand(), tolerate missing packagesZac Medico2009-04-301-2/+4
| | | | | | | since it's possible that the resume list is still partially valid. (trunk r13312) svn path=/main/branches/2.1.6/; revision=13483
* Use _doebuild_exit_status_check() for unsuccessful return codes (no justZac Medico2009-04-301-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). (trunk r13311) svn path=/main/branches/2.1.6/; revision=13482
* In config.setcpv(), don't add empty values to self.configdict['pkg'] forZac Medico2009-04-301-1/+3
| | | | | | keys that don't exist in the given dict. (trunk r13310) svn path=/main/branches/2.1.6/; revision=13481
* Fix typo in docstring. (trunk r13309)Zac Medico2009-04-301-1/+1
| | | | svn path=/main/branches/2.1.6/; revision=13480
* Remove --nocolor since it's been replaced by --color=n and the support codeZac Medico2009-04-301-1/+1
| | | | | | no longer exists. (trunk r13308) svn path=/main/branches/2.1.6/; revision=13479
* Bug #264435 - Handle EAGAIN errors when writing to stdout, due to poorlyZac Medico2009-04-301-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). (trunk r13306) svn path=/main/branches/2.1.6/; revision=13477
* Don't try to execut the pkg_info phase if DEFINED_PHASES is available andZac Medico2009-04-301-0/+5
| | | | | | it shows that the phase is undefined. (trunk r13305) svn path=/main/branches/2.1.6/; revision=13476
* Reorganize emerge --info <atom> display, and make sure that the "cpv wasZac Medico2009-04-301-10/+13
| | | | | | built with the following" line is shown for every package. (trunk r13304) svn path=/main/branches/2.1.6/; revision=13475
* Add UseFlagDisplay.sort_combined and sort_separated attributes that can beZac Medico2009-04-301-6/+10
| | | | | | passed directly as key parameters to list.sort(). (trunk r13303) svn path=/main/branches/2.1.6/; revision=13474