summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Make metadata.xml <flag/> errors non-fatal to repoman.Michał Górny2010-04-241-1/+7
| | | | | | Previously, <flag/>-related errors in metadata.xml caused repoman to abort the checks without even reporting the full path to broken metadata.xml file. Now they are accounted as 'metadata.bad' errors.
* Quote path for die snippet display.Michał Górny2010-04-241-1/+1
| | | | | | Added missing quoting around the path passed to sed when displaying ebuild snippet on die(). This should fix the issue where they weren't displayed due to the occurence of special characters in the path.
* Pass in missing vartree parameter to doebuild(). Thanks to Arfrever forZac Medico2010-04-221-1/+2
| | | | reporting.
* Source isolated-functions.sh for vecho definition. Thanks to Martin MOKREJŠZac Medico2010-04-221-1/+3
| | | | <mmokrejs@fold.natur.cuni.cz> for reporting.
* Bug #316311 - Prefer -i18n option of doman to filename language suffixZac Medico2010-04-201-3/+5
| | | | (EAPI 4). Thanks to Ulrich Müller <ulm@g.o> for this patch from bug #303919.
* Fix typo in check for shared libraries lacking NEEDED entries.Arfrever Frehtes Taifersar Arahesis2010-04-161-1/+1
|
* Remove unused imports.Zac Medico2010-04-111-17/+6
|
* Pass an ElementTree instance into parse_metadata_use() andZac Medico2010-04-111-16/+18
| | | | check_metadata_herds().
* Implement REPLACING_VERSIONS and REPLACED_BY_VERSIONSebastian Luther2010-04-101-0/+1
|
* Remove PORTAGE_USERNAME and PORTAGE_GROUPNAME support for now since antarusZac Medico2010-04-061-2/+2
| | | | says he wants it to work via make.conf, requiring redesign.
* For clarity, make egencache --help and man page refer to --config-rootZac Medico2010-04-021-1/+2
| | | | parameter as PORTAGE_CONFIGROOT. Thanks to Brian Harring.
* Add a test which calls bash -n on all scripts with bash shebang.Zac Medico2010-04-021-1/+2
|
* Handle missing $PORTDIR/metadata/herds.xml. Thanks to Arfrever for reporting.Zac Medico2010-04-021-3/+6
|
* Update copyright header.Zac Medico2010-04-011-1/+1
|
* Move all imports to top.Zac Medico2010-03-281-11/+9
|
* Remove unused variables/imports and extra whitespace.Zac Medico2010-03-281-13/+11
|
* Add support for package sets to quickpkgSebastian Luther2010-03-281-135/+179
| | | | | | | | Split quickpkg_atom out of quickpkg_main to handle single atoms. Create quickpkg_set to handle sets that calls quickpkg_atom. Use a dict called 'infos' to return information about skipped config files, etc. Move imports to global scope. Update --help message and man page.
* Add PORTAGE_USERNAME and PORTAGE_GROUPNAME to the environment whitelist andZac Medico2010-03-261-2/+3
| | | | filter them from the saved environment.