summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* When copying symlink targets to temp files, use a private temp dir insideZac Medico2009-03-271-2/+7
| | | | | | $T instead of using $T directly. svn path=/main/trunk/; revision=13202
* For consistency in output with other helpers, check for file existenceZac Medico2009-03-271-1/+3
| | | | | | before calling install. svn path=/main/trunk/; revision=13201
* Move checks for /usr/lib/distcc/bin and /usr/lib/ccache/bin to the pythonZac Medico2009-03-262-20/+27
| | | | | | | | side and don't add distcc to CC and CXX when /usr/lib/distcc/bin doesn't exist since that won't necessarily work. Thanks to Jeroen Roovers <jer@g.o> for reporting the issue with adding distcc to CC. svn path=/main/trunk/; revision=13198
* Make StaticFileSet.multiBuilder() filter hidden files and directories. ThanksZac Medico2009-03-261-0/+5
| | | | | | to oahong for reporting. svn path=/main/trunk/; revision=13193
* In config.regenerate(), always synchronize self.features with self['FEATURES'].Zac Medico2009-03-261-4/+6
| | | | svn path=/main/trunk/; revision=13189
* In config.setcpv(), clear out self.configdict["pkg"] to make sure that noZac Medico2009-03-261-0/+1
| | | | | | preexisting metadata leaks through here. svn path=/main/trunk/; revision=13188
* Bug #227265 - Make pkgsplit() allow multiple consecutive hyphens in packageZac Medico2009-03-262-9/+5
| | | | | | names, and add corresponding test cases. svn path=/main/trunk/; revision=13187
* Add test case for consecutive hyphens.Zac Medico2009-03-251-0/+3
| | | | svn path=/main/trunk/; revision=13186
* Bug #227265 - Make pkgsplit() allow "versiony looking parts" in package names,Zac Medico2009-03-252-6/+4
| | | | | | for pms compliance. Also, add corresponding test cases. svn path=/main/trunk/; revision=13185
* Source bashrc after PATH tweaks inside ebuild_main().Zac Medico2009-03-251-1/+2
| | | | svn path=/main/trunk/; revision=13184
* Move distcc and ccache PATH setup later, after EAPI is guaranteed to be known,Zac Medico2009-03-251-58/+35
| | | | | | | so that it's possible to do indepenent EAPI-specific PATH modifications prior to the distcc/ccache modifications. svn path=/main/trunk/; revision=13183
* Fix domo and doexe to return non-zero if there are any errors. Thanks toZac Medico2009-03-252-1/+14
| | | | | | zong_sharo for reporting. svn path=/main/trunk/; revision=13182
* Remove unused tar_opts variable inside unpack(). Thanks to zong_sharo forZac Medico2009-03-251-5/+4
| | | | | | reporting. svn path=/main/trunk/; revision=13181
* Note that --noreplace takes precedence over options such as --newuse.Zac Medico2009-03-241-0/+6
| | | | svn path=/main/trunk/; revision=13180
* Note that --noreplace takes precedence over options such as --newuse.Zac Medico2009-03-241-1/+4
| | | | svn path=/main/trunk/; revision=13179
* Update code for removing noauto from FEATURES since config.features is aZac Medico2009-03-241-3/+2
| | | | | | set instead of a list now. svn path=/main/trunk/; revision=13178
* Remove redundant EAPI assingment inside doebuild_environment().v2.2_rc27Zac Medico2009-03-241-1/+1
| | | | svn path=/main/trunk/; revision=13176