summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-12releasing package apt version 0.9.14.1Michael Vogt
2013-12-12Merge remote-tracking branch 'mvo/bugfix/conffile' into debian/sidMichael Vogt
2013-12-12Fix 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-12fix test/integration/test-apt-key-net-updateMichael Vogt
2013-12-12clarify error message when apt-get source=ver fails, print a real error ↵Michael Vogt
message instead of "ignoring"
2013-12-11fix test/integration/test-apt-key-net-update (code copy/DRY violation)Michael Vogt
2013-12-11improve error messageMichael Vogt
2013-12-11improve error message for apt-get source pkg:arch{=ver,/release}Michael Vogt
2013-12-11add support for "apt-get source pkg:arch"Michael Vogt
2013-12-10user-requested version tag gets precedence in apt-get source -t dist ↵Michael Vogt
pkg=version requests
2013-12-10fix typoMichael Vogt
2013-12-10improve test for #731853 and commentsMichael Vogt
2013-12-10if there is only deb-src pick higest version in deb-src release matchingMichael Vogt
2013-12-10Merge remote-tracking branch 'mvo/feature/deb-src-bts731102' into debian/sidMichael Vogt
2013-12-07really release 0.9.140.9.14Michael Vogt
2013-12-07do not force a specific export-dir in the repositoryDavid Kalnischkies
Git-Dch: Ignore
2013-12-07ensure prepare-release works in the right directoryDavid Kalnischkies
Git-Dch: Ignore
2013-12-07releasing package apt version 0.9.14Michael Vogt
2013-12-07update libapt-pkg4.12 symbols fileDavid Kalnischkies
also fixing the release script code to deal with 'set -e' mode while checking the symbols file.
2013-12-07tell the release script that we use git nowDavid Kalnischkies
Git-Dch: Ignore
2013-12-07fix release script to deal with vendorsDavid Kalnischkies
Call xmllint with each vendor to check if any vendor specific errors are present, but check the translations only with one vendor to check for translation specifics – vendor and translation specific isn't possible. Git-Dch: Ignore
2013-12-06releasing package apt version 0.9.13.2Michael Vogt
2013-12-06fix build failure with the new apt-vendors stuffMichael Vogt
2013-12-06Handle SIGWINCH in APT::Progress-Fancy=1Michael Vogt
2013-12-06vendor/debian/makefile: apply 6f3c4e33 for debian/makefile as wellMichael Vogt
2013-12-06vendor/makefile: fix build error for parallel buildsMichael Vogt
2013-12-05* document Dpkg::Progress-Fancy (closes: 726169), thanks to James McCoyMichael Vogt
2013-12-05* enable release based selection for deb-src (closes: 731102)Michael Vogt
2013-12-05remove exposing {MetaIndexInfo,MetaIndexFile,MetaIndexURI} again as this is ↵Michael Vogt
package system specific
2013-12-05add new LocalFileName() method to metaindexMichael Vogt
2013-12-04refactorMichael Vogt
2013-12-04add #ifdefed ABI break & cleaner solution once the abi break is in placeMichael Vogt
2013-12-04use MetaIndexFile() instead of MetaIndexURI()Michael Vogt
2013-12-04refactor FindSrc()Michael Vogt
2013-12-04add test for aptget source for unavailable packageMichael Vogt
2013-12-04further 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-04refactor and move generation of the MetaIndex FileName out of the FindSrc()Michael Vogt
2013-12-04add test, deal with InReleaseMichael Vogt
2013-12-03proof-of-concept for fixing debian #731102Michael Vogt
2013-12-01prepare-release: declare the packages needed as source build deps.Steve Langasek
2013-12-01drop old /var/state to /var/lib transition artefactsDavid Kalnischkies
Regardless of when this transition was, it is so long ago that everyone who would still need this has a million other problems to deal with now so lets just drop this code.
2013-12-01generate apt-key script with vendor info about keysDavid Kalnischkies
The apt-key script uses quiet a few keyring files for operation which are specific to the distribution it is build on and is hence one of the most patched parts – even if it is not that often used anymore now that a fragment directory for trusted.gpg exists.
2013-12-01cherry-pick ubuntus (disabled) net-update fixesDavid 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-30use a substvar to set the archive-keyring in debian/controlDavid Kalnischkies
Adds a small helper to extract the small information bits we store in apt-vendor.ent and uses it in debian/rules to set apt:keyring as a substvar for debian/control populated with the &keyring-package; info
2013-11-30add a vendor specific file to have configurable entitiesDavid Kalnischkies
manpages sometimes refer to distro-specific things like the name of the package providing the achive-keyring. Having a central place to configure this helps in having it consistent in the manpages and allows to load this info from other places in the buildsystem as well later.
2013-11-30introduce a vendor system to change sources.listDavid Kalnischkies
Many derivatives make quiet a few simple changes to apt introducing silly diffs just to change examples and co making it harder for them to update apt and harder for us to merge real changes back. First stop: doc/examples/sources.list
2013-11-30enable NOISE for build logs to enable analyseDavid Kalnischkies
It was enabled for a (long) while in Ubuntu, but it shouldn't hurt to enable it in Debian as well – especially now that Debian has automatic analyses of the buildlogs which don't work that well without the 'noise'