summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-194-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. 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
* Handle IOError from codecs.open().Zac Medico2009-04-181-1/+1
| | | | svn path=/main/trunk/; revision=13360
* Support profiles.desc from overlays.Zac Medico2009-04-181-47/+66
| | | | svn path=/main/trunk/; revision=13359
* Support use.desc from overlays.Zac Medico2009-04-181-25/+36
| | | | svn path=/main/trunk/; revision=13358
* Use a new ProfileDesc class to handle the data for each profile listed inZac Medico2009-04-181-40/+39
| | | | | | profiles.desc. svn path=/main/trunk/; revision=13357
* 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-163-4/+28
| | | | | | substitution in metadata/layout.conf repository references. svn path=/main/trunk/; revision=13352
* Fix typo from previous commit.Zac Medico2009-04-161-1/+1
| | | | svn path=/main/trunk/; revision=13351
* Add support in repos.conf to override the "masters" setting from layout.conf.Zac Medico2009-04-163-14/+40
| | | | svn path=/main/trunk/; revision=13350
* Call realpath(repodir) so it's conistent with the value that pordbapi uses.Zac Medico2009-04-161-0/+1
| | | | | | Thanks to Fabian Groffen <grobian@g.o> for reporting. svn path=/main/trunk/; revision=13349
* 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-134-7/+8
| | | | | | used for related conditionals in shell code. svn path=/main/trunk/; revision=13342
* Create the myreporoot variable from portdir_overlay before doingZac Medico2009-04-121-3/+3
| | | | | | | | realpath(portdir_overlay) since otherwise symlinks break the assumptions. Thanks to Thomas Sachau <tommy@g.o> for reporting and troubleshooting. svn path=/main/trunk/; revision=13340
* Ensure that the correct PORTDIR setting is passed into the profile-specificZac Medico2009-04-121-0/+1
| | | | | | config constructors. svn path=/main/trunk/; revision=13335
* 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-122-2/+4
| | | | 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
* Pass the correct PORTDIR_OVERLAY value into the profile-specific configZac Medico2009-04-121-2/+8
| | | | | | constructor calls. svn path=/main/trunk/; revision=13326
* Bug #265747 - Add a new /etc/portage/repos.conf config file which can be usedZac Medico2009-04-113-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 = svn path=/main/trunk/; revision=13325
* Move the /etc/portage categories and mirrors docs into alphabetical order.Zac Medico2009-04-111-44/+44
| | | | svn path=/main/trunk/; revision=13324
* Set local_config=False in config constructor calls, since egencache is similarZac Medico2009-04-111-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. svn path=/main/trunk/; revision=13323
* Avoid leaking some variables from ebuild_main() into the environment (localv2.2_rc29Zac Medico2009-04-111-3/+3
| | | | | | variables are exposed to 'children'). svn path=/main/trunk/; revision=13316
* Show an error message when deletion of stale cache fails.Zac Medico2009-04-111-1/+4
| | | | svn path=/main/trunk/; revision=13315
* 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
* Initialize self._trg_cache.ec inside the GenCache constructor.Zac Medico2009-04-091-0/+5
| | | | svn path=/main/trunk/; revision=13307
* 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