summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
...
* Disable 'unused local USE-description' check if there are any invalids.Michał Górny2010-08-261-5/+9
| | | | | | If any of the ebuilds is considered invalid, the used_useflags list may not be complete. Thus, performing the test could cause a lot of useless noise.
* Remove unused myiuse variable in repoman.Zac Medico2010-08-261-5/+0
|
* Let use_reduce and Atom do EAPI checksSebastian Luther2010-08-261-3/+2
|
* Add ebuild(1) support for FEATURES=digest.Zac Medico2010-08-251-1/+6
|
* Use a PORTAGE_SIGPIPE_STATUS variable to export 128 + SIGPIPE to theZac Medico2010-08-251-2/+3
| | | | | ebuild environment. SIGPIPE is typically 13, but its better not to assume that.
* Make save_ebuild_env() filter assert_sigpipe_ok().Zac Medico2010-08-251-1/+1
|
* Fix repoman to support FEATURES=digest (reportedly it used to workZac Medico2010-08-251-0/+1
| | | | but has stopped working since recent changes).
* Add EROOT support to regenworld.Zac Medico2010-08-251-9/+9
|
* Make regenworld write changes to a temporary file, and tell the userZac Medico2010-08-251-3/+41
| | | | to update the file manually if desired.
* Use Package.iuse.is_valid_flag() to account for implicit IUSE.Zac Medico2010-08-241-1/+1
|
* repoman: Let repoman check for flags missing from IUSESebastian Luther2010-08-241-1/+2
|
* Handle SIGPIPE when unpack() extracts tar files through a pipe (bug #309001).Zac Medico2010-08-232-2/+28
| | | | | | | When checking ${PIPESTATUS[@]} for extraction of tar files in unpack(), use a new assert_sigpipe_ok() function which behaves the same as the existing assert() function except that it tolerates pipe writers being killed by SIGPIPE.
* Remove python-oriented checks from install_qa_check() since I'm unsureZac Medico2010-08-221-29/+0
| | | | | about these policy decisions being included in portage. Besides, these kinds of things could go in the python eclass.
* repoman: check for deprecated eclasseswired2010-08-221-0/+2
| | | | | | compare the inherited eclasses to a list of deprecated eclasses. print QA warnings for each deprecated eclass found and suggest an alternative for those that have one.
* Bug #324191 - Add support for FEATURES=compress-build-logs. The causesZac Medico2010-08-211-2/+6
| | | | | | | all build logs to be compressed while they are being written. Log file names have an extension that is appropriate for the compression type. Currently, only gzip(1) compression is supported, so build logs will have a '.gz' extension when this feature is enabled.
* Quote arrays in QA_PREBUILT handling.Zac Medico2010-08-211-1/+1
|
* Add support for a QA_PREBUILT variable should contain a list ofZac Medico2010-08-211-0/+20
| | | | | | pre-built binaries. Paths listed here will be appended to each of the other QA_* variables. Thanks to Diego Pettenò <flameeyes@g.o> for the suggestion.
* Add a wrapper around config.features that provides the followingZac Medico2010-08-212-11/+3
| | | | | | | | | | | | | | | | enhancements: * The FEATURES variable is automatically synchronized upon modification. * Modifications result in a permanent override that will cause the change to propagate to the incremental stacking mechanism in config.regenerate(). This eliminates the need to call config.backup_changes() when FEATURES is modified, since any overrides are guaranteed to persist despite calls to config.reset(). This allows cleanup of all code that overrides FEATURES, and also allows config.regenerate() to stack FEATURES such that special cases are not needed for package.env handling inside config.setcpv().
* At some point we may want to stop exporting FEATURES to the ebuildZac Medico2010-08-201-1/+1
| | | | | | | environment, in order to prevent ebuilds from abusing it. In preparation for that, export it as PORTAGE_FEATURES so that bashrc users will be able to migrate any FEATURES conditional code to use this alternative variable.
* Fix typo in comment.Zac Medico2010-08-201-1/+1
|
* Update docs, comments, and messages to refer to make.globals inZac Medico2010-08-191-3/+2
| | | | /usr/share/portage/config/ instead of /etc/make.globals.
* * In helpers_die arguments, display ${0##*/} instead of $0 since $0Zac Medico2010-08-1832-78/+78
| | | | | | is needlessly long. * When calling helpers_die from a function, use ${FUNCNAME[0]} in arguments instead of $0.
* Bug #324075 - If the vcs doesn't preserve mtimes then disable theZac Medico2010-08-181-3/+7
| | | | | copyright date check unless the ebuild has just been added or modified.
* * Replace config._iuse_implicit_re with a callable _iuse_implicit_matchZac Medico2010-08-181-3/+2
| | | | | | | object that simply returns boolean, and update consumers. * Make check_required_use() take a callable for the iuse parameter, and pass in Package.use.is_valid_flag or iuse.__contains__ as appropriate.
* Temporarily disable portage.dep deprecation warnings for external apiZac Medico2010-08-172-0/+2
| | | | | consumers. Once the relevant api changes are in a portage release with stable keywords, make these warnings unconditional.
* Source isolated-functions.sh for helpers_die function.Zac Medico2010-08-171-1/+3
|
* For ebuilds from $ROOT/var/db/pkg, don't give /var/db/pkg with theZac Medico2010-08-161-1/+4
| | | | "Appending /var/db/pkg to PORTDIR_OVERLAY..." treatment.
* Fix broken reference to 'myprovide' variable.Zac Medico2010-08-161-1/+1
|
* Pass token_class=portage.dep.Atom when parsing PROVIDE.Zac Medico2010-08-161-1/+2
|
* Pass token_class parameter if possible to use_reduceSebastian Luther2010-08-161-79/+73
|
* When displaying portage.auxdbkeys, sort and filter unused.Zac Medico2010-08-161-1/+2
|
* Add ability for portageq help to print valid metadata keys.Alec Warner2010-08-161-8/+11
|
* DoebuildSpawnTestCase: Invoke portage.package.ebuild.doebuild.spawn()Zac Medico2010-08-151-0/+2
| | | | | | with a minimal environment. This gives coverage to some of the ebuild execution internals, like ebuild.sh, EbuildSpawnProcess, and EbuildIpcDaemon.
* Bug #332799 - Don't download lzma snapshots if tarsync is installed.Zac Medico2010-08-141-6/+3
|
* Disable EbuildIpcDaemon for now, since it seems to be triggeringZac Medico2010-08-143-2/+6
| | | | | intermittent build failures in my stage builds. For testing purposes set PORTAGE_IPC_DAEMON_ENABLE=1 to enable EbuildIpcDaemon.
* portage.dep: Integrate the functionality of flatten into use_reduceSebastian Luther2010-08-142-10/+11
|
* Pass $USE via IPC in order to ensure that we have the correct value forZac Medico2010-08-141-2/+2
| | | | | | built/installed packages, since the config class doesn't currently provide a way to access built/installed $USE that would work in all possible scenarios.
* Add a QueryCommand.settings attribute and use it so that $USEZac Medico2010-08-141-2/+2
| | | | | doesn't have to be passed to the daemon in has_version and best_version calls.
* Implement use dependency defaultsSebastian Luther2010-08-131-0/+2
|
* Don't call exit after pkg_nofetch since that prevents the ebuild-ipcZac Medico2010-08-131-1/+0
| | | | callback from executing.
* Filter PORTAGE_PYTHON in save_ebuild_env().Zac Medico2010-08-131-1/+1
|
* Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/portageZac Medico2010-08-135-32/+20
|\
| * Use /usr/bin/python when PORTAGE_PYTHON variable is empty.Arfrever Frehtes Taifersar Arahesis2010-08-145-9/+9
| | | | | | | | It avoids some errors during upgrade from older Portage versions.
| * Ensure that all Python processes use the same version of Python.Arfrever Frehtes Taifersar Arahesis2010-08-145-32/+20
| |
* | Add a SIGUSR1 handler to trigger pdb.set_trace().Zac Medico2010-08-131-0/+6
|/
* Setup EBUILD_MASTER_PID at the bottom, for scripts that sourceZac Medico2010-08-131-0/+4
| | | | ebuild.sh.
* Bug #315615 - Use EbuildIpcDaemon to implement has_version and best_version.Zac Medico2010-08-131-0/+10
| | | | | This provides performance benefits and also avoids permissions issues with FEATURES=userpriv.
* Move EBUILD_MASTER_PID and associated SIGTERM trap into ebuild_main()Zac Medico2010-08-131-4/+5
| | | | | | | since it seems more reliable this way. This helps us avoid having EbuildIpcDaemon need to send a kill signal (and triggering the zombie message too). This is especially important for the die helper which is called by other helpers for EAPI 4.
* Disable the die() stack trace when called by the die helper.Zac Medico2010-08-131-0/+3
|
* Remove message about race conditions in die, solved by EbuildIpcDaemon.Zac Medico2010-08-131-5/+1
|