]> git.saurik.com Git - apt.git/log
apt.git
11 years agowebserver: spurious newline after data confuses curl
David Kalnischkies [Fri, 11 Oct 2013 11:21:01 +0000 (13:21 +0200)] 
webserver: spurious newline after data confuses curl

Webserver wrongly sends an additional newline after the data which
causes curl to believe that the next request on this socket has no
header data and so includes all headers in the data output.

Git-Dch: Ignore

11 years agotruncating /dev/null to zero is always successful
David Kalnischkies [Fri, 11 Oct 2013 11:07:01 +0000 (13:07 +0200)] 
truncating /dev/null to zero is always successful

Calling truncate on /dev/null can happen by the download methods if they
are instructed to download a file to /dev/null (as testcases are only
interested in the status code, but do not support HEAD requests yet)

So just ignore truncate calls on the /dev/null file as it is always
empty anyway, so truncating to zero isn't a problem.

Git-Dch: Ignore

11 years agoreleasing package apt version 0.9.13.1 0.9.13.1
Michael Vogt [Fri, 29 Nov 2013 19:50:36 +0000 (20:50 +0100)] 
releasing package apt version 0.9.13.1

11 years agofix apport report writing (LP: #1254499)
Michael Vogt [Fri, 29 Nov 2013 19:17:20 +0000 (20:17 +0100)] 
fix apport report writing (LP: #1254499)

11 years agoreset terminal on error (closes: #730795)
Michael Vogt [Fri, 29 Nov 2013 19:08:56 +0000 (20:08 +0100)] 
reset terminal on error (closes: #730795)

11 years agoupdate changelog
Michael Vogt [Fri, 29 Nov 2013 18:54:43 +0000 (19:54 +0100)] 
update changelog

11 years agofix crash when SetCandidateRelease is used
Michael Vogt [Fri, 29 Nov 2013 16:10:35 +0000 (17:10 +0100)] 
fix crash when SetCandidateRelease is used

11 years agoupdate changelog
Michael Vogt [Fri, 29 Nov 2013 13:16:11 +0000 (14:16 +0100)] 
update changelog

11 years agoMerge remote-tracking branch 'mvo/debian/sid' into debian/sid
Michael Vogt [Fri, 29 Nov 2013 12:39:45 +0000 (13:39 +0100)] 
Merge remote-tracking branch 'mvo/debian/sid' into debian/sid

Conflicts:
apt-private/private-cmndline.cc

11 years agoMerge branch 'feature/edit-sources' into debian/sid
Michael Vogt [Fri, 29 Nov 2013 07:38:12 +0000 (08:38 +0100)] 
Merge branch 'feature/edit-sources' into debian/sid

11 years agoadd "APT::String::Endswith" and automatic adding of ".list" in apt edit-source
Michael Vogt [Fri, 29 Nov 2013 07:35:05 +0000 (08:35 +0100)] 
add "APT::String::Endswith" and automatic adding of ".list" in apt edit-source

11 years agoadd support for "apt edit-source foo" sources.list.d component editing
Michael Vogt [Fri, 29 Nov 2013 07:17:44 +0000 (08:17 +0100)] 
add support for "apt edit-source foo" sources.list.d component editing

11 years agoadd autopkgtest
Michael Vogt [Fri, 29 Nov 2013 06:42:12 +0000 (07:42 +0100)] 
add autopkgtest

11 years agoadd missing test/integration/test-bug-720597-build-dep-purge
Michael Vogt [Thu, 28 Nov 2013 20:24:38 +0000 (21:24 +0100)] 
add missing test/integration/test-bug-720597-build-dep-purge

11 years agoupdate changelog
Michael Vogt [Thu, 28 Nov 2013 19:02:51 +0000 (20:02 +0100)] 
update changelog

11 years agoMerge remote-tracking branch 'mvo/feature/short-list' into debian/sid
Michael Vogt [Thu, 28 Nov 2013 18:45:58 +0000 (19:45 +0100)] 
Merge remote-tracking branch 'mvo/feature/short-list' into debian/sid

11 years agoadd "-f" option to "build-dep" as sbuild is using it to fix regression with cross...
Michael Vogt [Thu, 28 Nov 2013 18:45:44 +0000 (19:45 +0100)] 
add "-f" option to "build-dep" as sbuild is using it to fix  regression with cross-building (LP: #1255806)

11 years agofix regression that APT::Keep-Fds is not honored (closes: #730490)
Michael Vogt [Thu, 28 Nov 2013 16:08:53 +0000 (17:08 +0100)] 
fix regression that APT::Keep-Fds is not honored (closes: #730490)

11 years agofix "apt-get --purge build-dep" (closes: #720597)
Michael Vogt [Thu, 28 Nov 2013 15:50:20 +0000 (16:50 +0100)] 
fix "apt-get  --purge build-dep" (closes: #720597)

11 years agomove EditSources into its own file
Michael Vogt [Thu, 28 Nov 2013 11:15:47 +0000 (12:15 +0100)] 
move EditSources into its own file

11 years agoadd check when sources.list changed
Michael Vogt [Tue, 26 Nov 2013 09:32:21 +0000 (10:32 +0100)] 
add check when sources.list changed

11 years agoadd syntax check for sources.list
Michael Vogt [Tue, 26 Nov 2013 08:22:40 +0000 (09:22 +0100)] 
add syntax check for sources.list

11 years agorename APT::Cmd::AllVersions -> APT::Cmd::All-Versions, APT::Cmd::UseRegexp -> APT...
Michael Vogt [Tue, 26 Nov 2013 08:04:48 +0000 (09:04 +0100)] 
rename APT::Cmd::AllVersions -> APT::Cmd::All-Versions, APT::Cmd::UseRegexp -> APT::Cmd::Use-Regexp

11 years agoadd APT::Cmd::List-Include-Summary
Michael Vogt [Tue, 26 Nov 2013 07:17:29 +0000 (08:17 +0100)] 
add APT::Cmd::List-Include-Summary

11 years agodo not show summary in "apt list"
Michael Vogt [Mon, 25 Nov 2013 15:35:02 +0000 (16:35 +0100)] 
do not show summary in "apt list"

11 years agoadd basic "edit-sources" command
Michael Vogt [Mon, 25 Nov 2013 07:36:57 +0000 (08:36 +0100)] 
add basic "edit-sources" command

11 years agoupload 0.9.13 to unstable
Michael Vogt [Sat, 23 Nov 2013 08:36:50 +0000 (09:36 +0100)] 
upload 0.9.13 to unstable

11 years agoChanged MinAgeSec to MinAge in /etc/cron.daily/apt:200,204 LP: #1206047
Michael Vogt [Sat, 23 Nov 2013 08:16:24 +0000 (09:16 +0100)] 
Changed MinAgeSec to MinAge in /etc/cron.daily/apt:200,204  LP: #1206047

11 years agosmall documentation updates 0.9.13_exp1
Michael Vogt [Fri, 1 Nov 2013 09:42:49 +0000 (10:42 +0100)] 
small documentation updates

11 years agoreleasing package apt version 0.9.13~exp1 0.9.13.exp1
Michael Vogt [Fri, 1 Nov 2013 09:03:16 +0000 (10:03 +0100)] 
releasing package apt version 0.9.13~exp1

11 years agoprepare new upload
Michael Vogt [Thu, 31 Oct 2013 22:37:10 +0000 (23:37 +0100)] 
prepare new upload

11 years agosetup LINES in apt-pkg/install-progress.cc
Michael Vogt [Thu, 31 Oct 2013 22:24:41 +0000 (23:24 +0100)] 
setup LINES in apt-pkg/install-progress.cc

11 years agouse StartDpkg() in PackageManagerProgressDeb822Fd as well
Michael Vogt [Thu, 31 Oct 2013 22:00:11 +0000 (23:00 +0100)] 
use StartDpkg()  in PackageManagerProgressDeb822Fd as well

11 years agoadd new pid_t ExecFork(std::set<int> KeepFDs) to get rid of the super ugly APT::Keep...
Michael Vogt [Thu, 31 Oct 2013 21:55:38 +0000 (22:55 +0100)] 
add new pid_t ExecFork(std::set<int> KeepFDs) to get rid of the super ugly APT::Keep-Fds hack and also add a new PackageManagerProgressFd::StartDpkg() progress state

11 years agomove pty magic into its own functions
Michael Vogt [Thu, 31 Oct 2013 20:03:33 +0000 (21:03 +0100)] 
move pty magic into its own functions

11 years agofix some more ABI issues, abicheck is happy now
Michael Vogt [Thu, 31 Oct 2013 16:08:20 +0000 (17:08 +0100)] 
fix some more ABI issues, abicheck is happy now

11 years agorestore ABI and prepare next ABI via #if (APT_PKG_MAJOR >= 4 && APT_PKG_MINOR >= 13)
Michael Vogt [Thu, 31 Oct 2013 07:23:12 +0000 (08:23 +0100)] 
restore ABI and prepare next ABI via #if (APT_PKG_MAJOR >= 4 && APT_PKG_MINOR >= 13)

11 years agomove pty stuff into its own function
Michael Vogt [Thu, 31 Oct 2013 06:36:47 +0000 (07:36 +0100)] 
move pty stuff into its own function

11 years agoMerge remote-tracking branch 'upstream/debian/sid' into feature/install-progress...
Michael Vogt [Fri, 25 Oct 2013 13:45:38 +0000 (15:45 +0200)] 
Merge remote-tracking branch 'upstream/debian/sid' into feature/install-progress-refactor

11 years agoextract getDpkgExecutable() and DPkgPM::BuildPackagesProgressMap() out of the monster...
Michael Vogt [Fri, 25 Oct 2013 13:43:28 +0000 (15:43 +0200)] 
extract getDpkgExecutable() and DPkgPM::BuildPackagesProgressMap() out of the monster long pkgDPkgPM::Go()

11 years agoimprove documentation for Acquire::http::Proxy-Auto-Detect (thanks to Francesco Poli)
Michael Vogt [Fri, 25 Oct 2013 10:23:11 +0000 (12:23 +0200)] 
improve documentation for Acquire::http::Proxy-Auto-Detect (thanks to Francesco Poli)

11 years agomake the main loop a while() instead of a for() as I find this (much) easier to read...
Michael Vogt [Thu, 24 Oct 2013 06:31:50 +0000 (08:31 +0200)] 
make the main loop a while() instead of a for() as I find this (much) easier to read this way)

11 years agoMerge remote-tracking branch 'upstream/debian/sid' into feature/install-progress...
Michael Vogt [Tue, 22 Oct 2013 20:05:15 +0000 (22:05 +0200)] 
Merge remote-tracking branch 'upstream/debian/sid' into feature/install-progress-refactor

Conflicts:
apt-pkg/deb/dpkgpm.cc
apt-pkg/makefile

11 years agofix failing ./test/integration/test-disappearing-packages (thanks Donkult) - ported...
Michael Vogt [Tue, 22 Oct 2013 19:55:02 +0000 (21:55 +0200)] 
fix failing ./test/integration/test-disappearing-packages (thanks Donkult) - ported from the mvo/feature/install-progress-refactor branch

11 years agofix failing ./test/integration/test-disappearing-packages (thanks Donkult!)
Michael Vogt [Tue, 22 Oct 2013 19:53:49 +0000 (21:53 +0200)] 
fix failing ./test/integration/test-disappearing-packages (thanks Donkult!)

11 years agotest/integration/run-tests: output the failed test names
Michael Vogt [Tue, 22 Oct 2013 19:38:45 +0000 (21:38 +0200)] 
test/integration/run-tests: output the failed test names

11 years agoMerge remote-tracking branch 'mvo/feature/upgrade-api' into debian/sid
Michael Vogt [Tue, 22 Oct 2013 19:24:13 +0000 (21:24 +0200)] 
Merge remote-tracking branch 'mvo/feature/upgrade-api' into debian/sid

11 years agouse Pkg.FullName() in disappearedPkgs and remove duplicated check
Michael Vogt [Tue, 22 Oct 2013 19:15:55 +0000 (21:15 +0200)] 
use Pkg.FullName() in disappearedPkgs and remove duplicated check

11 years agofix install-progress location
Michael Vogt [Tue, 22 Oct 2013 17:02:01 +0000 (19:02 +0200)] 
fix install-progress location

11 years agomove install-progress.{cc,h} to apt-pkg
Michael Vogt [Tue, 22 Oct 2013 16:44:14 +0000 (18:44 +0200)] 
move install-progress.{cc,h} to apt-pkg

11 years agoadd Acquire::http::Proxy-Auto-Detect to the apt.conf.5 manpage (closes: 726597)
Michael Vogt [Sat, 19 Oct 2013 16:29:59 +0000 (18:29 +0200)] 
add Acquire::http::Proxy-Auto-Detect to the apt.conf.5 manpage (closes: 726597)

11 years agoadd APT::Status-deb822-Fd
Michael Vogt [Mon, 21 Oct 2013 20:11:40 +0000 (22:11 +0200)] 
add APT::Status-deb822-Fd

11 years agorestore binary compatiblity with the pkgPackageManager interface
Michael Vogt [Mon, 21 Oct 2013 19:42:16 +0000 (21:42 +0200)] 
restore binary compatiblity with the pkgPackageManager interface

11 years agofix apt output ordering and update test to match the new human friendly messages...
Michael Vogt [Mon, 21 Oct 2013 19:24:32 +0000 (21:24 +0200)] 
fix apt output ordering and update test to match the new human friendly messages that include the architecture

11 years agomove iprogress.{cc,h} to private-progress.{cc,h} until its fully stable
Michael Vogt [Mon, 21 Oct 2013 19:23:07 +0000 (21:23 +0200)] 
move iprogress.{cc,h} to private-progress.{cc,h} until its fully stable

11 years agore-add missing APT::String::Strip
Michael Vogt [Fri, 18 Oct 2013 16:26:56 +0000 (18:26 +0200)] 
re-add missing APT::String::Strip

11 years agomerged debian/sid
Michael Vogt [Fri, 18 Oct 2013 13:56:06 +0000 (15:56 +0200)] 
merged debian/sid

11 years agouse std::string instead of char* in pkgDPkgPM::ProcessDpkgStatusLine()
Michael Vogt [Fri, 18 Oct 2013 07:40:05 +0000 (09:40 +0200)] 
use std::string instead of char* in pkgDPkgPM::ProcessDpkgStatusLine()

11 years agoreshuffle the pkgDPkgPM::ProcessDpkgStatusLine() some more to make it more robust
Michael Vogt [Fri, 18 Oct 2013 07:28:08 +0000 (09:28 +0200)] 
reshuffle the pkgDPkgPM::ProcessDpkgStatusLine() some more to make it more robust

11 years agoreshuffle dpkgpm.cc code a bit more
Michael Vogt [Fri, 18 Oct 2013 06:32:36 +0000 (08:32 +0200)] 
reshuffle dpkgpm.cc code a bit more

11 years agoadd $* to gdb to make it more useful
Michael Vogt [Fri, 18 Oct 2013 06:32:14 +0000 (08:32 +0200)] 
add $* to gdb to make it more useful

11 years agoadd APT::String::Strip(), start cleanup of ProcessDpkgStatusLine
Michael Vogt [Fri, 18 Oct 2013 06:10:29 +0000 (08:10 +0200)] 
add APT::String::Strip(), start cleanup of ProcessDpkgStatusLine

11 years agocleanup
Michael Vogt [Fri, 18 Oct 2013 06:02:29 +0000 (08:02 +0200)] 
cleanup

11 years agoensure that short-name -> long-name detection for dpkg-status works for reinstalls too
Michael Vogt [Thu, 17 Oct 2013 06:18:09 +0000 (08:18 +0200)] 
ensure that short-name -> long-name detection for dpkg-status works for reinstalls too

11 years agoMerge branch 'debian/sid' into feature/install-progress-refactor
Michael Vogt [Thu, 17 Oct 2013 06:03:41 +0000 (08:03 +0200)] 
Merge branch 'debian/sid' into feature/install-progress-refactor

Conflicts:
apt-pkg/deb/dpkgpm.cc

11 years agofix broken clean when apt was finished and ensure that terminal progress is updated...
Michael Vogt [Thu, 17 Oct 2013 05:47:15 +0000 (07:47 +0200)] 
fix broken clean when apt was finished and ensure that terminal progress is updated when a new dpkg-loop is entered in dpkgpm.cc

11 years agofix changelog
Michael Vogt [Tue, 15 Oct 2013 19:12:19 +0000 (21:12 +0200)] 
fix changelog

11 years agoreleasing package apt version 0.9.12.1 0.9.12.1
Michael Vogt [Tue, 15 Oct 2013 16:50:09 +0000 (18:50 +0200)] 
releasing package apt version 0.9.12.1

11 years agoremove POSTINST from framework, file tree can be used for this
Michael Vogt [Tue, 15 Oct 2013 16:09:09 +0000 (18:09 +0200)] 
remove POSTINST from framework, file tree can be used for this

11 years agotests, do not send pkgname with arch via the status-fd
Michael Vogt [Tue, 15 Oct 2013 16:07:44 +0000 (18:07 +0200)] 
tests, do not send pkgname with arch via the status-fd

11 years agoMerge remote-tracking branch 'upstream/debian/sid' into bugfix/bts-726156-2
Michael Vogt [Tue, 15 Oct 2013 15:54:31 +0000 (17:54 +0200)] 
Merge remote-tracking branch 'upstream/debian/sid' into bugfix/bts-726156-2

11 years agofix logic for finding what package dpkg means in the --status-fd and only send out...
Michael Vogt [Tue, 15 Oct 2013 13:39:59 +0000 (15:39 +0200)] 
fix logic for finding what package dpkg means in the --status-fd and only send out short packagenames

11 years agofix progress-segfault in case of dpkg errors/prompts
David Kalnischkies [Sun, 13 Oct 2013 17:33:09 +0000 (19:33 +0200)] 
fix progress-segfault in case of dpkg errors/prompts

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
11 years agore-add APT::Keep-Fds:: for the dpkg status-fd in dpkgpm.cc as we always need this
Michael Vogt [Mon, 14 Oct 2013 06:42:48 +0000 (08:42 +0200)] 
re-add APT::Keep-Fds:: for the dpkg status-fd in dpkgpm.cc as we always need this

11 years agorename APT::Progress::Packagemanager Started->Start, Finished->Stop to match pkgAcqui...
Michael Vogt [Mon, 14 Oct 2013 05:52:21 +0000 (07:52 +0200)] 
rename APT::Progress::Packagemanager Started->Start, Finished->Stop to match pkgAcquireStatus

11 years agorefactor writing to WriteToStatusFd()
Michael Vogt [Mon, 14 Oct 2013 05:40:56 +0000 (07:40 +0200)] 
refactor writing to WriteToStatusFd()

11 years agoadd APT::Progress::PackageManager::Pulse()
Michael Vogt [Sun, 13 Oct 2013 13:10:53 +0000 (15:10 +0200)] 
add APT::Progress::PackageManager::Pulse()

11 years agomove the status-fd progress reporting out of the pkgDPkgPM class, at this point,...
Michael Vogt [Sun, 13 Oct 2013 13:05:04 +0000 (15:05 +0200)] 
move the status-fd progress reporting out of the pkgDPkgPM class, at this point, breaks ABI/API, lets see what we can do about this

11 years agomove common code into PackageManager::StatusChanged()
Michael Vogt [Fri, 11 Oct 2013 20:48:22 +0000 (22:48 +0200)] 
move common code into PackageManager::StatusChanged()

11 years agodeal with nr_terminal_rows unavailable
Michael Vogt [Fri, 11 Oct 2013 20:16:55 +0000 (22:16 +0200)] 
deal with nr_terminal_rows unavailable

11 years agoMerge branch 'debian/sid' of ssh://git.debian.org/git/apt/apt into debian/sid
Michael Vogt [Fri, 11 Oct 2013 20:05:47 +0000 (22:05 +0200)] 
Merge branch 'debian/sid' of ssh://git.debian.org/git/apt/apt into debian/sid

11 years agoadd missing _() around the new "Progress" string
Michael Vogt [Fri, 11 Oct 2013 20:05:38 +0000 (22:05 +0200)] 
add missing _() around the new "Progress" string

11 years agofirst iteration of install progress refactor
Michael Vogt [Fri, 11 Oct 2013 17:27:23 +0000 (19:27 +0200)] 
first iteration of install progress refactor

11 years agoMerge branch 'debian/sid' of ssh://git.debian.org/git/apt/apt into debian/sid
Michael Vogt [Wed, 9 Oct 2013 20:37:46 +0000 (22:37 +0200)] 
Merge branch 'debian/sid' of ssh://git.debian.org/git/apt/apt into debian/sid

11 years agofix typo
Michael Vogt [Wed, 9 Oct 2013 19:20:57 +0000 (21:20 +0200)] 
fix typo

11 years agofix typo
Michael Vogt [Wed, 9 Oct 2013 19:20:57 +0000 (21:20 +0200)] 
fix typo

11 years agoreleasing package apt version 0.9.12
Michael Vogt [Wed, 9 Oct 2013 18:50:13 +0000 (20:50 +0200)] 
releasing package apt version 0.9.12

11 years agoupdate changelog
Michael Vogt [Wed, 9 Oct 2013 13:02:49 +0000 (15:02 +0200)] 
update changelog

11 years agoMerge remote-tracking branch 'mvo/feature/limit-default-pdiffs' into debian/sid
Michael Vogt [Wed, 9 Oct 2013 12:55:01 +0000 (14:55 +0200)] 
Merge remote-tracking branch 'mvo/feature/limit-default-pdiffs' into debian/sid

11 years agoMerge remote-tracking branch 'mvo/feature/add-upgrade-mode-test' into debian/sid
Michael Vogt [Wed, 9 Oct 2013 12:51:09 +0000 (14:51 +0200)] 
Merge remote-tracking branch 'mvo/feature/add-upgrade-mode-test' into debian/sid

11 years agofixup various UI issues in the test
Michael Vogt [Wed, 9 Oct 2013 12:02:42 +0000 (14:02 +0200)] 
fixup various UI issues in the test

11 years agoreally fix test
Michael Vogt [Wed, 9 Oct 2013 10:37:52 +0000 (12:37 +0200)] 
really fix test

11 years agouse "insertpackage" instead of "buildsimplenativepackage"
Michael Vogt [Wed, 9 Oct 2013 09:01:18 +0000 (11:01 +0200)] 
use "insertpackage" instead of "buildsimplenativepackage"

11 years agoupdate Uploaders to match recent uploaders better
Michael Vogt [Wed, 9 Oct 2013 08:27:11 +0000 (10:27 +0200)] 
update Uploaders to match recent uploaders better

11 years agoadd test for upgrade, upgrade --with-new-pkgs, dist-upgrade
Michael Vogt [Wed, 9 Oct 2013 05:58:31 +0000 (07:58 +0200)] 
add test for upgrade, upgrade --with-new-pkgs, dist-upgrade

11 years agoapt-pkg/deb/dpkgpm.cc: fix off-by-one in SetupTerminalScrollArea reset
Michael Vogt [Tue, 8 Oct 2013 19:48:14 +0000 (21:48 +0200)] 
apt-pkg/deb/dpkgpm.cc: fix off-by-one in SetupTerminalScrollArea reset

11 years agoprepare new release
Michael Vogt [Tue, 8 Oct 2013 18:39:03 +0000 (20:39 +0200)] 
prepare new release

11 years agoMerge remote-tracking branch 'mvo/feature/dpkg-progress-fancy' into debian/sid
Michael Vogt [Tue, 8 Oct 2013 17:59:26 +0000 (19:59 +0200)] 
Merge remote-tracking branch 'mvo/feature/dpkg-progress-fancy' into debian/sid

11 years agoMerge remote-tracking branch 'mvo/feature/upgrade-with-new' into debian/sid
Michael Vogt [Tue, 8 Oct 2013 17:59:04 +0000 (19:59 +0200)] 
Merge remote-tracking branch 'mvo/feature/upgrade-with-new' into debian/sid

11 years agoMerge remote-tracking branch 'mvo/feature/dpkg-progress-docs' into debian/sid
Michael Vogt [Tue, 8 Oct 2013 17:57:42 +0000 (19:57 +0200)] 
Merge remote-tracking branch 'mvo/feature/dpkg-progress-docs' into debian/sid