summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Add a cp_iter keyword argument to the MetadataRegen constructor, which can beZac Medico2009-03-301-15/+32
| | | | | | | used to do a regen for a subset of packages. TODO: Add support to cleanse cache for the specific cp values that are processed. svn path=/main/trunk/; revision=13254
* Fix --newuse code to compare installed package USE to the USE that a binaryZac Medico2009-03-301-1/+1
| | | | | | package was built with (instead of config["PORTAGE_USE"]). svn path=/main/trunk/; revision=13253
* Bug #264291 - Fix inappropriate build dir creation for emerge --fetchonly.Zac Medico2009-03-302-3/+7
| | | | svn path=/main/trunk/; revision=13252
* Implement _use_dep.__repr__(). Thanks to Douglass Anderson for the suggestion.Zac Medico2009-03-301-0/+3
| | | | svn path=/main/trunk/; revision=13251
* Update dep_getusedeps() docstring. Thanks to Douglass AndersonZac Medico2009-03-301-2/+2
| | | | | | <dja@gendja.com>. svn path=/main/trunk/; revision=13250
* Fix bug in old-style virtuals code from previous commit.Zac Medico2009-03-291-1/+1
| | | | svn path=/main/trunk/; revision=13249
* Inside depgraph.validate_blockers(), prevent false positives in PROVIDEZac Medico2009-03-291-5/+14
| | | | | | | | virtual blocker matches that can occur for packages for packages that don't actual have the appropriate value in PROVIDE (triggered by profile 'virtuals' settings). Thanks to Ned Ludd <solar@g.o> for reporting. svn path=/main/trunk/; revision=13248
* Document --root and --config-root.Zac Medico2009-03-291-0/+12
| | | | svn path=/main/trunk/; revision=13247
* Add a --root option that sets $ROOT (complements the --config-root option).Zac Medico2009-03-292-2/+12
| | | | svn path=/main/trunk/; revision=13246
* Add support for --rdeps-only and --root-deps options which are useful inZac Medico2009-03-293-1/+42
| | | | | | | combination with $ROOT. Thanks to Ned Ludd <solar@g.o> for the initial patch. svn path=/main/trunk/; revision=13245
* In order to eliminate the possibility of integer overflay, replace things likeZac Medico2009-03-2912-17/+17
| | | | | | ((ret+=$?)) with ((ret|=$?)). Thanks to zong_sharo for the suggestion. svn path=/main/trunk/; revision=13242
* Bug #243220 - Show messages in emerge.log when old versions are uninstalledZac Medico2009-03-282-6/+37
| | | | | | | | for AUTOCLEAN. This reverts behavior so that messages which used to be generated prior to portage-2.1.5.x (when AUTOCLEAN was moved from emerge to dblink.treewalk()) are generated once again. svn path=/main/trunk/; revision=13241
* Don't show the package counter for "Uninstalling" messages.Zac Medico2009-03-281-3/+6
| | | | svn path=/main/trunk/; revision=13240
* Add (x of y ) package counter in the "Installing" message, similar to theZac Medico2009-03-281-1/+5
| | | | | | | counter show in the "Emerging" message. Thanks to Ned Ludd <solar@g.o> for the suggestion. svn path=/main/trunk/; revision=13239
* Make the argument hash in config.setcpv() a little stronger.v2.2_rc28Zac Medico2009-03-271-5/+7
| | | | svn path=/main/trunk/; revision=13232
* Fix typo in comment.Zac Medico2009-03-271-1/+1
| | | | svn path=/main/trunk/; revision=13230
* In config.setcpv(), make sure the current args are really identical to theZac Medico2009-03-271-2/+7
| | | | | | previous args before returning early. svn path=/main/trunk/; revision=13227
* Inside config.setcpv(), don't clear out self.configdict['pkg'] entirelyZac Medico2009-03-271-4/+11
| | | | | | since some values need to be reused sometimes. svn path=/main/trunk/; revision=13226
* In portdbapi.findname2(), move some of the path joining out of the loop.Zac Medico2009-03-271-3/+6
| | | | svn path=/main/trunk/; revision=13224
* In dyn_unpack(), don't force a new unpack when the ebuild mtime is newerZac Medico2009-03-271-4/+1
| | | | | | | than $WORKDIR, since that may be too touchy. The user can easily call the clean phase explicitly if they really want it. svn path=/main/trunk/; revision=13222