]>
git.saurik.com Git - apt.git/log
David Kalnischkies [Wed, 9 Jun 2010 12:20:27 +0000 (14:20 +0200)]
* apt-pkg/policy.cc:
- get the candidate right for a not-installed pseudo package if
his non-pseudo friend is installed
David Kalnischkies [Wed, 9 Jun 2010 12:18:56 +0000 (14:18 +0200)]
remove the "typename" from the const_iterators as gcc-4.4 doesn't like
them and gcc-4.5 does the right thing (TM) with and without them
Michael Vogt [Wed, 9 Jun 2010 11:15:34 +0000 (13:15 +0200)]
merged from lp:~donkult/apt/sid
Michael Vogt [Wed, 9 Jun 2010 11:03:41 +0000 (13:03 +0200)]
debian/rules: remove two more leftovers fromthe ubuntu merge
Michael Vogt [Wed, 9 Jun 2010 10:08:54 +0000 (12:08 +0200)]
merge lp:~mvo/apt/ubuntu-mirror-method-improvements
Michael Vogt [Wed, 9 Jun 2010 09:51:21 +0000 (11:51 +0200)]
* merge the remaining Ubuntu change:
- on gpg verification failure warn and restore the last known
good state
- on failure display the IP of the server (useful for servers
that use round robin DNS)
- support Original-Maintainer in RewritePackageOrder
- enable cdrom autodetection via libudev by default
- show messsage about Vcs in use when apt-get source is run for
packages maintained in a Vcs
- better support transitional packages with mark auto-installed.
when the transitional package is in "oldlibs" the new package
is not marked auto installed (same is true for section
metapackages)
- provide new "deb mirror://archive.foo/mirrors.list sid main"
method expects a list of mirrors (generated on the server e.g.
via geoip) and will use that, including cycle on failure
- write apport crash file on package failure (disabled by default
on debian until apport is available)
- support mirror failure reporting (disabled by default on debian)
David Kalnischkies [Wed, 9 Jun 2010 08:52:45 +0000 (10:52 +0200)]
- backport forgotten Valid-Until patch from the obsolete experimental
branch to prevent replay attacks better, thanks to Thomas Viehmann
for the initial patch! (Closes: #499897)
* doc/apt.conf.5.xml:
- document the new Valid-Until related options
* apt-pkg/contrib/strutl.cc:
- split StrToTime() into HTTP1.1 and FTP date parser methods and
use strptime() instead of some self-made scanf mangling
- use the portable timegm shown in his manpage instead of a strange
looking code copycat from wget
* ftparchive/writer.cc:
- add ValidTime option to generate a Valid-Until header in Release file
David Kalnischkies [Wed, 9 Jun 2010 08:50:32 +0000 (10:50 +0200)]
* apt-pkg/pkgcache.h:
- switch {,Install-}Size to unsigned long long
- deal with long long, not with int to remove 2GB Limit (LP: #250909)
- deprecate AddSize with Multiplier as it is unused and switch to
boolean instead to handle the sizes more gracefully.
- switch i{Download,Usr}Size from double to (un)signed long long
* cmdline/apt-get.cc:
- use unsigned long long instead of double to store values it gets
David Kalnischkies [Wed, 9 Jun 2010 08:46:35 +0000 (10:46 +0200)]
rename the options, document them and reorder the changelog a bit
David Kalnischkies [Tue, 8 Jun 2010 22:53:44 +0000 (00:53 +0200)]
move the users away from the deprecated StrToTime() method
David Kalnischkies [Tue, 8 Jun 2010 22:27:22 +0000 (00:27 +0200)]
use the portable timegm shown in his manpage instead of a strange
looking code copycat from wget
David Kalnischkies [Tue, 8 Jun 2010 22:12:14 +0000 (00:12 +0200)]
* ftparchive/writer.cc:
- add ValidTime option to generate a Valid-Until header in Release file
David Kalnischkies [Tue, 8 Jun 2010 21:38:34 +0000 (23:38 +0200)]
use the Valid-Until header from the Release file but if the user
provides a setting in the configuration prefer the date which is
earlier.
David Kalnischkies [Tue, 8 Jun 2010 20:55:42 +0000 (22:55 +0200)]
enhance the Valid-Until code a bit by using the correct RFC1123StrToTime
method and allow for better translations of the error messages
David Kalnischkies [Tue, 8 Jun 2010 20:46:42 +0000 (22:46 +0200)]
* apt-pkg/contrib/strutl.cc:
- split StrToTime() into HTTP1.1 and FTP date parser methods and
use strptime() instead of some selfmade scanf mangling
David Kalnischkies [Tue, 8 Jun 2010 17:27:49 +0000 (19:27 +0200)]
* apt-pkg/indexrecords.cc:
- backport forgotten Valid-Until patch from the obsolete experimental
branch to prevent replay attacks better, thanks to Thomas Viehmann
for the initial patch! (Closes: #499897)
David Kalnischkies [Sun, 6 Jun 2010 19:49:28 +0000 (21:49 +0200)]
use the GroupedFromCommandLine() method in the dotty and xvcg command
to get all the funky features in less lines
David Kalnischkies [Sun, 6 Jun 2010 19:41:27 +0000 (21:41 +0200)]
add a GroupedFromCommandLine method to the PackageSet to split the
packages on the commandline into groups based on modifiers
David Kalnischkies [Sat, 5 Jun 2010 17:14:32 +0000 (19:14 +0200)]
do not fail if an unrelated error is pending in DisplayRecord()
David Kalnischkies [Sat, 5 Jun 2010 16:00:00 +0000 (18:00 +0200)]
support special release-modifier 'installed' and 'candidate'
David Kalnischkies [Sat, 5 Jun 2010 14:59:45 +0000 (16:59 +0200)]
accept package versions in the unmet command
David Kalnischkies [Sat, 5 Jun 2010 14:45:19 +0000 (16:45 +0200)]
enhance the changelog a bit
David Kalnischkies [Sat, 5 Jun 2010 13:47:16 +0000 (15:47 +0200)]
handle :arch modifier in PackageSet::FromString correctly
David Kalnischkies [Sat, 5 Jun 2010 11:42:04 +0000 (13:42 +0200)]
apt-cache show --no-all-versions should issues the Candidate
David Kalnischkies [Sat, 5 Jun 2010 11:38:17 +0000 (13:38 +0200)]
do not insert end() Iterators into the CacheSet even if requested
David Kalnischkies [Sat, 5 Jun 2010 11:09:18 +0000 (13:09 +0200)]
Don't increase the commandline parameter in the library but in the
application to be really generic.
David Kalnischkies [Sat, 5 Jun 2010 10:54:30 +0000 (12:54 +0200)]
add --target-release option (Closes: #115520)
David Kalnischkies [Sat, 5 Jun 2010 08:17:10 +0000 (10:17 +0200)]
Add a option to apt-cache policy to additionally init the DepCache before
starting to get the package informations.
This is useful e.g. for debugging the MultiArchKiller.
David Kalnischkies [Sat, 5 Jun 2010 08:04:48 +0000 (10:04 +0200)]
use pkgCacheFile and the new CacheSets all over the place
David Kalnischkies [Sat, 5 Jun 2010 07:20:29 +0000 (09:20 +0200)]
Add a method to get a VersionSet from the Commandline and refactor
the existing methods a bit to reuse them easier intern
David Kalnischkies [Fri, 4 Jun 2010 20:58:57 +0000 (22:58 +0200)]
store also the SourceList we use internally for export
David Kalnischkies [Fri, 4 Jun 2010 12:51:21 +0000 (14:51 +0200)]
Switch away from the now deprecated methods for Cache building
David Kalnischkies [Fri, 4 Jun 2010 12:43:03 +0000 (14:43 +0200)]
* apt-pkg/cachefile.{cc,h}:
- split Open() into submethods to be able to build only parts
- make the OpProgress optional in the Cache buildprocess
David Kalnischkies [Thu, 3 Jun 2010 08:48:19 +0000 (10:48 +0200)]
* cmdline/apt-get.cc:
- use unsigned long long instead of double to store values it gets
David Kalnischkies [Thu, 3 Jun 2010 08:45:58 +0000 (10:45 +0200)]
* apt-pkg/depcache.cc:
- switch i{Download,Usr}Size from double to (un)signed long long
The biggest reason is that this saves a lot of float point operations
we do in AddSizes() on integers. The only reason i see that this was
a double is that it was 64bit long and can therefore store bigger
values than int/long, but with the availablity of (un)signed long long
we are now also at 64bit and can store sizes more than 8 Exabytes big -
by the time this will be a limit the C/C++ Standard will have bigger types,
hopefully.
David Kalnischkies [Thu, 3 Jun 2010 07:50:06 +0000 (09:50 +0200)]
deprecate AddSize with Multiplier as it is unused and switch to
boolean instead to handle the sizes more gracefully.
David Kalnischkies [Thu, 3 Jun 2010 07:22:00 +0000 (09:22 +0200)]
* apt-pkg/pkgcache.h:
- switch {,Install-}Size to unsigned long long
* apt-pkg/depcache.cc:
- deal with long long, not with int to remove 2GB Limit (LP: #250909)
Michael Vogt [Wed, 2 Jun 2010 21:57:00 +0000 (23:57 +0200)]
methods/mirror.cc: debug improvements
Michael Vogt [Wed, 2 Jun 2010 21:30:01 +0000 (23:30 +0200)]
implement Fail-Ignore bool in FetchItem that tells the method that a failure of this item is ok and does not need to be tried on all mirrors
Michael Vogt [Wed, 2 Jun 2010 21:15:55 +0000 (23:15 +0200)]
methods/mirror.cc: simplify uri.startswith()
Michael Vogt [Wed, 2 Jun 2010 21:13:42 +0000 (23:13 +0200)]
methods/mirrors.cc: make cycle through the mirrors work properly
Michael Vogt [Wed, 2 Jun 2010 20:47:49 +0000 (22:47 +0200)]
methods/mirror.cc: remove Acquire::Mirror::RefreshInterval (not really useful)
Michael Vogt [Wed, 2 Jun 2010 20:44:49 +0000 (22:44 +0200)]
improve error message if mirror method fails
Michael Vogt [Wed, 2 Jun 2010 19:43:55 +0000 (21:43 +0200)]
cmdline/apt-report-mirror-failure: port to latest python-apt
Michael Vogt [Wed, 2 Jun 2010 14:51:25 +0000 (16:51 +0200)]
methods/mirror.cc: on fail try the next mirror
Michael Vogt [Wed, 2 Jun 2010 14:40:40 +0000 (16:40 +0200)]
* apt-pkg/deb/dpkgpm.cc:
- add missing include
* methods/mirror.{cc,h}:
- add SelectNextMirror() and InitMirrors() functions
- read all mirrors into the AllMirrors vector
David Kalnischkies [Mon, 31 May 2010 20:36:41 +0000 (22:36 +0200)]
* apt-pkg/cacheset.{cc,h}:
- add simple wrapper around std::set for cache structures
David Kalnischkies [Mon, 31 May 2010 19:00:09 +0000 (21:00 +0200)]
rename packageset into cacheset while it is not too late
David Kalnischkies [Mon, 31 May 2010 18:02:41 +0000 (20:02 +0200)]
* cmdline/apt-cache.cc:
- make the search multiarch compatible by using GrpIterator instead
David Kalnischkies [Mon, 31 May 2010 18:00:16 +0000 (20:00 +0200)]
* apt-pkg/pkgcache.cc:
- get the best matching arch package from a group with FindPreferredPkg
David Kalnischkies [Mon, 31 May 2010 15:22:04 +0000 (17:22 +0200)]
* apt-pkg/contrib/cmdline.cc:
- fix segfault in SaveInConfig caused by writing over char[] sizes
David Kalnischkies [Mon, 31 May 2010 12:16:44 +0000 (14:16 +0200)]
improve the handling of regex together with the architecture modifier
David Kalnischkies [Mon, 31 May 2010 10:58:20 +0000 (12:58 +0200)]
i managed to commit broken code… which (at least in my mind) worked
yesterday. Strange… anyway only small fixes.
David Kalnischkies [Sun, 30 May 2010 22:28:14 +0000 (00:28 +0200)]
move cmdline parsing from apt-cache to new FromCommandLine method
David Kalnischkies [Sun, 30 May 2010 21:12:41 +0000 (23:12 +0200)]
move regex magic from apt-get to new FromRegEx method
David Kalnischkies [Sun, 30 May 2010 05:57:32 +0000 (07:57 +0200)]
* apt-pkg/packageset.h:
- add a simple wrapper around std::set for packages with it
David Kalnischkies [Sat, 29 May 2010 17:10:19 +0000 (19:10 +0200)]
* ftparchive/writer.h:
- add a virtual destructor to FTWScanner class (for cppcheck)
David Kalnischkies [Sat, 29 May 2010 17:02:32 +0000 (19:02 +0200)]
* apt-pkg/depcache.cc:
- correct "Dangerous iterator usage." pointed out by cppcheck
David Kalnischkies [Sat, 29 May 2010 13:44:47 +0000 (15:44 +0200)]
* apt-pkg/cacheiterator.h:
- let pkgCache::Iterator inherent std::iterator
David Kalnischkies [Sat, 29 May 2010 10:04:51 +0000 (12:04 +0200)]
* apt-pkg/indexrecords.{cc,h}:
- add a constant Exists check for MetaKeys
* apt-pkg/acquire-item.cc:
- do not try PDiff if it is not listed in the Meta file
David Kalnischkies [Fri, 28 May 2010 21:40:08 +0000 (23:40 +0200)]
create the bin-test directory automatic in the runner
David Kalnischkies [Fri, 28 May 2010 21:11:36 +0000 (23:11 +0200)]
* apt-pkg/aptconfiguration.cc:
- remove duplicate architectures in getArchitectures()
David Kalnischkies [Fri, 28 May 2010 17:30:19 +0000 (19:30 +0200)]
try harder to find the other pseudo versions for autoremove multiarch
David Kalnischkies [Fri, 28 May 2010 17:04:53 +0000 (19:04 +0200)]
* apt-pkg/depcache.cc:
- do the autoremove mark process also for required packages to handle
these illegally depending on lower priority packages (Closes: #583517)
David Kalnischkies [Fri, 28 May 2010 12:10:00 +0000 (14:10 +0200)]
* apt-pkg/deb/debsystem.cc:
- add better config item for extended_states file
David Kalnischkies [Thu, 27 May 2010 16:13:52 +0000 (18:13 +0200)]
forward manual-installed bit on package disappearance
David Kalnischkies [Thu, 27 May 2010 13:17:52 +0000 (15:17 +0200)]
* apt-pkg/deb/dpkgpm.cc:
- write Disappeared also to the history.log
Michael Vogt [Tue, 25 May 2010 18:26:42 +0000 (20:26 +0200)]
merged from debian-sid
Michael Vogt [Tue, 25 May 2010 15:45:12 +0000 (17:45 +0200)]
methods/http.cc: shorten comment on return values of DealWithHeaders (because we use a enum now)
Michael Vogt [Tue, 25 May 2010 13:57:54 +0000 (15:57 +0200)]
* methods/http.{cc,h}:
- code cleanup, use enums instead of magic ints
Michael Vogt [Tue, 25 May 2010 13:55:05 +0000 (15:55 +0200)]
merged lp:~donkult/apt/sid
David Kalnischkies [Mon, 24 May 2010 18:10:11 +0000 (20:10 +0200)]
- show at the end of the install process a list of disappeared packages
* apt-pkg/packagemanager.h:
- export info about disappeared packages with GetDisappearedPackages()
David Kalnischkies [Mon, 24 May 2010 11:40:50 +0000 (13:40 +0200)]
* apt-pkg/deb/dpkgpm.cc:
- add 'disappear' to the known processing states, thanks Jonathan Nieder
David Kalnischkies [Mon, 24 May 2010 11:18:14 +0000 (13:18 +0200)]
remove the gnome-apt reference as it is removed from unstable
David Kalnischkies [Mon, 24 May 2010 11:03:19 +0000 (13:03 +0200)]
* doc/apt-get.8.xml:
- do not say explicit target_release_{name,version,codename}, it should
be clear by itself and 'man' can break lines again (Closes: #566166)
David Kalnischkies [Mon, 24 May 2010 10:31:08 +0000 (12:31 +0200)]
* debian/libapt-pkg-doc.doc-base.cache:
- remove yet another reference to the removed cache.sgml
David Kalnischkies [Mon, 24 May 2010 10:09:45 +0000 (12:09 +0200)]
use dpkg-buildflags if available for CXXFLAGS
David Kalnischkies [Mon, 24 May 2010 10:06:58 +0000 (12:06 +0200)]
use $(CURDIR) instead of $(pwd)
bubulle@debian.org [Sun, 16 May 2010 05:05:47 +0000 (07:05 +0200)]
Italian translation completed
bubulle@debian.org [Sat, 15 May 2010 18:07:48 +0000 (20:07 +0200)]
Italian translation update. Closes: #581742
David Kalnischkies [Sat, 15 May 2010 10:50:43 +0000 (12:50 +0200)]
* README.arch:
- remove the file completely as it has no use nowadays
David Kalnischkies [Fri, 14 May 2010 10:12:23 +0000 (12:12 +0200)]
handle multiple --{tar,diff,dsc}-only options correctly
Michael Vogt [Fri, 14 May 2010 07:42:05 +0000 (09:42 +0200)]
* debian/apt.postinst:
- do not fail if getent returns nothing useful (LP: #579647)
thanks to Jean-Baptiste Lallement
Michael Vogt [Fri, 14 May 2010 07:33:22 +0000 (09:33 +0200)]
releasing version 0.7.25.3ubuntu8
David Kalnischkies [Thu, 13 May 2010 15:58:35 +0000 (17:58 +0200)]
add "NotAutomatic: yes" handling, thanks Osamu Aoki (Closes: #490347)
David Kalnischkies [Thu, 13 May 2010 15:39:21 +0000 (17:39 +0200)]
* doc/apt.ent
- add entities for the current oldstable/stable/testing codenames
* doc/sources.list.5.xml:
- use stable-codename instead of stable in the examples (Closes: #531492)
* doc/apt_preferences.5.xml:
- adapt some examples here to use current codenames as well
David Kalnischkies [Thu, 13 May 2010 13:20:07 +0000 (15:20 +0200)]
* contrib/mmap.cc:
- clarify "MMap reached size limit" error message, thanks Ivan Masár!
David Kalnischkies [Wed, 12 May 2010 09:44:50 +0000 (11:44 +0200)]
* methods/gpgv.cc:
- remove the keyrings count limit by using vector magic
bubulle@debian.org [Tue, 11 May 2010 17:52:33 +0000 (19:52 +0200)]
Slovak translation update. Closes: #581159
David Kalnischkies [Tue, 11 May 2010 11:59:02 +0000 (13:59 +0200)]
* apt-pkg/depcache.cc:
- be doublesure that the killer query is empty before starting reinstall
Michael Vogt [Fri, 7 May 2010 09:20:31 +0000 (11:20 +0200)]
* methods/http.cc:
- code cleanup, add (some) doxygen strings
Julian Andres Klode [Fri, 7 May 2010 07:20:34 +0000 (09:20 +0200)]
apt-pkg/acquire-item.cc: Fix pkgAcqFile::Custom600Headers() to always return something.
David Kalnischkies [Thu, 6 May 2010 14:15:53 +0000 (16:15 +0200)]
merge with debian-experimental-ma
Michael Vogt [Thu, 6 May 2010 13:41:42 +0000 (15:41 +0200)]
releasing version 0.7.26~exp4
David Kalnischkies [Thu, 6 May 2010 10:31:55 +0000 (12:31 +0200)]
don't suggest held packages as they are installed (Closes: #578135)
Michael Vogt [Thu, 6 May 2010 10:14:53 +0000 (12:14 +0200)]
- install html doxygen in libapt-pkg-doc
* debian/control:
- build-depend on doxygen
David Kalnischkies [Thu, 6 May 2010 09:55:54 +0000 (11:55 +0200)]
convert FileExists to DirectoryExists to check if the path is really a
directory (and to have a better method name in the error message if not)
Michael Vogt [Wed, 5 May 2010 14:39:20 +0000 (16:39 +0200)]
* debian/rules:
- install html doxygen in libapt-pkg-doc as well
Michael Vogt [Wed, 5 May 2010 14:34:20 +0000 (16:34 +0200)]
* debian/rules:
- install html doxygen in libapt-pkg-doc as well
Michael Vogt [Wed, 5 May 2010 14:25:32 +0000 (16:25 +0200)]
* debian/rules:
- install html doxygen in libapt-pkg-doc as well