summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Bug #265111 - Make current options override older options for --resume.Zac Medico2009-04-081-0/+4
| | | | svn path=/main/trunk/; revision=13302
* Call _ebuild_phase_funcs() from ebuild_main() since it needs to be called forZac Medico2009-04-081-5/+5
| | | | | | every phase (for EAPI 2 default() phase function setup). svn path=/main/trunk/; revision=13301
* - Move DEFINED_PHASES code into _source_ebuild() and add it to the list ofZac Medico2009-04-081-35/+34
| | | | | | | readonly variables. - Save DEFINED_PHASES in the vdb entries, as requested by lxnay. svn path=/main/trunk/; revision=13300
* Move the ebuild sourcing code into a new _source_ebuild() function.Zac Medico2009-04-082-6/+10
| | | | svn path=/main/trunk/; revision=13299
* Make RecursiveFileLoader skip hidden directories, and only use a single statZac Medico2009-04-081-5/+10
| | | | | | call to check for existence and file type. svn path=/main/trunk/; revision=13298
* Make emerge --info <atom> display USE similarly to how they are displayedZac Medico2009-04-081-26/+111
| | | | | | in the merge list. svn path=/main/trunk/; revision=13297
* Fix some _doebuild_exit_status_check() calls so that they only happen whenZac Medico2009-04-071-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). svn path=/main/trunk/; revision=13296
* Add support to repoman for using layout.conf to control which repositoriesZac Medico2009-04-073-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 svn path=/main/trunk/; revision=13295
* Replace references to portdbapi.eclassdb with appropriate references for theZac Medico2009-04-071-5/+6
| | | | | | specific repo. svn path=/main/trunk/; revision=13294
* Fix code in the portdbapi constructor to cache eclass_cache.cache instancesZac Medico2009-04-071-0/+1
| | | | | | where appropriate. svn path=/main/trunk/; revision=13293
* Add a --repo option, allowing cache to be generated for overlays.Zac Medico2009-04-062-6/+22
| | | | svn path=/main/trunk/; revision=13292
* Add portdbapi support for a metadata/layout.conf file whichZac Medico2009-04-067-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 svn path=/main/trunk/; revision=13291
* Bug #262647 - Inside config.setcpv(), never add SRC_URI to the environmentZac Medico2009-04-051-4/+10
| | | | | | since that can cause execve() calls to fail with E2BIG errors. svn path=/main/trunk/; revision=13290
* Add an example for PORTAGE_IONICE_COMMAND. Thanks to Vlastimil BabkaZac Medico2009-04-031-0/+5
| | | | | | <caster@g.o> for the suggestion. svn path=/main/trunk/; revision=13289
* Always generate an error if the target cache contains an apparently invalidZac Medico2009-04-031-5/+13
| | | | | | cpv. svn path=/main/trunk/; revision=13288
* If there are not ebuilds matching a argument, only generate an error if thereZac Medico2009-04-031-10/+19
| | | | | | are also no cache entries matching the argument. svn path=/main/trunk/; revision=13287
* Generate an error if there are no ebuilds found for a package that'sZac Medico2009-04-031-0/+10
| | | | | | specified on the commandline. svn path=/main/trunk/; revision=13282
* Inside tar_contents(), don't emulate tar --numeric-id option. The uid/gidZac Medico2009-04-021-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. svn path=/main/trunk/; revision=13281
* Bug #264245 - Revert i|=1 from r13242 since that breaks the array indexing ↵Zac Medico2009-04-021-1/+1
| | | | | | code here. svn path=/main/trunk/; revision=13279
* Note that only updates to PORTDIR are currently supported.Zac Medico2009-04-011-1/+3
| | | | svn path=/main/trunk/; revision=13275
* - Add more info to the DESCRIPTION section.Zac Medico2009-04-011-2/+31
| | | | | | | - Add a BUGS section to explain issues related to limitations in the cache format and its validation mechanism. svn path=/main/trunk/; revision=13274
* Bug #264494 - In case the ebuild has enabled set -e during an ebuild phase,Zac Medico2009-04-012-0/+3
| | | | | | proactively call set +e inside qa_source(), qa_call(), and die(). svn path=/main/trunk/; revision=13273
* Remove the ATOMS section and move --update to a new ACTIONS section.Zac Medico2009-04-011-9/+7
| | | | svn path=/main/trunk/; revision=13272
* Allow --root-deps for ROOT=/, so people can do weird things like use it withZac Medico2009-04-011-8/+6
| | | | | | | | | -e to remerge deep runtime deps without pulling in build-time deps. It's not something we really want to advertise, but it's good to leave the option open in case it happens to be useful. Thanks to Ned Ludd <solar@g.o> for the suggestion. svn path=/main/trunk/; revision=13271
* Add a man page for egencache(1).Zac Medico2009-04-011-0/+69
| | | | svn path=/main/trunk/; revision=13270
* Document new prepare and configure commands for EAPI 2.Zac Medico2009-04-011-0/+12
| | | | svn path=/main/trunk/; revision=13269
* Clarify docs for --root-deps.Zac Medico2009-04-012-2/+4
| | | | svn path=/main/trunk/; revision=13268
* Combine the --rdeps-only and --root-deps options into a single --root-depsZac Medico2009-04-013-29/+40
| | | | | | option which takes an optional 'rdeps' argument. svn path=/main/trunk/; revision=13267
* Add support for a EGENCACHE_DEFAULT_OPTS variable in make.conf.Zac Medico2009-04-012-9/+29
| | | | svn path=/main/trunk/; revision=13266
* Automatically enable FEATURES=metadata-transfer if it's not enabled,Zac Medico2009-03-311-4/+8
| | | | | | instead of bailing out. svn path=/main/trunk/; revision=13265
* Fix typo in comment.Zac Medico2009-03-311-1/+1
| | | | svn path=/main/trunk/; revision=13264
* Add parsing code for --jobs and --load-average.Zac Medico2009-03-311-0/+31
| | | | svn path=/main/trunk/; revision=13263
* Add a new egencache --rsync option which enables a stat collision workaroundZac Medico2009-03-313-18/+104
| | | | | | | | | | | | for cases in which the content of a cache entry changes and neither the file mtime nor size changes (preventing rsync from detecting changes). See bug #139134. This option should only be needed for distribution via something like rsync, which relies on timestamps and file sizes to detect changes. It's not needed with git since that uses a more thorough mechanism which allows it to detect changed inode numbers (described in racy-git.txt in the git technical docs). svn path=/main/trunk/; revision=13262
* Bug #263370 - In create_message(), use email.header.Header to wrap theZac Medico2009-03-311-1/+4
| | | | | | | subject, as a workaround so that long subject lines are wrapped correctly by <=python-2.6 (gentoo bug #263370, python issue #1974). svn path=/main/trunk/; revision=13261
* Bug #261377 - Add a new 'egencache' tool to generate metadata cache forZac Medico2009-03-311-0/+205
| | | | | | | | | | | | | | | | | | | | distribution. It only have the most basic functionality now, and more features will be added later. Usage: egencache [options] --update [atom] ... Options: -h, --help show this help message and exit --update update metadata/cache/ (generate as necessary) --cache-dir=CACHE_DIR location of the metadata cache --config-root=CONFIG_ROOT location of portage config files --jobs=JOBS max ebuild processes to spawn --load-average=LOAD_AVERAGE max load allowed when spawning multiple jobs svn path=/main/trunk/; revision=13260
* When in --quiet mode, still show a message for failures inZac Medico2009-03-311-1/+1
| | | | | | MetadataRegen._metadata_exit(). svn path=/main/trunk/; revision=13259
* In MetadataRegen._metadata_exit(), notify the consumer of failures (in thisZac Medico2009-03-311-7/+10
| | | | | | case the metadata argument is None). svn path=/main/trunk/; revision=13258
* reword the qa execstack notice since it can be triggered by pt_load sections ↵Mike Frysinger2009-03-311-5/+5
| | | | | | and not stacks svn path=/main/trunk/; revision=13257
* Add a "consumer" keyword parameter to the MetadataRegen constructor whichZac Medico2009-03-312-8/+27
| | | | | | | can be used to pass in a callback that is called for each ebuild that is processed (allowing access to the ebuild metadata). svn path=/main/trunk/; revision=13256
* Add support in MetadataRegen for cleansing stale cache when only a subsetZac Medico2009-03-302-10/+28
| | | | | | of packages are processed. svn path=/main/trunk/; revision=13255