Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Use portage.os and _fs_encoding where appropriate, and fix binary string | Zac Medico | 2009-08-17 | 1 | -59/+88 | |
| | | | | | | handling for py3k compat. svn path=/main/trunk/; revision=14074 | |||||
* | When _unicode_func_wrapper() decodes a string in a returned list (typically | Zac Medico | 2009-08-17 | 1 | -5/+14 | |
| | | | | | | | from os.listdir), discard values with invalid encoding. This insures that all names returned from all os.listdir() calls are valid. svn path=/main/trunk/; revision=14073 | |||||
* | Use _content_encoding and _fs_encoding for unicode encoding/decoding. | Zac Medico | 2009-08-17 | 5 | -41/+98 | |
| | | | | svn path=/main/trunk/; revision=14072 | |||||
* | Use a clean listener system for portage.elog instead of _emerge_elog_listener | Mounir Lamouri | 2009-08-16 | 2 | -7/+19 | |
| | | | | svn path=/main/trunk/; revision=14071 | |||||
* | Scheduler is now able to clean world set when removing a package. | Mounir Lamouri | 2009-08-15 | 3 | -16/+30 | |
| | | | | | | | world_atom function has been updated and PackageUninstall is calling it after unmerge. svn path=/main/trunk/; revision=14070 | |||||
* | sets/files.py cleanPackages function stop calling lock and load | Mounir Lamouri | 2009-08-15 | 2 | -5/+20 | |
| | | | | | | | and requires the caller to do that changing unmerge to reflect this change svn path=/main/trunk/; revision=14069 | |||||
* | Use elog in _eapi0_pkg_nofetch(). | Zac Medico | 2009-08-15 | 1 | -2/+2 | |
| | | | | svn path=/main/trunk/; revision=14068 | |||||
* | Prepare 308 messages to localization. | Arfrever Frehtes Taifersar Arahesis | 2009-08-15 | 17 | -502/+511 | |
| | | | | svn path=/main/trunk/; revision=14067 | |||||
* | Remove ACCEPT_PROPERTIES filtering since it's filtered on the python side. | Zac Medico | 2009-08-15 | 1 | -1/+1 | |
| | | | | svn path=/main/trunk/; revision=14065 | |||||
* | Fix typo. | Zac Medico | 2009-08-15 | 1 | -1/+1 | |
| | | | | svn path=/main/trunk/; revision=14064 | |||||
* | Remove ACCEPT_PROPERTIES variable generation code which isn't needed since, | Zac Medico | 2009-08-15 | 1 | -32/+0 | |
| | | | | | | | unlike ACCEPT_LICENSE, ACCEPT_PROPERTIES isn't passed into the ebuild environment. svn path=/main/trunk/; revision=14063 | |||||
* | Update import to import portage.os (with unicode wrappers), and use | Zac Medico | 2009-08-15 | 1 | -6/+5 | |
| | | | | | | | _unicode_encode() and _content_encoding for encoding unicode env vars in spawn(). svn path=/main/trunk/; revision=14062 | |||||
* | Make movefile() use process.spawn() instead of getstatusoutput() when calling | Zac Medico | 2009-08-15 | 1 | -4/+5 | |
| | | | | | | MOVE_BINARY, since spawn will pass encoded file paths directly as arguments. svn path=/main/trunk/; revision=14061 | |||||
* | Make _generate_hash_function() use _fs_encoding to encode the filename | Zac Medico | 2009-08-15 | 1 | -1/+2 | |
| | | | | | | (if it's not already encoded), and enable errors='strict'. svn path=/main/trunk/; revision=14060 | |||||
* | In perform_checksum(), encode the filename with correct encoding before | Zac Medico | 2009-08-15 | 1 | -5/+12 | |
| | | | | | | | passing to spawn (for prelink), and enable strict encoding behavior in _perform_md5_merge(). svn path=/main/trunk/; revision=14059 | |||||
* | Fix dblink._unmerge_pkgfiles() to use the correct version of perform_md5 | Zac Medico | 2009-08-15 | 2 | -2/+6 | |
| | | | | | | when it falls back to utf8 encoding. svn path=/main/trunk/; revision=14058 | |||||
* | Fix broken _selinux_merge definition. | Zac Medico | 2009-08-14 | 1 | -1/+2 | |
| | | | | svn path=/main/trunk/; revision=14057 | |||||
* | Add a portage._content_encoding constant, set to utf_8. | Zac Medico | 2009-08-14 | 2 | -10/+14 | |
| | | | | svn path=/main/trunk/; revision=14056 | |||||
* | Use portage._fs_encoding where appropriage, and use strict handling for | Zac Medico | 2009-08-14 | 1 | -4/+17 | |
| | | | | | | errors. svn path=/main/trunk/; revision=14055 | |||||
* | Handle UnicodeDecodeError for os.walk() inside digestcheck(). | Zac Medico | 2009-08-14 | 1 | -2/+27 | |
| | | | | svn path=/main/trunk/; revision=14054 | |||||
* | Use portage._fs_encoding where applicable. | Zac Medico | 2009-08-14 | 2 | -5/+7 | |
| | | | | svn path=/main/trunk/; revision=14053 | |||||
* | Update imports to import portage.os (with unicode wrappers), and use | Zac Medico | 2009-08-14 | 7 | -25/+40 | |
| | | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=14052 | |||||
* | Update imports to import portage.os (with unicode wrappers). | Zac Medico | 2009-08-14 | 6 | -6/+12 | |
| | | | | svn path=/main/trunk/; revision=14051 | |||||
* | Inside dblink.treewalk(), handle filenames with incorrect encoding like we | Zac Medico | 2009-08-14 | 2 | -49/+104 | |
| | | | | | | | do after src_install. The check needs to be repeated here for binary packages (it's inexpensive since we call os.walk() here anyway). svn path=/main/trunk/; revision=14050 | |||||
* | In dblink._unmerge_pkgfiles(), if the package appears to have been merged | Zac Medico | 2009-08-14 | 1 | -0/+14 | |
| | | | | | | | with a different value of sys.getfilesystemencoding(), fall back to utf_8 if appropriate. svn path=/main/trunk/; revision=14049 | |||||
* | Revert r14042 since we're not going to use it. | Zac Medico | 2009-08-14 | 1 | -4/+2 | |
| | | | | svn path=/main/trunk/; revision=14048 | |||||
* | Add a clean_world attribute. | Zac Medico | 2009-08-14 | 1 | -2/+4 | |
| | | | | svn path=/main/trunk/; revision=14042 | |||||
* | Don't hold references to config instances, since all that's really needed | Zac Medico | 2009-08-14 | 1 | -4/+4 | |
| | | | | | | is $ROOT. svn path=/main/trunk/; revision=14034 | |||||
* | Rename and log installed files that don't conform to portage._merge_encoding | Zac Medico | 2009-08-14 | 2 | -29/+110 | |
| | | | | | | (equal to sys.getfilesystemencoding()). svn path=/main/trunk/; revision=14029 | |||||
* | _merge_encoding = sys.getfilesystemencoding() | Zac Medico | 2009-08-14 | 1 | -3/+1 | |
| | | | | svn path=/main/trunk/; revision=14028 | |||||
* | Use portage._merge_encoding to encode/decode all filenames during | Zac Medico | 2009-08-14 | 4 | -20/+87 | |
| | | | | | | merge/unmerge operations. svn path=/main/trunk/; revision=14027 | |||||
* | Don't 'del sys.modules["selinux"]' when selinux support isn't enabled in | Zac Medico | 2009-08-14 | 1 | -5/+1 | |
| | | | | | | the portage config, because that just assumes too much. svn path=/main/trunk/; revision=14026 | |||||
* | Make sure portage.selinux and _selinux exist, even when import fails, so | Zac Medico | 2009-08-14 | 1 | -2/+3 | |
| | | | | | | that 'from portage import selinux' never fails inside vartree.py. svn path=/main/trunk/; revision=14025 | |||||
* | Add an 'encoding' parameter to movefile(), so that we can make it obey | Zac Medico | 2009-08-14 | 1 | -3/+13 | |
| | | | | | | sys.getfilesystemencoding() when called for merge/unmerge. svn path=/main/trunk/; revision=14024 | |||||
* | Don't use the unicode-wrapped os and shutil modules here since | Zac Medico | 2009-08-14 | 1 | -2/+5 | |
| | | | | | | the whole _selinux module itself will be wrapped. svn path=/main/trunk/; revision=14023 | |||||
* | Replace the selinux.spawn() function with a spawn_wrapper() function and | Zac Medico | 2009-08-14 | 2 | -24/+22 | |
| | | | | | | use it inside portage._spawn_fetch() and portage.spawn(). svn path=/main/trunk/; revision=14022 | |||||
* | Make _ensure_default_encoding() provide a fallback for the codec returned | Zac Medico | 2009-08-14 | 1 | -2/+15 | |
| | | | | | | by sys.getfilesystemencoding(). svn path=/main/trunk/; revision=14021 | |||||
* | Use portage's selinux wrapper module for mkdir calls. | Zac Medico | 2009-08-14 | 1 | -6/+3 | |
| | | | | svn path=/main/trunk/; revision=14020 | |||||
* | Create portage._merge_encoding and a corresponding _os_merge wrapper that | Zac Medico | 2009-08-13 | 1 | -9/+15 | |
| | | | | | | will later be used for all the merge code. svn path=/main/trunk/; revision=14019 | |||||
* | Add support for an 'encoding' parameter to _unicode_module_wrapper(). This | Zac Medico | 2009-08-13 | 1 | -15/+22 | |
| | | | | | | | will allow creation of specialize wrappers for merge/unmerge, in case the value of sys.getfilesystemencoding() is something other than utf_8. svn path=/main/trunk/; revision=14018 | |||||
* | Add support for unwrapped/overridden attributes in _unicode_module_wrapper(). | Zac Medico | 2009-08-13 | 1 | -5/+12 | |
| | | | | svn path=/main/trunk/; revision=14017 | |||||
* | Add py3k support to _unicode_decode(). | Zac Medico | 2009-08-13 | 1 | -2/+7 | |
| | | | | svn path=/main/trunk/; revision=14016 | |||||
* | Bug #281355 - Handle IndexError inside reconstruct_eclasses(). | Zac Medico | 2009-08-13 | 1 | -0/+3 | |
| | | | | svn path=/main/trunk/; revision=14015 | |||||
* | Set a limit of 30 backtracking attempts, since it's possible for it to | Zac Medico | 2009-08-12 | 1 | -3/+4 | |
| | | | | | | go out of control and take an unreasonable amount of time. svn path=/main/trunk/; revision=14014 | |||||
* | Use r'' for regex. | Zac Medico | 2009-08-12 | 1 | -1/+1 | |
| | | | | svn path=/main/trunk/; revision=14013 | |||||
* | Bug #281133 - Fix the here-document code inside run_checks() to properly | Zac Medico | 2009-08-12 | 1 | -1/+1 | |
| | | | | | | detect the end of a here-document when it is indented by whitespace. svn path=/main/trunk/; revision=14012 | |||||
* | Use _unicode_encode() and _unicode_decode() where appropriate. | Zac Medico | 2009-08-12 | 1 | -17/+21 | |
| | | | | svn path=/main/trunk/; revision=14011 | |||||
* | Call _ensure_default_encoding() ASAP since writemsg() might not work without | Zac Medico | 2009-08-12 | 1 | -131/+132 | |
| | | | | | | it. svn path=/main/trunk/; revision=14010 | |||||
* | Use _unicode_encode() where appropriate. | Zac Medico | 2009-08-12 | 2 | -7/+9 | |
| | | | | svn path=/main/trunk/; revision=14009 | |||||
* | Use a single sys.hexversion conditional for both _unicode_func_wrapper() | Zac Medico | 2009-08-12 | 2 | -2/+3 | |
| | | | | | | and _unicode_module_wrapper(). svn path=/main/trunk/; revision=14008 |