summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
* 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
* Add support for a EGENCACHE_DEFAULT_OPTS variable in make.conf.Zac Medico2009-04-011-8/+28
| | | | 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-311-10/+41
| | | | | | | | | | | | 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 #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
* 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
* 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
* 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-261-15/+4
| | | | | | | | 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
* 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
* Add support for FEATURES=parse-eapi-glep-55. This feature is only intended forZac Medico2009-03-241-5/+9
| | | | | | experimental purposes and should not be enabled under normal circumstances. svn path=/main/trunk/; revision=13175
* Only check for ebuild/eclass modification when a relevant phase is called.Zac Medico2009-03-231-7/+8
| | | | svn path=/main/trunk/; revision=13150
* Use a separate if/then to group boolean or'd expressions together, ratherZac Medico2009-03-231-6/+6
| | | | | | than a subshell. svn path=/main/trunk/; revision=13149
* Make ebuild(1) detect ebuild/eclass changes and automatically source theZac Medico2009-03-232-3/+16
| | | | | | | | ebuild atain in this case (even though $T/environment may already exist). This should help avoid confusion by ensuring that the latest changes to the ebuild/eclasses are reflected in the environment. svn path=/main/trunk/; revision=13148
* Add "prepare" to the list of phases that trigger a warning about staleZac Medico2009-03-221-1/+1
| | | | | | ${T}/environment. svn path=/main/trunk/; revision=13147
* When triggering a fresh unpack inside dyn_unpack(), remove theZac Medico2009-03-221-1/+1
| | | | | | .prepared, .configured and .installed files along with the others. svn path=/main/trunk/; revision=13146
* Make config.features a set instead of a list.Zac Medico2009-03-181-3/+2
| | | | svn path=/main/trunk/; revision=13134
* Update copyright headers.Zac Medico2009-03-182-3/+3
| | | | svn path=/main/trunk/; revision=13131
* In order to avoid possible duplicate elog messages when using ebuild(1) toZac Medico2009-03-181-0/+7
| | | | | | | | call the same phase multiple times, wipe out elog log files for the current phase just before executing the phase. Thanks to Mike Frysinger <vapier@g.o> for reporting. svn path=/main/trunk/; revision=13130
* Bug #262365 - Punt the prepalldocs check until there is an alternativeZac Medico2009-03-171-2/+0
| | | | | | available in EAPI 3. svn path=/main/trunk/; revision=13118
* Punt fix-db.py since it's not really needed. It's been broken since 2.1.6Zac Medico2009-03-171-181/+0
| | | | | | and nobody noticed until bug #262132 was filed. svn path=/main/trunk/; revision=13117
* Bug #262485 - Handle InvalidAtom from dep_expand().Zac Medico2009-03-171-6/+7
| | | | svn path=/main/trunk/; revision=13116
* Bug #262365 - Make the "portage.internal" category (prepalldocs check) aZac Medico2009-03-131-0/+1
| | | | | | warning instead of fatal. svn path=/main/trunk/; revision=13109
* Add missing brackets to [:upper:] and [:lower:] in _sb_append_var() trZac Medico2009-03-131-1/+2
| | | | | | arguments. svn path=/main/trunk/; revision=13104
* Filter _sb_append_var in save_ebuild_env().Zac Medico2009-03-121-1/+1
| | | | svn path=/main/trunk/; revision=13091
* cleanup sandbox env var handling -- make sure we dont insert empty : ↵Mike Frysinger2009-03-121-29/+27
| | | | | | sections and avoid unnecessary eval usage svn path=/main/trunk/; revision=13090
* Make dyn_clean ignore FEATURES=keepwork when [[ $EMERGE_FROM = binary ]]Zac Medico2009-03-121-2/+3
| | | | | | | and remove shutil.rmtree() call from Binpkg._clean_exit() since dyn_clean is guaranteed to do a full clean now. svn path=/main/trunk/; revision=13069
* Use posix compatible find -perm arguments. Thanks to Timothy RedaelliZac Medico2009-03-121-2/+2
| | | | | | <drizzt@g.o> for reporting. svn path=/main/trunk/; revision=13067
* Also add an einfo binary.Zac Medico2009-03-121-0/+1
| | | | svn path=/main/trunk/; revision=13066
* Bug #262096 - Add separate eerror, elog, eqawarn, and ewarn binaries forZac Medico2009-03-124-0/+11
| | | | | | | use by non-bash programs running inside the ebuild environment, such as sandbox. svn path=/main/trunk/; revision=13065
* Use ${x##*/} instead of calling basename.Zac Medico2009-03-121-1/+1
| | | | svn path=/main/trunk/; revision=13064
* Move ebuild helpers into an ebuild-helpers subdirectory.Zac Medico2009-03-1248-2/+4
| | | | svn path=/main/trunk/; revision=13063
* Bug #261852 - If an unexpected exception is raise from emerge_main() thenZac Medico2009-03-101-0/+16
| | | | | | | show the traceback after the mod_echo output to that the traceback isn't obscured by mod_echo flooding. svn path=/main/trunk/; revision=12814
* Only execute src_test pre/post hooks when src_test is actually executed.Zac Medico2009-03-091-4/+4
| | | | svn path=/main/trunk/; revision=12809
* Add more QA warnings for econf calls during unexpected phases. Thanks toZac Medico2009-03-091-3/+12
| | | | | | Diego Elio Pettenò <flameeyes@g.o> for the suggestion. svn path=/main/trunk/; revision=12808
* When generating variable names to hold EXPORT_FUNCTIONS argument in, useZac Medico2009-03-091-6/+1
| | | | | | | $ECLASS_DEPTH as a unique id since it's a lot simpler then encoding the eclass name in the variable name. svn path=/main/trunk/; revision=12806
* Use the ebuild_phase helper function to calls phase hooks and fix brokenZac Medico2009-03-091-24/+18
| | | | | | | trap calls that try to unset multiple signal handlers at once without passing - as the first argument. svn path=/main/trunk/; revision=12805
* Inside dyn_unpack(), only call pre/post phase hooks when src_unpack isZac Medico2009-03-091-2/+1
| | | | | | called (when .unpacked does not already exist). svn path=/main/trunk/; revision=12804
* Make manifest mode with --force option cause existing digests to be replacedZac Medico2009-03-091-0/+39
| | | | | | | | | | | | for any files that exist in ${DISTDIR}. This provides an alternative to ebuild --force manifest for updating existing distfiles digests. Digests are assumed to be corect for files that do not exist in ${DISTDIR} since the user could simply remove the whole Manifest if they wanted to regenerate digests for all files (and it's safer to regenerate as few as possible because it's less probably that a valid digest will get replaced by an invalid one). svn path=/main/trunk/; revision=12802