Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-12-27 | Merge branch 'feature/tests-on-installed' into debian/sid | Michael Vogt | |
2013-12-27 | Merge branch 'feature/test-apt-key-net-update' into debian/sid | Michael Vogt | |
2013-12-27 | Merge branch 'feature/policy-parser-bts732746' into debian/sid | Michael Vogt | |
2013-12-24 | add integration test | Michael Vogt | |
2013-12-23 | add basic tests for GetTempDir() | Michael Vogt | |
2013-12-21 | make /etc/apt/preferences parser deal with comment only sections | Michael Vogt | |
2013-12-19 | fix apt-key net-update test to use the buildin webserver | Michael Vogt | |
2013-12-13 | make apt-key net-update actually testable | Michael Vogt | |
2013-12-13 | implement POC client-side merging of pdiffs via apt-file | David Kalnischkies | |
The idea of pdiffs is to avoid downloading the hole file by patching the existing index. This works very well, but becomes slow if a lot of patches needs to be applied to reconstruct an up-to-date index and in recent years more and more dinstall (or similar) runs are executed creating more and more pdiffs in the same amount of time, so pdiffs became less useful. The solution is simple: Reduce the amount of patches (which are very small) which need to be applied on top of the index we have available (which is usually pretty big). This can be done in two ways: Either merge the patches on the server-side so that the client has to download only one patch or the patches are all downloaded and merged on the client-side. The first needs a client who is doing one step at a time who can also skip patches if it needs (APT supports this for a long time now). The later is implemented by this commit, but depends on the server NOT merging the patches and the patches being in a strict order in which no patch is skipped. This is traditionally the case for dak, but other repository creators support merging – e.g. reprepro (which helpfully adds a flag indicating that the patches are merged). To support both or even mixes a client needs more information which isn't available for now. This POC uses the external diffindex-rred included in apt-file to do the heavy lifting of merging & applying all patches in one pass, hence to test this feature apt-file needs to be installed. | |||
2013-12-13 | run autopkgtest against the installed apt | Michael Vogt | |
2013-12-12 | Merge remote-tracking branch 'mvo/bugfix/conffile' into debian/sid | Michael Vogt | |
2013-12-12 | Fix conffile prompt regression (LP: #1260297) | Michael Vogt | |
This fixes a regression in the conffile prompt for the progress-fd and adds a testcase to ensure this does not regress again. | |||
2013-12-12 | fix test/integration/test-apt-key-net-update | Michael Vogt | |
2013-12-12 | clarify error message when apt-get source=ver fails, print a real error ↵ | Michael Vogt | |
message instead of "ignoring" | |||
2013-12-11 | fix test/integration/test-apt-key-net-update (code copy/DRY violation) | Michael Vogt | |
2013-12-11 | improve error message | Michael Vogt | |
2013-12-11 | improve error message for apt-get source pkg:arch{=ver,/release} | Michael Vogt | |
2013-12-11 | add support for "apt-get source pkg:arch" | Michael Vogt | |
2013-12-10 | user-requested version tag gets precedence in apt-get source -t dist ↵ | Michael Vogt | |
pkg=version requests | |||
2013-12-10 | fix typo | Michael Vogt | |
2013-12-10 | improve test for #731853 and comments | Michael Vogt | |
2013-12-10 | if there is only deb-src pick higest version in deb-src release matching | Michael Vogt | |
2013-12-10 | Merge remote-tracking branch 'mvo/feature/deb-src-bts731102' into debian/sid | Michael Vogt | |
2013-12-09 | Merge remote-tracking branch 'origin/feature/deb-src-bts731102' into ↵ | Michael Vogt | |
feature/source-deb822 | |||
2013-12-05 | fix section adding | Michael Vogt | |
2013-12-05 | add unittest for new sourceslist parser as well | Michael Vogt | |
2013-12-05 | first version with test | Michael Vogt | |
2013-12-04 | add test for aptget source for unavailable package | Michael Vogt | |
2013-12-04 | further refactor, extract GetReleaseForSourceRecord() out of FindSrc(), ↵ | Michael Vogt | |
write out the selection notice to c1out to be consistent with the rest of the source | |||
2013-12-04 | add test, deal with InRelease | Michael Vogt | |
2013-12-01 | cherry-pick ubuntus (disabled) net-update fixes | David Kalnischkies | |
With the net-update command a special keyring can be downloaded and imported into apt, which must be signed by a master key. Its is currently disabled because of security problems with it – and the only known user before that was Ubuntu. | |||
2013-11-30 | tests: add a webserverconfig method to abstract config | David Kalnischkies | |
The URI to use to set a config option is a bit arcane to write/remember and checking if the setting was successful doubly so. Git-Dch: Ignore | |||
2013-11-30 | tests: rm pkgcache.bin in 719263 test | David Kalnischkies | |
As testcases are running really fast it can happen that files which are changed in reality are considered unchanged as the modify time isn't changed. What we could do is disable those caches by default, but some tests actually depend on those and deriving too much from the default by default (pun intended) is not a good idea for tests after all. Git-Dch: Ignore | |||
2013-11-30 | webserver: use pthreads to handle multiple clients | David Kalnischkies | |
Clients like browsers prefer to open many connections and keep them open for a while, so that pages with lot of subelements would take a while to load (if at all), by using threads as all servers do some way or another we can resolve this. libapt is not intended to be pthread-safe and stuff like the storage of the last return code doesn't make too much sense if multiple clients interact with us, but it is good enough for now and an other interesting (mis)use of libapt in general. Git-Dch: Ignore | |||
2013-11-30 | webserver: strip parameters from filename | David Kalnischkies | |
Again, not (currently) used by the tests itself, but in interactive usage of the webserver itself. Git-Dch: Ignore | |||
2013-11-30 | webserver: add directoryIndex support defaulting to index.html | David Kalnischkies | |
Git-Dch: Ignore | |||
2013-11-30 | webserver: implement ~user access to ~user/public_html/ | David Kalnischkies | |
pretty much useless for the testcases, but handy to test the webserver itself in 'real world' environments Git-Dch: Ignore | |||
2013-11-30 | tests: enhance https support in the testcases | David Kalnischkies | |
Git-Dch: Ignore | |||
2013-11-30 | webserver: spurious newline after data confuses curl | David Kalnischkies | |
Webserver wrongly sends an additional newline after the data which causes curl to believe that the next request on this socket has no header data and so includes all headers in the data output. Git-Dch: Ignore | |||
2013-11-29 | fix crash when SetCandidateRelease is used | Michael Vogt | |
2013-11-29 | Merge remote-tracking branch 'mvo/debian/sid' into debian/sid | Michael Vogt | |
Conflicts: apt-private/private-cmndline.cc | |||
2013-11-29 | add "APT::String::Endswith" and automatic adding of ".list" in apt edit-source | Michael Vogt | |
2013-11-28 | add missing test/integration/test-bug-720597-build-dep-purge | Michael Vogt | |
2013-10-22 | Merge remote-tracking branch 'upstream/debian/sid' into ↵ | Michael Vogt | |
feature/install-progress-refactor Conflicts: apt-pkg/deb/dpkgpm.cc apt-pkg/makefile | |||
2013-10-22 | fix failing ./test/integration/test-disappearing-packages (thanks Donkult) - ↵ | Michael Vogt | |
ported from the mvo/feature/install-progress-refactor branch | |||
2013-10-22 | test/integration/run-tests: output the failed test names | Michael Vogt | |
2013-10-22 | use Pkg.FullName() in disappearedPkgs and remove duplicated check | Michael Vogt | |
2013-10-21 | add APT::Status-deb822-Fd | Michael Vogt | |
2013-10-21 | restore binary compatiblity with the pkgPackageManager interface | Michael Vogt | |
2013-10-21 | fix apt output ordering and update test to match the new human friendly ↵ | Michael Vogt | |
messages that include the architecture |