Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |||||
* | Update imports to import portage.os (with unicode wrappers), and use | Zac Medico | 2009-08-12 | 2 | -17/+20 | |
| | | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=14007 | |||||
* | Implement ObjectProxy.__int__(). | Zac Medico | 2009-08-12 | 1 | -0/+3 | |
| | | | | svn path=/main/trunk/; revision=14006 | |||||
* | Show a traceback when spawn() fails. | Zac Medico | 2009-08-12 | 1 | -0/+2 | |
| | | | | svn path=/main/trunk/; revision=14005 | |||||
* | Update imports to import portage.os (with unicode wrappers), and use | Zac Medico | 2009-08-11 | 2 | -7/+7 | |
| | | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=14004 | |||||
* | Update imports to import portage.os (with unicode wrappers), and use | Zac Medico | 2009-08-11 | 4 | -51/+51 | |
| | | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=14003 | |||||
* | Update imports to import portage.os (with unicode wrappers), and use | Zac Medico | 2009-08-11 | 7 | -36/+46 | |
| | | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=14002 | |||||
* | Wrap portage.data.lchown() for unicode support in python-2.x. | Zac Medico | 2009-08-11 | 2 | -2/+6 | |
| | | | | svn path=/main/trunk/; revision=14001 | |||||
* | Filter ACCEPT_PROPERTIES from the ebuild environment, since unlike | Zac Medico | 2009-08-11 | 1 | -2/+2 | |
| | | | | | | | ACCEPT_LICENSE (used by check_license in eutils.eclass), ACCEPT_PROPERTIES should never be needed in the ebuild environment. svn path=/main/trunk/; revision=14000 | |||||
* | Update imports to import portage.os (with unicode wrappers), and use | Zac Medico | 2009-08-11 | 2 | -19/+16 | |
| | | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13999 | |||||
* | Temporarily delete the os and shutil imports, to ensure that only the | Zac Medico | 2009-08-11 | 1 | -2/+10 | |
| | | | | | | wrapped versions are imported by portage internals. svn path=/main/trunk/; revision=13998 | |||||
* | Add ACCEPT_PROPERTIES variable which has default value * and can be set in | Mounir Lamouri | 2009-08-11 | 3 | -3/+165 | |
| | | | | | | | make.conf or /etc/portage/package.properties. If ACCEPT_PROPERTIES doesn't match ebuild PROPERTIES, the ebuild is masked. svn path=/main/trunk/; revision=13997 | |||||
* | Update imports to import portage.os and portage.shutil (with unicode | Zac Medico | 2009-08-11 | 2 | -35/+27 | |
| | | | | | | wrappers), and use _unicode_encode() where appropriate. svn path=/main/trunk/; revision=13996 | |||||
* | Update imports to import portage.os (with unicode wrappers), and use | Zac Medico | 2009-08-11 | 13 | -110/+29 | |
| | | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13995 | |||||
* | Update imports to import portage.os (with unicode wrappers), and use | Zac Medico | 2009-08-11 | 11 | -71/+27 | |
| | | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13994 | |||||
* | Update imports to import portage.os (with unicode wrappers), and use | Zac Medico | 2009-08-11 | 22 | -156/+57 | |
| | | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13993 | |||||
* | Avoid using the wrapped os.read(), in order to avoid differing behavior | Zac Medico | 2009-08-11 | 1 | -9/+4 | |
| | | | | | | | | between python-2.x (with wrapper) and py3k (without wrapper). This sort of mismatch only applies to os functions that return raw bytes under py3k, rather than unicode. svn path=/main/trunk/; revision=13992 | |||||
* | Fix breakage from previous commit. | Zac Medico | 2009-08-11 | 1 | -1/+1 | |
| | | | | svn path=/main/trunk/; revision=13991 | |||||
* | Fix unicode support for compatibility with the new wrapped os module, and | Zac Medico | 2009-08-11 | 2 | -63/+31 | |
| | | | | | | use _unicode_decode() and _unicode_encode() where appropriate. svn path=/main/trunk/; revision=13990 | |||||
* | Bug #280460 - Wrap portage.os with unicode encode/decode wrappers. | Zac Medico | 2009-08-10 | 2 | -2/+4 | |
| | | | | svn path=/main/trunk/; revision=13989 | |||||
* | Bug #280460 - Wrap os and os.path modules with unicode encode/decode | Zac Medico | 2009-08-10 | 2 | -1/+69 | |
| | | | | | | wrappers for python-2.x. svn path=/main/trunk/; revision=13978 | |||||
* | Bug #280998 - Misc selinux fixes. Thanks to Chris PeBenito | Zac Medico | 2009-08-10 | 2 | -10/+15 | |
| | | | | | | <pebenito@gentoo.org> for this patch. svn path=/main/trunk/; revision=13977 | |||||
* | Open new items in text mode (unicode), and safely handle unicode in news itemv2.2_rc38 | Zac Medico | 2009-08-10 | 1 | -1/+5 | |
| | | | | | | names. svn path=/main/trunk/; revision=13975 | |||||
* | Bug #280962 - Fix broken path normalization inside | Zac Medico | 2009-08-10 | 1 | -9/+10 | |
| | | | | | | StaticFileSet.multiBuilder(). svn path=/main/trunk/; revision=13974 | |||||
* | Use writemsg_stdout() for safe unicode output of --list-sets. | Zac Medico | 2009-08-10 | 1 | -3/+2 | |
| | | | | svn path=/main/trunk/; revision=13973 | |||||
* | Fix PreservedLibsRegistry.pruneNonExisting() to work with $ROOT. | Zac Medico | 2009-08-10 | 1 | -4/+9 | |
| | | | | svn path=/main/trunk/; revision=13972 | |||||
* | Don't trigger the --root-deps code for removal actions such as --prune and | Zac Medico | 2009-08-10 | 1 | -7/+8 | |
| | | | | | | --depclean. svn path=/main/trunk/; revision=13971 | |||||
* | In calc_depclean(), sort packages that are displayed due to being pulled | Zac Medico | 2009-08-10 | 1 | -1/+2 | |
| | | | | | | in by link level dependencies. svn path=/main/trunk/; revision=13970 | |||||
* | Tweak $ROOT handling inside depgraph._add_pkg_deps() for removal actions, | Zac Medico | 2009-08-10 | 1 | -0/+2 | |
| | | | | | | so --with-bdeps works correctly with --depclean and --prune. svn path=/main/trunk/; revision=13969 | |||||
* | Inside calc_depclean(), use LinkageMap.findConsumers() for checking | Zac Medico | 2009-08-10 | 1 | -15/+11 | |
| | | | | | | | intersection of files being removed with providers in the LinkageMap (a KeyError is raised when there is no intersection). svn path=/main/trunk/; revision=13968 | |||||
* | Remove unused import.v2.2_rc37 | Zac Medico | 2009-08-09 | 1 | -1/+0 | |
| | | | | svn path=/main/trunk/; revision=13966 | |||||
* | Make everything safe for unicode (this should fix the elog modules that | Zac Medico | 2009-08-09 | 1 | -1/+28 | |
| | | | | | | send mail). svn path=/main/trunk/; revision=13965 | |||||
* | Fix EOutput to safely write unicode to stderr/stdout. Thanks to Arfrever for | Zac Medico | 2009-08-09 | 1 | -14/+17 | |
| | | | | | | reporting. svn path=/main/trunk/; revision=13964 | |||||
* | Encode unicode messages as bytes in order to avoid TypeError from | Zac Medico | 2009-08-09 | 1 | -6/+14 | |
| | | | | | | syslog.syslog() with python-2.x. svn path=/main/trunk/; revision=13962 | |||||
* | Write log files in text mode (unicode). Thanks to Arfrever for reporting. | Zac Medico | 2009-08-09 | 2 | -2/+6 | |
| | | | | svn path=/main/trunk/; revision=13961 | |||||
* | Always use encoding='utf_8' for unicode() calls. | Zac Medico | 2009-08-09 | 4 | -5/+7 | |
| | | | | svn path=/main/trunk/; revision=13960 | |||||
* | Inside collect_ebuild_messages(), open elog files in text mode (unicode). | Zac Medico | 2009-08-09 | 1 | -1/+3 | |
| | | | | | | Thanks to jlec for reporting. svn path=/main/trunk/; revision=13958 | |||||
* | Convert scanelf output to unicode inside LinkageMap.rebuild(). | Zac Medico | 2009-08-08 | 1 | -0/+2 | |
| | | | | svn path=/main/trunk/; revision=13957 |