summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* fix uri testMichael Vogt2013-05-081-1/+1
|
* merged patch from Daniel Hartwig to fix URI and proxy releated issuesMichael Vogt2013-05-083-9/+17
|
* merged lp:~mvo/apt/add-missing-dsc-hashesMichael Vogt2013-04-081-0/+35
|\
| * add a integration test for bug 1078697Michael Vogt2013-02-011-0/+35
| |
* | merged lp:~mvo/apt/fix-inrelease5Michael Vogt2013-04-024-5/+82
|\ \
| * | * apt-pkg/deb/debindexfile.cc,David Kalnischkies2013-03-182-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | apt-pkg/deb/deblistparser.cc: - use OpenMaybeClearSignedFile to be free from detecting and skipping clearsigning metadata in dsc and Release files We can't write a "clean" file to disk as not all acquire methods copy Release files before checking them (e.g. cdrom), so this reverts recombining, but uses the method we use for dsc files also in the two places we deal with Release files
| * | - add method to open (maybe) clearsigned files transparentlyDavid Kalnischkies2013-03-181-2/+8
| | | | | | | | | | | | | | | * ftparchive/writer.cc: - use OpenMaybeClearSignedFile to be free from detecting and skipping clearsigning metadata in dsc files
| * | rename testcase to mention CVE number, make the code more consistent withDavid Kalnischkies2013-03-182-80/+61
| | | | | | | | | | | | the rest and add some more tests (by fixing commented ones)
| * | add testcase and update changelogMichael Vogt2013-03-161-0/+80
| | |
| * | - if ExecGPGV deals with a clear-signed file it will split this fileDavid Kalnischkies2013-03-151-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | into data and signatures, pass it to gpgv for verification and recombines it after that in a known-good way without unsigned blocks and whitespaces resulting usually in more or less the same file as before, but later code can be sure about the format * apt-pkg/deb/debmetaindex.cc: - reenable InRelease by default
* | | merge patches from daniel to fix merge artifact and test failureMichael Vogt2013-03-251-1/+1
| | |
* | | merged lp:~mvo/apt/fix-tagfile-hashMichael Vogt2013-03-222-1/+66
|\ \ \
| * | | test/libapt/tagfile_test.cc: add missing "unistd.h" (thanks to Niels Thykier)Michael Vogt2013-03-181-0/+1
| | | |
| * | | fix pkgTagSection::Exists() and add testMichael Vogt2013-03-182-1/+65
| |/ /
* | | merged the debian-wheezy branchMichael Vogt2013-03-222-21/+13
|\| |
| * | * SECURITY UPDATE: InRelease verification bypassMichael Vogt2013-03-142-21/+13
| |/ | | | | | | | | | | | | | | | | - CVE-2013-1051 * apt-pkg/deb/debmetaindex.cc, test/integration/test-bug-595691-empty-and-broken-archive-files, test/integration/test-releasefile-verification: - disable InRelease downloading until the verification issue is fixed, thanks to Ansgar Burchardt for finding the flaw
* | test/integration/framework: use EXIT_CODE to be consistent with the ↵Michael Vogt2013-03-181-5/+5
| | | | | | | | run-tests code
* | report failures via exit and ensure we don't overflowMichael Vogt2013-03-182-4/+10
| |
* | * test/integration/framework:Michael Vogt2013-03-181-2/+8
| | | | | | - continue after test failure but preserve exit status
* | * test/libapt/assert.h, test/libapt/run-tests:Michael Vogt2013-03-172-1/+10
| | | | | | - exit with status 1 on test failure
* | * apt-pkg/depcache.cc:David Kalnischkies2013-02-241-0/+104
|/ | | | - prefer to install packages which have an already installed M-A:same sibling while choosing providers (LP: #1130419)
* * cmdline/apt-get.cc:David Kalnischkies2012-11-092-3/+3
| | | | - do not call Mark{Install,Delete} from the autoremove code with the FromUser bit set to avoid modifying the auto-installed bit
* * apt-pkg/pkgcache.cc:David Kalnischkies2012-09-191-0/+50
| | | | - ignore negative dependencies applying in the same group for M-A:same packages on the real package name as self-conflicts
* * apt-pkg/pkgcachegen.cc:David Kalnischkies2012-09-191-0/+22
| | | - ensure that dependencies for packages:none are always generated
* handle packages without a mandatory architecture (debian-policy §5.3)David Kalnischkies2012-09-092-6/+93
| | | | | by introducing a pseudo-architecture 'none' so that the small group of users with these packages can get right of them without introducing too much hassle for other users (Closes: #686346)
* * apt-pkg/cdrom.cc:David Kalnischkies2012-09-032-0/+120
| | | | | | | - copy only configured translation files from a CD-ROM and not all available translation files preventing new installs with d-i from being initialized with all translations (Closes: #678227) - handle Components in the reduction for the source.list as multi-arch CDs otherwise create duplicated source entries (e.g. "wheezy main main")
* * apt-pkg/cdrom.cc:David Kalnischkies2012-09-022-0/+92
| | | | - handle Components in the reduction for the source.list as multi-arch cds otherwise create duplicated source entries (e.g. "wheezy main main")
* * apt-pkg/indexcopy.cc:David Kalnischkies2012-09-022-0/+92
| | | | - do not create duplicated flat-archive cdrom sources for foreign architectures on multi-arch cdroms
* * apt-pkg/packagemanager.cc:David Kalnischkies2012-08-302-1/+123
| | | | | - unpack versions in case a different version from the package is currently in unpack state to recover from broken system states (like different file in M-A:same package and other dpkg errors)
* ensure that the right architecture is used for cross-dependencies inDavid Kalnischkies2012-08-052-0/+26
| | | | cases we have to choose a provider by defaulting on host-arch instead of build-arch
* improve the check for purely virtuals as provided packages aren'tDavid Kalnischkies2012-08-041-0/+12
| | | | purely virtual and shouldn't error out cause of that
* * cmdline/apt-get.cc:David Kalnischkies2012-08-041-0/+44
| | | | | - error out on (unsatisfiable) build-deps on purly virtual packages instead of ignoring these dependencies; thanks to Johannes Schauer for the detailed report! (Closes: #683786)
* * apt-pkg/cacheset.cc:David Kalnischkies2012-07-181-0/+33
| | | | - handle :all and :native correctly as architectures again in the commandline parsing (regression in 0.9.7)
* * apt-pkg/cachefilter.cc:David Kalnischkies2012-07-123-2/+18
| | | | | | | - remove architecture-specific arch to tuple expansion-rules as they lead to the same tuples for different architectures (e.g. linux-arm for arm, armel and armhf) while the dpkg-architecture code uses triples which are different (in the first part, which we omit in our tuples), so e.g. build-dep restrictions for armel ended up effecting armhf as well
* * apt-pkg/deb/deblistparser.cc:David Kalnischkies2012-07-091-0/+182
| | | | - negative dependencies need to apply to all architectures, but those with a specific architecture only apply to this one
* * apt-pkg/clean.cc:David Kalnischkies2012-07-051-0/+24
| | | | - run autoclean against pkg:arch and not always against pkg:native as this removes valid cache entries (Closes: #679371)
* * cmdline/apt-mark.cc:David Kalnischkies2012-07-042-0/+77
| | | | | | - arch:all packages are treated as arch:native packages, but dpkg expects pkg:all for selections, so use the arch of the installed version instead of the package structure if possible. Thanks to Stepan Golosunov for the report! (Closes: #680041)
* * debian/control:David Kalnischkies2012-06-291-1/+1
| | | | | | - demote debiandoc-sgml to Build-Depends-Indep * doc/makefile: - separate translation building of debiandoc from manpages so that we don't need to build debiandoc for binary packages
* * cmdline/apt-get.cc:David Kalnischkies2012-06-181-0/+4
| | | | - print a friendly message in 'download' if a package can't be downloaded (Closes: #677887)
* add two tests for architecture specificationsDavid Kalnischkies2012-06-144-9/+197
|
* add a testcase for #675449, which i forgot to commitDavid Kalnischkies2012-06-122-0/+88
|
* add a few tests to check that arch-specific qualifiers workDavid Kalnischkies2012-06-111-0/+43
|
* check build-dep candidate if install is forbiddenDavid Kalnischkies2012-06-112-1/+16
|
* * apt-pkg/aptconfiguration.cc:David Kalnischkies2012-06-101-2/+4
| | | | - if APT::Languages=none save "none" in allCodes so that the detected configuration is cached as intended (Closes: #674690, LP: #1004947)
* * cmdline/apt-get.cc:Daniel Hartwig2012-06-101-0/+3
| | | | | - print URIs for all changelogs in case of --print-uris, thanks to Daniel Hartwig for the patch! (Closes: #674897)
* fix segfault with empty LongOpt in --no-* branchDavid Kalnischkies2012-06-091-2/+13
|
* * apt-pkg/contrib/cmdline.cc:Daniel Hartwig2012-06-092-0/+27
| | | | | - apply patch from Daniel Hartwig to fix a segfault in case the LongOpt is empty (Closes: #676331)
* * apt-pkg/aptconfiguration.cc:David Kalnischkies2012-05-203-5/+34
| | | | - longcode Translation files are saved with encoded underscore, so make sure to pick these files up as well for Acquire::Languages
* * apt-pkg/packagemanager.cc:David Kalnischkies2012-05-191-0/+23
| | | - do not run into loop on new-pre-depends-breaks (Closes: #673536)
* * cmdline/apt-get.cc:David Kalnischkies2012-05-161-24/+42
| | | | | - use the host architecture, not the build architecture for matching of [architecture restrictions] in Build-Depends (Closes: #672927) *