Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-06-21 | fix py3 issue with auto .gz decompression and add test | Michael Vogt | 1 | -0/+0 | |
2015-06-11 | python/tarfile.cc: LFS: Handle too large file | Julian Andres Klode | 1 | -0/+0 | |
Handle both file sizes larger than SIZE_MAX and allocation failures when reading the data of a tarmember. If using the go() function with a callback, pass None as the data parameter for files that are too large. For extractdata, raise a MemoryError if the file too extract is too large. Also check for an existing error first in extractdata, before raising a new one. Test the whole thing on 32-bit platforms with a sample deb that contains a zeroed file that is 5GB large (compressed using xz at level 1 to a few kb). | |||||
2015-06-10 | apt.debfile: Fix splitting of multi-lines Binary fields in dsc files | Julian Andres Klode | 1 | -1/+2 | |
In a multi-line field, a comma might be followed by a newline instead of a space. Closes: #751770 | |||||
2014-03-17 | Support all compressors for data.tar/control.tar (Closes: #718330) | Julian Andres Klode | 2 | -0/+0 | |
This makes our support very flexible, and open for future additions of new compression algorithms. debfile_extract_tar() is almost identical to ExtractTarMember() of apt's debDebFile. | |||||
2014-02-22 | tests/data/aptsources/sources.list.testDistribution: Add tanglu | Julian Andres Klode | 1 | -0/+1 | |
2014-01-07 | tests: Add back test_hashsums from old and update | Julian Andres Klode | 2 | -0/+1 | |
These are automatic tests and they still work, so it's pointless not to use them. | |||||
2013-10-21 | aptsources: Correctly parse multiple options (LP: #1103200) | Julian Andres Klode | 1 | -0/+1 | |
It's still not optimal and we do not support the arch+ and arch- options, but it's a beginning. | |||||
2013-10-21 | apt/debfile.py: Pass strip_multi_arch=False to parse_depends. | Julian Andres Klode | 3 | -0/+39 | |
Patch by Michael, tests derived from the ones provided by the reporter. I included the test debs without the source package, as for our use case, all needed "source code" is included in the package itself anyway. Reported-By: Francois Gouget <fgouget@free.fr> Closes: #717859 Closes: #717861 | |||||
2012-06-11 | add test for utils.get_release_date_from_release_file and update code for ↵ | Michael Vogt | 1 | -0/+492 | |
more py3 friendliness | |||||
2012-02-03 | * tests/test_tagfile.py: | Michael Vogt | 2 | -0/+15 | |
- add test for apt_pkg.TagFile() both for compressed/uncompressed files | |||||
2011-10-21 | first cut of multiarch support, tests still fail though | Michael Vogt | 1 | -0/+0 | |
2011-08-08 | tests/test_apt_cache.py: make the test work on PPA buildd chroots | Michael Vogt | 3 | -0/+76 | |
2011-07-13 | * python/arfile.cc: | Michael Vogt | 1 | -0/+0 | |
- use APT::Configuration::getCompressionTypes() instead of duplicating the supported methods here * tests/test_debfile.py: - add test for raise on unknown data.tar.xxx | |||||
2011-04-06 | aptsources: Parse multi-arch sources.list files correctly | Julian Andres Klode | 1 | -1/+4 | |
2011-03-21 | * python/arfile.cc, apt/debfile.py: | Michael Vogt | 1 | -0/+0 | |
- add support for .xz archives * tests/test_debfile.py: - add test for xz compression | |||||
2010-09-07 | tests/test_apt_cache.py: improve the tests so that they do not require a ↵ | Michael Vogt | 1 | -0/+0 | |
working network | |||||
2010-09-03 | not not depend on network when running the tests, some style fixes (thanks ↵ | Michael Vogt | 1 | -0/+0 | |
to Jak for the code-review) | |||||
2010-09-02 | merged patch from Samuel Lidén Borell to fix crash if there utf8 | Michael Vogt | 1 | -0/+0 | |
in the control file (LP: #624290) and add test | |||||
2010-08-31 | tests/test_debfile.py: add test for binary reading | Michael Vogt | 1 | -0/+0 | |
2010-08-31 | add content reading test | Michael Vogt | 1 | -0/+0 | |
2010-08-05 | tests/test_debfile.py: make it work on amd64, improve failure message | Michael Vogt | 3 | -1/+33 | |
2010-08-05 | tests/data/test_debs/hello_2.5-1.dsc: simplify debs (to avoid universe issues) | Michael Vogt | 1 | -1/+1 | |
2010-08-05 | merged from debian-sid, fix crash in Dsc file handling | Michael Vogt | 2 | -0/+34 | |
2010-08-05 | * apt/debfile.py: | Michael Vogt | 1 | -0/+33 | |
- fix crash in DscFile handling and add regression test | |||||
2010-08-05 | * apt/debfile.py: | Michael Vogt | 1 | -0/+32 | |
- fix crash in DscFile handling and add regression test | |||||
2010-07-12 | merged from debian-sid, improve test output | Michael Vogt | 11 | -0/+53 | |
2010-07-12 | tests/test_debfile.py: move test_debs into tests/data | Michael Vogt | 11 | -0/+77 | |
2010-07-02 | add test_progress.py test | Michael Vogt | 2 | -0/+21 | |
2010-03-23 | * tests/data/aptsources_ports/sources.list: | Michael Vogt | 1 | -8/+8 | |
- fix ports test-data | |||||
2010-03-03 | * tests/data/aptsources/sources.list.testDistribution: | Julian Andres Klode | 1 | -2/+2 | |
- change one mirror which is not on the mirror list anymore. | |||||
2009-07-17 | tests: Import more tests from tests/old. | Julian Andres Klode | 3 | -0/+78 | |
2009-07-17 | tests: First work on the new testsuite. | Julian Andres Klode | 2 | -19/+0 | |
The module tests.test_all will run all available tests. Each test placed herein must be using unittest and provide at least 1 test case. It must be prefixed with test_. | |||||
2008-09-18 | * python/apt_pkgmodule.cc: | Michael Vogt | 1 | -0/+2 | |
add "SelState{Unknown,Install,Hold,DeInstall,Purge}" constants - fix detection of cdrom sources and add test for it | |||||
2008-09-18 | * tests/test_aptsources.py: | Michael Vogt | 1 | -10/+10 | |
- make the test work again | |||||
2006-09-10 | * added new "MirrorsFile" keyword for the DistInfo Tagfile | Michael Vogt | 1 | -1/+3 | |
* look for mirros as well when matching distros | |||||
2006-09-09 | * UpdateManager/Common/aptsources.py: | Michael Vogt | 1 | -7/+2 | |
- fix "add_component" to correcly add components even under difficult conditions * tests/data/sources.list.testDistribution: - changed the sources.list to make it sufficiently difficult for aptsources * tests/test_aptsources.py: - added other testcase for add_component() | |||||
2006-09-06 | * tests/test_aptsources.py: | Michael Vogt | 1 | -0/+14 | |
- added another test for the "Distribution()" class | |||||
2006-09-05 | * tests/test_aptsources.py: | Michael Vogt | 1 | -0/+6 | |
- added unittest code and implement some basic tests for the aptsources.py code * UpdateManager/Common/aptsources.py: - added __eq__ method to SourceEntry |