Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | _new_backup_path: fix TypeError, bug #453892 | Zac Medico | 2013-01-24 | 1 | -1/+1 |
| | |||||
* | Add workaround for Python 2.6.4 issue 4978 | Zac Medico | 2013-01-18 | 1 | -1/+2 |
| | | | | | 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 | 1 | -9/+11 |
| | | | | | 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 |
| | |||||
* | Handle os.write() return code with loop. | Zac Medico | 2013-01-05 | 1 | -1/+3 |
| | |||||
* | 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. | ||||
* | Use ctypes in subprocess for bug #448858. | Zac Medico | 2012-12-30 | 1 | -33/+14 |
| | | | | | | 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). | ||||
* | 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 |
| | |||||
* | 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. | ||||
* | 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. | ||||
* | update_dbentry: add parent arg for bug #367215 | Zac Medico | 2012-11-13 | 1 | -1/+1 |
| | |||||
* | 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 | 1 | -14/+14 |
| | |||||
* | 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 |
| | |||||
* | vartree.py: account for EAPI 5 sub-slot in SLOT | Zac Medico | 2012-10-17 | 1 | -16/+18 |
| | |||||
* | 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 | 1 | -1/+2 |
| | | | | | EventLoop suffices for all of these cases. EventLoop(main=False) is used for thread safety where API consumers may be using threads. | ||||
* | Handle KeyError when loading pickles. | Zac Medico | 2012-09-28 | 1 | -1/+3 |
| | | | | See http://forums.gentoo.org/viewtopic-t-938022.html for example. | ||||
* | Add experimental EAPI 5-hdepend support. | Ambroz Bizjak | 2012-09-24 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | vardbapi: optimize pickle load for Python >=3.2 | Zac Medico | 2012-08-02 | 1 | -2/+3 |
| | |||||
* | Use nanosecond precision in cache for category directory mtimes | Arfrever Frehtes Taifersar Arahesis | 2012-08-01 | 1 | -2/+8 |
| | | | | and cache for cp_list results when using Python >=3.3. | ||||
* | Use nanosecond precision in portage.util.movefile.movefile(). | Arfrever Frehtes Taifersar Arahesis | 2012-08-01 | 1 | -5/+15 |
| | |||||
* | portage.update: use isvalidatom for EAPI check | Zac Medico | 2012-07-17 | 1 | -4/+7 |
| | |||||
* | move: respect EAPI wrt dots_in_PN, bug #426476 | Zac Medico | 2012-07-17 | 1 | -1/+4 |
| | |||||
* | Propagate EAPI for update_dbentry (bug #426476). | Zac Medico | 2012-07-17 | 1 | -1/+5 |
| | |||||
* | vardbapi: use float mtime for aux cachev2.2.0_alpha117 | Zac Medico | 2012-07-12 | 1 | -3/+9 |
| | |||||
* | vartree.py: fix stutter in commentv2.2.0_alpha116 | Zac Medico | 2012-07-04 | 1 | -1/+1 |
| | |||||
* | Fix unmerge-backup/preserve-libs interaction. | Zac Medico | 2012-07-02 | 1 | -3/+6 |
| | |||||
* | _pre_unmerge_backup: show failure messagev2.2.0_alpha115 | Zac Medico | 2012-07-02 | 1 | -0/+2 |
| | |||||
* | _quickpkg_dblink: set PYTHONPATH for quickpkg | Zac Medico | 2012-07-01 | 1 | -0/+6 |
| | |||||
* | Fix bugs in binarytree.invalids usage. | Zac Medico | 2012-07-01 | 1 | -1/+1 |
| | |||||
* | Support FEATURES={downgrade,unmerge}-backup | Zac Medico | 2012-07-01 | 1 | -9/+84 |
| | | | | This will fix bug #156282 and bug #424275. | ||||
* | protected_symlinks: suggest course of action | Zac Medico | 2012-06-24 | 1 | -1/+5 |
| | | | | See discussion in bug #423127. | ||||
* | protected_symlinks: change eerror to elog | Zac Medico | 2012-06-24 | 1 | -1/+1 |
| | | | | | Since bug #421165, this code will trigger more often (see bug #423127), and eerror is too harsh because the symlinks will never be orphaned. | ||||
* | Skip unmerge of libdir symlinks for bug #423127.v2.2.0_alpha112 | Zac Medico | 2012-06-23 | 1 | -0/+6 |
| | |||||
* | treewalk: fix USE=multislot breakage | Zac Medico | 2012-06-22 | 1 | -5/+4 |
| | | | | It broke in commit e4ba8f36e6a4624f4fec61c7ce8bed0e3bd2fa01. | ||||
* | Add UNINSTALL_IGNORE variable for bug #421659. | Zac Medico | 2012-06-22 | 1 | -13/+15 |
| | | | | | | | | | UNINSTALL_IGNORE = [space delimited list of fnmatch patterns] This variable prevents uninstallation of files that match specific fnmatch(3) patterns. In order to ignore file collisions with these files at install time, the same patterns can be added to the COLLISION_IGNORE variable. | ||||
* | Add experimental EAPI 4-slot-abi support. | Zac Medico | 2012-06-22 | 1 | -0/+5 |
| | | | | Refer to 4-slot-abi.docbook for a full description. | ||||
* | Unmerge symlink listed as dir for bug #421165. | Zac Medico | 2012-06-15 | 1 | -4/+5 |
| | |||||
* | Add a _get_slot_re() function. | Zac Medico | 2012-06-10 | 1 | -2/+4 |
| | |||||
* | merge: fix abs symlink adjustment, bug #416431 | László Szalma | 2012-05-17 | 1 | -1/+1 |
| |