Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | Use writemsg_stdout() for safe display of unicode overlay paths. | Zac Medico | 2009-08-08 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=13956 | ||||
* | Use writemsg_stdout() for safe unicode output. | Zac Medico | 2009-08-08 | 1 | -8/+18 |
| | | | | svn path=/main/trunk/; revision=13955 | ||||
* | Add missing noiselevel argument in writemsg_stdout() calls. | Zac Medico | 2009-08-08 | 1 | -3/+5 |
| | | | | svn path=/main/trunk/; revision=13954 | ||||
* | In Task.__str__(), emulate tuple.__str__, but don't show 'foo' as u'foo' for | Zac Medico | 2009-08-08 | 1 | -2/+5 |
| | | | | | | unicode strings. svn path=/main/trunk/; revision=13950 | ||||
* | Account for hardlinks when computing SIZE metadata. | Zac Medico | 2009-08-08 | 1 | -1/+4 |
| | | | | svn path=/main/trunk/; revision=13949 | ||||
* | Use writemsg_stdout() for safe unicode output. | Zac Medico | 2009-08-07 | 1 | -17/+3 |
| | | | | svn path=/main/trunk/; revision=13948 | ||||
* | Open repo_name in text mode (unicode). | Zac Medico | 2009-08-07 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=13947 | ||||
* | In config.__setitem__(), convert keys/values to unicode in order to avoid | Zac Medico | 2009-08-07 | 1 | -1/+8 |
| | | | | | | potential UnicodeDecodeError exceptions later. svn path=/main/trunk/; revision=13946 | ||||
* | Convert environment variables to unicode inside the config constructor, in | Zac Medico | 2009-08-07 | 1 | -1/+11 |
| | | | | | | order to avoid potential UnicodeDecodeError exceptions later. svn path=/main/trunk/; revision=13945 | ||||
* | Make spawn decode unicode in order to avoid a potential UnicodeEncodeError | Zac Medico | 2009-08-07 | 1 | -0/+11 |
| | | | | | | from os.execve(). svn path=/main/trunk/; revision=13944 | ||||
* | In getconfig(), specify utf_8 encoding for py3k. | Zac Medico | 2009-08-06 | 1 | -1/+5 |
| | | | | svn path=/main/trunk/; revision=13943 | ||||
* | In shlex_split(), don't encode unicode for py3k. Thanks to Arfrever. | Zac Medico | 2009-08-06 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=13942 | ||||
* | Make getconfig() return unicode type and remove corresponding env_update() | Zac Medico | 2009-08-06 | 2 | -11/+4 |
| | | | | | | workaround from bug #280460. svn path=/main/trunk/; revision=13941 | ||||
* | Fix filter_loglevels() and filter_phases() to work with unicode. | Zac Medico | 2009-08-06 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=13940 | ||||
* | Add a new portage.util.shlex_split() function to wrap all shlex.split() calls, | Zac Medico | 2009-08-06 | 10 | -26/+36 |
| | | | | | | since shlex.split() doesn't behave well with unicode strings. svn path=/main/trunk/; revision=13939 | ||||
* | Filter PORTAGE_NONFATAL from the environment where appropriate. | Zac Medico | 2009-08-06 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=13938 | ||||
* | Bug #280521 - Update selinux support to use the libselinux swig wrapper api | Zac Medico | 2009-08-06 | 2 | -17/+105 |
| | | | | | | | | instead of python-selinux. Thanks to Chris PeBenito <pebenito@gentoo.org> for the initial patch which I've tweaked with whitespace changes and unicode support. svn path=/main/trunk/; revision=13937 | ||||
* | Inside _post_src_install_uid_fix() (since we're already walking the files | Zac Medico | 2009-08-06 | 1 | -0/+7 |
| | | | | | | | here), compute total size of installed files and save it as SIZE in the vardb. This will be useful for the packagekit backend. svn path=/main/trunk/; revision=13933 | ||||
* | Convert unicode if necessary before writing to stdout. | Zac Medico | 2009-08-06 | 1 | -11/+12 |
| | | | | svn path=/main/trunk/; revision=13932 | ||||
* | Add unicode conversions in various logging code. | Zac Medico | 2009-08-06 | 3 | -5/+24 |
| | | | | svn path=/main/trunk/; revision=13931 | ||||
* | Convert paths to unicode when working with CONTENTS. | Zac Medico | 2009-08-06 | 1 | -0/+18 |
| | | | | svn path=/main/trunk/; revision=13930 | ||||
* | Fix broken os.walk call in _post_src_install_uid_fix(). | Zac Medico | 2009-08-06 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=13929 | ||||
* | Use realpath to resolve __file__ when searching for test inside main(). | Zac Medico | 2009-08-06 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=13928 |