summaryrefslogtreecommitdiffstats
path: root/pym/portage/manifest.py
Commit message (Collapse)AuthorAgeFilesLines
* GLEP 55 removalDaniel Robbins2010-07-061-7/+1
|
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* Fix concatenation of list + tuple in Manifest._createManifestEntries().Zac Medico2010-01-301-4/+4
| | | | svn path=/main/trunk/; revision=15289
* Bug #301926 - Handle ValueError in parseManifest2(), triggered by corruptZac Medico2010-01-241-1/+4
| | | | | | manifest entry. svn path=/main/trunk/; revision=15207
* Use the stricter _pkgsplit function.Zac Medico2009-10-071-1/+1
| | | | svn path=/main/trunk/; revision=14509
* Replace dict.keys() usage with __iter__(), since it behaves identically inZac Medico2009-09-221-4/+4
| | | | | | both python 2.x and 3.x. svn path=/main/trunk/; revision=14385
* Use dict.(keys|values|items)() instead of ↵Arfrever Frehtes Taifersar Arahesis2009-09-211-5/+5
| | | | | | | | dict.(iterkeys|itervalues|iteritems)() for compatibility with Python 3. (2to3-3.1 -f dict -nw ${FILES}) svn path=/main/trunk/; revision=14327
* Use range() instead of xrange() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-211-1/+1
| | | | | | (2to3-3.1 -f xrange -nw ${FILES}) svn path=/main/trunk/; revision=14317
* Update syntax of 'except' statements for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-4/+4
| | | | | | (2to3-3.1 -f except -nw ${FILES}) svn path=/main/trunk/; revision=14289
* Replace _content_encoding, _fs_encoding, and _merge_encoding with directZac Medico2009-08-211-10/+10
| | | | | | usage of _encodings. svn path=/main/trunk/; revision=14113
* Prepare 308 messages to localization.Arfrever Frehtes Taifersar Arahesis2009-08-151-5/+6
| | | | svn path=/main/trunk/; revision=14067
* Add a portage._content_encoding constant, set to utf_8.Zac Medico2009-08-141-3/+4
| | | | svn path=/main/trunk/; revision=14056
* Use portage._fs_encoding where appropriage, and use strict handling forZac Medico2009-08-141-4/+17
| | | | | | errors. svn path=/main/trunk/; revision=14055
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-121-15/+16
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=14007
* Do not pass unicode strings into os.walk calls, since it can causeZac Medico2009-08-061-3/+17
| | | | | | internal os.path.join calls to raise UnicodeDecodeError. svn path=/main/trunk/; revision=13926
* Add support for FEATURES=parse-eapi-glep-55. This feature is only intended forZac Medico2009-03-241-2/+10
| | | | | | experimental purposes and should not be enabled under normal circumstances. svn path=/main/trunk/; revision=13175
* Use slices instead of startswith inside manifest2AuxfileFilter().Zac Medico2009-03-101-2/+2
| | | | svn path=/main/trunk/; revision=12823
* Fix headers that contain $Header instead of $Id.Zac Medico2009-02-231-1/+1
| | | | svn path=/main/trunk/; revision=12701
* Use lazyimport to avoid importing the dep, output, update, and versionsZac Medico2009-02-221-1/+0
| | | | | | modules when portage is initially imported. svn path=/main/trunk/; revision=12681
* Use lazyimport to avoid importing the checksum, locks, and util modulesZac Medico2009-02-221-3/+7
| | | | | | when portage is initially imported. svn path=/main/trunk/; revision=12680
* Implement Manifest2Entry.__ne__() so that comparisons inside Manifest.write()Zac Medico2009-01-311-0/+11
| | | | | | work properly (to avoid rewriting an identical manifest when possible). svn path=/main/trunk/; revision=12567
* Always ignore hidden files when generating Manifests. Thanks to ChristianZac Medico2009-01-311-1/+3
| | | | | | Ruppert for reporting. svn path=/main/trunk/; revision=12566
* Remove ManifestEntry.__cmp__() since it's not needed and py3k won't use it.Zac Medico2008-12-101-4/+0
| | | | svn path=/main/trunk/; revision=12200
* Py3k compatibility patch #1 by Ali Polatel <hawking@g.o>.Zac Medico2008-07-011-2/+2
| | | | | | Replace dict.has_key() calls with "in" and "not in" operators.. svn path=/main/trunk/; revision=10870
* Use write_atomic() for manifest updates.Zac Medico2008-04-281-4/+2
| | | | svn path=/main/trunk/; revision=10016
* Fix typos. Thanks to Arfrever Frehtes Taifersar ArahesisZac Medico2008-03-301-1/+1
| | | | | | <Arfrever.FTA@GMail.Com>. svn path=/main/trunk/; revision=9632
* remove code for manifest1 supportMarius Mauch2008-02-281-167/+6
| | | | svn path=/main/trunk/; revision=9398
* Make the manifest1_compat constructor parameter default to FalseZac Medico2008-02-011-1/+1
| | | | | | | to prevent potential interference from stale old digest files in overlays. svn path=/main/trunk/; revision=9258
* Sort hashes for predictable output from Manifest._createManifestEntries().Zac Medico2007-11-231-0/+1
| | | | svn path=/main/trunk/; revision=8615
* Bug #198398 - Enable Manifest generation when there are no hashZac Medico2007-11-181-5/+15
| | | | | | | | | | functions available for types such as RMD160. Now it's possible to generate a Manifest when python-2.5 is built without ssl support. MANIFEST1_REQUIRED_HASH and MANIFEST2_REQUIRED_HASH are the only two functions that are strictly required now (MD5 and SHA1). svn path=/main/trunk/; revision=8521
* Make exception strings more informative.Zac Medico2007-11-041-2/+5
| | | | svn path=/main/trunk/; revision=8426
* Make Manifest.create() do some basic validation of ebuildZac Medico2007-11-041-1/+11
| | | | | | file names like portdbapi.cp_list() would do. svn path=/main/trunk/; revision=8423
* Remove fallback imports for set(), and note minimum requirement of python-2.4Marius Mauch2007-07-051-4/+2
| | | | svn path=/main/trunk/; revision=7157
* Short circuit the loop as soon as missing hashes are detected.Zac Medico2007-06-261-2/+2
| | | | svn path=/main/trunk/; revision=7044
* Remove more unnecessary list generation.Zac Medico2007-06-211-4/+3
| | | | svn path=/main/trunk/; revision=6913
* For bug #178293, don't write digest-* files unnecessarily when SRC_URI is empty.Zac Medico2007-05-131-2/+5
| | | | svn path=/main/trunk/; revision=6535
* Don't bother to parse ${FILESDIR}/digest-* when manifest1_compat is disabled.Zac Medico2007-02-221-3/+3
| | | | svn path=/main/trunk/; revision=6045
* For bug #167667, use the existence of ${PORTDIR}/manifest1_obsolete to ↵Zac Medico2007-02-221-1/+2
| | | | | | trigger the disabling of manifest1/digest file generation. This toggle is repo/overlay specific, allowing a specific overlay to drop manifest1 buy adding the manifest1_obsolete file. svn path=/main/trunk/; revision=6041
* Synchronize required hash code in all relevant places.Zac Medico2007-02-071-1/+4
| | | | svn path=/main/trunk/; revision=5924
* Check if entries contain the required hashes before writing the ManifestMarius Mauch2007-02-061-2/+10
| | | | svn path=/main/trunk/; revision=5902
* Namespace sanitizing, step 2Marius Mauch2007-01-251-24/+24
| | | | | | | Rename portage.exec to portage.process to avoid syntax errors svn path=/main/trunk/; revision=5780
* Namespace sanitizing, step 1Marius Mauch2007-01-251-0/+618
svn path=/main/trunk/; revision=5778