]>
git.saurik.com Git - apt.git/log
David Kalnischkies [Tue, 13 Sep 2011 16:00:22 +0000 (18:00 +0200)]
merge with debian/sid
David Kalnischkies [Tue, 13 Sep 2011 15:52:22 +0000 (17:52 +0200)]
merge with debian/experimental
David Kalnischkies [Tue, 13 Sep 2011 15:46:48 +0000 (17:46 +0200)]
Support large files in the complete toolset. Indexes of this
size are pretty unlikely for now, but we need it for deb
packages which could become bigger than 4GB now (LP: #815895)
David Kalnischkies [Tue, 13 Sep 2011 08:09:00 +0000 (10:09 +0200)]
reorder includes: add <config.h> if needed and include it at first
Michael Vogt [Mon, 12 Sep 2011 16:25:41 +0000 (18:25 +0200)]
releasing version 0.8.15.7
Michael Vogt [Mon, 12 Sep 2011 14:09:53 +0000 (16:09 +0200)]
merged from lp:~donkult/apt/sid
David Kalnischkies [Fri, 9 Sep 2011 10:51:18 +0000 (12:51 +0200)]
fix changelog typos and bugfix-link
David Kalnischkies [Fri, 9 Sep 2011 10:35:22 +0000 (12:35 +0200)]
M-A:same lockstep unpack should operate on installed
packages first (LP: #835625)
David Kalnischkies [Fri, 9 Sep 2011 08:56:42 +0000 (10:56 +0200)]
fix bashism (local outside function) and releasefile creation in testcases
David Kalnischkies [Mon, 5 Sep 2011 13:58:19 +0000 (15:58 +0200)]
- add an Acquire::Min-ValidTime option (Closes: #640122)
* doc/apt.conf.5.xml:
- reword Acquire::Max-ValidTime documentation to make clear
that it doesn't provide the new Min-ValidTime functionality
David Kalnischkies [Mon, 5 Sep 2011 12:50:30 +0000 (14:50 +0200)]
* apt-pkg/indexrecords.cc:
- fix Acquire::Max-ValidTime option by interpreting it really
as seconds as specified in the manpage and not as days
David Kalnischkies [Tue, 23 Aug 2011 22:41:30 +0000 (00:41 +0200)]
* apt-pkg/orderlist.cc:
- prefer visiting packages marked for deletion in VisitProvides
if we are operating on a negative dependency so that we can
deal early with the fallout of this remove
David Kalnischkies [Tue, 23 Aug 2011 18:17:19 +0000 (20:17 +0200)]
print from their the visit came from
David Kalnischkies [Tue, 23 Aug 2011 09:20:51 +0000 (11:20 +0200)]
* cmdline/apt-key:
- if command is 'add' do not error out if the specified
keyring doesn't exist, it will be created by gpg
David Kalnischkies [Mon, 22 Aug 2011 21:10:15 +0000 (23:10 +0200)]
remove the caches in 'apt-get update', too, as they will be
invalid in most cases anyway
David Kalnischkies [Mon, 22 Aug 2011 21:08:16 +0000 (23:08 +0200)]
* apt-pkg/acquire.cc:
- non-existing directories are by definition clean
David Kalnischkies [Mon, 22 Aug 2011 20:52:25 +0000 (22:52 +0200)]
* apt-pkg/acquire-item.cc:
- if no Release.gpg file is found try to verify with hashes,
but do not fail if a hash can't be found
David Kalnischkies [Thu, 18 Aug 2011 09:45:51 +0000 (11:45 +0200)]
* cmdline/apt-get.cc:
- remove the binary caches in 'apt-get clean' as it is the first
thing recommend by many supporters in case of APT segfaults
Michael Vogt [Wed, 17 Aug 2011 16:14:27 +0000 (18:14 +0200)]
merged lp:~donkult/apt/sid
David Kalnischkies [Wed, 17 Aug 2011 13:49:59 +0000 (15:49 +0200)]
set the msglevel to a high dummy value if none is specified
David Kalnischkies [Wed, 17 Aug 2011 13:47:08 +0000 (15:47 +0200)]
for consistency allow the usage of 'make test' instead of './run-tests'
David Kalnischkies [Wed, 17 Aug 2011 13:14:45 +0000 (15:14 +0200)]
understand DEB_BUILD_OPTIONS nocheck to disable the testexecution
David Kalnischkies [Wed, 17 Aug 2011 13:09:57 +0000 (15:09 +0200)]
* debian/apt.symbols:
- add the newly added symbols since 0.8.15.3
David Kalnischkies [Wed, 17 Aug 2011 12:49:03 +0000 (14:49 +0200)]
* test/*
- reorganize the various testcases and helper we have and
integrate them better into the buildsystem
- run the test/libapt testcases at package build-time
David Kalnischkies [Wed, 17 Aug 2011 12:41:02 +0000 (14:41 +0200)]
fix 'comparison between signed and unsigned integer expressions' warning
in the udevcdrom testcase
David Kalnischkies [Wed, 17 Aug 2011 12:37:25 +0000 (14:37 +0200)]
do not output color in the testcases if stdout/stderr are not a /dev/pts
David Kalnischkies [Wed, 17 Aug 2011 12:35:58 +0000 (14:35 +0200)]
build test-binaries by default and add a test target to toplevel
David Kalnischkies [Wed, 17 Aug 2011 10:39:59 +0000 (12:39 +0200)]
fix the compareversion test to work then called from outside of libapt
David Kalnischkies [Wed, 17 Aug 2011 10:15:39 +0000 (12:15 +0200)]
the experimental branch has a better version of this test in libapt,
so remove it now - we will get it back at merge-time with experimental
David Kalnischkies [Wed, 17 Aug 2011 10:15:21 +0000 (12:15 +0200)]
remove fake-status leftover from the python-test
David Kalnischkies [Wed, 17 Aug 2011 10:13:38 +0000 (12:13 +0200)]
move the networkless test to the interactive helpers as it needs
root rights for operation (ifup/down, iptables) so it is better run
under supervision
David Kalnischkies [Wed, 17 Aug 2011 10:09:12 +0000 (12:09 +0200)]
remove the python testcases as this is covered by integration/
David Kalnischkies [Wed, 17 Aug 2011 10:06:37 +0000 (12:06 +0200)]
move the interactive helper to a subdirectory of test
David Kalnischkies [Wed, 17 Aug 2011 10:05:22 +0000 (12:05 +0200)]
add 'dirs' target to the 'all' target to ensure that for e.g. the tests
all (sub)directories are build which are needed (e.g. obj/ and co)
David Kalnischkies [Wed, 17 Aug 2011 09:42:02 +0000 (11:42 +0200)]
move the list of versions to test with to the libapt subdirectory
Michael Vogt [Wed, 17 Aug 2011 09:38:45 +0000 (11:38 +0200)]
merged from lp:~donkult/apt/sid
David Kalnischkies [Wed, 17 Aug 2011 09:38:10 +0000 (11:38 +0200)]
remove the interactive scratch test, it doesn't test much and what
it tests is covered by your non-interactive testcases,
so this one wasn't used for a looooong time
David Kalnischkies [Wed, 17 Aug 2011 09:34:10 +0000 (11:34 +0200)]
replaced by the integration/test-compressed-indexes test
David Kalnischkies [Wed, 17 Aug 2011 09:15:36 +0000 (11:15 +0200)]
merge with the final changelog from debian-sid
David Kalnischkies [Wed, 17 Aug 2011 09:13:50 +0000 (11:13 +0200)]
* apt-pkg/packagemanager.cc, apt-pkg/pkgcache.cc:
- ignore "self"-conflicts for all architectures of a package
instead of just for the architecture of the package locked at
in the ordering of installations too (Closes: #802901)
David Kalnischkies [Wed, 17 Aug 2011 07:59:19 +0000 (09:59 +0200)]
merge the tests for configuration into another libapt-test
David Kalnischkies [Mon, 15 Aug 2011 16:23:54 +0000 (18:23 +0200)]
support yet another webserver in the integration tests: gatling
David Kalnischkies [Mon, 15 Aug 2011 16:22:44 +0000 (18:22 +0200)]
write a proper testcase replacing the print-only uri.cc test
Michael Vogt [Mon, 15 Aug 2011 13:35:01 +0000 (15:35 +0200)]
releasing version 0.8.16~exp5
Michael Vogt [Mon, 15 Aug 2011 12:21:31 +0000 (14:21 +0200)]
merged from lp:~mvo/apt/mvo
Michael Vogt [Mon, 15 Aug 2011 12:10:42 +0000 (14:10 +0200)]
merged from the debian-sid branch
Michael Vogt [Mon, 15 Aug 2011 11:50:22 +0000 (13:50 +0200)]
releasing version 0.8.15.6
Michael Vogt [Mon, 15 Aug 2011 07:23:39 +0000 (09:23 +0200)]
merged fixes from lp:~mvo/apt/mvo
Michael Vogt [Fri, 12 Aug 2011 08:32:05 +0000 (10:32 +0200)]
lots of cppcheck fixes
Michael Vogt [Fri, 12 Aug 2011 07:58:55 +0000 (09:58 +0200)]
cherry pick test/integration/Packages-hashsum-verification addition from lp:~mvo/apt/mvo
Michael Vogt [Fri, 12 Aug 2011 07:56:14 +0000 (09:56 +0200)]
test/integration/Packages-hashsum-verification: commit the forgotten packages file
David Kalnischkies [Thu, 11 Aug 2011 21:30:09 +0000 (23:30 +0200)]
follow the recommendation of cppcheck to make some method methods (scnr)
const and initial mostly Debug member values in the constructors
David Kalnischkies [Thu, 11 Aug 2011 21:06:46 +0000 (23:06 +0200)]
rename the parameter name of MarkDelete from Purge to MarkPurge to
fix a cosmetic warning from cppcheck:
[apt-pkg/depcache.h:462] -> [apt-pkg/depcache.h:122]:
(style) Variable 'Purge' hides enumerator with same name
David Kalnischkies [Thu, 11 Aug 2011 21:01:15 +0000 (23:01 +0200)]
fix a few more cppcheck performance and scope warnings
David Kalnischkies [Thu, 11 Aug 2011 18:53:28 +0000 (20:53 +0200)]
cppcheck complains about some possible speed improvements which could be
done on the mirco-optimazation level, so lets fix them:
(performance) Possible inefficient checking for emptiness.
(performance) Prefer prefix ++/-- operators for non-primitive types.
David Kalnischkies [Thu, 11 Aug 2011 17:20:53 +0000 (19:20 +0200)]
fix some cppcheck: (warning) Member variable is not initialized in the constructor.
David Kalnischkies [Thu, 11 Aug 2011 16:42:19 +0000 (18:42 +0200)]
cppcheck is right that the check for preventing null deference of Query
is redundant in Redirect() as we can't reach the code with null anyway
[apt-pkg/acquire-method.cc:433]: (error) Possible null pointer dereference:
Queue - otherwise it is redundant to check if Queue is null at line 425
Michael Vogt [Thu, 11 Aug 2011 14:30:17 +0000 (16:30 +0200)]
* methods/mirror.cc:
- include the architecture(s) in the query string as well so
that the server can make better decisions
Michael Vogt [Tue, 9 Aug 2011 12:50:20 +0000 (14:50 +0200)]
* apt-pkg/acquire.cc:
- fix potential divide-by-zero
Michael Vogt [Tue, 9 Aug 2011 12:38:01 +0000 (14:38 +0200)]
merged from the debian-experimental2 branch
Michael Vogt [Mon, 8 Aug 2011 14:18:52 +0000 (16:18 +0200)]
fix crash when P.Arch() was used but the cache got remapped
Michael Vogt [Mon, 8 Aug 2011 14:14:54 +0000 (16:14 +0200)]
apt-pkg/acquire-item.cc: add more debug output
Michael Vogt [Mon, 8 Aug 2011 14:14:13 +0000 (16:14 +0200)]
apt-pkg/pkgcachegen.cc: fix incorrect test for modification time
Michael Vogt [Fri, 5 Aug 2011 10:29:40 +0000 (12:29 +0200)]
* test/integration/test-hashsum-verification:
- add regression test for hashsum verification
* apt-pkg/acquire-item.cc:
- if no Release.gpg file is found, still load the hashes for
verification (closes: #636314) and add test
Michael Vogt [Fri, 5 Aug 2011 10:26:35 +0000 (12:26 +0200)]
* apt-pkg/acquire-item.cc:
- if no Release.gpg file is found, still load the hashes for
verification (closes: #636314) and add test
Michael Vogt [Fri, 5 Aug 2011 09:49:59 +0000 (11:49 +0200)]
* test/integration/test-hashsum-verification:
- add regression test for hashsum verification
Michael Vogt [Fri, 5 Aug 2011 09:00:46 +0000 (11:00 +0200)]
apt-pkg/acquire-item.cc: always init Verify
Michael Vogt [Fri, 5 Aug 2011 08:48:18 +0000 (10:48 +0200)]
* apt-pkg/acquire-item.{cc,h}:
- do not check for a "Package" tag in optional index targets
like the translations index
Michael Vogt [Fri, 5 Aug 2011 07:12:31 +0000 (09:12 +0200)]
apt-pkg/pkgcachegen.cc: fix compiler error
Michael Vogt [Mon, 1 Aug 2011 13:32:16 +0000 (15:32 +0200)]
fix crash when P.Arch() was used but the cache got remapped
Michael Vogt [Mon, 1 Aug 2011 11:57:28 +0000 (13:57 +0200)]
merged from lp:~mvo/apt/mvo
Michael Vogt [Mon, 1 Aug 2011 10:57:04 +0000 (12:57 +0200)]
apt-pkg/pkgcachegen.cc: copy Arch to avoid segfault on cache remap
Michael Vogt [Mon, 1 Aug 2011 08:56:49 +0000 (10:56 +0200)]
apt-pkg/sourcelist.cc: GetListOfFilesInDir() fails if the dir does not exists, so test before using that
Michael Vogt [Fri, 29 Jul 2011 16:40:34 +0000 (18:40 +0200)]
apt-pkg/contrib/sha2_internal.h: remove extern "C" to avoid symbol clash with libssl
Michael Vogt [Fri, 29 Jul 2011 14:33:20 +0000 (16:33 +0200)]
test/libapt/hashsums_test.cc: add a test for HashString and VerifyFile
Michael Vogt [Fri, 29 Jul 2011 13:45:06 +0000 (15:45 +0200)]
merged from debian-sid
Michael Vogt [Fri, 29 Jul 2011 12:55:52 +0000 (14:55 +0200)]
apt-pkg/contrib/sha256.h: use #warning to warn about deprecated header
Michael Vogt [Fri, 29 Jul 2011 11:52:18 +0000 (13:52 +0200)]
merge from lp:~mvo/apt/mvo
Michael Vogt [Fri, 29 Jul 2011 11:44:18 +0000 (13:44 +0200)]
* apt-pkg/makefile:
- install sha256.h compat header
Michael Vogt [Fri, 29 Jul 2011 11:37:33 +0000 (13:37 +0200)]
* apt-pkg/pkgcachegen.{cc,h}:
- use ref-to-ptr semantic in NewDepends() to ensure that the
libapt does not segfault if the cache is remapped in between
(LP: #812862)
Michael Vogt [Thu, 28 Jul 2011 15:25:43 +0000 (17:25 +0200)]
releasing version 0.8.16~exp4
Michael Vogt [Thu, 28 Jul 2011 14:56:33 +0000 (16:56 +0200)]
releasing version 0.8.15.5
Michael Vogt [Thu, 28 Jul 2011 13:19:47 +0000 (15:19 +0200)]
merged from lp:~mvo/apt/mvo
Michael Vogt [Thu, 28 Jul 2011 13:16:18 +0000 (15:16 +0200)]
* apt-pkg/contrib/fileutl.{cc,h}:
- add GetModificationTime() helper
* apt-pkg/pkgcachegen.cc:
- regenerate the cache if the sources.list changes to ensure
that changes in the ordering there will be honored by apt
* apt-pkg/sourcelist.{cc,h}:
- add pkgSourceList::GetLastModifiedTime() helper
Michael Vogt [Thu, 28 Jul 2011 11:55:15 +0000 (13:55 +0200)]
[ABI break] merge patch from Jonathan Thomas to speed up the
depcache by caching the install-recommends and install-suggests
values
Michael Vogt [Thu, 28 Jul 2011 09:58:55 +0000 (11:58 +0200)]
[ABI break] merged patch from Jonathan Thomas to have a new
RecordField() function in the pkgRecorder parser. Many thanks
Thomas
Michael Vogt [Thu, 28 Jul 2011 08:26:39 +0000 (10:26 +0200)]
* [ABI break] apt-pkg/acquire-item.{cc,h}:
- cleanup around OptionalIndexTarget and SubIndexTarget
Michael Vogt [Thu, 28 Jul 2011 08:19:30 +0000 (10:19 +0200)]
cmdline/makefile: ajust comment
Michael Vogt [Thu, 28 Jul 2011 07:50:51 +0000 (09:50 +0200)]
* apt-pkg/cdrom.{cc,h}:
- cleanup old ABI break avoidance hacks
Michael Vogt [Thu, 28 Jul 2011 07:29:44 +0000 (09:29 +0200)]
merged from debian-apt
Michael Vogt [Thu, 28 Jul 2011 07:28:29 +0000 (09:28 +0200)]
merged from lp:~donkult/apt/sid
Michael Vogt [Thu, 28 Jul 2011 07:19:45 +0000 (09:19 +0200)]
* merged latest fixes from debian-sid
* apt-pkg/contrib/sha1.cc:
- fix illegally casts of on-stack buffer to a type requiring more
alignment than it has resulting in segfaults on sparc (Closes: #634696)
* apt-pkg/contrib/cdromutl.cc:
- fix escape problem when looking for the mounted devices
* apt-pkg/contrib/strutl.{h,cc}, test/libapt/strutil_test.cc:
- add new DeEscapeString() similar to DeQuoteString but
unescape character escapes like \0XX and \xXX (plus added
test)
* refresh po/*
* cmdline/apt-get.cc:
- fix missing download progress in apt-get download
- do not require unused partial dirs in 'source' (Closes: #633510)
- buildconflicts effect all architectures
- implement MultiarchCross for build-dep and source (Closes: #632221)
* cmdline/apt-key:
- use a tmpfile instead of /etc/apt/secring.gpg (Closes: #632596)
* debian/apt.postinst:
- remove /etc/apt/secring.gpg if it is an empty file
* doc/apt-cache.8.xml:
- apply madison typofix from John Feuerstein, thanks! (Closes: #633455)
* apt-pkg/policy.cc:
- emit an error on unknown APT::Default-Release value (Closes: #407511)
* apt-pkg/aptconfiguration.cc:
- ensure that native architecture is if not specified otherwise the
first architecture in the Architectures vector
* apt-pkg/deb/deblistparser.cc:
- Strip only :any and :native if MultiArch should be stripped as it is
save to ignore them in non-MultiArch contexts but if the dependency
is a specific architecture (and not the native) do not strip
David Kalnischkies [Wed, 27 Jul 2011 21:50:55 +0000 (23:50 +0200)]
* apt-pkg/deb/deblistparser.cc:
- do not assume that the last char on a line is a \n (Closes: #633350)
Michael Vogt [Tue, 26 Jul 2011 10:23:04 +0000 (12:23 +0200)]
releasing version 0.8.15.4
Michael Vogt [Tue, 26 Jul 2011 10:10:00 +0000 (12:10 +0200)]
refresh po/*
Michael Vogt [Tue, 26 Jul 2011 10:02:40 +0000 (12:02 +0200)]
merged from lp:~mvo/apt/mvo
Michael Vogt [Tue, 26 Jul 2011 09:57:16 +0000 (11:57 +0200)]
merged from lp:~donkult/apt/sid
Michael Vogt [Tue, 26 Jul 2011 09:52:42 +0000 (11:52 +0200)]
fix typos in changelog, make DeEscapeString const, improve description
Michael Vogt [Tue, 26 Jul 2011 09:10:47 +0000 (11:10 +0200)]
add another escape test case, fixup octal one (its \0XX instead of \0XXX)
Michael Vogt [Tue, 26 Jul 2011 08:50:43 +0000 (10:50 +0200)]
apt-pkg/contrib/strutl.cc: kill unneeded debug output