summaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Make some variables local.Arfrever Frehtes Taifersar Arahesis2010-08-051-3/+12
|
* Bug #301915: Add QA check for byte-compiled Python modules.Arfrever Frehtes Taifersar Arahesis2010-08-051-5/+4
|
* Bug #308835 - Make econf() use sed to substitute $CONFIG_SHELL inZac Medico2010-08-041-0/+5
| | | | the shebang of configure scripts when appropriate.
* Bug #285191 - Add back the RDEPEND.implicit warning to detect the casesZac Medico2010-08-041-1/+1
| | | | | | where DEPEND is set and RDEPEND is unset in the ebuild, since this triggers implicit RDEPEND=$DEPEND assignment (prior to EAPI 4) and is forbidden by the QA team.
* repoman: Check if the prefix.eclass is inherited if eprefixify is used. ↵Sebastian Luther2010-08-041-0/+1
| | | | Thanks to Jeremy Olexa (darkside) for the initial patch.
* Fix NameError for ConfigProtect.Zac Medico2010-08-011-1/+1
|
* Always use shlex_split() to split CONFIG_PROTECT{,_MASK}.Zac Medico2010-07-312-13/+17
|
* Tweak global updates handling so that updates from $PORTDIR are appliedZac Medico2010-07-271-10/+40
| | | | | | | | | for all of the following cases: * package is missing repository metadata * package has repository metadata, but the source repository does not have a profiles/updates/ directory * package has repository metadata, but the source repository is not currently accessible via PORTDIR_OVERLAY
* Make dbapi.update_ents() take a dict of {repo_name: list}, since it'sZac Medico2010-07-271-2/+1
| | | | most efficient to process all repos at once.
* Fallback to updates from PORTDIR if repository has no 'updates' dir.Michał Górny2010-07-271-0/+3
| | | | | | As a backwards-compatibility measure, if a particular repository doesn't come with an 'updates' directory, fallback to updates from dbapi.porttree_root.
* Add repository-wide updates support to emaint.Michał Górny2010-07-271-40/+55
|
* Handle UnicodeDecodeError from subprocess.getstatusoutput() calls, reportedZac Medico2010-07-241-15/+11
| | | | with python3.1.
* install_qa_check: catch more gcc warningsMike Frysinger2010-07-191-0/+29
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Remove 'filedir.missing' check info.Michał Górny2010-07-151-1/+0
| | | | It is not used anywhere, and don't seem to be a useful check at all.
* Use b'foo' instead of _unicode_encode() where appropriate.Zac Medico2010-07-141-3/+3
|
* Fix unicode handling in arguments and commit message handling (testedZac Medico2010-07-141-16/+19
| | | | with python2 and python3).
* Combine the two 'file.executable' checks into a single one.Michał Górny2010-07-141-4/+1
| | | | | | Instead of performing a single 'file.executable' check on auxiliary files and then another one on ebuild files, use a single check for them. This unifies the path output too.
* * Add support for PORTAGE_USERNAME and PORTAGE_GRPNAMEZac Medico2010-07-141-2/+2
| | | | | | | | | | | | environment variables, for use within the chromium-os build environment. * Add PORTAGE_USERNAME and PORTAGE_GRPNAME to the environment whitelist and filter them from the saved environment. Note: In order to support PORTAGE_USERNAME and PORTAGE_GRPNAME settings in make.conf, the associated portage.data attributes may be relocated to the config class in the future.
* Fix 'repoman --ask' to not require an argument.Michał Górny2010-07-121-1/+1
| | | | | Overnight patches have the tendency to be bugged. Now 'repoman --ask' should work like a normal flag.
* Support '--ask' option to 'repoman commit'.Michał Górny2010-07-111-0/+8
|
* Make the commitmessage append clearer.Michał Górny2010-07-111-4/+5
| | | | | | Put an empty line between the real commit message and Portage version append. Instead of creating a second pair of parenthesis for the Manifest commit one, append it to the Portage version.
* Pass '--relative' to 'git diff-index'.Michał Górny2010-07-111-24/+5
| | | | | | Instead of using faulty prefix-stripping code on 'git diff-index' results, simply pass '--relative' to it. Thanks to that, git will do all the stripping itself and return only changes in the current directory.
* Introduce '--vcs' option for repoman.Michał Górny2010-07-111-7/+17
| | | | | | | The '--vcs' option can be used to override VCS autodetection and force using specific one. It can be especially useful if the work directory is ambiguous (i.e. there is more than one VCS control directory in the same directory).
* Rewrite VCS detection code in repoman.Michał Górny2010-07-111-11/+8
| | | | | | Move the real code into repoman.utilities. Support any repository depth for distributed SCMs -- i.e. Sunrise through git-svn. Bail out if more than one control version directory is found at the same depth.
* Patch ebuild.sh to not nuke the WORKDIR if FEATURES="keepwork".Christopher Covington2010-07-081-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | This allows make to do its thing when using Portage in a development workflow, although the change also exposes how ebuild clean doesn't clear out the WORKDIR. TEST=`rm -rf /build/$board/tmp/portage/chromeos-base/kernel-0.0.1 && [ -e /build/$board/tmp/portage/chromeos-base/kernel-0.0.1/.unpacked ] && rm /build/$board/tmp/portage/chromeos-base/kernel-0.0.1/.unpacked && FEATURES=keepwork ebuild-$board kernel-0.0.1.ebuild install` Then modify some of the source (preferably in the git repository rather than the WORKDIR). `[ -e /build/$board/tmp/portage/chromeos-base/kernel-0.0.1/.unpacked ] && rm /build/$board/tmp/portage/chromeos-base/kernel-0.0.1/.unpacked && FEATURES=keepwork ebuild-$board kernel-0.0.1.ebuild install &&` On the second ebuild operation, make should be able to tell what exactly, or if nothing at all, has changed, and rebuild only the necessary object files. http://codereview.chromium.org/2922001
* GLEP 55 removalDaniel Robbins2010-07-061-4/+1
|
* Handle InvalidAtom from vardbapi.match() in has_version.Zac Medico2010-07-051-0/+4
|
* misc-functions.sh fix for baselayoutDaniel Robbins2010-06-271-0/+2
|
* Add a --portdir option, requested by Daniel Robbins.Zac Medico2010-06-221-0/+6
|
* Show unevaluated atoms when displaying unsatisfied deps.Zac Medico2010-06-161-1/+2
|
* Bug #321871 - Check manifests in all modes and trigger 'manifest.bad'Zac Medico2010-06-151-9/+17
| | | | when appropriate.
* Fix breakage in changelog checks do to faulty vcs comparison (cvs andZac Medico2010-06-151-1/+1
| | | | svn need to be lowercase).
* Bug #324075 - Avoid erroneous 'Invalid Gentoo Copyright' warnings whenZac Medico2010-06-151-0/+5
| | | | | the vcs (git) does not support mtime preservation. Also, fix the same check to work for ebuilds wiht copyrigh beginning in 2011 and later.
* Bug #322049 - Make use_with() and use_enable() handling of emptyZac Medico2010-05-301-2/+10
| | | | | | 3rd argument conditional on EAPI in order to ensure backward compatibility. This reverts the behavior change from commit a05bba76435d94407fd25549d0552902962baf62 for EAPI 0, 1, 2, and 3.
* Fix handling of empty third argument of use_with() and use_enable().Arfrever Frehtes Taifersar Arahesis2010-05-271-2/+2
|
* Use 'assert' to check ${PIPESTATUS[@]} from save_ebuild_env calls.Zac Medico2010-05-251-0/+3
|
* Bug #321145: Don't ignore exit status of filter-bash-environment.py and ↵Arfrever Frehtes Taifersar Arahesis2010-05-252-2/+2
| | | | check-implicit-pointer-usage.py.
* Bug #320755 - Make sure src_test only runs once when ebuild(1)Zac Medico2010-05-211-5/+8
| | | | | is used to explicitly run the test phase along with other phases.
* New mode: manifest-check - Checks Manifests for missing or incorrect digestsZac Medico2010-05-161-0/+10
|
* Extend QA check for absolute symlinks in lib dirs to more file typesSebastian Luther2010-05-151-11/+14
|
* Usage: binhost-snapshot [options] <src_pkg_dir> <snapshot_dir> ↵Zac Medico2010-05-131-0/+142
| | | | | | | | | | | | | | | | | | | | | | | <snapshot_uri> <binhost_dir> This program will copy src_pkg_dir to snapshot_dir and inside binhost_dir it will create a Packages index file which refers to snapshot_uri. This is intended to solve race conditions on binhosts as described at http://crosbug.com/3225. Required Arguments: src_pkg_dir - the source $PKGDIR snapshot_dir - destination snapshot directory (must not exist) snapshot_uri - URI which refers to snapshot_dir from the client side binhost_dir - directory in which to write Packages index with snapshot_uri Options: -h, --help show this help message and exit --hardlinks=HARDLINKS create hardlinks (y or n, default is y)
* Use bytes literals in instead of _unicode_encode() where appropriateZac Medico2010-05-131-8/+5
| | | | (works with python-2.6). Thanks to Arfrever for the suggestion.
* Bug 270108 - Trigger ebuild.invalidname if a version contains more thanZac Medico2010-05-121-1/+4
| | | | 18 digits. Thanks to Ulrich Müller <ulm@g.o> for this patch.
* When rewritting /Attic/ in cvs headers, use binary mode in order to avoidZac Medico2010-05-121-8/+14
| | | | potential character encoding issues.
* Update comment in econf about --disable-dependency-tracking to refer toZac Medico2010-05-061-1/+1
| | | | EAPI 4 instead of 3.
* Fix another 'varable' typo.Arfrever Frehtes Taifersar Arahesis2010-05-021-1/+1
|
* Support per-package bashrc files.Michał Górny2010-04-292-11/+14
| | | | | | | Support loading per-package bashrc files from the /etc/portage/env directory. The invidual files should reside in a directory matching ${CATEGORY}, with names matching ${PN}, ${PN}:${SLOT}, ${P} and/or ${PF} (which are applied in that order).
* Bug #315741 and bug #315709 - Handle whitespace and unicode inZac Medico2010-04-271-5/+21
| | | | PORTDIR_OVERLAY paths.
* Add a SYNC sanity check to help prevent people like funtoo usersZac Medico2010-04-261-1/+15
| | | | | from accidentally wiping out their git tree. It will bail out if SYNC does not refer to an rsync URI.
* Quote paths for 'call stack' display.Michał Górny2010-04-231-1/+1
| | | | | | Added missing quoting around the path passed to basename when printing 'Call stack' on die(). This should fix the issue where basename syntax error was displayed instead of the source file name.