Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-10-14 | re-add APT::Keep-Fds:: for the dpkg status-fd in dpkgpm.cc as we always need ↵ | Michael Vogt | |
this | |||
2013-10-14 | rename APT::Progress::Packagemanager Started->Start, Finished->Stop to match ↵ | Michael Vogt | |
pkgAcquireStatus | |||
2013-10-14 | refactor writing to WriteToStatusFd() | Michael Vogt | |
2013-10-13 | add APT::Progress::PackageManager::Pulse() | Michael Vogt | |
2013-10-13 | move the status-fd progress reporting out of the pkgDPkgPM class, at this ↵ | Michael Vogt | |
point, breaks ABI/API, lets see what we can do about this | |||
2013-10-11 | move common code into PackageManager::StatusChanged() | Michael Vogt | |
2013-10-11 | deal with nr_terminal_rows unavailable | Michael Vogt | |
2013-10-11 | first iteration of install progress refactor | Michael Vogt | |
2013-10-09 | Merge branch 'debian/sid' of ssh://git.debian.org/git/apt/apt into debian/sid | Michael Vogt | |
2013-10-09 | fix typo | Michael Vogt | |
2013-10-09 | fix typo | Michael Vogt | |
2013-10-09 | releasing package apt version 0.9.12 | Michael Vogt | |
2013-10-09 | update changelog | Michael Vogt | |
2013-10-09 | Merge remote-tracking branch 'mvo/feature/limit-default-pdiffs' into debian/sid | Michael Vogt | |
2013-10-09 | Merge remote-tracking branch 'mvo/feature/add-upgrade-mode-test' into debian/sid | Michael Vogt | |
2013-10-09 | fixup various UI issues in the test | Michael Vogt | |
2013-10-09 | really fix test | Michael Vogt | |
2013-10-09 | use "insertpackage" instead of "buildsimplenativepackage" | Michael Vogt | |
2013-10-09 | update Uploaders to match recent uploaders better | Michael Vogt | |
2013-10-09 | add test for upgrade, upgrade --with-new-pkgs, dist-upgrade | Michael Vogt | |
2013-10-08 | apt-pkg/deb/dpkgpm.cc: fix off-by-one in SetupTerminalScrollArea reset | Michael Vogt | |
2013-10-08 | prepare new release | Michael Vogt | |
2013-10-08 | Merge remote-tracking branch 'mvo/feature/dpkg-progress-fancy' into debian/sid | Michael Vogt | |
2013-10-08 | Merge remote-tracking branch 'mvo/feature/upgrade-with-new' into debian/sid | Michael Vogt | |
2013-10-08 | Merge remote-tracking branch 'mvo/feature/dpkg-progress-docs' into debian/sid | Michael Vogt | |
2013-10-08 | debian/apt.postinst: use --compare-versions lt instead of lt-nl, to ensure ↵ | Michael Vogt | |
the apt-auto-removal file is correctly create, thanks to Ben Hutchings | |||
2013-10-07 | fix off-by-one error in pkgDPkgPM::SetupTerminalScrollArea() | Michael Vogt | |
2013-10-07 | fix libapt-inst for >2G debs (closes: #725483) | Michael Vogt | |
2013-10-07 | use Dpkg::Progress-Fancy to be consitent with Dpkg::Progress | Michael Vogt | |
2013-10-07 | add -o DpkgPM::Progress-Fancy for better dpkg progress output on vt100+ ↵ | Michael Vogt | |
terminals | |||
2013-10-05 | Merge remote-tracking branch 'donkult/debian/sid' into debian/sid | Michael Vogt | |
2013-10-05 | Merge remote-tracking branch 'mvo/bugfix/dpkg-progress-multiarch' into ↵ | Michael Vogt | |
debian/sid | |||
2013-10-03 | tests: install --no-install-recommends and stunnel4 for travis | David Kalnischkies | |
stunnel4 is required for https tests Git-Dch: Ignore | |||
2013-10-03 | test: use a multiarch capable dpkg rather than workaround | David Kalnischkies | |
The tests require nowadays a (somewhat) multiarch-capable dpkg, so replace the workaround as marked in the FIXME with a proper install as the workaround isn't working always correctly, letting the test fail. Git-Dch: Ignore | |||
2013-10-03 | do not ++ on erased package pointers in autoremove | David Kalnischkies | |
Symptom: In an Ubuntu precise chroot (like on travis-ci) test-bug-613420-new-garbage-dependency segfaults in a std::set operator++ on an iterator we have erased previously (but not if run under gdb of course) | |||
2013-10-03 | fix lzma-support detection via xz binary | David Kalnischkies | |
Clear() only clears a config option, not removing it and an empty setting still exists. Hence we set the option instead to the xz path so that the later existance check can find a binary for the test | |||
2013-10-03 | use pkgAcqArchive in 'download' for proper errors | David Kalnischkies | |
With a bit of trickery we can reuse the usual infrastructure we have in place to acquire deb files for the 'download' operation as well, which gains us authentification check & display, error messages, correct filenames and "downloads" from the root-owned archives. | |||
2013-10-03 | put fetch errors in 'source' on our errorstack | David Kalnischkies | |
refactor the fetching process so that it looks more like the others we have in the hope that we can reuse code in the future. This is a soft interface change as 'source' previously printed errors directly on stderr, while it will now push it onto our usual error stack. | |||
2013-10-03 | refactor onError relabeling of DestFile as '.FAILED' | David Kalnischkies | |
This helps ensure three things: - each error is reported via ReportMirrorFailure - if DestFile doesn't exist, do not attempt rename - renames happen for every error The last one wasn't the case for Size mismatches, which isn't nice, but not a exploitable problem per-se as the file isn't picked up and remains in partial/ where the following download-try will at most take it for a partial request which fails the hashsum verification later on Git-Dch: Ignore | |||
2013-10-02 | tests: fix some problems travis encounters | David Kalnischkies | |
Git-Dch: Ignore | |||
2013-10-02 | Merge remote-tracking branch 'origin/bugfix/dpkg-progress-multiarch' into ↵ | Michael Vogt | |
bugfix/dpkg-progress-multiarch | |||
2013-10-02 | make dpkg progress slightly nicer | Michael Vogt | |
2013-10-01 | change maxsplit default from "0" to maxint | Michael Vogt | |
2013-10-01 | improve documentation for StringSplit() | Michael Vogt | |
2013-10-01 | rename "--dpkg-progress" to "--show-progress" and document it in apt-get.8 | Michael Vogt | |
2013-10-01 | don't consider holds for autoremoval | David Kalnischkies | |
We can't remove packages which are held back by the user with a hold, so marking them (or its dependencies) as garbage will lead our autoremover into madness – and given that the package is important enough that the user has held it back it can't be garbage (at least at the moment), so even if a front-end wants to use the info just for information display its a good idea to not consider it garbage for them. Closes: 724995 | |||
2013-10-01 | handle complete responses to https range requests | David Kalnischkies | |
Servers might respond with a complete file either because they don't support Ranges at all or the If-Range condition isn't statisfied, so we have to parse the headers curl gets ourself to seek or truncate the file we have so far. This also finially adds the testcase testing a bunch of partial situations for both, http and https - which is now all green. Closes: 617643, 667699 LP: 1157943 | |||
2013-10-01 | fix partial (206 and 416) support in https | David Kalnischkies | |
As lengthy discussed in lp:1157943 partial https support was utterly broken as a 206 response was handled as an (unhandled) error. This is the first part of fixing it by supporting a 206 response and starting to deal with 416. | |||
2013-10-01 | refactor http client implementation | David Kalnischkies | |
No effective behavior change, just shuffling big junks of code between methods and classes to split them into those strongly related to our client implementation and those implementing HTTP. The idea is to get HTTPS to a point in which most of the implementation can be shared even though the client implementations itself is completely different. This isn't anywhere near yet though, but it should beenough to reuse at least a few lines from http in https now. Git-Dch: Ignore | |||
2013-10-01 | replace "filesize - 1" trick in http with proper 416 handling | David Kalnischkies | |
Our http client requests the "filesize - 1" for the small edgecase of handling a file which was completely downloaded, but not yet moved to the correct place as we get 416 errors in that case, but as we can handle 416 returns now we just special-case the situation of requesting the exact filesize and handle it as a 200 without content instead. |