summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* portageq: add "colormap" helperMike Frysinger2012-03-112-1/+9
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* etc-update: fix logic bug with protected filesMike Frysinger2012-03-111-3/+4
| | | | | | | | The rewrite introduced a slight bug with protected files. Fix that, and rework the code slightly to make it obvious that we want a diff set of options for files and dirs. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* etc-update: handle symlinked filesMike Frysinger2012-03-101-4/+22
| | | | | | | | | If the config file is symlinked somewhere, then update the target rather then discarding the symlink and replacing it with a real file. URL: http://bugs.gentoo.org/330221 Reported-by: Jack Byer <ftn768@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* etc-update: fix default "enter" behaviorMike Frysinger2012-03-101-2/+5
| | | | | | | | Adding support for -[3579] command line flags inadvertently broke the default behavior of hitting "enter" to automatically select the next file. Make this work again. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* etc-update: add a --preen flagMike Frysinger2012-03-101-0/+5
| | | | | | | | Add a flag to merge just trivial updates and then quit. URL: http://bugs.gentoo.org/159080 Reported-by: Iván Pérez Domínguez <iperez@babel.ls.fi.upm.es> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* etc-update: support scan paths on the command lineMike Frysinger2012-03-101-4/+8
| | | | | | URL: http://bugs.gentoo.org/59235 Reported-by: Cory Visi <merlin@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* dispatch-conf: do regex matching ourselvesMike Frysinger2012-03-101-13/+24
| | | | | | | This avoids having to pipe through multiple greps, as well as running diff multiple times on the same set of files. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ebuild.sh: skip EBUILD_HOOK_DIR for depend phaseZac Medico2012-03-101-15/+25
|
* Disable 'illegally inherited' check for nofetch.Zac Medico2012-03-081-1/+5
| | | | | | It's disabled for nofetch, since that can be called by repoman and that triggers bug #407449 due to repoman not exporting non-essential variables such as INHERITED.
* dispatch-conf: add --help/--version flagsMike Frysinger2012-03-081-0/+13
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* etc-update: turn -[3579] flags into command line optionMike Frysinger2012-03-081-31/+54
| | | | | | | This lets people do `etc-update --automode -3` rather than having to do something like `echo "-3" | etc-update`. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* etc-update: rewrite significantlyMike Frysinger2012-03-081-305/+338
| | | | | | | | | | | | | | This tool is very inefficient, especially in the case of auto-merging with -3/-5 and such. Rewrite the code to kill off dead paths, compress multiple greps into a single sed, cache more calculated results, and use bash code where possible rather than execing external tools. There are also style updates here, many of which fix quoting issues and other such things. The next rewrite should probably be in python, but this version is fast enough for me now even on my slow machines. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* repoman: say Git >=1.7.9 needed for signed commitZac Medico2012-03-041-1/+22
|
* ecompressdir: handle abs symlink, bug #405327Zac Medico2012-02-221-3/+10
|
* repoman: make virtual.oldstyle an errorZac Medico2012-02-171-1/+3
| | | | | Also, add "allow-provide-virtuals = true" setting for metadata/layout.conf which reduces it to a warning.
* repoman: no ChangeLog for Manifest-only commitZac Medico2012-02-101-0/+9
| | | | | Use --echangelog=force to force ChangeLog generation in this case. See bug #398009.
* repoman: support PORTAGE_CONFIGROOT, bug 402577Zac Medico2012-02-101-2/+4
|
* repoman: remove redundant config constructorZac Medico2012-02-101-2/+0
|
* repoman: make SRC_URI.mirror fatalZac Medico2012-02-081-1/+0
| | | | Thanks to Christian Ruppert <idl0r@gentoo.org> for the suggestion.
* repoman: normalize thirdpartymirrors trailing /Zac Medico2012-02-081-1/+4
|
* repoman: support git commit --gpg-signZac Medico2012-02-041-0/+7
| | | | | | | In order to sign commits with git, you will need Git >=1.7.9 and your key will have to be configured by `git config user.signingkey key_id`. Also, the repository will need to have "sign-commits = true" in metadata/layout.conf. This will fix bug #333687.
* install_qa_check: handle info dir rm failureZac Medico2012-02-011-1/+1
| | | | This will fix bug #400679.
* phase-helpers.sh: set -x when emulating yesZac Medico2012-01-241-1/+1
| | | | This avoids displaying a bunch of garbage in debug mode.
* ecompress: don't rename dir symlink, bug #399595Zac Medico2012-01-211-0/+4
|
* remove stray 'fi' from last commitZac Medico2012-01-171-1/+0
|
* _eapi0_src_test: remove redundant FEATURES checksZac Medico2012-01-171-7/+4
|
* Support repository dependencies in EAPI="4-python".Arfrever Frehtes Taifersar Arahesis2012-01-161-4/+7
|
* portageq metadata: Support repository dependencies.Arfrever Frehtes Taifersar Arahesis2012-01-151-2/+4
|
* add support for compressing debug sections to save spaceMike Frysinger2012-01-141-2/+4
| | | | | | | | | | | Since binutils/gdb can compress the .debug* sections with zlib into .zdebug*, we should be able to save quite a bit of space -- on my system, I saw /usr/lib/debug/ go from ~20GB to ~7.5GB. This requires binutils/gdb to be built with USE=zlib which is why this defaults to off. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* prepstrip: add writable workaround for everyoneMike Frysinger2012-01-141-1/+1
| | | | | | | The writable issue shows up when using `ebuild` as non-root users in non-prefix setups. So always do it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* egencache: escape newline instead of lstripZac Medico2012-01-141-4/+4
|
* egencache: use textwrap.dedentZac Medico2012-01-141-10/+10
|
* dyn_install: skip copy if possibleZac Medico2012-01-131-11/+16
| | | | | Also, fix EPREFIX breakage since commit 5d5364e982820fda56db5a40884e1c5f8e784b96.
* dyn_package: portable cp args by Mike FrysingerZac Medico2012-01-131-1/+3
|
* dyn_package: remove stale PROOT if necessaryZac Medico2012-01-131-0/+1
|
* Modify PKG_INSTALL_MASK to apply only to binpkg creation.Brian Harring2012-01-131-2/+13
| | | | | | | | | | | | Primarily useful for certain cases where cros needs to suppress debug symbols being included for specific pkgs, and/or suppressing binpkgs from carrying sensitive configuration data, but we still wish for it to be installed. BUG=chromium-os:25060 TEST=set PKG_INSTALL_MASK, check ${D} vs what's in the binpkg Change-Id: I0f81a9e394b7b0b64dbbcbe8d189876cb8421dfa
* Set REPOSITORY variable in ebuild environment in EAPI="4-python".Arfrever Frehtes Taifersar Arahesis2012-01-081-2/+2
|
* Fix location of a comment.Arfrever Frehtes Taifersar Arahesis2012-01-081-2/+2
|
* repoman: remove ebuild.allmasked checkZac Medico2012-01-011-15/+0
| | | | | | | This check it pretty useless, since there packages don't necessarily need to have any stable keywords, and nobody relies on this check to decide when to keyword something. Also, remove references to the ebuild.nostable which doesn't seem to exist anymore.
* repoman: discard xmatch caches from previous pkgsZac Medico2012-01-011-0/+2
| | | | | This should help prevent repoman from consuming too much memory when checking multiple packages or the whole tree.
* repoman: later --ask prompt for bug #395995Zac Medico2011-12-251-4/+4
|
* Tweak CFLAGS scanelf loop.v2.2.0_alpha83Zac Medico2011-12-241-11/+13
|
* Don't check .GCC.command.line for kernel modules.Zac Medico2011-12-241-1/+12
| | | | | | | Linux kernel modules trigger the following warning when compiled with -frecord-gcc-switches: WARNING: mod.o (.GCC.command.line): unexpected non-allocatable section.
* Do CFLAGS check before strip for bug #395877.Zac Medico2011-12-241-71/+73
|
* QA_FLAGS_IGNORED: include QA_PREBUILTZac Medico2011-12-221-1/+1
| | | | | Also, QA_DT_HASH doesn't need to include QA_PREBUILT anymore, since it's merged with QA_FLAGS_IGNORED.
* Share variables for CFLAGS and LDFLAGS checks.Zac Medico2011-12-221-33/+44
| | | | | | | The rationale is that any exceptions to either of these checks will probably apply to both checks. So, QA_CFLAGS_IGNORED and QA_DT_HASH are merged into QA_FLAGS_IGNORED, and QA_STRICT_CFLAGS_IGNORED and QA_STRICT_DT_HASH are merged into QA_STRICT_FLAGS_IGNORED.
* ebuild-helpers/new*: QA warn for extra argsZac Medico2011-12-2211-10/+43
|
* filter_readonly_variables: refactor binpkg logicZac Medico2011-12-221-8/+9
|
* filter_readonly_variables: don't trust binpkg varZac Medico2011-12-211-0/+4
|
* filter_readonly_variables: preserve binpkg varsZac Medico2011-12-211-1/+3
|