summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'mvo/feature/apt-show-nice' into ↵Michael Vogt2014-01-241-3/+6
|\ | | | | | | | | | | | | debian/experimental-no-abi-break Conflicts: apt-private/private-cmndline.cc
| * hide more from apt showMichael Vogt2014-01-241-5/+3
| | | | | | | | | | | | | | Hide the Hashes,Filename,Multi-Arch,Architecture by default from "apt show". The information is still available via apt-cache show. Also improve the output of the Size-
| * Show "Manual-Installed: {yes|no}" in apt showMichael Vogt2014-01-241-1/+4
| |
| * include "Archive-Origin" in the apt show outputMichael Vogt2014-01-231-0/+1
| |
| * "apt show" show user friendly size infoMichael Vogt2014-01-221-1/+2
| | | | | | | | | | | | The size/installed-size is displayed via SizeToStr() and Size is rewriten to "Download-Size" to make clear what size is refered to here.
* | Merge remote-tracking branch 'mvo/debian/sid' into ↵Michael Vogt2014-01-241-0/+34
|\ \ | | | | | | | | | debian/experimental-no-abi-break
| * \ Merge remote-tracking branch 'ajt/better-pdiffs-dk' into debian/sidMichael Vogt2014-01-247-30/+319
| |\ \
| * | | add "apt full-upgrade" and tweak "apt upgrade"Michael Vogt2014-01-241-0/+34
| | |/ | |/| | | | | | | | | | | | | | | | | | | There is a new "apt full-upgrade" that performs a apt-get dist-upgrade. "apt dist-upgrade" is still supported as a alias. The "apt upgrade" code is changed so that it mirrors the behavior of "apt-get upgrade --with-new-pkgs" and also honors "apt uprade --no-new-pkgs".
* | | Merge remote-tracking branch 'mvo/debian/sid' into ↵Michael Vogt2014-01-223-0/+71
|\| | | | | | | | | | | debian/experimental-no-abi-break
| * | add test for apt showMichael Vogt2014-01-222-3/+29
| | |
| * | add integration test for apt searchMichael Vogt2014-01-222-0/+45
| | |
* | | Merge remote-tracking branch 'upstream/debian/experimental-no-abi-break' ↵Michael Vogt2014-01-217-72/+258
|\ \ \ | | |/ | |/| | | | | | | | | | | | | into feature/source-deb822 Conflicts: test/integration/test-apt-sources-deb822
| * | Merge remote-tracking branch 'mvo/feature/source-deb822' into ↵Michael Vogt2014-01-182-5/+5
| |\ \ | | | | | | | | | | | | debian/experimental-no-abi-break
| * \ \ Merge remote-tracking branch 'mvo/feature/source-deb822' into ↵Michael Vogt2014-01-182-3/+3
| |\ \ \ | | | | | | | | | | | | | | | debian/experimental-no-abi-break
| * \ \ \ Merge remote-tracking branch 'mvo/debian/sid' into ↵Michael Vogt2014-01-182-4/+53
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | debian/experimental-no-abi-break
| | * | | add missing integration test for "apt list"Michael Vogt2014-01-172-4/+53
| | | | |
| * | | | merged mvo/feature/deb822Michael Vogt2014-01-162-20/+19
| |\ \ \ \
| * | | | | rework some testcases to not spit out textDavid Kalnischkies2014-01-154-51/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rework also uncovers two FIXMEs Git-Dch: Ignore
| * | | | | integrate Anthonys rred with POC for client-side mergeDavid Kalnischkies2014-01-151-7/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Providing the benefits of both without the downsides :) (ABI breaks or external dependencies) For this Anthonys rred is equipped with: - magic-filename-pickup of patches rather than explicit messages - use of FileFd instead of FILE* to get on-the-fly uncompress of the gzip compressed pdiff patches The acquire code in turn stops checking for apt-file's helper as our own rred is now clever enough for our needs.
| * | | | | actually register the tempfile removal atexitDavid Kalnischkies2014-01-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Git-Dch: Ignore
| * | | | | Merge remote-tracking branch 'mvo/feature/source-deb822' into ↵Michael Vogt2014-01-054-2/+149
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | debian/experimental-no-abi-break
| * \ \ \ \ \ Merge remote-tracking branch 'donkult/feature/clientmergepdiffs' into ↵Michael Vogt2014-01-051-20/+127
| |\ \ \ \ \ \ | | |_|_|/ / / | |/| | | | | | | | | | | | debian/experimental-no-abi-break
| | * | | | | implement POC client-side merging of pdiffs via apt-fileDavid Kalnischkies2013-12-131-20/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | add support for multipl types in one lineMichael Vogt2014-01-202-7/+14
| | | | | | |
* | | | | | | add support for multiple URIs in deb822 style sources.listMichael Vogt2014-01-202-3/+12
| | | | | | |
* | | | | | | add support for Enabled: no in deb822 sources.listMichael Vogt2014-01-201-0/+4
| | | | | | |
* | | | | | | add Description tag for deb822 sourcesMichael Vogt2014-01-202-5/+5
| |_|_|_|_|/ |/| | | | |
* | | | | | rename "Suite/Section" to pluralMichael Vogt2014-01-182-5/+5
| |_|_|_|/ |/| | | |
* | | | | implement suggestion by donkult (thanks!)Michael Vogt2014-01-172-3/+3
| |_|_|/ |/| | |
* | | | update libapt testMichael Vogt2014-01-161-4/+4
| | | |
* | | | support multiple "Suite:" entriesMichael Vogt2014-01-161-0/+8
| | | |
* | | | rename URL to Uri in deb822-sourcesMichael Vogt2014-01-161-1/+1
| | | |
* | | | rename "distribution" in sources.list to "suite"Michael Vogt2014-01-161-2/+2
| | | |
* | | | * refactor to have a new virtual ParseStanzaMichael Vogt2014-01-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Have a similar ParseStanza() to the current ParseLine(). Rename the Architectures options in deb822 to make it more user friendly
* | | | remove "," in components againMichael Vogt2014-01-161-11/+0
| |_|/ |/| |
* | | improve error messageMichael Vogt2014-01-041-8/+22
| | |
* | | improve testsMichael Vogt2014-01-042-7/+27
| | |
* | | Merge branch 'debian/sid' into feature/source-deb822Michael Vogt2014-01-0414-87/+232
|\| |
| * | fix APTWEBSERVERBINDIR defaultMichael Vogt2013-12-271-1/+1
| | |
| * | Merge branch 'feature/tests-on-installed' into debian/sidMichael Vogt2013-12-271-4/+13
| |\ \
| | * | run autopkgtest against the installed aptMichael Vogt2013-12-131-4/+13
| | | |
| * | | Merge branch 'feature/test-apt-key-net-update' into debian/sidMichael Vogt2013-12-277-97/+26
| |\ \ \
| | * | | fix apt-key net-update test to use the buildin webserverMichael Vogt2013-12-197-109/+24
| | | | |
| | * | | make apt-key net-update actually testableMichael Vogt2013-12-131-0/+14
| | |/ /
| * | | Merge branch 'feature/policy-parser-bts732746' into debian/sidMichael Vogt2013-12-271-0/+32
| |\ \ \
| | * | | make /etc/apt/preferences parser deal with comment only sectionsMichael Vogt2013-12-211-0/+32
| | |/ /
| * | | add integration testMichael Vogt2013-12-241-0/+18
| | | |
| * | | add basic tests for GetTempDir()Michael Vogt2013-12-231-0/+13
| | |/ | |/|
| * | Merge remote-tracking branch 'mvo/bugfix/conffile' into debian/sidMichael Vogt2013-12-123-2/+64
| |\ \
| | * | Fix conffile prompt regression (LP: #1260297)Michael Vogt2013-12-121-0/+43
| | |/ | | | | | | | | | | | | This fixes a regression in the conffile prompt for the progress-fd and adds a testcase to ensure this does not regress again.