summaryrefslogtreecommitdiffstats
path: root/bin/dispatch-conf
Commit message (Collapse)AuthorAgeFilesLines
* Add portage._internal_caller var, and use it.Zac Medico2013-01-031-1/+2
|
* Handle closed sys.__stdin__, for multiprocessingZac Medico2012-12-151-1/+1
| | | | | | | Buggy code in python's multiprocessing/process.py closes sys.stdin and reassigns it to open(os.devnull), but fails to update the corresponding __stdin__ reference. So, detect that case and handle it appropriately. The buggy code is visible in http://hg.python.org/lookup/r73708.
* Unconditionally insert our pym dir in sys.path.Zac Medico2012-09-021-8/+4
| | | | | This is especially necessary when running in prefix mode, since sys.path may contain the path for a different version of portage.
* Use sys.__std*.fileno() in case of overrides.Zac Medico2012-08-221-4/+6
| | | | | This fixes AttributeError exceptions for API consumers that override sys.std* streams pseudo-file objects.
* 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>
* dispatch-conf: add --help/--version flagsMike Frysinger2012-03-081-0/+13
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Use portage.const.EPREFIX more.Zac Medico2011-12-091-1/+1
|
* dispatch-conf: experimental prefix supportZac Medico2011-12-071-2/+3
|
* dispatch-conf: fix replace-wscomments patternRyan Hill2011-10-011-1/+1
| | | | This will fix bug #375613.
* dispatch-conf: tweak pager basename comparisonZac Medico2011-09-281-2/+3
|
* dispatch-conf: support PAGER var for bug #384663Zac Medico2011-09-281-0/+32
|
* python3.2 fixes: ResourceWarning: unclosed fileZac Medico2011-08-251-2/+4
|
* Fix NameError for ConfigProtect.Zac Medico2010-08-011-1/+1
|
* Always use shlex_split() to split CONFIG_PROTECT{,_MASK}.Zac Medico2010-07-311-10/+13
|
* Handle UnicodeDecodeError from subprocess.getstatusoutput() calls, reportedZac Medico2010-07-241-15/+11
| | | | with python3.1.
* Add back executable bits, accidentally removed in previous commit.Zac Medico2010-03-241-0/+0
|
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* Remove unused merge_cmd variable.Zac Medico2010-02-181-1/+0
| | | | svn path=/main/trunk/; revision=15371
* Remove diffutils version detection code since it's not really needed.Zac Medico2010-02-181-13/+2
| | | | svn path=/main/trunk/; revision=15370
* Fix broken diffutils vercmp code.Zac Medico2010-02-181-3/+2
| | | | svn path=/main/trunk/; revision=15368
* Bug #305393 - Handle new sdiff exit status for diffutils-2.9.Zac Medico2010-02-181-0/+16
| | | | svn path=/main/trunk/; revision=15365
* Bug #295197 - Output a newline after valid user input is received.Zac Medico2010-02-021-0/+2
| | | | svn path=/main/trunk/; revision=15317
* Fix TypeError in clear_screen() in dispatch-conf which occurs when Python 3 ↵Arfrever Frehtes Taifersar Arahesis2009-09-271-1/+2
| | | | | | is used (bug #286682). svn path=/main/trunk/; revision=14450
* Use list comprehensions instead of filter() or map() in some places for ↵Arfrever Frehtes Taifersar Arahesis2009-09-251-1/+1
| | | | | | compatibility with Python 3. svn path=/main/trunk/; revision=14421
* Update system imports for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-7/+13
| | | | svn path=/main/trunk/; revision=14294
* Update syntax of numbers for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-2/+2
| | | | | | (2to3-3.1 -f numliterals -nw ${FILES}) svn path=/main/trunk/; revision=14292
* Support print() function with Python 2 in some files.Arfrever Frehtes Taifersar Arahesis2009-09-201-0/+2
| | | | svn path=/main/trunk/; revision=14291
* Update syntax of calls to print() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-28/+27
| | | | | | (2to3-3.1 -f print -nw ${FILES}) svn path=/main/trunk/; revision=14290
* Update syntax of 'except' statements for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-2/+2
| | | | | | (2to3-3.1 -f except -nw ${FILES}) svn path=/main/trunk/; revision=14289
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-111-1/+2
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13993
* For py3k compat, avoid using list.sort(cmp).Zac Medico2008-12-091-7/+11
| | | | svn path=/main/trunk/; revision=12184
* Remove stray print statement from previous commit.Zac Medico2008-11-151-1/+0
| | | | svn path=/main/trunk/; revision=11931
* Bug #173284 - Do not traverse hidden directories such as .svn or .git whenZac Medico2008-11-151-2/+3
| | | | | | search for protected files. svn path=/main/trunk/; revision=11929
* Py3k compatibility patch #5 by Ali Polatel <hawking@g.o>.Zac Medico2008-07-011-3/+3
| | | | | | Replace dict.has_key() calls with "in" and "not in" operators. svn path=/main/trunk/; revision=10874
* Use spawn() instead of system().Zac Medico2008-06-111-2/+18
| | | | svn path=/main/trunk/; revision=10642
* Bug #142508 - Clear the screen each time before callingZac Medico2007-10-011-0/+14
| | | | | | | | the "diff" command so that any remnants of the previous config are now shown with the current one. command so that svn path=/main/trunk/; revision=7893
* Bug #194095 - Validate dispatch-conf input in order toZac Medico2007-09-291-2/+13
| | | | | | | | prevent spurious input characters from being interpreted as user input (which can be quite confusing and gives an "out of control" feeling). svn path=/main/trunk/; revision=7877
* Bug #74615 - Quote all file paths inside dispatch-conf shell commands.Zac Medico2007-09-241-3/+3
| | | | svn path=/main/trunk/; revision=7803
* Fix the ignore-previously-merged option so that it compares the original ↵Zac Medico2007-05-241-1/+2
| | | | | | files, since mrgconf can be identical to conf['current'] even when conf['new'] is different from the archived .dist version (due to diff3 merging). svn path=/main/trunk/; revision=6615
* Add a 'ignore-previously-merged' config option which gives similar behavior ↵Zac Medico2007-05-231-0/+8
| | | | | | to the --noconfmem emerge option. svn path=/main/trunk/; revision=6592
* import dispatch_conf from the new namespaceZac Medico2007-05-131-1/+1
| | | | svn path=/main/trunk/; revision=6528
* tabs -> spacesZac Medico2007-05-131-3/+3
| | | | svn path=/main/trunk/; revision=6527
* Use os.path.realpath to handle symlinks properly.Zac Medico2007-02-101-1/+1
| | | | svn path=/main/trunk/; revision=5945
* Fix automatic sys.path insertions so that they're relative instead of ↵Zac Medico2007-02-101-1/+2
| | | | | | absolute hard coded. svn path=/main/trunk/; revision=5942
* For bug #165780, make config-protect code consistently ignore '.*~' and ↵Zac Medico2007-02-071-1/+1
| | | | | | '.*.bak'. svn path=/main/trunk/; revision=5914
* Namespace sanitizing, step 4Marius Mauch2007-01-251-6/+6
| | | | svn path=/main/trunk/; revision=5784
* Fix a typo.Zac Medico2007-01-121-1/+1
| | | | svn path=/main/trunk/; revision=5605
* fix "" " " bugAlec Warner2007-01-121-1/+1
| | | | svn path=/main/trunk/; revision=5601
* More String deprecationAlec Warner2007-01-121-2/+2
| | | | svn path=/main/trunk/; revision=5597
* For bug #8423, make dispatch-conf preserve timestamps when possible.Zac Medico2006-11-261-2/+1
| | | | svn path=/main/trunk/; revision=5136