summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Avoid leaking some variables from ebuild_main() into the environment (localZac Medico2009-04-301-3/+3
| | | | | | variables are exposed to 'children'). (trunk r13316) svn path=/main/branches/2.1.6/; revision=13487
* Show an error message when deletion of stale cache fails. (trunk r13315)Zac Medico2009-04-301-1/+4
| | | | svn path=/main/branches/2.1.6/; revision=13486
* 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
* Initialize self._trg_cache.ec inside the GenCache constructor. (trunk r13307)Zac Medico2009-04-301-0/+5
| | | | svn path=/main/branches/2.1.6/; revision=13478
* 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
* Bug #265111 - Make current options override older options for --resume.Zac Medico2009-04-301-0/+4
| | | | | | (trunk r13302) svn path=/main/branches/2.1.6/; revision=13473
* Call _ebuild_phase_funcs() from ebuild_main() since it needs to be called forZac Medico2009-04-301-5/+5
| | | | | | every phase (for EAPI 2 default() phase function setup). (trunk r13301) svn path=/main/branches/2.1.6/; revision=13472
* - Move DEFINED_PHASES code into _source_ebuild() and add it to the list ofZac Medico2009-04-301-35/+34
| | | | | | | readonly variables. - Save DEFINED_PHASES in the vdb entries, as requested by lxnay. (trunk r13300) svn path=/main/branches/2.1.6/; revision=13471
* Move the ebuild sourcing code into a new _source_ebuild() function.Zac Medico2009-04-302-6/+10
| | | | | | (trunk r13299) svn path=/main/branches/2.1.6/; revision=13470
* Make RecursiveFileLoader skip hidden directories, and only use a single statZac Medico2009-04-301-5/+10
| | | | | | call to check for existence and file type. (trunk r13298) svn path=/main/branches/2.1.6/; revision=13469
* Make emerge --info <atom> display USE similarly to how they are displayedZac Medico2009-04-301-26/+111
| | | | | | in the merge list. (trunk r13297) svn path=/main/branches/2.1.6/; revision=13468
* Fix some _doebuild_exit_status_check() calls so that they only happen whenZac Medico2009-04-301-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). (trunk r13296) svn path=/main/branches/2.1.6/; revision=13467
* Add support to repoman for using layout.conf to control which repositoriesZac Medico2009-04-303-28/+48
| | | | | | | | | | | 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 (trunk r13295) svn path=/main/branches/2.1.6/; revision=13466
* Replace references to portdbapi.eclassdb with appropriate references for theZac Medico2009-04-301-5/+6
| | | | | | specific repo. (trunk r13294) svn path=/main/branches/2.1.6/; revision=13465
* Fix code in the portdbapi constructor to cache eclass_cache.cache instancesZac Medico2009-04-301-0/+1
| | | | | | where appropriate. (trunk r13293) svn path=/main/branches/2.1.6/; revision=13464
* Add a --repo option, allowing cache to be generated for overlays. (trunk r13292)Zac Medico2009-04-302-6/+22
| | | | svn path=/main/branches/2.1.6/; revision=13463
* Add portdbapi support for a metadata/layout.conf file whichZac Medico2009-04-307-53/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | specifies information about the repository layout. Currently, only a single "masters" attribute is supported, which is used to specify names of repositories which satisfy dependencies on eclasses and/or ebuilds. Each repository name should correspond the value of a repo_name entry from one of the repositories that is configured via the PORTDIR or PORTDIR_OVERLAY variables. Since layout.conf is now used to control eclass inheritance, it is now safer to use overlays which contain forked eclasses have names identical to those from the main tree. Such eclasses will only apply to their containing repository and any other repositories which reference their containing repository via layout.conf. This solves bug #124041 by containing eclass overrides so that they don't necessarily apply to all ebuilds. Thanks to Alistair Bush <ali_bush@g.o> for his initial patch for layout.conf support in repoman (will be merged later). 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 (trunk r13291) svn path=/main/branches/2.1.6/; revision=13462
* Bug #262647 - Inside config.setcpv(), never add SRC_URI to the environmentZac Medico2009-04-301-4/+10
| | | | | | since that can cause execve() calls to fail with E2BIG errors. (trunk r13290) svn path=/main/branches/2.1.6/; revision=13461
* Add an example for PORTAGE_IONICE_COMMAND. Thanks to Vlastimil BabkaZac Medico2009-04-301-0/+5
| | | | | | <caster@g.o> for the suggestion. (trunk r13289) svn path=/main/branches/2.1.6/; revision=13460
* Always generate an error if the target cache contains an apparently invalidZac Medico2009-04-301-5/+13
| | | | | | cpv. (trunk r13288) svn path=/main/branches/2.1.6/; revision=13459
* If there are not ebuilds matching a argument, only generate an error if thereZac Medico2009-04-301-10/+19
| | | | | | are also no cache entries matching the argument. (trunk r13287) svn path=/main/branches/2.1.6/; revision=13458
* Generate an error if there are no ebuilds found for a package that'sZac Medico2009-04-301-0/+10
| | | | | | specified on the commandline. (trunk r13282) svn path=/main/branches/2.1.6/; revision=13457
* Inside tar_contents(), don't emulate tar --numeric-id option. The uid/gidZac Medico2009-04-301-3/+0
| | | | | | | might be different on the system where the package will be installed, so we need to store the actual user/group name in the tar file. (trunk r13281) svn path=/main/branches/2.1.6/; revision=13456
* Bug #264245 - Revert i|=1 from r13242 since that breaks the array indexing ↵Zac Medico2009-04-301-1/+1
| | | | | | | | code here. (trunk r13279) svn path=/main/branches/2.1.6/; revision=13455
* Note that only updates to PORTDIR are currently supported. (trunk r13275)Zac Medico2009-04-301-1/+3
| | | | svn path=/main/branches/2.1.6/; revision=13454
* - Add more info to the DESCRIPTION section.Zac Medico2009-04-301-2/+31
| | | | | | | - Add a BUGS section to explain issues related to limitations in the cache format and its validation mechanism. (trunk r13274) svn path=/main/branches/2.1.6/; revision=13453