Martin Pitt [Mon, 15 Nov 2010 10:55:10 +0000 (11:55 +0100)]
apt-pkg/acquire-item.cc: Set Acquire::GzipIndexes to "true" by default, to
store compressed indexes. This feature is now mature enough for general
consumption. Update doc/apt.conf.5.xml accordingly.
Martin Pitt [Mon, 15 Nov 2010 09:55:15 +0000 (10:55 +0100)]
* test/integration/test-compressed-indexes, test/test-indexes.sh:
- Explicitly disable compressed indexes at the start. This ensures that we
will actually test uncompressed indexes regardless of the internal
default value of Acquire::GzipIndexes.
Martin Pitt [Mon, 15 Nov 2010 09:05:32 +0000 (10:05 +0100)]
* cmdline/apt-changelog: Read server name from configuration
APT::Changelog::Server instead of hardcoding it. This allows local users
to point to a local changelog mirror, or make this script work for Debian.
* Add debian/apt.conf.changelog: Configuration for apt-changelog with the
server for Ubuntu (changelogs.ubuntu.com). Install it in debian/rules.
* doc/apt-changelog.1.xml: Document the new option.
Martin Pitt [Tue, 9 Nov 2010 10:31:47 +0000 (11:31 +0100)]
* Add cmdline/apt-changelog: Script to fetch package changelog from
changelogs.ubuntu.com. Install it in cmdline/makefile and debian/rules.
* Add doc/apt-changelog.1.xml, and install it in debian/rules.
* apt-pkg/contrib/fileutl.cc:
- Add a FileFd::FileSize() method to get the size of the underlying
file and not the size of the content in the file as FileFd::Size()
does - the sizes can differ since the direct gzip integration
* methods/{gzip,bzip2}.cc:
- use FileSize() to determine if the file is invalid (Closes: #600852)
* doc/apt.ent:
- move some strings into apt-verbatim.ent to avoid showing them in
apt-doc.pot as they are untranslatable anyway (e.g. manpage references)
Michael Vogt [Wed, 13 Oct 2010 13:33:16 +0000 (15:33 +0200)]
* apt-pkg/deb/debindexfile.cc:
- Use FileFd::Size() instead of stat()ing the sources/binary/translations
indexes directly, so that we have transparent handling of gzipped
indexes.
* apt-pkg/contrib/fileutl.cc:
- Fix FileFd::Size() for gzipped files to give the size of the
uncompressed data. This fixes cache building progress going way
over 100%.
Michael Vogt [Wed, 13 Oct 2010 11:38:13 +0000 (13:38 +0200)]
* debian/apt.cron.daily:
- source /etc/default/locale (if available) so that the
apt-get update cron job fetches the right translated package
descriptions
* fix test failure on amd64
Martin Pitt [Wed, 13 Oct 2010 11:00:49 +0000 (13:00 +0200)]
* apt-pkg/contrib/fileutl.cc:
- Fix FileFd::Size() for gzipped files to give the size of the
uncompressed data. This fixes cache progress building progress going way
over 100%.
Martin Pitt [Wed, 13 Oct 2010 10:45:47 +0000 (12:45 +0200)]
* apt-pkg/deb/debindexfile.cc:
- Use FileFd::Size() instead of stat()ing the sources/binary/translations
indexes directly, so that we have transparent handling of gzipped
indexes.
* apt-pkg/depcache.cc:
- do not remove packages which the user requested for installation
explicitly while satisfying other install requests (Closes: #598669)
Michael Vogt [Fri, 1 Oct 2010 13:25:24 +0000 (15:25 +0200)]
* debian/apt.cron.daily:
- source /etc/default/locale (if available) so that the
apt-get update cron job fetches the right translated package
descriptions
Michael Vogt [Fri, 1 Oct 2010 12:36:31 +0000 (14:36 +0200)]
* debian/apt.cron.daily:
- source /etc/default/locale (if available) so that the
apt-get update cron job fetches the right translated package
descriptions
* apt-pkg/depcache.cc:
- do not check endpointer packages instead of only those which prevented
NeverAutoRemove settings from having an effect (Closes: #598452)
* cmdline/apt-cache.cc:
- use the TranslatedDescription for searching and not the first
available one as it is maybe not an expected language (Closes: #597925)
* debian/apt.cron.daily:
- handle absolut directory paths correctly by loading directories
directly instead of building the paths on our own (Closes: #596421)
* apt-pkg/policy.cc:
- support 100-pinning in Release file with ButAutomaticUpgrades
as requested by the backports crew (Closes: #596097)
* apt-pkg/deb/deblistparser.cc:
- overrule NotAutomatic in case of ButAutomaticUpgrades
Michael Vogt [Fri, 10 Sep 2010 10:21:06 +0000 (12:21 +0200)]
* apt-pkg/contrib/cdromutl.cc:
- if apt-cdrom is used on writable media (like usb-sticks), do
not use the root directory to identify the medium (as all
changes there change the ident id). Use the .disk directory
instead
Michael Vogt [Thu, 9 Sep 2010 17:04:26 +0000 (19:04 +0200)]
* ftparchive/writer.cc:
- null the valid string instead of the date if Valid-Until is not set
* apt-pkg/acquire-item.cc:
- use also unsigned Release files again (Closes: #596189)