Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-05-09 | promote ExpectedHashes to a pkgAcquire::Item member | David Kalnischkies | |
Beside being another big API break with hopefully zero fallout in reality it avoids having the same member and helper code in each and every subclass. | |||
2014-05-09 | deal with hashes in ftparchive more dynamic as well | David Kalnischkies | |
Now that libapts acquire system happily passes around hashes and can be made to support new ones without an ABI break in the future, we can free ftparchive from all the deprecation warnings the last commit introduced for it. The goal here isn't to preserve ABI as we have none to keep here, but to help avoiding introduction problems of 'new' hashes later as bugs creep into the copy&paste parts, so short/less of them is good. | |||
2014-05-09 | use HashStringList in the acquire system | David Kalnischkies | |
It is not very extensible to have the supported Hashes hardcoded everywhere and especially if it is part of virtual method names. It is also possible that a method does not support the 'best' hash (yet), so we might end up not being able to verify a file even though we have a common subset of supported hashes. And those are just two of the cases in which it is handy to have a more dynamic selection. The downside is that this is a MAJOR API break, but the HashStringList has a string constructor for compatibility, so with a bit of luck the few frontends playing with the acquire system directly are okay. | |||
2014-05-09 | use 'best' hash for source authentication | David Kalnischkies | |
Collect all hashes we can get from the source record and put them into a HashStringList so that 'apt-get source' can use it instead of using always the MD5sum. We therefore also deprecate the MD5 struct member in favor of the list. While at it, the parsing of the Files is enhanced so that records which miss "Files" (aka MD5 checksums) are still searched for other checksums as they include just as much data, just not with a nice and catchy name. LP: 1098738 | |||
2014-05-09 | add a simple container for HashStrings | David Kalnischkies | |
APT supports more than just one HashString and even allows to enforce the usage of a specific hash. This class is intended to help with storage and passing around of the HashStrings. Git-Dch: Ignore | |||
2014-05-09 | tests: be able to disable "Fetched …" statistics message | David Kalnischkies | |
The line contains everchanging execution statistics which is harmful for testcases as they need to filter out such lines, but this is hard so we can just add an option to disable them instead and be done. Git-Dch: Ignore | |||
2014-05-08 | use a std::vector instead of hardcoded array | David Kalnischkies | |
Arrays with predefined lengths are very fragile as they are likely forgotten in future changes and the size in this case is dynamic making it even more dangerous. Git-Dch: Ignore | |||
2014-05-08 | mark as Automatic/Downloadable pure as gcc suggests | David Kalnischkies | |
Git-Dch: Ignore Reported-By: gcc | |||
2014-05-08 | make test independent from the actual Install-Size | David Kalnischkies | |
Git-Dch: Ignore | |||
2014-05-08 | fix apt-config test now that PATH changed in 8c617819 | David Kalnischkies | |
Git-Dch: Ignore | |||
2014-05-08 | apt-pkg/deb/debindexfile.cc: do not hardcode dpkg | Michael Vogt | |
2014-05-08 | apt-private/acqprogress.cc: do not show file size on IMSHit, it wasn't ↵ | Michael Vogt | |
fetched, so why bother | |||
2014-05-08 | Revert "fix test-bug-602412-dequote-redirect by removing the aptget update ↵ | Michael Vogt | |
size information" This reverts commit 773642528b6d9858c2c68ada42705ea71c8db37e. | |||
2014-05-08 | Merge remote-tracking branch 'mvo/feature/build-dep-dsc2' into ↵ | Michael Vogt | |
debian/experimental Conflicts: apt-pkg/deb/debindexfile.cc apt-pkg/deb/debindexfile.h apt-pkg/deb/debsrcrecords.cc | |||
2014-05-08 | Merge remote-tracking branch 'mvo/bugfix/update-progress-reporting' into ↵ | Michael Vogt | |
debian/experimental | |||
2014-05-08 | update test-apt-progress-fd | Michael Vogt | |
2014-05-08 | Merge remote-tracking branch 'upstream/debian/sid' into ↵ | Michael Vogt | |
bugfix/update-progress-reporting | |||
2014-05-08 | Merge branch 'debian/sid' into debian/experimental | Michael Vogt | |
2014-05-08 | Merge remote-tracking branch 'mvo/feature/apt-ftparchive-srccache2' into ↵ | Michael Vogt | |
debian/sid | |||
2014-05-08 | fix regression from commit 215b0faf | Michael Vogt | |
2014-05-08 | Merge remote-tracking branch 'mvo/bugfix/update-progress-reporting' into ↵ | Michael Vogt | |
debian/experimental | |||
2014-05-08 | check for UnfetchedReleaseFiles when calculating the update percent value | Michael Vogt | |
2014-05-08 | Merge remote-tracking branch 'upstream/debian/sid' into ↵ | Michael Vogt | |
bugfix/update-progress-reporting | |||
2014-05-07 | fix tests | Michael Vogt | |
2014-05-07 | add BUILDDIRECTORY to PATH in the tests | Michael Vogt | |
2014-05-07 | fix some compile errors in the now enabled #if (APT_PKG_MAJOR >= 4 && ↵ | Michael Vogt | |
APT_PKG_MINOR < 13) | |||
2014-05-07 | apt-pkg/contrib/macros.h: bump library version to 4.13 | Michael Vogt | |
2014-05-07 | show progress in run-tests | Michael Vogt | |
2014-05-07 | fix test-bug-602412-dequote-redirect by removing the aptget update size ↵ | Michael Vogt | |
information | |||
2014-05-07 | Merge remote-tracking branch 'mvo/bugfix/update-progress-reporting' into ↵ | Michael Vogt | |
debian/experimental | |||
2014-05-07 | Merge remote-tracking branch 'mvo/feature/apt-install-deb' into ↵ | Michael Vogt | |
debian/experimental | |||
2014-05-07 | Merge remote-tracking branch 'mvo/feature/apt-ftparchive-srccache2' into ↵ | Michael Vogt | |
debian/sid | |||
2014-05-07 | Merge remote-tracking branch 'donkult/debian/sid' into debian/sid | Michael Vogt | |
2014-05-07 | Merge branch 'debian/sid' into debian/experimental | Michael Vogt | |
Conflicts: apt-pkg/cachefilter.h apt-pkg/contrib/fileutl.cc apt-pkg/contrib/netrc.h apt-pkg/deb/debsrcrecords.cc apt-pkg/init.h apt-pkg/pkgcache.cc debian/apt.install.in debian/changelog | |||
2014-05-07 | move pkgSourceList::AddMetaIndex() into a private subclass until we decide ↵ | Michael Vogt | |
about a good API | |||
2014-05-07 | rename pkgSourceList::Add() to pkgSourceList::AddMetaIndex() | Michael Vogt | |
2014-05-07 | Merge branch 'debian/sid' into bugfix/update-progress-reporting | Michael Vogt | |
2014-05-05 | prepare release 1.0.31.0.3 | Michael Vogt | |
2014-05-05 | Revert "add bash completion for the "apt" command" | Michael Vogt | |
This reverts commit 697c9314c8ba24f3e393b5de11a3fad7adae4bfc. Conflicts: debian/rules | |||
2014-05-05 | Merge remote-tracking branch 'upstream/debian/sid' into debian/sid | Michael Vogt | |
2014-04-30 | Only do openpty() if both stdin/stdout are terminals | Michael Vogt | |
Closes: 746434 | |||
2014-04-28 | initialize Verify in second pkgAcqIndex constructor | David Kalnischkies | |
gcc reports in testcase ./test-bug-596498-trusted-unsigned-repo: apt-pkg/acquire-item.cc:1059:7: runtime error: load of value 234, which is not a valid value for type 'bool' This happens as the bool Verify is initialized only in one of the two constructors of the pkgAcqIndex class. It isn't a problem through as the verification controlled by this flag is optional and used to fail early on garbage files (like network portal pages) instead of later on in the hashsum verification or while parsing (the then untrusted) file. Reported-By: gcc-4.9 -fsanitize=undefined | |||
2014-04-28 | Merge branch 'feature/abspath' into feature/apt-install-deb | Michael Vogt | |
2014-04-28 | fix tests | Michael Vogt | |
2014-04-28 | use flAbsPath() | Michael Vogt | |
2014-04-28 | Merge branch 'feature/abspath' into feature/apt-install-deb | Michael Vogt | |
Conflicts: test/libapt/fileutl_test.cc | |||
2014-04-28 | add flAbsPath() as a wrapper to realpath() | Michael Vogt | |
2014-04-28 | use new Popen() | Michael Vogt | |
2014-04-28 | Merge branch 'feature/popen' into feature/apt-install-deb | Michael Vogt | |
2014-04-28 | Implement Popen() execv helper to avoid popen() | Michael Vogt | |