summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* ebuild.sh: don't export inherit E_* varsZac Medico2011-12-061-5/+5
|
* emerge-webrsync: use --quiet with --check-newsZac Medico2011-12-061-1/+2
| | | | This suppresses output if there are no relevant items.
* emerge-webrsync: call emerge --check-newsZac Medico2011-12-061-0/+1
|
* ebuild.sh: add note about quoting export ${FOO}=Zac Medico2011-12-041-0/+1
|
* ebuild.sh: quote sandbox export argsZac Medico2011-12-041-5/+5
|
* emerge-webrsync: new gpg key, bug #331537Zac Medico2011-11-241-1/+1
|
* repoman: fix svn "abiguous workdir", bug #391199v2.2.0_alpha77Zac Medico2011-11-211-0/+1
|
* Move ccache/distcc PATH code to doebuild_env.v2.2.0_alpha73Zac Medico2011-11-091-10/+0
|
* Use local EPREFIX for uniformity.Zac Medico2011-11-092-16/+14
| | | | | | | The EPREFIX variable is not readonly in EAPI 0, 1, and 2, so we can declare EPREFIX as a local variable. We must be careful not to let this variable leak into the environment of ebuild/eclass functions that we call, since bash propagates local variables to nested function calls.
* Use local ED for uniformity.Zac Medico2011-11-092-96/+83
| | | | | | | The ED variable is not readonly in EAPI 0, 1, and 2, so we can declare ED as a local variable. We must be careful not to let this variable leak into the environment of ebuild/eclass functions that we call, since bash propagates local variables to nested function calls.
* phase-functions.sh: remove stray echoZac Medico2011-11-081-1/+0
|
* Include EPREFIX directories in PATH.Zac Medico2011-11-082-19/+1
| | | | | This relocates the PATH generation code from ebuild.sh to doebuild_environment, which helps to eliminate duplicate code.
* has/best_version: fix grammar in docsZac Medico2011-11-081-2/+2
|
* ecompressdir: remove 'continue' from loop logicZac Medico2011-11-081-6/+3
| | | | Hopefully this helps us avoid errors in loop logic like bug #389047.
* best/has_version: fix eroot assignmentZac Medico2011-11-071-2/+2
|
* Only support ROOT override for best/has_version.Zac Medico2011-11-071-24/+12
| | | | | In the context of ebuilds, ROOT=/ override is the only common case, so it makes sense to only support ROOT overrides.
* Fix best/has_version ROOT override for EAPI 3-4.Zac Medico2011-11-071-6/+40
| | | | | | This has been broken since commit ab484dc9a2612aa6709fad3ff926c8589a706637. In order to support prefix, callers will have to override EROOT instead.
* Avoid initial spaces in some variables.Arfrever Frehtes Taifersar Arahesis2011-11-071-10/+10
|
* REQUIRED_USE: don't save in built packagesZac Medico2011-11-071-1/+1
| | | | | | | It should be safe to assume that REQUIRED_USE is satisfied if the package is built, so it's a waste to save it. Also, fix code which assumes that built Package instances have a REQUIRED_USE key in their metadata.
* environment.bz2: filter more variablesZac Medico2011-11-072-3/+5
|
* save_ebuild_env: filter more functionsZac Medico2011-11-071-2/+3
| | | | | | | dyn_pretend helpers_die nonfatal register_success_hook
* Handle empty PORTAGE_COMPRESS for bug #389047.Zac Medico2011-11-071-1/+5
| | | | | | This fixes a case where empty PORTAGE_COMPRESS made ecompressdir forget to call restore_skip_dirs, such that docompress -x resulted in files not being installed due to hide_skip_dirs hiding them permanently.
* Enable colors during the depend phase.Zac Medico2011-11-051-14/+13
|
* phase-helpers.sh: fix best/has_version for prefixZac Medico2011-11-011-4/+8
|
* Add EPREFIX and ED support in all ebuild helpers.Zac Medico2011-11-0130-189/+284
| | | | This allows our prefix tests to use helpers like insinto, doins, and dosym.
* Merge install_qa_check_prefix from prefix branch.Zac Medico2011-11-011-0/+124
|
* Fix typos in comments.Arfrever Frehtes Taifersar Arahesis2011-10-301-3/+3
|
* egencache: tweak redundant write check conditionZac Medico2011-10-291-17/+16
| | | | | We can use the raise_stat_collision attribute to determine when it is necessary to check for redundant writes.
* Use dbapi._known_keys more.Zac Medico2011-10-291-1/+1
|
* egencache: avoid redundant md5-dict writesZac Medico2011-10-291-13/+45
| | | | | The pms cache already does this automatically, since __setitem__ calls are used to detect stat collisions in order to solve bug #139134.
* egencache: ensure correct porttreesZac Medico2011-10-291-0/+2
| | | | | | | The GenCache class assumes that portdb.porttrees[0] is the desired tree, so assert that it is true. The behavior should have already been correct, since PORTDIR_OVERLAY was already set to an empty string when necessary.
* egencache: fix StatCollision handling breakageZac Medico2011-10-291-3/+3
| | | | | This has been broken since the _eclasses_ structure changed in commit 2ed1cb53cc4158af08c22d466b15b9a9a7767212.
* egencache: update ebuild_hash.mtime after utimeZac Medico2011-10-291-0/+1
|
* egencache: multiple cache-formats supportZac Medico2011-10-291-14/+26
| | | | | If layout.conf contains "cache-formats = md5-dict pms", egencache will now write both formats.
* portageq: refer to <eroot> instead of <root>Zac Medico2011-10-281-25/+25
| | | | | | Since commit a715b65f7bd36409c1283e6911265d1f4405ab7a, portageq takes EROOT as the first argument of commands that require a root argument. So, update the docs to refer to <eroot> instead of <root>.
* Use EROOT to validate path arguments.Zac Medico2011-10-281-1/+1
|
* Use bytes instead of unicode with isinstance.Zac Medico2011-10-282-3/+3
| | | | | This is preferred since the bytes type is available in all supported python versions, while the unicode type is only available in python2.
* Check for bytes instead of unicode in args.Zac Medico2011-10-282-3/+3
| | | | | | This simplifies the checks since the bytes type is available in all supported python versions, while the unicode type is only available in python2.
* Fix missed ROOT -> EROOT changes.Zac Medico2011-10-272-4/+4
| | | | These go along with commit a715b65f7bd36409c1283e6911265d1f4405ab7a.
* repoman: add opts and repo config debug outputZac Medico2011-10-261-0/+3
|
* layout.conf: rename cache_format to cache_formatsZac Medico2011-10-251-1/+2
| | | | | | We read layout.conf cache-formats from left to right and use the first supported type that's found. This will allow support for multiple formats in parallel, providing for smooth transitions between formats.
* Use EROOT instead of ROOT for keys everywhere.Zac Medico2011-10-256-41/+44
| | | | | | | | | | It makes more sense to use EROOT instead of ROOT for keys in mappings like portage.db, since it allows for multiple prefixes to exist simultaneously within the same map without having a key collision. This affects all portageq commands which take a <root> parameter, since that parameter now corresponds to EROOT instead of ROOT. None of this makes any difference for non-prefix users, since EROOT and ROOT are identical when EPREFIX is empty.
* UpdateChangeLog: split out get_committer_name()Zac Medico2011-10-201-4/+7
|
* misc-functions.sh: condense world-writable outputZac Medico2011-10-201-7/+7
|
* repoman: get ChangeLog header from skel.ChangeLogFabian Groffen2011-10-201-1/+1
| | | | | | | Use skel.ChangeLog from the repo to create the header of a new ChangeLog file. Else, we just retain the original header of the ChangeLog. When no skel.ChangeLog file exists, and this is a new ChangeLog, no header is used.
* repoman: get default to update changelog from layout.confFabian Groffen2011-10-201-4/+1
| | | | | | | | | | | | | Updating the ChangeLog file may be desirable in more repos than just the one named 'gentoo', like e.g. the Prefix one. Hence, make this default configurable though metadata/layout.conf. This commit must go accompanied by a commit to gentoo-x86/metadata/layout.conf that adds the following bit: # Bug #337853 - gentoo's council says to enable # --echangelog by default for the "gentoo" repo update-changelog = true
* misc-functions.sh: move sleep out of loopZac Medico2011-10-201-2/+2
| | | | | | Having sleep in the world-writable loop causes riduculous delays for prefix users with exotic filesystem constraints (like a FAT filesystem mounted with umask=000).
* python3.2 fixes: "ResourceWarning: unclosed file"Zac Medico2011-10-171-20/+48
|
* repoman: support --echangelog=forceZac Medico2011-10-161-5/+6
| | | | | Allows forced ChangeLog generation even when the vcs has detected that the ChangeLog has already been modified.
* repoman: handle subprocess bug with Python 3.1Zac Medico2011-10-161-1/+9
|