summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'mvo/feature/apt-show-nice' into ↵Michael Vogt2014-01-245-54/+117
|\ | | | | | | | | | | | | debian/experimental-no-abi-break Conflicts: apt-private/private-cmndline.cc
| * hide more from apt showMichael Vogt2014-01-242-8/+15
| | | | | | | | | | | | | | 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 APT-Sources in apt showMichael Vogt2014-01-242-7/+14
| |
| * Show "Manual-Installed: {yes|no}" in apt showMichael Vogt2014-01-242-1/+16
| |
| * include "Archive-Origin" in the apt show outputMichael Vogt2014-01-233-1/+8
| |
| * Show only the candidate with "apt show"Michael Vogt2014-01-232-1/+13
| | | | | | | | | | Display only the candidate version with "apt show pkg" but show a notice that there is more to see.
| * "apt show" show user friendly size infoMichael Vogt2014-01-223-50/+65
| | | | | | | | | | | | 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-249-47/+87
|\ \ | | | | | | | | | debian/experimental-no-abi-break
| * \ Merge remote-tracking branch 'ajt/better-pdiffs-dk' into debian/sidMichael Vogt2014-01-2471-4978/+6494
| |\ \
| | * | methods/rred: minor robustness improvementsAnthony Towns2014-01-211-19/+20
| | | | | | | | | | | | | | | | | | | | Use retry_fwrite to better handle partial fwrite successes, and to keep the Hashes in sync with what's actually written.
| * | | apt-mark help shows all commands nowMichael Vogt2014-01-241-0/+5
| | | |
| * | | add "apt full-upgrade" and tweak "apt upgrade"Michael Vogt2014-01-247-28/+62
| | |/ | |/| | | | | | | | | | | | | | | | | | | 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".
* | | releasing package apt version 0.9.14.3~exp4Michael Vogt2014-01-2255-1749/+1978
| | |
* | | Merge remote-tracking branch 'mvo/debian/sid' into ↵Michael Vogt2014-01-225-2/+74
|\| | | | | | | | | | | debian/experimental-no-abi-break
| * | add test for apt showMichael Vogt2014-01-223-4/+31
| | |
| * | add integration test for apt searchMichael Vogt2014-01-223-1/+46
| | |
* | | 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
| | | | | | |