summaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Bug #299095 - Always use UTF-8 codec when opening ebuilds, to avoidZac Medico2010-03-141-2/+5
| | | | | | UnicodeDecodeError with python3. svn path=/main/trunk/; revision=15828
* Revert tar error handling changes from bug #309001 since we can't necessarilyZac Medico2010-03-141-2/+4
| | | | | | trust tar exist status alone (reverts r15820 and r15821). svn path=/main/trunk/; revision=15827
* Update SIGPIPE comments to refer to "[Errno 32] Broken pipe" exceptions sinceZac Medico2010-03-132-2/+4
| | | | | | | this is signal hander now set automatically for subprocesses after the fork in portage.process.spawn(). svn path=/main/trunk/; revision=15826
* Add references to bug #309001 in comments about SIGPIPE handling.Zac Medico2010-03-132-0/+2
| | | | svn path=/main/trunk/; revision=15824
* Bug #309001 - Use signal(signal.SIGPIPE, signal.SIG_DFL) for quiet killing ofZac Medico2010-03-131-0/+1
| | | | | | | subprocesses by SIGPIPE (as emerge has for a long time). Thanks to Harald van Dijk truedfx@g.o for this patch. svn path=/main/trunk/; revision=15823
* Simplyfy the virtual.exists check, and avoid deprecation warning triggeredZac Medico2010-03-121-3/+1
| | | | | | by cpv_getkey called on an empty string. svn path=/main/trunk/; revision=15822
* Bug #309001 - Only trust tar exit status (ignore decompressor exit status)Zac Medico2010-03-111-4/+2
| | | | | | when unpacking tar files. svn path=/main/trunk/; revision=15820
* Make _global_updates() silently return if ROOT != "/" and make fixpackagesZac Medico2010-03-031-0/+11
| | | | | | | | bail out with an error message in this case which suggests to instead use emaint --fix movebin and/or moveinst. This prevents useless/ugly global updates messages that flood the terminal when ROOT != "/". svn path=/main/trunk/; revision=15728
* Move portage._global_updates to a submodule.Zac Medico2010-02-271-1/+2
| | | | svn path=/main/trunk/; revision=15475
* Another turquoise -> red.Zac Medico2010-02-271-1/+1
| | | | svn path=/main/trunk/; revision=15472
* Bug #307021 - Show "Please fix" message in red instead of turquoise whenZac Medico2010-02-271-1/+1
| | | | | | repoman fails. svn path=/main/trunk/; revision=15471
* Move dep_expand and cpv_expand into portage.dbapi submodules.Zac Medico2010-02-251-1/+2
| | | | svn path=/main/trunk/; revision=15460
* Relocate portage.util.digestgen to portage.package.ebuild.digestgen.Zac Medico2010-02-251-1/+1
| | | | svn path=/main/trunk/; revision=15456
* Move digestgen to portage.util.digestgen.Zac Medico2010-02-251-4/+5
| | | | svn path=/main/trunk/; revision=15454
* Make the first two positional arguments of digestgen() into keyword argumentsZac Medico2010-02-231-4/+4
| | | | | | | since the first one isn't really needed (when this code is in stable we can start showing a deprecation warning when the redundant argument is used). svn path=/main/trunk/; revision=15438
* Add deprecation warnings for unused digestgen() parameters.Zac Medico2010-02-231-6/+3
| | | | svn path=/main/trunk/; revision=15437
* Bug #299095 - Add a deprecation warning for check_license calls with EAPI >= 3Zac Medico2010-02-221-0/+2
| | | | | | since it is superceded by LICENSE masking. svn path=/main/trunk/; revision=15418
* Bail out when given an invalid mode.Zac Medico2010-02-191-1/+3
| | | | svn path=/main/trunk/; revision=15394
* 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
* After src_install, save fewer variables when writing the vdb entry for aZac Medico2010-02-141-3/+9
| | | | | | virtual package. svn path=/main/trunk/; revision=15349
* Evaluate USE conditionals when writing vdb entries after src_install.Zac Medico2010-02-141-3/+2
| | | | svn path=/main/trunk/; revision=15348
* Use Atom.cp instead of dep_getkey(), and use cpv_getkey() instead ofZac Medico2010-02-091-9/+19
| | | | | | dep_getkey() where appropriate. svn path=/main/trunk/; revision=15330
* Use cpv_getkey() instead of dep_getkey() where appropriate.Zac Medico2010-02-091-3/+3
| | | | svn path=/main/trunk/; revision=15329
* Skip atom validation in WorldHandler since WorldSelectedSet handles thisZac Medico2010-02-091-3/+2
| | | | | | already, and use Atom.cp instead of dep_getkey(). svn path=/main/trunk/; revision=15327
* Import portage.StringIO for ImportError handling.Zac Medico2010-02-071-1/+1
| | | | svn path=/main/trunk/; revision=15326
* Fix deprecated reference to portdbapi.mysettings.Zac Medico2010-02-051-1/+1
| | | | svn path=/main/trunk/; revision=15324
* Bug #295197 - Output a newline after valid user input is received.Zac Medico2010-02-021-0/+2
| | | | svn path=/main/trunk/; revision=15317
* Clean up config incrementals handling.Zac Medico2010-01-311-7/+6
| | | | svn path=/main/trunk/; revision=15309
* Deprecate pordbapi.mysettings since the portdbapi.settings alias is nowZac Medico2010-01-311-2/+2
| | | | | | supported by stable portage. svn path=/main/trunk/; revision=15306
* Bug #302937 - Handle declare -r without assignment.Zac Medico2010-01-311-12/+29
| | | | svn path=/main/trunk/; revision=15304
* Fix AttributeError when adjusting incrementals. Thanks to Jonathan CallenZac Medico2010-01-311-7/+4
| | | | | | <abcd@g.o> for reporting. svn path=/main/trunk/; revision=15303
* Avoid NameError when cwd is $FILESDIR. Thanks to Christian Ruppert <idl0r@g.o>Zac Medico2010-01-301-0/+6
| | | | | | for reporting. svn path=/main/trunk/; revision=15294
* Deprecate the first parameter of the portdbapi constructor since it is alwaysZac Medico2010-01-301-1/+1
| | | | | | the same as mysettings['PORTDIR']. svn path=/main/trunk/; revision=15281
* Don't ignore CVS/Entries.IO_error when not in commit mode.Zac Medico2010-01-291-6/+5
| | | | svn path=/main/trunk/; revision=15272
* Remove code for svn.IO_error and bzr.IO_error categories since they don'tZac Medico2010-01-291-6/+2
| | | | | | | exist therefore and if this code had ever executed it would have raised a KeyError. svn path=/main/trunk/; revision=15222
* Fix AttributeError from has_versions for atoms with no USE deps. Thanks toZac Medico2010-01-281-2/+2
| | | | | | Arfrever for reporting. svn path=/main/trunk/; revision=15214
* Add an Atom.evaluate_conditionals() method and use where appropriate.Zac Medico2010-01-281-5/+1
| | | | svn path=/main/trunk/; revision=15212
* Add support for evaluation of conditional USE atoms in has_version andZac Medico2010-01-271-11/+36
| | | | | | best_version arguments, using the USE environment variable. svn path=/main/trunk/; revision=15211
* Fix Manifest commit logic for cvs and svn. Thanks to Rafael MartinsZac Medico2010-01-191-4/+4
| | | | | | <rafael@rafaelmartins.com>. svn path=/main/trunk/; revision=15205
* Invert some vcs conditionals that are specific to cvs and svn.Zac Medico2010-01-181-3/+3
| | | | svn path=/main/trunk/; revision=15204
* Support mercurial. Thanks to Rafael Martins <rafael@rafaelmartins.com> for Zac Medico2010-01-181-15/+60
| | | | | | this patch. svn path=/main/trunk/; revision=15203
* Make sure repoman knows about all files in the directory to commit using ↵Fabian Groffen2010-01-141-1/+1
| | | | | | bzr. Patch by Christian Faulhammer. svn path=/main/trunk/; revision=15199
* Use encoded byte strings with python-2.x, since the python ebuilds areZac Medico2010-01-131-10/+14
| | | | | | | known to remove the encodings module when USE=build is enabled (thus disabling unicode decoding/encoding). svn path=/main/trunk/; revision=15197
* Fix output handling to avoid potential UnicodeEncodeError.Zac Medico2010-01-121-3/+9
| | | | svn path=/main/trunk/; revision=15196
* Fix unicode quote handling to work with python3.Zac Medico2010-01-111-4/+16
| | | | svn path=/main/trunk/; revision=15195
* Avoid portage import in order to avoid a potential sandbox violation ifZac Medico2010-01-111-3/+1
| | | | | | portage's *.pyc files are stale. svn path=/main/trunk/; revision=15194
* Avoid potential UnicodeDecodeError with Python 3. Reported by devurandom.Arfrever Frehtes Taifersar Arahesis2010-01-111-1/+6
| | | | svn path=/main/trunk/; revision=15192