summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Bug #283292 - Fix FindPortdir() to prevent OSError: [Errno 2] from stat whenZac Medico2009-08-311-1/+1
| | | | | | $PWD is unset. Thanks to Jonathan Callen <en.ABCD@gmail.com> for this patch. svn path=/main/trunk/; revision=14174
* Fix broken indentation from previous commits.Zac Medico2009-08-301-5/+5
| | | | svn path=/main/trunk/; revision=14173
* Bug #283223 - Don't call str() on unicode strings inside _db_escape_string(),Zac Medico2009-08-301-1/+5
| | | | | | since it can trigger a UnicodeEncodeError in python-2.x. svn path=/main/trunk/; revision=14172
* Bug #283223 - Don't call str() inside _db_escape_string(), since it'sZac Medico2009-08-301-1/+1
| | | | | | redundant and it can trigger a UnicodeEncodeError in python-2.x. svn path=/main/trunk/; revision=14171
* Use KeyValuePairFileLoader intead on getconfig(), since getconfig() is tooZac Medico2009-08-291-5/+9
| | | | | | strict about variable names now. svn path=/main/trunk/; revision=14169
* Use KeyValuePairFileLoader instead of getconfig() for /etc/portage/modules,Zac Medico2009-08-291-2/+5
| | | | | | | since getconfig() is too strict about variable names now. Thanks to Arfrever for reporting. svn path=/main/trunk/; revision=14168
* Bug #281834 - In getconfig(), do not allow definition of variables that haveZac Medico2009-08-281-0/+13
| | | | | | invalid names according to shell standards (such as names containing hyphens). svn path=/main/trunk/; revision=14167
* Improve logic for bug #278729.Zac Medico2009-08-271-7/+15
| | | | svn path=/main/trunk/; revision=14166
* Bug #278729 - Inside dep_zapdeps(), account for USE dependencies in someZac Medico2009-08-271-20/+51
| | | | | | | | | | cases where USE settings can adversely affect || preference evaluation. This requires invalid atoms to be dropped inside _expand_new_virtuals() since we only want real Atom instances inside dep_zapdeps(). Unlike previous attempts to solve this bug, cases such as || ( foo[a] foo[b] ) should now be correctly handled. svn path=/main/trunk/; revision=14165
* Fix the code from bug #275796 to ensure that choices always go into theZac Medico2009-08-271-2/+8
| | | | | | preferred_in_graph slot when appropriate. svn path=/main/trunk/; revision=14164
* Fix tar_contents() to handle UnicodeEncodeError by falling back to utf_8 ifZac Medico2009-08-271-1/+22
| | | | | | appropriate. svn path=/main/trunk/; revision=14163
* Use plain ascii encoding for this file, in order to avoid error messages likeZac Medico2009-08-271-2/+1
| | | | | | | | | | | this which building stages (happens when python is built with USE=build): * Byte compiling python modules for python-2.6 .. ... Compiling //usr/lib64/portage/pym/portage/cache/ebuild_xattr.py ... SyntaxError: ('unknown encoding: UTF8', ('//usr/lib64/portage/pym/portage/cache/ ebuild_xattr.py', 0, 0, None)) svn path=/main/trunk/; revision=14162
* Fix mkdir() to call the local setfscreate() with strict returncode checking.Zac Medico2009-08-261-2/+2
| | | | | | Thanks to Chris PeBenito <pebenito@gentoo.org> for this patch. svn path=/main/trunk/; revision=14161
* Inside depgraph._show_unsatisfied_dep(), show reasons for packages masked dueZac Medico2009-08-251-3/+7
| | | | | | to backtracking. svn path=/main/trunk/; revision=14155
* Show log paths when displaying the list of failed packages for --keep-going.Zac Medico2009-08-241-11/+14
| | | | svn path=/main/trunk/; revision=14154
* remove FIXME, since zmedico fixed itFabian Groffen2009-08-241-5/+0
| | | | svn path=/main/trunk/; revision=14140
* Bug #282505 - Fix unicode handling for package moves in binary packages.v2.2_rc40Zac Medico2009-08-243-8/+33
| | | | svn path=/main/trunk/; revision=14134
* Bug #282306 - Inside dblink._match_contents(), fall back to utf_8 encoding ifZac Medico2009-08-241-7/+71
| | | | | | | a path cannot be encoded under the user's chosen encoding. This should fix the traceback shown in bug #281199, comment #26. svn path=/main/trunk/; revision=14133
* Bug #282306 - Inside LinkageMap._ObjectKey._generate_object_key(), fall backZac Medico2009-08-231-0/+15
| | | | | | | | to utf_8 encoding if a path cannot be encoded under the user's chosen encoding. This should complete the fix for the traceback shown in bug #282115, comment #6. svn path=/main/trunk/; revision=14131
* Bug #282306 - Inside dblink._find_libs_to_preserve(), fall back to utf_8Zac Medico2009-08-231-0/+17
| | | | | | | encoding if a path cannot be encoded under the user's chosen encoding. This fixes the traceback shown in bug 282115, comment #6. svn path=/main/trunk/; revision=14130
* In Scheduler._schedule_tasks_imp(), add uninstall operations to the frontZac Medico2009-08-221-1/+1
| | | | | | of the merge queue. svn path=/main/trunk/; revision=14129
* Make Scheduler._choose_pkg() prefer uninstall operations when available.Zac Medico2009-08-221-3/+13
| | | | svn path=/main/trunk/; revision=14128
* Support package.provided directory.Arfrever Frehtes Taifersar Arahesis2009-08-221-1/+1
| | | | svn path=/main/trunk/; revision=14127
* Bug #282269, comment #2 - Avoid potential UnicodeEncodeError when writingZac Medico2009-08-221-0/+3
| | | | | | to sys.stderr inside xtermTitle(). svn path=/main/trunk/; revision=14126
* Bug #282306 - Inside dblink._security_check(), fall back to utf_8 encodingZac Medico2009-08-221-0/+16
| | | | | | it a path cannot be encoded under the user's chosen encoding. svn path=/main/trunk/; revision=14125
* Bug #282269 - Avoid str() calls with overlay paths, which can triggerZac Medico2009-08-223-7/+9
| | | | | | UnicodeEncodeError in python-2.x. svn path=/main/trunk/; revision=14124
* Add some --debug output for backtracking. Also, remove unused imports.v2.2_rc39Zac Medico2009-08-211-3/+31
| | | | svn path=/main/trunk/; revision=14122
* Add support for --keep-going=n so that it can be disabled on the command lineZac Medico2009-08-212-2/+13
| | | | | | after it's been enabled in EMERGE_DEFAULT_OPTS. svn path=/main/trunk/; revision=14121
* Add support for --selective=n, so it can be used to remove selectiveZac Medico2009-08-213-4/+31
| | | | | | behavior that may have been implied by some other option like --update. svn path=/main/trunk/; revision=14120
* Replace _content_encoding, _fs_encoding, and _merge_encoding with directZac Medico2009-08-2114-109/+102
| | | | | | usage of _encodings. svn path=/main/trunk/; revision=14113
* Fix typo.Zac Medico2009-08-211-1/+1
| | | | svn path=/main/trunk/; revision=14112
* Use _encodings where appropriate and add _encodings['stdio'] for stdoutZac Medico2009-08-218-17/+32
| | | | | | encoding. svn path=/main/trunk/; revision=14111
* Use _encodings where appropriate.Zac Medico2009-08-212-70/+104
| | | | svn path=/main/trunk/; revision=14110
* Use _encodings where appropriate.Zac Medico2009-08-211-5/+10
| | | | svn path=/main/trunk/; revision=14109
* Use _encodings where appropriate.Zac Medico2009-08-211-7/+15
| | | | svn path=/main/trunk/; revision=14108
* Use _encodings where appropriate.Zac Medico2009-08-213-20/+39
| | | | svn path=/main/trunk/; revision=14107
* Use _encodings where appropriate.Zac Medico2009-08-202-4/+12
| | | | svn path=/main/trunk/; revision=14106
* Use _encodings where appropriate.Zac Medico2009-08-201-7/+17
| | | | svn path=/main/trunk/; revision=14105
* Fix typo from previous commit.Zac Medico2009-08-191-1/+1
| | | | svn path=/main/trunk/; revision=14103
* If sys.getdefaultencoding() returns None (this can happen if python is builtZac Medico2009-08-191-1/+5
| | | | | | with USE=build, in stage 1), fall back to _encodings['merge'] = 'ascii'. svn path=/main/trunk/; revision=14102
* Use _encodings where appropriate.Zac Medico2009-08-192-6/+13
| | | | svn path=/main/trunk/; revision=14101
* Use _encodings where appropriate.Zac Medico2009-08-193-9/+20
| | | | svn path=/main/trunk/; revision=14100
* Use _encodings where appropriate.Zac Medico2009-08-192-7/+16
| | | | svn path=/main/trunk/; revision=14099
* Use _encodings['repo.content'] for decoding profiles.desc, ChangeLog,Zac Medico2009-08-191-0/+1
| | | | | | metadata.xml, and ebuilds. svn path=/main/trunk/; revision=14098
* Use portage.os and _encodings where appropriate.Zac Medico2009-08-191-2/+8
| | | | svn path=/main/trunk/; revision=14097
* Remove unused os import.Zac Medico2009-08-191-1/+0
| | | | svn path=/main/trunk/; revision=14096
* Use portage.os and _encodings where appropriate.Zac Medico2009-08-191-5/+14
| | | | svn path=/main/trunk/; revision=14095
* Use portage.os and _encodings where appropriate.Zac Medico2009-08-191-2/+12
| | | | svn path=/main/trunk/; revision=14094
* Use portage.os and _encodings['fs'] where appropriate.Zac Medico2009-08-181-5/+12
| | | | svn path=/main/trunk/; revision=14093
* Use errors='backslashreplace' instead of 'replace' for the defaultZac Medico2009-08-181-1/+2
| | | | | | | _unicode_encode() argument ('replace' substitutes '?', which is not as useful). svn path=/main/trunk/; revision=14092