Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | _new_backup_path: fix TypeError, bug #453892 | Zac Medico | 2013-01-24 | 1 | -1/+1 |
| | |||||
* | Package: filter built USE for bug #453400 | Zac Medico | 2013-01-23 | 1 | -1/+3 |
| | | | | | The enabled flags must be consistent with implicit IUSE, in order to avoid potential inconsistencies in USE dep matching (see bug #453400). | ||||
* | Fix default use match for implicit IUSE.v2.2.0_alpha159 | Zac Medico | 2013-01-21 | 1 | -4/+12 |
| | | | | | | This will fix bug #453400, which was triggered by inconsistency between the enabled USE and the effective missing_disabled set used in matching logic, due to implicit IUSE. | ||||
* | Add workaround for Python 2.6.4 issue 4978 | Zac Medico | 2013-01-18 | 2 | -3/+4 |
| | | | | | Avoid "TypeError: keywords must be strings" issue triggered by unicode_literals: http://bugs.python.org/issue4978 | ||||
* | Use unicode_literals more. | Zac Medico | 2013-01-18 | 8 | -19/+34 |
| | | | | | This helps to ensure consistent results, regardless of whether we're using Python 2 or Python 3. | ||||
* | Use 'with file' more. | Zac Medico | 2013-01-17 | 1 | -61/+46 |
| | | | | This helps to minimize ResourceWarning triggered by ^C with python3. | ||||
* | Use EventLoop, no SchedulerInterface if possible. | Zac Medico | 2013-01-10 | 1 | -2/+2 |
| | |||||
* | portdbapi.cp_all(): add reverse sort parameter | Zac Medico | 2013-01-06 | 1 | -2/+3 |
| | |||||
* | Handle os.write() return code with loop. | Zac Medico | 2013-01-05 | 1 | -1/+3 |
| | |||||
* | BinpkgVerifier: use async FileDigester | Zac Medico | 2013-01-05 | 1 | -13/+25 |
| | |||||
* | Enable FD_CLOEXEC for non-blocking pipes. | Zac Medico | 2013-01-03 | 1 | -1/+10 |
| | |||||
* | portage._internal_caller: use global_event_loop | Zac Medico | 2013-01-03 | 1 | -5/+10 |
| | | | | | It's more efficient to use global_event_loop than a local EventLoop instance, so do that when we know it's safe. | ||||
* | Add portage._internal_caller var, and use it. | Zac Medico | 2013-01-03 | 1 | -2/+2 |
| | |||||
* | portdbapi: use global_event_loop when safe | Zac Medico | 2013-01-03 | 1 | -1/+12 |
| | |||||
* | Use ctypes in subprocess for bug #448858. | Zac Medico | 2012-12-30 | 2 | -33/+67 |
| | | | | | | Isolate ctypes usage in a subprocess, in order to avoid potential problems with stale cached libraries as described in bug #448858, comment #14 (also see http://bugs.python.org/issue14597). | ||||
* | _MergeProcess: tweak merge-sync library lookup | Zac Medico | 2012-12-28 | 1 | -2/+5 |
| | | | | | | The library handle is no longer cached, since commit 9e37cca4f54260bd8c45a3041fcee00938c71649, so skip the LoadLibrary call and just call find_library instead. | ||||
* | merge-sync: handle PyPy syncfs fail, bug #446610 | Zac Medico | 2012-12-26 | 1 | -9/+14 |
| | |||||
* | vardbapi: tweak deprecated constructor param | Zac Medico | 2012-12-24 | 1 | -4/+5 |
| | |||||
* | binarytree: tweak deprecated constructor param | Zac Medico | 2012-12-24 | 1 | -5/+5 |
| | |||||
* | porttree.py: tweak deprecated constructor params | Zac Medico | 2012-12-24 | 1 | -4/+5 |
| | | | | | | Trigger a DeprecationWarning even when None is passed in for one of the deprecated parameters, ensuring that any potentially unsafe usage triggers the warning. | ||||
* | Support subslots in command line arguments. | Arfrever Frehtes Taifersar Arahesis | 2012-12-23 | 1 | -2/+2 |
| | |||||
* | dblink._elog_process: obey phasefilter arg | Zac Medico | 2012-12-10 | 1 | -1/+4 |
| | | | | | | This would make a difference when collecting messages for prerm/postrm when uninstalling the previous instance of a package that's been updated. | ||||
* | MergeProcess: avoid duplicate elog, bug #446136 | Zac Medico | 2012-12-10 | 1 | -0/+3 |
| | |||||
* | portdbapi: DeprecationWarning for 'pms' cache | Zac Medico | 2012-11-27 | 1 | -0/+7 |
| | |||||
* | similar_name_search: fix lower/upper case bugs | Zac Medico | 2012-11-25 | 1 | -4/+4 |
| | |||||
* | depgraph: split out similar_name_search func | Zac Medico | 2012-11-24 | 1 | -0/+57 |
| | | | | | | This will allow the code to be re-used for bug #444596. Copyright begins in 2011 since that's when the code for this feature was first added in commit aa78cc8da18015b7d1e4eec277b5a7f940fe357c. | ||||
* | Fix PORTAGE_BUILDIR_LOCKED typo. | Arfrever Frehtes Taifersar Arahesis | 2012-11-16 | 1 | -2/+2 |
| | |||||
* | vardbapi.move_ent: rm wrong fixdbentries call | Zac Medico | 2012-11-14 | 1 | -2/+1 |
| | | | | | | The parent argument was wrong, as reported in bug #367215 comment #22, and this call was uneeded anyway because dbapi.update_ents handles it with update_dbentries. | ||||
* | Pass settings to _pkg_str constructor. | Zac Medico | 2012-11-14 | 1 | -2/+5 |
| | | | | Forgotten in commit 0b4e6c27e87e57fac09fa28d3ed1320cb6a83ad9. | ||||
* | update_dbentry: add parent arg for bug #367215 | Zac Medico | 2012-11-13 | 3 | -7/+11 |
| | |||||
* | dblink.mergeme(): use stack instead of recursion | Zac Medico | 2012-10-30 | 1 | -11/+11 |
| | | | | | Maybe this helps reduce memory consumption when merging packages with lots of subdirectories like gentoo-sources (bug #320859). | ||||
* | merge-sync: handle unmerge corner cases | Zac Medico | 2012-10-25 | 1 | -4/+13 |
| | | | | | In dblink_merged_path we need to distinguish between existing and non-existing, since we need an existing path of syncfs. | ||||
* | merge-sync: syncfs on parent of dir for unmerge | Zac Medico | 2012-10-25 | 1 | -7/+34 |
| | | | | | | Note that we use a realpath and a regular stat here, since we want to follow any symlinks back to the real device where the real parent directory resides. | ||||
* | MergeProcess: cache syncfs libc library lookup | Zac Medico | 2012-10-25 | 2 | -14/+20 |
| | |||||
* | Add FEATURES=merge-sync, for bug #439584. | Zac Medico | 2012-10-25 | 1 | -1/+40 |
| | |||||
* | dblink: add hooks to sync disk for bug #439584 | Zac Medico | 2012-10-25 | 1 | -1/+58 |
| | |||||
* | Handle InvalidData from _pkg_str. | Zac Medico | 2012-10-17 | 1 | -1/+1 |
| | |||||
* | Remove old binhost protocol for bug #438640. | Zac Medico | 2012-10-17 | 1 | -69/+1 |
| | | | | | The old protocol has been deprecated since portage-2.1.6 (2009), so it should be completely irrelevant now. | ||||
* | bintree/portree: fix getslot for EAPI 5 sub-slot | Zac Medico | 2012-10-17 | 2 | -8/+4 |
| | |||||
* | vartree.py: account for EAPI 5 sub-slot in SLOT | Zac Medico | 2012-10-17 | 1 | -16/+18 |
| | |||||
* | _parse_uri_map: preserve order of URIs | Zac Medico | 2012-10-08 | 1 | -3/+8 |
| | | | | Returns a dict of tuples instead of a dict of sets. | ||||
* | ForkProcess: set _exit finally block before fork | Zac Medico | 2012-10-08 | 1 | -75/+88 |
| | | | | This is the most reliable way to handle the race condition. | ||||
* | Show slot + repo for colliding packages. | Zac Medico | 2012-10-07 | 1 | -3/+15 |
| | | | | See bug #437516 for example. | ||||
* | Substitute SchedulerInterface for PollScheduler. | Zac Medico | 2012-10-07 | 1 | -3/+3 |
| | | | | | | SchedulerInterface suffices for all of these cases. EventLoop(main=False) is used for thread safety where API consumers may be using threads. | ||||
* | Substitute EventLoop for PollScheduler. | Zac Medico | 2012-10-05 | 3 | -11/+6 |
| | | | | | EventLoop suffices for all of these cases. EventLoop(main=False) is used for thread safety where API consumers may be using threads. | ||||
* | PollScheduler: remove register/unregister methods | Zac Medico | 2012-10-05 | 1 | -3/+3 |
| | | | | | | | These methods were aliases for the EventLoop io_add_watch and source_remove methods. Migrating to the EventLoop method names allows an EventLoop instance to substitute for a PollScheduler inside subclasses of AbstractPollTask. | ||||
* | EbuildFetcher/MergeProcess: inherit ForkProcess | Zac Medico | 2012-10-03 | 1 | -3/+3 |
| | | | | | Also add missing __slots__ to ForkProcess. TODO: Share code between ForkProcess and MergeProcess. | ||||
* | Handle KeyError when loading pickles. | Zac Medico | 2012-09-28 | 1 | -1/+3 |
| | | | | See http://forums.gentoo.org/viewtopic-t-938022.html for example. | ||||
* | update_ents: use Package._dep_keys | Zac Medico | 2012-09-25 | 1 | -2/+2 |
| | |||||
* | Add experimental EAPI 5-hdepend support. | Ambroz Bizjak | 2012-09-24 | 4 | -8/+12 |
| |