summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove ccache and distcc remove_path_entry code since PATH is alwaysZac Medico2009-04-301-3/+0
| | | | | | initialized from scratch so there's no danger of accumulation. (trunk r13385) svn path=/main/branches/2.1.6/; revision=13537
* Use declare -F to check existence of function definitions, instead ofZac Medico2009-04-301-10/+10
| | | | | | type -t, in order to avoid use of subshells. (trunk r13384) svn path=/main/branches/2.1.6/; revision=13536
* Use ret|=1 instead of ++ret, to avoid possible overflow. (trunk r13383)Zac Medico2009-04-301-1/+1
| | | | svn path=/main/branches/2.1.6/; revision=13535
* Add new dodoc implementation for EAPI 3. Thanks to to Tiziano MüllerZac Medico2009-04-301-0/+50
| | | | | | <dev-zero@g.o> for this patch. (trunk r13382) svn path=/main/branches/2.1.6/; revision=13534
* In ebuild_main(), unset ebuild_helpers_path when finished with it, sinceZac Medico2009-04-301-0/+1
| | | | | | bash exposes local variables to 'children'. (trunk r13381) svn path=/main/branches/2.1.6/; revision=13533
* Add ${PORTAGE_BIN_PATH}/ebuild-helpers/3 directory to PATH for EAPI 3. ThanksZac Medico2009-04-301-0/+13
| | | | | | to Tiziano Müller <dev-zero@g.o> for this patch. (trunk r13380) svn path=/main/branches/2.1.6/; revision=13532
* Exit unsuccessfully when in commit mode and nothing is found to commit. ThanksZac Medico2009-04-301-1/+1
| | | | | | to Jeremy Olexa <darkside@g.o> for the suggestion. (trunk r13379) svn path=/main/branches/2.1.6/; revision=13531
* Clarify language in repos.conf reference to repoman and egencache.Zac Medico2009-04-301-1/+2
| | | | | | (trunk r13378) svn path=/main/branches/2.1.6/; revision=13530
* 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
* Emphasize precedence of repos.conf over layout.conf. (trunk r13371)Zac Medico2009-04-301-2/+6
| | | | svn path=/main/branches/2.1.6/; revision=13524
* Add notes about eclass precedence for metadata/layout.conf. (trunk r13370)Zac Medico2009-04-301-1/+5
| | | | svn path=/main/branches/2.1.6/; revision=13523
* 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-304-9/+118
| | | | | | | | | 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
* Handle IOError from codecs.open(). (trunk r13360)Zac Medico2009-04-301-1/+1
| | | | svn path=/main/branches/2.1.6/; revision=13516
* Support profiles.desc from overlays. (trunk r13359)Zac Medico2009-04-301-47/+66
| | | | svn path=/main/branches/2.1.6/; revision=13515
* Support use.desc from overlays. (trunk r13358)Zac Medico2009-04-301-25/+36
| | | | svn path=/main/branches/2.1.6/; revision=13514
* Use a new ProfileDesc class to handle the data for each profile listed inZac Medico2009-04-301-40/+39
| | | | | | profiles.desc. (trunk r13357) svn path=/main/branches/2.1.6/; revision=13513
* 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-303-4/+28
| | | | | | substitution in metadata/layout.conf repository references. (trunk r13352) svn path=/main/branches/2.1.6/; revision=13508
* Fix typo from previous commit. (trunk r13351)Zac Medico2009-04-301-1/+1
| | | | svn path=/main/branches/2.1.6/; revision=13507
* Add support in repos.conf to override the "masters" setting from layout.conf.Zac Medico2009-04-303-14/+40
| | | | | | (trunk r13350) svn path=/main/branches/2.1.6/; revision=13506
* Call realpath(repodir) so it's conistent with the value that pordbapi uses.Zac Medico2009-04-301-0/+1
| | | | | | Thanks to Fabian Groffen <grobian@g.o> for reporting. (trunk r13349) svn path=/main/branches/2.1.6/; revision=13505
* 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-304-7/+8
| | | | | | used for related conditionals in shell code. (trunk r13342) svn path=/main/branches/2.1.6/; revision=13499
* Create the myreporoot variable from portdir_overlay before doingZac Medico2009-04-301-3/+3
| | | | | | | | realpath(portdir_overlay) since otherwise symlinks break the assumptions. Thanks to Thomas Sachau <tommy@g.o> for reporting and troubleshooting. (trunk r13340) svn path=/main/branches/2.1.6/; revision=13498
* Ensure that the correct PORTDIR setting is passed into the profile-specificZac Medico2009-04-301-0/+1
| | | | | | config constructors. (trunk r13335) svn path=/main/branches/2.1.6/; revision=13497
* 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-302-2/+4
| | | | 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
* Pass the correct PORTDIR_OVERLAY value into the profile-specific configZac Medico2009-04-301-2/+8
| | | | | | constructor calls. (trunk r13326) svn path=/main/branches/2.1.6/; revision=13491
* Bug #265747 - Add a new /etc/portage/repos.conf config file which can be usedZac Medico2009-04-303-2/+91
| | | | | | | | | | | | | | | | | | | | | | 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
* Move the /etc/portage categories and mirrors docs into alphabetical order.Zac Medico2009-04-301-44/+44
| | | | | | (trunk r13324) svn path=/main/branches/2.1.6/; revision=13489
* Set local_config=False in config constructor calls, since egencache is similarZac Medico2009-04-301-2/+2
| | | | | | | to repoman in the way that it's used to distribute something to other users and thus site-specific local configuration is irrelevant. (trunk r13323) svn path=/main/branches/2.1.6/; revision=13488