Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | find_updated_config_files: x var name collision | Zac Medico | 2012-09-13 | 1 | -2/+2 | |
| | | | | This broke in commit 09de8dc47ec48af2276dfa098dd5e1d3d09ddbdd. | |||||
* | Replace getstatusoutput with unicode safe Popen. | Zac Medico | 2012-09-11 | 1 | -7/+14 | |
| | | | | This fixes potential issues similar to those reported in bug #310789. | |||||
* | Only validate .desktop files that are installed into XDG-compliant locations. | Michael Palimaka | 2012-09-11 | 1 | -54/+3 | |
| | | | | This replaces the existing error blacklist, and therefore removes the repoman check. | |||||
* | validate_desktop_entry: filter more KDE noise. | Michael Palimaka | 2012-09-03 | 1 | -2/+7 | |
| | ||||||
* | validate_desktop_entry: handle emacs.desktop | Zac Medico | 2012-09-02 | 1 | -0/+14 | |
| | | | | See <https://bugs.freedesktop.org/show_bug.cgi?id=35844#c6>. | |||||
* | validate_desktop_entry: filter more kde noise | Zac Medico | 2012-08-26 | 1 | -14/+46 | |
| | | | | This will fix bug #432862. | |||||
* | read_corresponding_eapi_file: cache results | Zac Medico | 2012-08-23 | 1 | -0/+7 | |
| | ||||||
* | EventLoop: handle EINTR IOError for epoll | Zac Medico | 2012-08-22 | 1 | -2/+4 | |
| | ||||||
* | EventLoop: use epoll when available | Zac Medico | 2012-08-21 | 1 | -7/+52 | |
| | | | | This will fix bug #432024. | |||||
* | WhirlpoolAdd: raise TypeError if not bytes | Zac Medico | 2012-08-04 | 1 | -0/+2 | |
| | ||||||
* | parse_desktop_entry: fix python3 bug #429544 | Zac Medico | 2012-08-02 | 1 | -1/+5 | |
| | ||||||
* | _urlopen: fix python2 http password breakage | Zac Medico | 2012-08-01 | 1 | -29/+11 | |
| | | | | | | | | This broke in commit e06cb6d66db37ac7ab77acf65038b1f770c13c96 since CompressedResponseProcessor did not include password auth support. BUG: The if_modified_since parameter appears to be ignored when using http password authentication. | |||||
* | Add support for HTTP compression (bzip2, gzip and deflate). | W-Mark Kubacki | 2012-08-01 | 1 | -1/+31 | |
| | ||||||
* | Use If-Modified-Since HTTP-header and avoid downloading a remote index if ↵ | W-Mark Kubacki | 2012-08-01 | 1 | -4/+41 | |
| | | | | the local copy is recent enough. | |||||
* | Use nanosecond precision in portage.util.movefile.movefile(). | Arfrever Frehtes Taifersar Arahesis | 2012-08-01 | 1 | -17/+38 | |
| | ||||||
* | grabfile_package: show real file name in error | Zac Medico | 2012-06-17 | 1 | -1/+1 | |
| | ||||||
* | grablines: raise PermissionDenied if appropriate | Zac Medico | 2012-06-01 | 1 | -2/+13 | |
| | ||||||
* | movefile: fix abs symlink adjustment, bug #416431 | Zac Medico | 2012-05-17 | 1 | -3/+3 | |
| | ||||||
* | getconfig: only raise ParseErrorv2.2.0_alpha107 | Zac Medico | 2012-05-16 | 1 | -1/+1 | |
| | ||||||
* | getconfig: use shlex.error_leader() more | Zac Medico | 2012-05-15 | 1 | -22/+23 | |
| | | | | | This fixes it to show the correct file/line, even when one file sources another. | |||||
* | binhost: http auth for python3 (bug #413983) | Zac Medico | 2012-05-13 | 1 | -0/+42 | |
| | | | | | | | | This uses the code from commit 58a8cd1bb943522bc53d02c008ee8eff798bfaaa as a fallback for python3 when the default urlopen function fails. This has been tested and is known to work with thttpd password authentication (it works unencrypted and also when encrypted with stunnel). | |||||
* | Revert "Bug #413983: Add portage.util.urlopen(), which transparently handles ↵ | Zac Medico | 2012-05-13 | 1 | -19/+0 | |
| | | | | | | | authentication in the way compatible with Python 3." This reverts commit 0a9cc38a66ded0cf0e5b534cb24b970fc9c21920. As reported in bug #415579, that commit broke FTP authentication. | |||||
* | test_digraph: fix get_cycles for PYTHONHASHSEED | Zac Medico | 2012-05-12 | 1 | -4/+11 | |
| | ||||||
* | PollScheduler: use local EventLoop (thread safe) | Zac Medico | 2012-05-10 | 1 | -18/+32 | |
| | | | | | | | For API consumers, this makes the doebuild() function compatible with threads, avoiding a ValueError raised by the signal module, as reported at http://bugs.sabayon.org/show_bug.cgi?id=3305. Classes derived from PollScheduler still use the signal module when possible. | |||||
* | validate_desktop_entry: handle Python 3.1 | Zac Medico | 2012-05-01 | 1 | -1/+6 | |
| | ||||||
* | Bug #413983: Add portage.util.urlopen(), which transparently | Arfrever Frehtes Taifersar Arahesis | 2012-05-01 | 1 | -1/+20 | |
| | | | | handles authentication in the way compatible with Python 3. | |||||
* | repoman: ignore false Service desktop entry error | Zac Medico | 2012-04-30 | 1 | -0/+70 | |
| | | | | This will fix bug #414125. | |||||
* | varexpand: optimize access to current charv2.2.0_alpha97 | Zac Medico | 2012-03-31 | 1 | -19/+28 | |
| | ||||||
* | getconfig: show error message for varexpand fail | Zac Medico | 2012-03-31 | 1 | -2/+19 | |
| | ||||||
* | varexpand: use frozenset for word characters | Zac Medico | 2012-03-31 | 1 | -2/+3 | |
| | ||||||
* | varexpand: use list for efficient append | Zac Medico | 2012-03-31 | 1 | -13/+13 | |
| | ||||||
* | varexpand: don't cache results | Zac Medico | 2012-03-27 | 1 | -13/+4 | |
| | | | | | Caching wasn't really necessary here, and it didn't properly account for input differences in the 'mydict' parameter. | |||||
* | movefile: use writemsg for unicode safety | Zac Medico | 2012-03-27 | 1 | -12/+13 | |
| | ||||||
* | Replace @returns with @return. | Zac Medico | 2012-03-27 | 7 | -7/+7 | |
| | ||||||
* | grabdict: remove incorrect docstring, bug #409839 | Greg Turner | 2012-03-27 | 1 | -1/+0 | |
| | ||||||
* | movefile: import print_function | Zac Medico | 2012-03-23 | 1 | -0/+2 | |
| | | | | | This fixes printing of tuples under python-2.x, as shown in bug #402323. | |||||
* | movefile: clarify message for xattr copy errorv2.2.0_alpha95 | Zac Medico | 2012-03-23 | 1 | -1/+13 | |
| | | | | This will fix bug #402323. | |||||
* | movefile: refactor selinux conditional code | Zac Medico | 2012-03-23 | 1 | -15/+13 | |
| | ||||||
* | mtimedb: fix hexversion for python issue 5729 | Zac Medico | 2012-03-22 | 2 | -2/+2 | |
| | ||||||
* | mtimedb: enable JSON write supportv2.2.0_alpha94 | Zac Medico | 2012-03-22 | 1 | -11/+11 | |
| | | | | JSON read support has been available since portage-2.1.10.49. | |||||
* | PreservedLibsRegistry: try to parse as JSON first | Zac Medico | 2012-03-22 | 1 | -3/+3 | |
| | ||||||
* | PreservedLibsRegistry: enable JSON write support | Zac Medico | 2012-03-21 | 1 | -2/+2 | |
| | | | | JSON read support has been available since portage-2.2.0_alpha89. | |||||
* | whirlpool.py: fix WhirlpoolAdd for bug #406407 | Zac Medico | 2012-03-05 | 1 | -1/+1 | |
| | | | | | | | | | This file is a python port of Whirlpool.c the reference implementation: http://www.larc.usp.br/~pbarreto/whirlpool.zip Comparison of both implementations reveals a difference in loop logic at the very beginning of the WhirlpoolAdd function, which is fixed now. | |||||
* | pruneNonExisting: handle eselect-opengl symlinksv2.2.0_alpha90 | Zac Medico | 2012-03-04 | 1 | -3/+33 | |
| | | | | | | | | | | | Only count symlinks as preserved if they still point to a hardink in the same directory, in order to handle cases where a tool such as eselect-opengl has updated the symlink to point to a hardlink in a different directory (see bug #406837). The unused hardlink is automatically found by _find_unused_preserved_libs, since the soname symlink no longer points to it. After the hardlink is removed by _remove_preserved_libs, it calls pruneNonExisting which eliminates the irrelevant symlink from the registry here. | |||||
* | _eventloop: use explicit relative importsv2.2.0_alpha87 | Zac Medico | 2012-02-17 | 3 | -7/+6 | |
| | ||||||
* | MtimeDB: add JSON read/write | Zac Medico | 2012-02-17 | 1 | -14/+55 | |
| | | | | | | | | Support serialization as JSON instead of pickle, so that /var/cache/edb/mtimedb is human readable/writable, for those rare cases where it may be useful. Currently, pickle is still used for writes. The plan is to migrate to JSON after JSON read has been supported for some time. | |||||
* | MtimeDB._load: explicitly close file | Zac Medico | 2012-02-17 | 1 | -3/+5 | |
| | ||||||
* | PreservedLibsRegistry: add JSON read/write | Zac Medico | 2012-02-17 | 1 | -10/+51 | |
| | | | | | | | | Support serialization as JSON instead of pickle, so that /var/lib/portage/preserved_libs_registry is human readable/writable, for those rare cases where it may be useful. Currently, pickle is still used for writes. The plan is to migrate to JSON after JSON read has been supported for some time. | |||||
* | PollSelectAdapter: don't inherit PollConstants | Zac Medico | 2012-02-17 | 1 | -1/+1 | |
| | ||||||
* | Move Poll{Constants,SelectAdapter} to _eventloop. | Zac Medico | 2012-02-17 | 3 | -3/+94 | |
| |