Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-10-25 | extract getDpkgExecutable() and DPkgPM::BuildPackagesProgressMap() out of ↵ | Michael Vogt | |
the monster long pkgDPkgPM::Go() | |||
2013-10-24 | make the main loop a while() instead of a for() as I find this (much) easier ↵ | Michael Vogt | |
to read this way) | |||
2013-10-22 | fix failing ./test/integration/test-disappearing-packages (thanks Donkult!) | Michael Vogt | |
2013-10-22 | use Pkg.FullName() in disappearedPkgs and remove duplicated check | Michael Vogt | |
2013-10-22 | fix install-progress location | Michael Vogt | |
2013-10-21 | restore binary compatiblity with the pkgPackageManager interface | Michael Vogt | |
2013-10-21 | fix apt output ordering and update test to match the new human friendly ↵ | Michael Vogt | |
messages that include the architecture | |||
2013-10-18 | re-add missing APT::String::Strip | Michael Vogt | |
2013-10-18 | merged debian/sid | 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-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 | add missing _() around the new "Progress" string | Michael Vogt | |
2013-10-11 | first iteration of install progress refactor | Michael Vogt | |
2013-10-08 | apt-pkg/deb/dpkgpm.cc: fix off-by-one in SetupTerminalScrollArea reset | Michael Vogt | |
2013-10-07 | fix off-by-one error in pkgDPkgPM::SetupTerminalScrollArea() | 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-02 | make dpkg progress slightly nicer | Michael Vogt | |
2013-09-07 | fix multiarch status-fd progress calculation | Michael Vogt | |
2013-08-28 | Merge remote-tracking branch 'mvo/feature/install-progress' into debian/sid | Michael Vogt | |
2013-08-16 | allow Pre-Install-Pkgs hooks to get info over an FD != stdin | David Kalnischkies | |
This adds ::InfoFD option alongside the ::Version one to request sending the information to the specified FD, by default it is STDIN as it was the case before. The environment variable APT_HOOK_INFO_FD contains the FD the data is on as a confirmation that the APT version used understood the request. Allowing the hook to choose the FD is needed/helpful e.g. for shellscripts which have a hard time accessing FDs above 9 (as >= 10 are usually used internally by them) Closes: #671728 | |||
2013-08-12 | use our _error stack to generate openpty errors | David Kalnischkies | |
While we don't want these error messages on our usual stack, we can use our usual infrastructure to generate an error message with all the usual bells like errno and strerror attached. Git-Dch: Ignore | |||
2013-08-12 | do not try to chown if not run as root | David Kalnischkies | |
If this code is run as non-root we are in a special situation (e.g. in our testcases) where it is obvious that we can't enforce user/group on any file, so skip this code altogether instead of bugging users with an error message – which we also switch to a warning as a failure to open the file is "just" a warning, so the 'wrong' owner shouldn't be that much of an issue. The file is still handled with chmod, so all the security we can enforce is still enforced of course, which also gets a warning if it fails. Git-Dch: Ignore | |||
2013-08-08 | fix -Wall errors | Michael Vogt | |
2013-07-28 | Merge remote-tracking branch 'mvo/bugfix/coverity' into debian/sid | Michael Vogt | |
2013-07-26 | fix some coverity chroot() releated warnings | Michael Vogt | |
2013-07-16 | fix if-clause to generate hook-info for 'rc' packages | David Kalnischkies | |
The code incorrectly skips printing of current version information, if the package has no current version (for APT, but for dpkg as it is the case for packages which are removed but not purged) by using an unintended "else if" rather than an "if". Closes: 717006 | |||
2013-07-11 | Add DPkgPM::Progress for terminal install progress | Michael Vogt | |
2013-07-11 | Version 3 for DPkg::Pre-Install-Pkgs with MultiArch info | David Kalnischkies | |
Adds on top of Version 2 to all displayed version numbers the architecture as well as the MultiArch flag for consumption by the hooks. Most of the time the architecture will be the same for both versions displayed, but packages might change from "all" to "any" (or back) between versions so we can't display the architecture for packages. Pseudo-Format for Version 3: <name> <version> <arch> <m-a-flag> <compare> <version> <arch> <m-a-flag> Examples: stuff - - none < 1 amd64 none **CONFIGURE** libsame 1 i386 same < 2 i386 same **CONFIGURE** stuff 2 i386 none > 1 i386 none **CONFIGURE** libsame 2 i386 same > - - none **REMOVE** toolkit 1 all foreign > - - none **REMOVE** Closes: #712116 | |||
2013-03-10 | various simple changes to fix cppcheck warnings | David Kalnischkies | |
2012-12-13 | change permissions of /var/log/apt/term.log to 0640 (LP: #975199) | Michael Vogt | |
2012-09-09 | handle packages without a mandatory architecture (debian-policy §5.3) | David Kalnischkies | |
by introducing a pseudo-architecture 'none' so that the small group of users with these packages can get right of them without introducing too much hassle for other users (Closes: #686346) | |||
2012-09-03 | report the package name with architecture in the "no file" error message | David Kalnischkies | |
2012-04-20 | merge from the lp:~mvo/apt/mvo branch | Michael Vogt | |
2012-04-20 | cherry pick r1975 from lp:~ubuntu-core-dev/apt/ubuntu | Michael Vogt | |
2012-04-11 | use a static FileFd::Write overload to reduce duplication of write()-retry code | David Kalnischkies | |
2012-03-27 | * apt-pkg/deb/dpkgpm.cc: | Michael Vogt | |
- do not crash if (*I).Pkg is NULL (LP: #939867) | |||
2012-03-22 | make these retry_write methods static so that they don't end up as symbols | David Kalnischkies | |
2012-03-20 | * methods/rred.cc: | David Kalnischkies | |
- check return of writev() as gcc recommends * methods/mirror.cc: - check return of chdir() as gcc recommends * apt-pkg/deb/dpkgpm.cc: - check return of write() a gcc recommends * apt-inst/deb/debfile.cc: - check return of chdir() as gcc recommends * apt-inst/deb/dpkgdb.cc: - check return of chdir() as gcc recommends |