summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* first iteration of install progress refactorMichael Vogt2013-10-116-93/+194
|
* Merge branch 'debian/sid' of ssh://git.debian.org/git/apt/apt into debian/sidMichael Vogt2013-10-090-0/+0
|\
| * fix typoMichael Vogt2013-10-091-1/+1
| |
* | fix typoMichael Vogt2013-10-091-1/+1
|/
* releasing package apt version 0.9.12Michael Vogt2013-10-091-2/+2
|
* update changelogMichael Vogt2013-10-091-0/+4
|
* Merge remote-tracking branch 'mvo/feature/limit-default-pdiffs' into debian/sidMichael Vogt2013-10-091-1/+1
|\
| * set Acquire::PDiffs::FileLimit to 20 to avoid needless huge fetchesMichael Vogt2013-08-261-1/+1
| |
* | Merge remote-tracking branch 'mvo/feature/add-upgrade-mode-test' into debian/sidMichael Vogt2013-10-091-0/+78
|\ \
| * | fixup various UI issues in the testMichael Vogt2013-10-091-6/+6
| | |
| * | really fix testMichael Vogt2013-10-091-36/+43
| | |
| * | use "insertpackage" instead of "buildsimplenativepackage"Michael Vogt2013-10-091-10/+12
| | |
| * | add test for upgrade, upgrade --with-new-pkgs, dist-upgradeMichael Vogt2013-10-091-0/+69
| | |
* | | update Uploaders to match recent uploaders betterMichael Vogt2013-10-092-3/+3
| | |
* | | apt-pkg/deb/dpkgpm.cc: fix off-by-one in SetupTerminalScrollArea resetMichael Vogt2013-10-081-1/+1
|/ /
* | prepare new releaseMichael Vogt2013-10-081-2/+34
| |
* | Merge remote-tracking branch 'mvo/feature/dpkg-progress-fancy' into debian/sidMichael Vogt2013-10-082-9/+81
|\ \
| * | fix off-by-one error in pkgDPkgPM::SetupTerminalScrollArea()Michael Vogt2013-10-071-1/+1
| | |
| * | use Dpkg::Progress-Fancy to be consitent with Dpkg::ProgressMichael Vogt2013-10-071-1/+1
| | |
| * | add -o DpkgPM::Progress-Fancy for better dpkg progress output on vt100+ ↵Michael Vogt2013-10-072-9/+81
| | | | | | | | | | | | terminals
* | | Merge remote-tracking branch 'mvo/feature/upgrade-with-new' into debian/sidMichael Vogt2013-10-083-2/+15
|\ \ \
| * \ \ Merge remote-tracking branch 'upstream/debian/sid' into feature/upgrade-with-newMichael Vogt2013-08-2815-290/+232
| |\ \ \
| * | | | its --with-new-pkgsMichael Vogt2013-08-281-1/+1
| | | | |
| * | | | add man-page, improve option, use --with-new-pkgs as the flagMichael Vogt2013-08-283-5/+15
| | | | |
| * | | | add new "apt-get upgrade --with-allow-new" optionMichael Vogt2013-08-271-0/+3
| | |_|/ | |/| | | | | | | | | | | | | | | | | | The --with-allow-new option maps to APT::Get::UpgradeAllowNew and will allow "apt-get upgrade" to install new packages (but not to delete existing packages)
* | | | Merge remote-tracking branch 'mvo/feature/dpkg-progress-docs' into debian/sidMichael Vogt2013-10-082-2/+10
|\ \ \ \
| * | | | rename "--dpkg-progress" to "--show-progress" and document it in apt-get.8Michael Vogt2013-10-012-2/+10
| | | | |
* | | | | debian/apt.postinst: use --compare-versions lt instead of lt-nl, to ensure ↵Michael Vogt2013-10-082-2/+2
| | | | | | | | | | | | | | | | | | | | the apt-auto-removal file is correctly create, thanks to Ben Hutchings
* | | | | fix libapt-inst for >2G debs (closes: #725483)Michael Vogt2013-10-073-11/+15
| | | | |
* | | | | Merge remote-tracking branch 'donkult/debian/sid' into debian/sidMichael Vogt2013-10-0534-1194/+1921
|\ \ \ \ \
| * | | | | tests: install --no-install-recommends and stunnel4 for travisDavid Kalnischkies2013-10-032-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stunnel4 is required for https tests Git-Dch: Ignore
| * | | | | test: use a multiarch capable dpkg rather than workaroundDavid Kalnischkies2013-10-031-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | do not ++ on erased package pointers in autoremoveDavid Kalnischkies2013-10-031-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | | | | fix lzma-support detection via xz binaryDavid Kalnischkies2013-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | use pkgAcqArchive in 'download' for proper errorsDavid Kalnischkies2013-10-035-59/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | put fetch errors in 'source' on our errorstackDavid Kalnischkies2013-10-035-90/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | refactor onError relabeling of DestFile as '.FAILED'David Kalnischkies2013-10-032-34/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | tests: fix some problems travis encountersDavid Kalnischkies2013-10-025-48/+54
| | | | | | | | | | | | | | | | | | | | | | | | Git-Dch: Ignore
| * | | | | don't consider holds for autoremovalDavid Kalnischkies2013-10-013-4/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | handle complete responses to https range requestsDavid Kalnischkies2013-10-019-47/+318
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | fix partial (206 and 416) support in httpsDavid Kalnischkies2013-10-011-33/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | refactor http client implementationDavid Kalnischkies2013-10-015-889/+1049
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | replace "filesize - 1" trick in http with proper 416 handlingDavid Kalnischkies2013-10-011-6/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | retry without partial data after a 416 responseDavid Kalnischkies2013-10-012-18/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we get a 416 from the server it means the Range we asked for is above the real filesize of the file on the server. Mostly this happens if the server isn't supporting If-Range, but regardless of how we end up with the partial data, the data is invalid so we discard it and retry with a fresh plate and hope for the best. Old behavior was to consider 416 an error and retry with a different compression until we ran out of compression and requested the uncompressed file (which doesn't exist on most mirrors) with an accept line which server answered with "406 Not Acceptable". Closes: 710924
| * | | | | add Range and If-Range support in the webserverDavid Kalnischkies2013-09-301-1/+63
| | | | | | | | | | | | | | | | | | | | | | | | Git-Dch: Ignore
| * | | | | access _config via GET requests in the webserverDavid Kalnischkies2013-09-301-3/+71
| | | | | | | | | | | | | | | | | | | | | | | | Git-Dch: Ignore
| * | | | | APT has no bugsDavid Kalnischkies2013-09-301-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Okay, maybe it does have a "few", but the DDTP issues mentioned in this file are long since gone, so lets just drop the file and look at the PTS instead: http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=apt Git-Dch: Ignore
* | | | | | Merge remote-tracking branch 'mvo/bugfix/dpkg-progress-multiarch' into ↵Michael Vogt2013-10-054-28/+123
|\ \ \ \ \ \ | |/ / / / / |/| | | | / | | |_|_|/ | |/| | | debian/sid
| * | | | Merge remote-tracking branch 'origin/bugfix/dpkg-progress-multiarch' into ↵Michael Vogt2013-10-023-8/+25
| |\ \ \ \ | | | | | | | | | | | | | | | | | | bugfix/dpkg-progress-multiarch
| | * | | | change maxsplit default from "0" to maxintMichael Vogt2013-10-013-3/+7
| | | | | |