summaryrefslogtreecommitdiffstats
path: root/pym/portage/xpak.py
Commit message (Collapse)AuthorAgeFilesLines
* ResolverPlayground: support binary packagesZac Medico2012-06-201-1/+1
|
* tbz2.scan: use finally to close fileZac Medico2012-05-131-4/+4
|
* xpak: clean up styleMike Frysinger2012-03-281-124/+123
| | | | | | A few spaces here and there go a long way to making this readable. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* xpak.unpackinfo: validate paths, bug #403149Zac Medico2012-02-111-24/+20
|
* Fix a typo in a doc string.Arfrever Frehtes Taifersar Arahesis2011-12-241-1/+1
|
* Use portage.shutil for safer unicode handling.Zac Medico2011-12-101-1/+1
|
* python3.2 fixes: ResourceWarning: unclosed fileZac Medico2011-08-261-1/+2
|
* Add some comments, which will allow to easier find code, which should beArfrever Frehtes Taifersar Arahesis2011-08-251-0/+1
| | | | removed when support for older versions of Python is removed.
* python3.2 fixes: use array.tobytes()Zac Medico2011-08-241-2/+5
|
* Add a break_hardlinks parameter for tbz2 recompose methods, and enable itZac Medico2010-05-131-3/+26
| | | | | | | | | | by default. Since bindbapi.aux_update() calls this method, this changes the default behavior for all modifications to binary package metadata. This makes it safe to use hardlinks to create cheap snapshots of the repository, which is useful for solving race conditions on binhosts as described here: http://code.google.com/p/chromium-os/issues/detail?id=3225.
* Define __all__.Zac Medico2010-05-131-1/+6
|
* Use bytes literals in instead of _unicode_encode() where appropriateZac Medico2010-05-131-13/+13
| | | | (works with python-2.6).
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* Bug #300744 - Inside xpak(), exclude CONTENTS for quickpkg since contents isZac Medico2010-01-131-0/+3
| | | | | | generated by the merge process. svn path=/main/trunk/; revision=15198
* Make tbz2.get_data() return an empty dict on failure.Zac Medico2009-09-291-1/+1
| | | | svn path=/main/trunk/; revision=14460
* Don't call self.scan() in tbz2.__init__ since all methods call it anyway.Zac Medico2009-09-291-1/+0
| | | | svn path=/main/trunk/; revision=14459
* Encode/decode names from the xpak index where appropriate.Zac Medico2009-09-211-0/+4
| | | | svn path=/main/trunk/; revision=14367
* Fix decodeint() for py3k compat, since bytes are a sequence of integersZac Medico2009-09-211-5/+8
| | | | | | instead of characters. svn path=/main/trunk/; revision=14361
* Use dict.(keys|values|items)() instead of ↵Arfrever Frehtes Taifersar Arahesis2009-09-211-2/+2
| | | | | | | | dict.(iterkeys|itervalues|iteritems)() for compatibility with Python 3. (2to3-3.1 -f dict -nw ${FILES}) svn path=/main/trunk/; revision=14327
* Update syntax of calls to print() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-1/+1
| | | | | | (2to3-3.1 -f print -nw ${FILES}) svn path=/main/trunk/; revision=14290
* 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
* Bug #282505 - Fix unicode handling for package moves in binary packages.v2.2_rc40Zac Medico2009-08-241-0/+11
| | | | svn path=/main/trunk/; revision=14134
* Replace _content_encoding, _fs_encoding, and _merge_encoding with directZac Medico2009-08-211-21/+22
| | | | | | usage of _encodings. svn path=/main/trunk/; revision=14113
* Use portage.os and _fs_encoding where appropriate, and fix binary stringZac Medico2009-08-171-59/+88
| | | | | | handling for py3k compat. svn path=/main/trunk/; revision=14074
* Open all files in binary mode for py3k compatibility.Zac Medico2009-08-041-15/+15
| | | | svn path=/main/trunk/; revision=13912
* remove unused vars from xpak, fix bug in compose. Also fix tests for ↵Alec Warner2007-07-221-2/+1
| | | | | | portage sets, fix misnamed variable. svn path=/main/trunk/; revision=7355
* Make all the classes inherit from object.Zac Medico2007-06-201-1/+1
| | | | svn path=/main/trunk/; revision=6886
* Namespace sanitizing, step 1Marius Mauch2007-01-251-0/+421
svn path=/main/trunk/; revision=5778