summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Avoid leaking some variables from ebuild_main() into the environment (localv2.2_rc29Zac Medico2009-04-111-3/+3
| | | | | | variables are exposed to 'children'). svn path=/main/trunk/; revision=13316
* Show an error message when deletion of stale cache fails.Zac Medico2009-04-111-1/+4
| | | | svn path=/main/trunk/; revision=13315
* Initialize self._trg_cache.ec inside the GenCache constructor.Zac Medico2009-04-091-0/+5
| | | | svn path=/main/trunk/; revision=13307
* 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
* Add support to repoman for using layout.conf to control which repositoriesZac Medico2009-04-071-26/+33
| | | | | | | | | | 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
* Add a --repo option, allowing cache to be generated for overlays.Zac Medico2009-04-061-3/+15
| | | | svn path=/main/trunk/; revision=13292
* 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