summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'upstream/debian/experimental-no-abi-break' ↵Michael Vogt2014-01-2175-5014/+6342
|\ | | | | | | | | | | | | into feature/source-deb822 Conflicts: test/integration/test-apt-sources-deb822
| * do not ignore ioctl(TIOCSCTTY) errorsMichael Vogt2014-01-181-9/+19
| | | | | | | | | | Show a proper error message when a ioctl() in dpkgpm.cc fails. Also simply StartPtyMagic() a bit.
| * releasing package apt version 0.9.14.3~exp3Michael Vogt2014-01-1855-4605/+4863
| |
| * * implement deb822 suggestions from donkult (thanks!):Michael Vogt2014-01-181-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - rename "Dist" to "Suites" - rename "Section" to "Sections" - rename "Architectures-Delete" to "Architectures-Remove" - rename "Uri" to "URI" * add "apt list --manual-installed" * add "apt upgrade --dist" * add "apt purge" * flock() the file edited in "apt edit-sources" * apt-private/private-show.cc: - do not show Description-lang: header * reword apt !isatty() warning * add missing integration test for "apt list" and fix bugs found by it
| * Merge remote-tracking branch 'mvo/feature/source-deb822' into ↵Michael Vogt2014-01-184-12/+12
| |\ | | | | | | | | | debian/experimental-no-abi-break
| * \ Merge remote-tracking branch 'mvo/feature/source-deb822' into ↵Michael Vogt2014-01-184-7/+7
| |\ \ | | | | | | | | | | | | debian/experimental-no-abi-break
| * \ \ Merge remote-tracking branch 'mvo/debian/sid' into ↵Michael Vogt2014-01-189-27/+116
| |\ \ \ | | | | | | | | | | | | | | | debian/experimental-no-abi-break
| | * | | add purge to the apt cmdlineMichael Vogt2014-01-171-1/+5
| | | | |
| | * | | add missing integration test for "apt list"Michael Vogt2014-01-175-21/+79
| | | | |
| | * | | reword !isatty() warningMichael Vogt2014-01-171-4/+3
| | | | |
| | * | | add apt upgrade --distMichael Vogt2014-01-172-1/+15
| | | | |
| | * | | apt-private/private-show.cc: do not show Description-lang: header, the user ↵Michael Vogt2014-01-161-3/+2
| | | | | | | | | | | | | | | | | | | | probably knows his language (thanks to Donkult)
| | * | | add --manual-installed commandline switchMichael Vogt2014-01-162-0/+10
| | | | |
| | * | | flock() the file edited in edit-sourcesMichael Vogt2014-01-061-0/+5
| | | | |
| * | | | prepare uploadMichael Vogt2014-01-161-1/+8
| | | | |
| * | | | merged mvo/feature/deb822Michael Vogt2014-01-165-67/+106
| |\ \ \ \
| * | | | | prepare new uploadMichael Vogt2014-01-161-0/+15
| | | | | |
| * | | | | 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-153-83/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | reimplement rred to allow applying all the diffs in a single passAnthony Towns2014-01-151-600/+684
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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'.
| * | | | | actually register the tempfile removal atexitDavid Kalnischkies2014-01-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Git-Dch: Ignore
| * | | | | reenable unlimited pdiff files downloadDavid Kalnischkies2014-01-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | correct IndexDiff vs DiffIndex in Debug outputAnthony Towns2014-01-151-6/+6
| | | | | |
| * | | | | debian/rules: Call dh_makeshlibs for 'apt'Julian Andres Klode2014-01-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The package ships libapt-private now, so we need an ldconfig call in postinst. dh_makeshlibs creates one for us. Reported-by: lintian
| * | | | | prepare 0.9.14.3~exp1Michael Vogt2014-01-0547-1381/+1814
| | | | | |
| * | | | | prepare 0.9.14.3~exp1Michael Vogt2014-01-051-0/+13
| | | | | |
| * | | | | Merge remote-tracking branch 'mvo/feature/source-deb822' into ↵Michael Vogt2014-01-056-13/+244
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | debian/experimental-no-abi-break
| * \ \ \ \ \ Merge remote-tracking branch 'donkult/feature/clientmergepdiffs' into ↵Michael Vogt2014-01-055-64/+480
| |\ \ \ \ \ \ | | |_|_|/ / / | |/| | | | | | | | | | | | debian/experimental-no-abi-break
| | * | | | | implement POC client-side merging of pdiffs via apt-fileDavid Kalnischkies2013-12-134-56/+470
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | | | | allow ':' in GetListOfFilesInDirDavid Kalnischkies2013-12-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | | | | query an empty pkgAcqIndexDiffs if index is up-to-dateDavid Kalnischkies2013-12-131-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | add support for multipl types in one lineMichael Vogt2014-01-204-21/+33
| | | | | | |
* | | | | | | add support for multiple URIs in deb822 style sources.listMichael Vogt2014-01-204-16/+32
| | | | | | |
* | | | | | | add support for Enabled: no in deb822 sources.listMichael Vogt2014-01-203-2/+11
| | | | | | |
* | | | | | | add Description tag for deb822 sourcesMichael Vogt2014-01-203-5/+9
| |_|_|_|_|/ |/| | | | |
* | | | | | rename "Suite/Section" to pluralMichael Vogt2014-01-184-12/+12
| |_|_|_|/ |/| | | |
* | | | | implement suggestion by donkult (thanks!)Michael Vogt2014-01-174-7/+7
| |_|_|/ |/| | |
* | | | update libapt testMichael Vogt2014-01-161-4/+4
| | | |
* | | | support multiple "Suite:" entriesMichael Vogt2014-01-162-9/+26
| | | |
* | | | rename URL to Uri in deb822-sourcesMichael Vogt2014-01-163-4/+4
| | | |
* | | | rename "distribution" in sources.list to "suite"Michael Vogt2014-01-163-21/+23
| | | |
* | | | * refactor to have a new virtual ParseStanzaMichael Vogt2014-01-163-27/+45
| | | | | | | | | | | | | | | | | | | | | | | | 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-162-16/+1
| | | |
* | | | document deb822 style sources.listMichael Vogt2014-01-061-1/+16
| |_|/ |/| |
* | | improve error messageMichael Vogt2014-01-043-21/+45
| | |
* | | improve testsMichael Vogt2014-01-043-8/+29
| | |
* | | Merge branch 'debian/sid' into feature/source-deb822Michael Vogt2014-01-0457-932/+1045
|\| |
| * | l10n: vi.po (617t): Update translation up to v0.9.14.2Trần Ngọc Quân2014-01-011-4/+4
| | | | | | | | | | | | Signed-off-by: Michael Vogt <mvo@debian.org>
| * | l10n: vi.po(617t): Update Vietnamese translationTrần Ngọc Quân2014-01-011-126/+174
| | | | | | | | | | | | Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
| * | prepare releaseMichael Vogt2013-12-2955-800/+852
| | |