Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-10-18 | reshuffle the pkgDPkgPM::ProcessDpkgStatusLine() some more to make it more ↵ | Michael Vogt | |
robust | |||
2013-10-18 | reshuffle dpkgpm.cc code a bit more | Michael Vogt | |
2013-10-18 | add APT::String::Strip(), start cleanup of ProcessDpkgStatusLine | Michael Vogt | |
2013-10-18 | cleanup | Michael Vogt | |
2013-10-17 | ensure that short-name -> long-name detection for dpkg-status works for ↵ | Michael Vogt | |
reinstalls too | |||
2013-10-17 | Merge branch 'debian/sid' into feature/install-progress-refactor | Michael Vogt | |
Conflicts: apt-pkg/deb/dpkgpm.cc | |||
2013-10-17 | fix broken clean when apt was finished and ensure that terminal progress is ↵ | Michael Vogt | |
updated when a new dpkg-loop is entered in dpkgpm.cc | |||
2013-10-15 | tests, do not send pkgname with arch via the status-fd | Michael Vogt | |
2013-10-15 | Merge remote-tracking branch 'upstream/debian/sid' into bugfix/bts-726156-2 | Michael Vogt | |
2013-10-15 | fix logic for finding what package dpkg means in the --status-fd and only ↵ | Michael Vogt | |
send out short packagenames | |||
2013-10-14 | fix progress-segfault in case of dpkg errors/prompts | David Kalnischkies | |
Errors and conffile prompts have a fourth information piece, which the "old" code access which isn't provided by the "new" one. This isn't checking if the messages are really well-formed, so it could still segfault on misformed messages, but this code needs more work anyway, so one step at a time. Closes: 726047 | |||
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 | add missing _() around the new "Progress" string | Michael Vogt | |
2013-10-11 | first iteration of install progress refactor | Michael Vogt | |
2013-10-09 | Merge remote-tracking branch 'mvo/feature/limit-default-pdiffs' into debian/sid | Michael Vogt | |
2013-10-08 | apt-pkg/deb/dpkgpm.cc: fix off-by-one in SetupTerminalScrollArea reset | Michael Vogt | |
2013-10-08 | Merge remote-tracking branch 'mvo/feature/dpkg-progress-fancy' into debian/sid | Michael Vogt | |
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 | rename FORBID_NEW_INSTALL_PACKAGES to FORBID_INSTALL_NEW_PACKAGES | Michael Vogt | |
2013-10-05 | Move ListUpdate/AquireUpdate into update.{cc,h} | Michael Vogt | |
This moves the ListUpdate/AquireUpdate out of the "catch-all" algorithm.{cc,h} file into its own update.{cc,h} | |||
2013-10-05 | * move upgrade releated code into upgrade.{cc,h} | Michael Vogt | |
The upgrade releated code is moved into upgrade.{cc,h} and all pkg*Upgrade* prototypes are included in algorihms.h to avoid breaking API (unless build with APT_9_CLEANER_HEADERS). | |||
2013-10-05 | cleanup upgrade API some more (thanks for the feedback from David) | Michael Vogt | |
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 | 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 | 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 | 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 | 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-09-26 | pkg from only trusted sources keeps being trusted | David Kalnischkies | |
--allow-unauthenticated switches the download to a pre-0.6 system in which a package can come from any source, rather than that trusted packages can only come from trusted sources. To allow this the flag used to set all packages as untrusted, which is a bit much, so we check now if the package can be acquired via an untrusted source and only if this is the case set it as untrusted. As APT nowadays supports setting sources as trusted via a flag in the sources.list this mode shouldn't be used that much anymore though. [Note that this is not the patch from the BTS] Closes: 617690 | |||
2013-09-26 | don't strip :any from dependencies in single-arch | David Kalnischkies | |
The parser goes a bit to far by stripping :any from dependencies in a single architecture environment. the flag "Multi-Arch: allowed" doesn't care any architecture restrictions in that case (as in single arch everything is native), but it still limits the possible versions statisfying the dependency so stripping :any over-simplifies in upgrade situations from "Multi-Arch: none" to "Multi-Arch: allowed". Closes: 723586 | |||
2013-09-20 | do not trust FileFd::Eof() in pkgTagFile::Fill() | David Kalnischkies | |
The Eof check was added (by me of course) in 0aae6d14390193e25ab6d0fd49295bd7b131954f as part of a fix up ~a month ago (at DebConf). The idea was not that bad, but doesn't make that much sense either as this bit is set by the FileFd based on Actual as well, so this is basically doing the same check again – with the difference that the HitEof bit can still linger from a previous Read we did at the end of the file, but have seek'd away from it now. Combined with the length of entries, entry order and other not that easily controllable conditions you can be 'lucky' enough to hit this problem in a way which even visible (truncating of other fields might not be visible easily, like 'Tags' and others). Closes: 723705 Thanks: Cyril Brulebois | |||
2013-09-18 | improve the API for Upgrade() | Michael Vogt | |
2013-09-07 | doc update | Michael Vogt | |
2013-09-07 | fix multiarch status-fd progress calculation | Michael Vogt | |
2013-09-07 | add maxsplit parameter to StringSplit | Michael Vogt | |
2013-09-07 | implement StringSplit() as we need this to fix the dpkg status-fd output parsing | Michael Vogt | |
2013-08-31 | fix typo (mkostemp->mkstemp) | Michael Vogt | |