summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-01-15rework some testcases to not spit out textDavid Kalnischkies
Rework also uncovers two FIXMEs Git-Dch: Ignore
2014-01-15integrate Anthonys rred with POC for client-side mergeDavid Kalnischkies
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.
2014-01-15reimplement rred to allow applying all the diffs in a single passAnthony Towns
Based on the idea presented in: https://lists.debian.org/deity/2009/08/msg00169.html and https://lists.debian.org/debian-devel/2014/01/msg00081.html It reads all patches one by one and merges them in-memory before applying the merged changes to the index. Beware: This commit by David Kalnischkies rips out the rred binary rewrite unchanged (expect minor format issue corrections) from the proposed changes, so this commit alone BREAKS pdiff completely. The integration into the acquire system as it was prepared in the previous POC will be done in the next commit to have proper 'blame'.
2014-01-15actually register the tempfile removal atexitDavid Kalnischkies
Git-Dch: Ignore
2014-01-15reenable unlimited pdiff files downloadDavid Kalnischkies
In 51fc6def77edfb1f429a48e5169519e9e05a759b we limited the amount of pdiff to be downloaded per index to 20. This was a compromise between not letting it go overboard (becoming even slower) and not using bandwidth needlessly. Now that with the POC the speed reason is gone it makes sense again to download as much files as we possible can via pdiff to save bandwidth (and possibly even time). It also avoids problems with the limit in cases we were we deal with a server merged archieve as this limit assumes a strict patch progression.
2014-01-15correct IndexDiff vs DiffIndex in Debug outputAnthony Towns
2014-01-05debian/rules: Call dh_makeshlibs for 'apt'Julian Andres Klode
The package ships libapt-private now, so we need an ldconfig call in postinst. dh_makeshlibs creates one for us. Reported-by: lintian
2014-01-05prepare 0.9.14.3~exp10.9.14.3.exp1Michael Vogt
2014-01-05prepare 0.9.14.3~exp1Michael Vogt
2014-01-05Merge remote-tracking branch 'mvo/feature/source-deb822' into ↵Michael Vogt
debian/experimental-no-abi-break
2014-01-05Merge remote-tracking branch 'donkult/feature/clientmergepdiffs' into ↵Michael Vogt
debian/experimental-no-abi-break
2014-01-04improve error messageMichael Vogt
2014-01-04improve testsMichael Vogt
2014-01-04Merge branch 'debian/sid' into feature/source-deb822Michael Vogt
2014-01-04Merge branch 'debian/sid' into feature/source-deb822Michael Vogt
2014-01-01l10n: vi.po (617t): Update translation up to v0.9.14.2Trần Ngọc Quân
Signed-off-by: Michael Vogt <mvo@debian.org>
2014-01-01l10n: vi.po(617t): Update Vietnamese translationTrần Ngọc Quân
Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
2013-12-29prepare release0.9.14.2Michael Vogt
2013-12-29vendor/ubuntu/sources.list.in: whitespace fixMichael Vogt
2013-12-29update changelogMichael Vogt
2013-12-29Merge remote-tracking branch 'mvo/debian/sid' into debian/sidMichael Vogt
2013-12-28add missing vector includeMichael Vogt
2013-12-28Merge branch 'debian/sid' into bugfix/bts731738-fancy-progessMichael Vogt
Conflicts: apt-pkg/install-progress.cc
2013-12-28Merge remote-tracking branch 'origin/bugfix/bts731738-fancy-progess' into ↵Michael Vogt
bugfix/bts731738-fancy-progess Conflicts: apt-pkg/install-progress.cc
2013-12-28properly handle SIGWINCH in PackageManagerFancy againMichael Vogt
2013-12-27fix APTWEBSERVERBINDIR defaultMichael Vogt
2013-12-27add make -C test/interactive-helper/ to .travis.ymlMichael Vogt
2013-12-27Merge branch 'feature/tests-on-installed' into debian/sidMichael Vogt
2013-12-27Merge branch 'feature/test-apt-key-net-update' into debian/sidMichael Vogt
2013-12-27Merge branch 'feature/policy-parser-bts732746' into debian/sidMichael Vogt
2013-12-27remove debian entry from default steamos sources.listMichael Vogt
2013-12-24add integration testMichael Vogt
2013-12-23add basic tests for GetTempDir()Michael Vogt
2013-12-22factor GetTempDir outMichael Vogt
2013-12-22apt-pkg/contrib/gpgv.cc: use /tmp as fallback dirThomas Bechtold
if the directory given by $TMPDIR is not available, use /tmp as fallback.
2013-12-22first proof-of-concept for a fix for #731738Michael Vogt
2013-12-22first proof-of-concept for a fix for #731738Michael Vogt
2013-12-21make /etc/apt/preferences parser deal with comment only sectionsMichael Vogt
2013-12-21vendor/steamos/*:Michael Vogt
* vendor/steamos/*: - add steamos support
2013-12-21vendor/getinfo:Michael Vogt
* vendor/getinfo: - fix ubuntu-codename
2013-12-21add apt-vendor for raspbian. Closes: #732749Michael Vogt
2013-12-19fix apt-key net-update test to use the buildin webserverMichael Vogt
2013-12-15Danish translation updateJoe Dalton
2013-12-13make apt-key net-update actually testableMichael Vogt
2013-12-13implement POC client-side merging of pdiffs via apt-fileDavid 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-13allow ':' in GetListOfFilesInDirDavid Kalnischkies
run-parts doesn't allow this char in valid filenames, but we tend to have files with this character in e.g. /var/lib/apt/lists/ Git-Dch: Ignore
2013-12-13query an empty pkgAcqIndexDiffs if index is up-to-dateDavid Kalnischkies
The previous code already did this, this is just being a hell of a lot more obvious, so that it isn't that easy to break in the future. Git-Dch: Ignore
2013-12-13run autopkgtest against the installed aptMichael Vogt
2013-12-12releasing package apt version 0.9.14.1Michael Vogt
2013-12-12Merge remote-tracking branch 'mvo/bugfix/conffile' into debian/sidMichael Vogt