Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Use re.UNICODE for category/package name regexes. | Zac Medico | 2012-09-22 | 1 | -1/+1 |
| | | | | | | | | This only affects r'\w' with Python 2.x, since Python 3 already defaults to re.UNICODE behavior when compiling unicode str objects (unless re.ASCII is specified). If a repository wants to ban unicode categore/package names then we can add a layout.conf setting for that, as discussed in bug #435934. | ||||
* | Add preserve-libs for stable branch (not default) | Zac Medico | 2012-09-21 | 1 | -10/+3 |
| | | | | | | | | | EAPI 5 supports automatic rebuilds via the slot-operator and sub-slots, which makes preserve-libs much more user-friendly, since it makes @preserved-rebuild unnecessary (also see bug #364425 for explanation of @preserved-rebuild shortcomings). Therefore, enable preserve-libs for the stable branch, but not by default. After EAPI 5 is widely adopted, we can consider enabling preserve-libs by default. | ||||
* | Fix "unsatisfied" comment typo. | Zac Medico | 2012-09-16 | 1 | -1/+1 |
| | |||||
* | repoman: unsatsified use-default deps, bug 435242 | Zac Medico | 2012-09-16 | 1 | -0/+10 |
| | |||||
* | Rename slot-abi stuff to refer to slot-operator. | Zac Medico | 2012-08-29 | 1 | -3/+3 |
| | | | | | This makes it consistent with the language in the PMS eapi-5 branch: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=5d6749ac9e5ddc5b1daaad7737b65fa81c6ece47 | ||||
* | EAPI 5: Profile IUSE injection | Zac Medico | 2012-08-29 | 2 | -4/+15 |
| | | | | | See bug #176467 and the PMS patch: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=d9040ab3482af5f790368bac5d053bf1cd760ba8 |