Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | repoman: say Git >=1.7.9 needed for signed commit | Zac Medico | 2012-03-04 | 1 | -1/+22 |
| | |||||
* | repoman: support overlays without repo_name | Zac Medico | 2012-03-04 | 1 | -1/+32 |
| | |||||
* | action_build: return 1 for "no" --ask answer | Zac Medico | 2012-02-29 | 1 | -1/+1 |
| | |||||
* | cvstree.getentries: handle "ignored" files in cvs | Zac Medico | 2012-02-27 | 1 | -2/+8 |
| | | | | | | | | | It's possible for files to be under version control even though they match our ignore filter, so don't ignore them if they are listed in the "Entries" file. Thanks to Mike Gilbert <floppym@gentoo.org> for reporting in this blog post: http://floppym.blogspot.com/2012/02/cvs-status-display-cvs-checkout-in-svn.html | ||||
* | autounmask: Avoid unmasking live versions if possible | Sebastian Luther | 2012-02-26 | 2 | -9/+71 |
| | | | | | | | | | | | | | | | | | | | | Before this patch the allowed changes were: 1. USE 2. USE + ~arch + license 3. USE + ~arch + license + missing keywords + masks With this patch: 1. USE 2. USE + ~arch + license 3. USE + ~arch + license + missing keywords 4. USE + ~arch + license + masks 5. USE + ~arch + license + missing keywords + masks This avoids unmasking live versions, which are typically masked and have missing keywords to be avoided if there is a regular masked version available. | ||||
* | Reorganize how autounmask allows changes to be made | Sebastian Luther | 2012-02-26 | 1 | -52/+57 |
| | | | | This patch does not change emerge's behaviour. | ||||
* | autounmask: Fix USE change messages to display the correct parent | Sebastian Luther | 2012-02-24 | 1 | -0/+4 |
| | | | | Fixes bug 399863. | ||||
* | Unmerge orphan directory symlinks for bug 384397.v2.2.0_alpha89 | Zac Medico | 2012-02-22 | 1 | -3/+85 |
| | |||||
* | dblink: split out _unmerge_dirs method | Zac Medico | 2012-02-22 | 1 | -88/+106 |
| | | | | | This code will need to be called twice when safely unmerging symlinks to directories (bug #384397). | ||||
* | ecompressdir: handle abs symlink, bug #405327 | Zac Medico | 2012-02-22 | 1 | -3/+10 |
| | |||||
* | Scheduler: hang in _schedule_tasks, bug 404995v2.2.0_alpha88 | Zac Medico | 2012-02-20 | 1 | -1/+2 |
| | | | | | This is triggered whenever emerge bails out while parallel-fetch is running in the background. | ||||
* | _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. | ||||
* | repoman: make virtual.oldstyle an error | Zac Medico | 2012-02-17 | 3 | -5/+13 |
| | | | | | Also, add "allow-provide-virtuals = true" setting for metadata/layout.conf which reduces it to a warning. | ||||
* | portage.5: layout.conf manifest-hashes example | Zac Medico | 2012-02-17 | 1 | -0/+2 |
| | |||||
* | 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 | -5/+5 |
| | |||||
* | Move _emerge.SlotObject to portage.util. | Zac Medico | 2012-02-17 | 11 | -17/+23 |
| | |||||
* | SlotObject: validate __slots__ and keyword args | Zac Medico | 2012-02-17 | 1 | -2/+11 |
| | |||||
* | Remove redundant inherited __slots__ values. | Zac Medico | 2012-02-17 | 2 | -2/+2 |
| | |||||
* | EventLoop: fix _io_handler_class "f" attribute | Zac Medico | 2012-02-17 | 1 | -1/+1 |
| | |||||
* | portage.package.ebuild.fetch.fetch(): Fix ResourceWarning with Python 3.2. | Arfrever Frehtes Taifersar Arahesis | 2012-02-17 | 1 | -9/+10 |
| | |||||
* | EventLoop.iteration: run timeouts last | Zac Medico | 2012-02-17 | 1 | -12/+12 |
| | | | | | Run timeouts last, in order to minimize latency in termination of iteration loops that they may control. | ||||
* | SubProcess._waitpid_cb: fix args for glib compat | Zac Medico | 2012-02-17 | 1 | -1/+1 |
| | |||||
* | EventLoop: prune obsolete code | Zac Medico | 2012-02-17 | 1 | -70/+18 |
| | |||||
* | EventLoop.iteration: poll for blocking, not sleep | Zac Medico | 2012-02-16 | 1 | -2/+5 |
| | | | | | The effect is be mostly the same, but it's more conistent to use _do_poll for all blocking, plus it has EINTR handling. | ||||
* | EventLoop.child_watch_add: dynamic IO watch | Zac Medico | 2012-02-16 | 1 | -10/+22 |
| | | | | | | | | | The IO watch is dynamically registered and unregistered as needed, since we don't want to consider it as a valid source of events when there are no child listeners. It's important to distinguish when there are no valid sources of IO events, in order to avoid an endless poll call if there's no timeout. This fixes possbible endless poll calls since commit 1979a6cdfcd8c6bae4565982d82d862be07ba5be. | ||||
* | EventLoop: wakeup poll loop to receive sigchild | Zac Medico | 2012-02-16 | 1 | -1/+12 |
| | | | | | | TODO: Find out why SIGCHLD signals aren't delivered during poll calls, forcing us to wakeup in order to receive them. This fixes random hangs in poll calls since commit 1979a6cdfcd8c6bae4565982d82d862be07ba5be. | ||||
* | EventLoop: fix signal race in _sigchld_init | Zac Medico | 2012-02-16 | 1 | -1/+1 |
| | |||||
* | EventLoop: fix _sigchld_io_cb to return True | Zac Medico | 2012-02-16 | 1 | -0/+1 |
| | | | | | This fixes an infinite loop since commit 1979a6cdfcd8c6bae4565982d82d862be07ba5be. | ||||
* | SubProcess: use child_watch_add | Zac Medico | 2012-02-16 | 1 | -29/+7 |
| | | | | | This fixes performance issues introduced by commit 9c664779a16f6cbca8a5ffe7f6b0c68572819723. | ||||
* | EventLoop: implement child_watch_add | Zac Medico | 2012-02-16 | 3 | -1/+99 |
| | |||||
* | portage.update.fixdbentries(): Fix ResourceWarnings with Python 3.2. | Arfrever Frehtes Taifersar Arahesis | 2012-02-16 | 1 | -2/+3 |
| | |||||
* | SubProcess: use non-blocking waitpid | Zac Medico | 2012-02-15 | 1 | -12/+27 |
| | | | | | This ensures that the EventLoop will not stop due to a waitpid call blocking forever. | ||||
* | EventLoop.iteration: sleep if no IO handlers | Zac Medico | 2012-02-15 | 1 | -1/+13 |
| | | | | | | | Sleep so that we don't waste cpu time by looping too quickly. This makes EventLoop useful for code that needs to wait for timeout callbacks regardless of whether or not any IO handlers are currently registered. | ||||
* | EventLoop.timeout_add: fix inverted min interval | Zac Medico | 2012-02-15 | 1 | -1/+1 |
| | |||||
* | Comment about _setup_pipes / PyPy GC interaction. | Zac Medico | 2012-02-15 | 2 | -2/+10 |
| | |||||
* | SpawnProcess: use os.open for /dev/null input | Zac Medico | 2012-02-15 | 1 | -3/+3 |
| | |||||
* | MergeProcess: inherit stdin for use with pdb | Zac Medico | 2012-02-15 | 1 | -0/+7 |
| | |||||
* | treewalk: handle EAGAIN from listdir for PyPy 1.8 | Zac Medico | 2012-02-15 | 1 | -2/+15 |
| | |||||
* | get_open_fds: handle EAGAIN for PyPy 1.8 | Zac Medico | 2012-02-15 | 1 | -1/+15 |
| | |||||
* | Scheduler: PyPy WeakValueDictionary.pop KeyError | Zac Medico | 2012-02-14 | 1 | -1/+8 |
| | | | | | | | KeyError observed from WeakValueDictionary.pop() with PyPy 1.8, despite None given as default. Note that PyPy 1.8 has the same WeakValueDictionary code as CPython 2.7, so it may be possible for CPython to raise KeyError here as well. | ||||
* | SpawnProcess: for stdout use os.write, not fdopen | Zac Medico | 2012-02-14 | 1 | -6/+5 |
| | |||||
* | repoman: fix ebuild.badheader for bug #403705 | Zac Medico | 2012-02-14 | 1 | -0/+1 |
| | |||||
* | SubProcess._wait: add debug code for bug #403697 | Zac Medico | 2012-02-14 | 1 | -0/+6 |
| | |||||
* | Assert that fork returns int for bug 403697. | Zac Medico | 2012-02-14 | 2 | -0/+7 |
| | | | | | These cases should have been included with commit 6a94a074aa0475173a51f3f726377d4c407e986b. | ||||
* | AsynchronousTask: skip cancelled check in _start | Zac Medico | 2012-02-14 | 2 | -6/+0 |
| | | | | | These checks should be irrelevant, since the cancel() method is never called on anything that hasn't been started already. | ||||
* | EventLoop: allow IO event handler re-entrance | Zac Medico | 2012-02-14 | 1 | -11/+6 |
| | | | | | | IO event handlers may be re-entrant, in case something like AbstractPollTask._wait_loop(), needs to be called inside a handler for some reason. |