summaryrefslogtreecommitdiffstats
path: root/pym/portage/util/_dyn_libs/PreservedLibsRegistry.py
Commit message (Collapse)AuthorAgeFilesLines
* Replace @returns with @return.Zac Medico2012-03-271-1/+1
|
* mtimedb: fix hexversion for python issue 5729Zac Medico2012-03-221-1/+1
|
* PreservedLibsRegistry: try to parse as JSON firstZac Medico2012-03-221-3/+3
|
* PreservedLibsRegistry: enable JSON write supportZac Medico2012-03-211-2/+2
| | | | JSON read support has been available since portage-2.2.0_alpha89.
* pruneNonExisting: handle eselect-opengl symlinksv2.2.0_alpha90Zac Medico2012-03-041-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.
* PreservedLibsRegistry: add JSON read/writeZac Medico2012-02-171-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.
* Handle unpickle EOFError.Zac Medico2011-09-031-4/+10
|
* Handle unpickle AttributeError (bug #381705).Zac Medico2011-09-031-1/+1
|
* python3.2 fixes: ResourceWarning: unclosed fileZac Medico2011-08-241-3/+7
|
* LinkageMapELF: remove unused importsv2.2.0_alpha32Zac Medico2011-05-081-1/+1
|
* PreservedLibsRegistry: normalize counter as strZac Medico2011-05-081-4/+22
|
* PreserveLibsRegistry: add lock/unlock assertionsZac Medico2011-05-071-1/+12
| | | | | Also, add comments to store() about unobvious interaction with locking due to atomic replacement of the inode.
* Cleanup preserved lib locking in portage.David James2011-05-061-13/+19
| | | | | | | | | | | | This change makes preserved lib modification atomic, and prepares us for narrowing the scope of the merge lock. BUG=chromium-os:14983 TEST=Ran test suite and some example emerges. Change-Id: I39abb6a5ec72be3274e508ef807ac1d9e69db1a8 Review URL: http://gerrit.chromium.org/gerrit/417
* use ROOT iso EROOT with PreservedLibsRegistry, since all entries already ↵Fabian Groffen2010-09-291-5/+5
| | | | have EPREFIX
* Move PreservedLibsRegistry to a new ↵Zac Medico2010-08-291-0/+137
portage.util._dyn_libs.PreservedLibsRegistry module.