Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | etc-update: add a --preen flag | Mike Frysinger | 2012-03-10 | 1 | -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 line | Mike Frysinger | 2012-03-10 | 1 | -4/+8 |
| | | | | | | URL: http://bugs.gentoo.org/59235 Reported-by: Cory Visi <merlin@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | etc-update: turn -[3579] flags into command line option | Mike Frysinger | 2012-03-08 | 1 | -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 significantly | Mike Frysinger | 2012-03-08 | 1 | -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> | ||||
* | etc-update: use PORTAGE_INST_UID/GID | Zac Medico | 2011-12-08 | 1 | -2/+4 |
| | |||||
* | etc-update: experimental prefix support | Zac Medico | 2011-12-08 | 1 | -3/+3 |
| | |||||
* | etc-update: support PAGER env var for bug #384663 | Zac Medico | 2011-09-28 | 1 | -1/+10 |
| | |||||
* | etc-update: add clear_term config for bug #142508 | Zac Medico | 2011-05-31 | 1 | -3/+4 |
| | |||||
* | Update timestamps in headers of modified files. | Zac Medico | 2011-05-25 | 1 | -1/+1 |
| | |||||
* | etc-update: clear term when appropriate | Zac Medico | 2011-05-17 | 1 | -1/+5 |
| | | | | | | | This solves an issue like bug #142508, but involving etc-update instead of dispatch-conf. This is also relevant to bug #70668, which is the same issue, though the reporter suggested to use colors to delimit the output instead of using clear. | ||||
* | bash: as a general rule, use read -r | Zac Medico | 2010-12-29 | 1 | -1/+1 |
| | | | | This solves cases like bug #350045. | ||||
* | etc-update: eliminate duplicate example configs | Zac Medico | 2010-12-13 | 1 | -1/+5 |
| | |||||
* | etc-update: tweak style in do_distconf() | Anthony Basile | 2010-12-13 | 1 | -10/+2 |
| | |||||
* | etc-update: replace 'seq' with pure bashv2.2.0_alpha8 | Zac Medico | 2010-12-12 | 1 | -3/+6 |
| | |||||
* | etc-update: add option to save example config | Anthony Basile | 2010-12-12 | 1 | -0/+33 |
| | | | | This will fix bug #348561. | ||||
* | Add back executable bits, accidentally removed in previous commit. | Zac Medico | 2010-03-24 | 1 | -0/+0 |
| | |||||
* | Remove all svn $Id keywords. | Zac Medico | 2010-03-24 | 1 | -1/+0 |
| | |||||
* | Don't use $Id or $Rev for version strings since that doesn't work with git. | Zac Medico | 2010-03-24 | 1 | -1/+1 |
| | |||||
* | make sure etc-update sorts updates in the order (1) leading dir path (2) ↵ | Mike Frysinger | 2009-06-28 | 1 | -2/+2 |
| | | | | | | filename (3) cfg update svn path=/main/trunk/; revision=13723 | ||||
* | Fix incorrect usage of trap (only remove on signal at a time). | Zac Medico | 2008-12-12 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=12210 | ||||
* | Fix SIGINT and SIGTERM trap handling so the temp dir always cleaned up when | Zac Medico | 2008-11-23 | 1 | -4/+4 |
| | | | | | | killed. svn path=/main/trunk/; revision=12055 | ||||
* | Bug #188780 - Make the read_int() function show a more human readable error | Zac Medico | 2008-11-23 | 1 | -1/+2 |
| | | | | | | | message, instead of the 'value too great for base' message when the user enters an invalid value such as '1y'. svn path=/main/trunk/; revision=12053 | ||||
* | Bug #173284 - Do not traverse hidden directories such as .svn or .git when | Zac Medico | 2008-11-15 | 1 | -3/+5 |
| | | | | | | search for protected files. svn path=/main/trunk/; revision=11928 | ||||
* | only use dummy echos in do_file() when running in interactive mode | Mike Frysinger | 2008-10-10 | 1 | -2/+3 |
| | | | | svn path=/main/trunk/; revision=11673 | ||||
* | As suggested by grobian, treat Darwin just like USERLAND=gnu | Zac Medico | 2007-12-29 | 1 | -2/+1 |
| | | | | | | since they seem to be switching commands to gnu anyway. svn path=/main/trunk/; revision=9118 | ||||
* | Fix USERLAND references to handle Darwin like BSD. | Zac Medico | 2007-12-29 | 1 | -4/+5 |
| | | | | svn path=/main/trunk/; revision=9117 | ||||
* | Call die() so that the $TMP directory is always properly | Zac Medico | 2007-11-03 | 1 | -7/+6 |
| | | | | | | cleaned up. svn path=/main/trunk/; revision=8405 | ||||
* | if mode=1 and `dialog` is not usable, abort #197990 by DominikBuerkle | Mike Frysinger | 2007-11-03 | 1 | -0/+7 |
| | | | | svn path=/main/trunk/; revision=8402 | ||||
* | Bug #195949 - Add one more using_editor conditional for | Zac Medico | 2007-10-15 | 1 | -2/+10 |
| | | | | | | diff_command. svn path=/main/trunk/; revision=8130 | ||||
* | Bug #195949 - Use a different diff_command sanity check | Zac Medico | 2007-10-15 | 1 | -7/+14 |
| | | | | | | when using_editor is true. svn path=/main/trunk/; revision=8129 | ||||
* | add --debug option and display a message about skipping non-files so we dont ↵ | Mike Frysinger | 2007-10-07 | 1 | -3/+9 |
| | | | | | | get confusing loops where portage claims there are things to update but etc-update claims there are not svn path=/main/trunk/; revision=7994 | ||||
* | add standard --help/--version options | Mike Frysinger | 2007-10-07 | 1 | -1/+25 |
| | | | | svn path=/main/trunk/; revision=7993 | ||||
* | unify diff_command handling | Mike Frysinger | 2007-10-07 | 1 | -16/+19 |
| | | | | svn path=/main/trunk/; revision=7992 | ||||
* | no need to use "function" when defining a function | Mike Frysinger | 2007-10-03 | 1 | -10/+10 |
| | | | | svn path=/main/trunk/; revision=7908 | ||||
* | this isnt part of gentoolkit anymore | Mike Frysinger | 2007-10-03 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=7907 | ||||
* | Initialize PORTAGE_TMPDIR before using it. | Zac Medico | 2007-09-29 | 1 | -3/+3 |
| | | | | svn path=/main/trunk/; revision=7887 | ||||
* | Initialize ${TMP} before registering the die trap so that | Zac Medico | 2007-09-24 | 1 | -1/+1 |
| | | | | | | we're sure which directory die will clean up. svn path=/main/trunk/; revision=7802 | ||||
* | fix possible information leak vulnerability when doing a merge of ↵ | Mike Frysinger | 2007-09-24 | 1 | -11/+22 |
| | | | | | | configuration files and be better about handling of whitespace in $TMP in a few places svn path=/main/trunk/; revision=7799 | ||||
* | tweak get_config() so that it only executes one external binary (sed) ↵ | Mike Frysinger | 2007-09-24 | 1 | -9/+15 |
| | | | | | | instead of chaining multiple ones svn path=/main/trunk/; revision=7798 | ||||
* | change directory to / in case $PWD doesnt exist | Mike Frysinger | 2007-08-26 | 1 | -1/+3 |
| | | | | svn path=/main/trunk/; revision=7702 | ||||
* | Make etc-update copy owner and group bits when it merges config files. | Zac Medico | 2007-08-16 | 1 | -0/+2 |
| | | | | svn path=/main/trunk/; revision=7636 | ||||
* | Use user-provided $mv_opts for -5 (bug #47442) | Marius Mauch | 2007-06-05 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=6735 | ||||
* | convert `type -p` to `type -P` as noted by grobian | Mike Frysinger | 2007-04-15 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=6411 | ||||
* | Don't set os.environ["USERLAND"] inside portage.data and rely on USERLAND ↵ | Zac Medico | 2007-04-05 | 1 | -1/+1 |
| | | | | | | from the profile instead (bail out if necessary when USERLAND is unset). svn path=/main/trunk/; revision=6341 | ||||
* | For bug #170178, remove all hardcoded references to '/usr/lib/portage'. | Zac Medico | 2007-03-10 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=6203 | ||||
* | Add compatibility code to avoid the GNU specific --reference option of ↵ | Zac Medico | 2007-03-01 | 1 | -2/+6 |
| | | | | | | chmod. Thanks to Timothy Redaelli <drizzt@gentoo.org>. svn path=/main/trunk/; revision=6115 | ||||
* | Add missing quotes. | Zac Medico | 2007-02-15 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=5970 | ||||
* | Fix CONFIG_PROTECT_MASK support. Thanks to piavlo <piavka@cs.bgu.ac.il> for ↵ | Zac Medico | 2007-02-15 | 1 | -1/+2 |
| | | | | | | this patch from bug #166837. svn path=/main/trunk/; revision=5969 | ||||
* | For bug #8423, make etc-update preserve timestamps when possible. | Zac Medico | 2006-11-26 | 1 | -2/+0 |
| | | | | svn path=/main/trunk/; revision=5135 | ||||
* | Add $ROOT and $PORTAGE_CONFIGROOT support for etc-update. Thanks to ↵ | Zac Medico | 2006-10-10 | 1 | -5/+9 |
| | | | | | | Jonathan Adamczewski <jadamcze@utas.edu.au> for this patch from bug #150370. svn path=/main/trunk/; revision=4645 |