]> git.saurik.com Git - apt.git/log
apt.git
14 years ago * apt-pkg/cacheset.cc:
Michael Vogt [Thu, 29 Jul 2010 22:17:16 +0000 (00:17 +0200)] 
 * apt-pkg/cacheset.cc:
   - make CacheSetHelper::canNotFindAllVer display a notice
     only (for compat reasons). Otherwise tools like sbuild
     blow up

14 years ago* debian/control:
Michael Vogt [Thu, 29 Jul 2010 22:15:12 +0000 (00:15 +0200)] 
* debian/control:
  - add dependency on zlib-dev for libapt-pkg-dev

14 years agoreleasing version 0.7.26~exp11
Michael Vogt [Thu, 29 Jul 2010 15:02:30 +0000 (17:02 +0200)] 
releasing version 0.7.26~exp11

14 years agomerge from lp:~donkult/apt/sid
Michael Vogt [Thu, 29 Jul 2010 14:31:40 +0000 (16:31 +0200)] 
merge from lp:~donkult/apt/sid

14 years agoapt-pkg/init.h: update MAPT_PKG_MINOR because 9 was used in experimental for some...
Michael Vogt [Thu, 29 Jul 2010 14:28:33 +0000 (16:28 +0200)] 
apt-pkg/init.h: update MAPT_PKG_MINOR because 9 was used in experimental for some time and there was quite a bit of churn

14 years agoremove the temporary compare files we create
David Kalnischkies [Thu, 29 Jul 2010 13:09:18 +0000 (15:09 +0200)] 
remove the temporary compare files we create

14 years agoadd inline DumpError() to avoid subtle API break
Michael Vogt [Thu, 29 Jul 2010 12:51:05 +0000 (14:51 +0200)] 
add inline DumpError() to avoid subtle API break

14 years ago* apt-pkg/contrib/error.{cc,h}
Michael Vogt [Thu, 29 Jul 2010 12:37:36 +0000 (14:37 +0200)] 
* apt-pkg/contrib/error.{cc,h}
  - docstring cleanup

14 years ago* apt-pkg/orderlist.cc:
Michael Vogt [Thu, 29 Jul 2010 12:29:26 +0000 (14:29 +0200)] 
* apt-pkg/orderlist.cc:
  - try to install another or-group member in DepRemove before
    breaking the or group (Closes: #590438)
  - configure also the replacement before remove by adding Immediate flag

14 years agoconfigure also the replacement before remove by adding Immediate flag
David Kalnischkies [Thu, 29 Jul 2010 10:26:26 +0000 (12:26 +0200)] 
configure also the replacement before remove by adding Immediate flag

14 years agomerged lp:~donkult/apt/sid
Michael Vogt [Thu, 29 Jul 2010 09:37:05 +0000 (11:37 +0200)] 
merged lp:~donkult/apt/sid

14 years ago* apt-pkg/orderlist.cc:
David Kalnischkies [Wed, 28 Jul 2010 19:53:17 +0000 (21:53 +0200)] 
* apt-pkg/orderlist.cc:
  - try to install another or-group member in DepRemove before
    breaking the or group (Closes: #590438)

14 years agoauto-install Packages and status file of the testcase
David Kalnischkies [Wed, 28 Jul 2010 19:47:42 +0000 (21:47 +0200)] 
auto-install Packages and status file of the testcase

14 years ago* apt-pkg/cdrom.cc:
Julian Andres Klode [Tue, 27 Jul 2010 11:57:42 +0000 (13:57 +0200)] 
* apt-pkg/cdrom.cc:
  - Use link() instead of rename() for creating the CD database backup;
    otherwise there would be a short time without any database.

14 years ago* cmdline/apt-get.cc:
Julian Andres Klode [Tue, 27 Jul 2010 11:27:26 +0000 (13:27 +0200)] 
* cmdline/apt-get.cc:
  - Support large filesystems by using statvfs64() instead of statvfs()
    and statfs64() instead of statfs() (Closes: #590513).

14 years ago - show in (r)depends the canidate per default instead of newest
David Kalnischkies [Mon, 26 Jul 2010 10:43:25 +0000 (12:43 +0200)] 
  - show in (r)depends the canidate per default instead of newest
  - share the (r)depends code instead of codecopy

14 years ago - add a 'newest' pseudo target release as in pkg/newest
David Kalnischkies [Mon, 26 Jul 2010 08:53:32 +0000 (10:53 +0200)] 
  - add a 'newest' pseudo target release as in pkg/newest
*

14 years agoadd APT::Cache::ShowOnlyFirstOr option to print only the first
David Kalnischkies [Mon, 26 Jul 2010 07:22:53 +0000 (09:22 +0200)] 
add APT::Cache::ShowOnlyFirstOr option to print only the first
alternative in the apt-cache (r)depends commands

14 years agoStrip the .sh extension from the libapt testrunner and
David Kalnischkies [Sun, 25 Jul 2010 18:04:16 +0000 (20:04 +0200)] 
Strip the .sh extension from the libapt testrunner and
make it a bit more robust against calling from outside

14 years ago - prefer non-virtual packages in FindPreferredPkg (Closes: #590041)
David Kalnischkies [Sun, 25 Jul 2010 17:51:53 +0000 (19:51 +0200)] 
  - prefer non-virtual packages in FindPreferredPkg (Closes: #590041)
* test/integration/*:
  - add with bug#590041 testcase a small test "framework"

14 years ago* apt-pkg/pkgcache.cc:
David Kalnischkies [Sun, 25 Jul 2010 06:24:03 +0000 (08:24 +0200)] 
* apt-pkg/pkgcache.cc:
  - prefer non-virtual packages in FindPreferredPkg

14 years ago* apt-pkg/contrib/fileutl.cc:
Julian Andres Klode [Fri, 23 Jul 2010 14:13:15 +0000 (16:13 +0200)] 
* apt-pkg/contrib/fileutl.cc:
  - Add FileFd::OpenDescriptor() (needed for python-apt's #383617).

14 years agoAdd to history whether a change was automatic or not.
Julian Andres Klode [Wed, 21 Jul 2010 15:19:16 +0000 (17:19 +0200)] 
Add to history whether a change was automatic or not.

14 years ago* apt-pkg/deb/dpkgpm.cc:
Julian Andres Klode [Wed, 21 Jul 2010 15:14:53 +0000 (17:14 +0200)] 
* apt-pkg/deb/dpkgpm.cc:
  - Write architecture information to history file.

14 years ago* apt-pkg/cacheset.cc:
David Kalnischkies [Sat, 17 Jul 2010 18:04:44 +0000 (20:04 +0200)] 
* apt-pkg/cacheset.cc:
  - move them back to the library as they look stable now

14 years agofactor regex package name matches into newly created cachefilter classes
David Kalnischkies [Sat, 17 Jul 2010 17:07:00 +0000 (19:07 +0200)] 
factor regex package name matches into newly created cachefilter classes

14 years ago* cmdline/apt-cache.cc:
David Kalnischkies [Fri, 16 Jul 2010 15:42:54 +0000 (17:42 +0200)] 
* cmdline/apt-cache.cc:
  - be able to omit dependency types in (r)depends (Closes: #319006)

14 years ago* apt-pkg/depcache.cc:
David Kalnischkies [Wed, 14 Jul 2010 20:59:43 +0000 (22:59 +0200)] 
* apt-pkg/depcache.cc:
  - handle "circular" conflicts for "all" packages correctly

14 years agomerged from lp:~donkult/apt/sid
Michael Vogt [Mon, 12 Jul 2010 11:26:10 +0000 (13:26 +0200)] 
merged from lp:~donkult/apt/sid

14 years agoaccidently prefilling the vectors results in segfaults
David Kalnischkies [Sun, 11 Jul 2010 21:07:58 +0000 (23:07 +0200)] 
accidently prefilling the vectors results in segfaults

14 years ago* methods/bzip2.cc:
David Kalnischkies [Sun, 11 Jul 2010 19:57:51 +0000 (21:57 +0200)] 
* methods/bzip2.cc:
  - add a copycat of the old gzip.cc as we need it for bzip2 and lzma

14 years agomark all "Hash Sum mismatch" strings as translateable
David Kalnischkies [Sun, 11 Jul 2010 17:44:14 +0000 (19:44 +0200)] 
mark all "Hash Sum mismatch" strings as translateable

14 years agorename ReOwn to ReMap in the cacheiterators
David Kalnischkies [Sun, 11 Jul 2010 17:19:35 +0000 (19:19 +0200)] 
rename ReOwn to ReMap in the cacheiterators

14 years agofix typo preventing display of architecture in Info()
David Kalnischkies [Sun, 11 Jul 2010 16:58:54 +0000 (18:58 +0200)] 
fix typo preventing display of architecture in Info()

14 years ago* apt-pkg/deb/debmetaindex.cc:
David Kalnischkies [Sun, 11 Jul 2010 16:50:41 +0000 (18:50 +0200)] 
* apt-pkg/deb/debmetaindex.cc:
  - do not query each architecture for flat file archives

14 years ago[ Martin Pitt ]
David Kalnischkies [Sun, 11 Jul 2010 10:55:51 +0000 (12:55 +0200)] 
[ Martin Pitt ]
* debian/rules:
  - Make DEB_BUILD_OPTIONS=noopt actually work by passing the right
    CXXFLAGS.
* apt-pkg/contrib/fileutl.{h,cc}:
  - Add support for reading of gzipped files with the new "ReadOnlyGzip"
    OpenMode. (Closes: #188407)
  - Link against zlib (in apt-pkg/makefile) and add zlib build dependency.
  - [ABI BREAK] This adds a new private member to FileFd, but its
    initialization is in the public header file.
* configure.in:
  - Check for zlib library and headers.
* apt-pkg/acquire-item.cc, apt-pkg/deb/debindexfile.cc,
  apt-pkg/deb/debrecords.cc, apt-pkg/deb/debsrcrecords.h,
  cmdline/apt-cache.cc:
  - Open Packages, Sources, and Translations indexes in "ReadOnlyGzip" mode.
* apt-pkg/deb/debindexfile.cc:
  - If we do not find uncompressed package/source/translation indexes, look
    for gzip compressed ones.
* apt-pkg/acquire-item.cc:
  - If the Acquire::GzipIndexes option is true and we download a gzipped
    index file, keep it as it is (and rename to .gz) instead of
    uncompressing it.
* doc/apt.conf.5.xml:
  - Document the new Acquire::GzipIndexes option.
* doc/po/apt-doc.pot, doc/po/de.po:
  - German translation of new Acquire::GzipIndexes option.
* Add test/test-indexes.sh:
  - Test behaviour of index retrieval and usage, in particular with
    uncompressed and gzip compressed indexes.
* methods/gzip.cc: With FileFd now being able to read gzipped files, there
  is no need for the gzip method any more to spawn an external gzip process.
  Rewrite it to use FileFd directly, which makes the code a lot simpler, and
  also using less memory and overhead.

14 years ago* apt-pkg/contrib/error.{cc,h}:
David Kalnischkies [Sat, 10 Jul 2010 11:51:47 +0000 (13:51 +0200)] 
* apt-pkg/contrib/error.{cc,h}:
  - remove constness of va_list parameter to fix build on amd64 and co
    Thanks Eric Valette! (Closes: #588610)

14 years agoreleasing version 0.7.26~exp9
Michael Vogt [Fri, 9 Jul 2010 20:53:15 +0000 (22:53 +0200)] 
releasing version 0.7.26~exp9

14 years ago* doc/apt.conf.5.xml:
Michael Vogt [Fri, 9 Jul 2010 19:54:02 +0000 (21:54 +0200)] 
* doc/apt.conf.5.xml:
  - add and document APT::Cache-{Start,Grow,Limit} options for mmap control

14 years agocheck the state of the FileFd before renaming as otherwise the rename
David Kalnischkies [Fri, 9 Jul 2010 19:46:42 +0000 (21:46 +0200)] 
check the state of the FileFd before renaming as otherwise the rename
will be tried twice e.g. in an "apt-get update" run and every other piece
of code closing the FileFd manual before the destructor will do it again.

14 years agoreleasing version 0.7.26~exp8
Michael Vogt [Fri, 9 Jul 2010 19:16:01 +0000 (21:16 +0200)] 
releasing version 0.7.26~exp8

14 years agoswitch from std::set to std::vector as it is way more simple, a bit
David Kalnischkies [Fri, 9 Jul 2010 17:51:19 +0000 (19:51 +0200)] 
switch from std::set to std::vector as it is way more simple, a bit
faster and still provides everything we need for the Cache generator

14 years ago* apt-pkg/deb/dpkgpm.cc:
Michael Vogt [Fri, 9 Jul 2010 17:14:44 +0000 (19:14 +0200)] 
* apt-pkg/deb/dpkgpm.cc:
  - make the apt/term.log output unbuffered (thanks to Matt Zimmerman)

14 years agomerged from donkult
Michael Vogt [Fri, 9 Jul 2010 17:10:28 +0000 (19:10 +0200)] 
merged from donkult

14 years ago* doc/apt.conf.5.xml:
David Kalnischkies [Fri, 9 Jul 2010 15:00:28 +0000 (17:00 +0200)] 
* doc/apt.conf.5.xml:
  - add and document APT::Cache-{Start,Grow,Limit} options for mmap control

14 years ago* apt-pkg/pkgcachegen.{cc,h}:
David Kalnischkies [Thu, 8 Jul 2010 13:28:53 +0000 (15:28 +0200)] 
* apt-pkg/pkgcachegen.{cc,h}:
  - make the used MMap moveable (and therefore dynamic resizeable) by
    applying (some) mad pointer magic (Closes: #195018)

14 years agouse references instead of copies in the Cache generation methods
David Kalnischkies [Thu, 8 Jul 2010 09:10:46 +0000 (11:10 +0200)] 
use references instead of copies in the Cache generation methods

14 years ago* apt-pkg/deb/dpkgpm.cc:
Michael Vogt [Wed, 7 Jul 2010 14:47:09 +0000 (16:47 +0200)] 
* apt-pkg/deb/dpkgpm.cc:
  - make the apt/term.log output unbuffered (thanks to Matt Zimmerman)

14 years agomethods/gzip.cc: With FileFd now being able to read gzipped files, there
martin@piware.de [Tue, 6 Jul 2010 11:14:57 +0000 (13:14 +0200)] 
methods/gzip.cc: With FileFd now being able to read gzipped files, there
is no need for the gzip method any more to spawn an external gzip process.
Rewrite it to use FileFd directly, which makes the code a lot simpler, and
also using less memory and overhead.

14 years agoFileFd(): Drop file name extension check in ReadOnlyGzip mode
martin@piware.de [Tue, 6 Jul 2010 10:48:06 +0000 (12:48 +0200)] 
FileFd(): Drop file name extension check in ReadOnlyGzip mode

Drop the ".gz" extension check in FileFd::Open() in ReadOnlyGzip mode, to not
depend on a particular file extension. This allows rewriting the gzip method
using internal decompression (on ".decomp" files).

This requires a zlib bug workaround in FileFd::Close(): When opening an empty
file with gzdopen(), gzclose() fails with Z_BUF_ERROR. Do not count this as a
failure.

14 years agowrap the mmap actions in the CacheGenerator in their own methods to
David Kalnischkies [Tue, 6 Jul 2010 08:21:45 +0000 (10:21 +0200)] 
wrap the mmap actions in the CacheGenerator in their own methods to
be able to react on condition changes later then we can move mmap

14 years agoextends the ParseDepends testcase to have a look also at the Wildcards
David Kalnischkies [Mon, 5 Jul 2010 10:12:40 +0000 (12:12 +0200)] 
extends the ParseDepends testcase to have a look also at the Wildcards

14 years agomerge with debian-experimental-ma
David Kalnischkies [Mon, 5 Jul 2010 10:06:45 +0000 (12:06 +0200)] 
merge with debian-experimental-ma

14 years agofix typos and add a proper Closes tag after the unmerge in debbugs
David Kalnischkies [Mon, 5 Jul 2010 10:00:46 +0000 (12:00 +0200)] 
fix typos and add a proper Closes tag after the unmerge in debbugs

14 years agoTry to use NotEquals for the MultiArch Breaks dependencies instead of
David Kalnischkies [Mon, 5 Jul 2010 09:42:57 +0000 (11:42 +0200)] 
Try to use NotEquals for the MultiArch Breaks dependencies instead of
Less and Greater -> half the dependencies :)

14 years agomake the specify order of packages irrelevant (half-close #196021)
David Kalnischkies [Mon, 5 Jul 2010 09:34:35 +0000 (11:34 +0200)] 
make the specify order of packages irrelevant (half-close #196021)

14 years agoclean deblistparser a bit by get the Architectures at one place
David Kalnischkies [Sun, 4 Jul 2010 15:04:07 +0000 (17:04 +0200)] 
clean deblistparser a bit by get the Architectures at one place
instead of distributed in a few methods

14 years ago* apt-pkg/policy.h:
David Kalnischkies [Sun, 4 Jul 2010 12:23:20 +0000 (14:23 +0200)] 
* apt-pkg/policy.h:
  - add another round of const& madness as the previous round accidently
    NOT override the virtual GetCandidateVer() method (Closes: #587725)

14 years agoprefer the Policy if it is built instead of the DepCache and
David Kalnischkies [Sat, 3 Jul 2010 22:32:52 +0000 (00:32 +0200)] 
prefer the Policy if it is built instead of the DepCache and
if DepCache is not available as fallback built the Policy

14 years agoreorder classes a bit and make TryToInstallBuildDep use them
David Kalnischkies [Sat, 3 Jul 2010 21:55:12 +0000 (23:55 +0200)] 
reorder classes a bit and make TryToInstallBuildDep use them

14 years agoRefactor TryToInstall to look a bit saner by splitting the Remove
David Kalnischkies [Sat, 3 Jul 2010 18:09:17 +0000 (20:09 +0200)] 
Refactor TryToInstall to look a bit saner by splitting the Remove
and the Virtual packages part out of the loop.
The function still exists unchanged as TryToInstallBuildDep through
for the BuildDep installation method

14 years agoadd a ConstructedBy member to the PackageSet which can be used by the
David Kalnischkies [Fri, 2 Jul 2010 05:06:53 +0000 (07:06 +0200)] 
add a ConstructedBy member to the PackageSet which can be used by the
e.g. FromString to tell the caller if the string was an exact match
or found by regex or task. The two later ones can match packages for
which we want to ignore failures in the VersionSet

14 years agoif the package has no installed & candidate but is virtual see if only
David Kalnischkies [Tue, 29 Jun 2010 17:21:35 +0000 (19:21 +0200)] 
if the package has no installed & candidate but is virtual see if only
one package provides it - if it is only one use this package instead

14 years agorename AddSelectedVersion() to a better public FromPackage()
David Kalnischkies [Tue, 29 Jun 2010 17:10:47 +0000 (19:10 +0200)] 
rename AddSelectedVersion() to a better public FromPackage()

14 years agoFix the atomic replace.
Julian Andres Klode [Tue, 29 Jun 2010 15:28:33 +0000 (17:28 +0200)] 
Fix the atomic replace.

14 years ago* apt-pkg/contrib/fileutl.cc:
Julian Andres Klode [Tue, 29 Jun 2010 15:23:24 +0000 (17:23 +0200)] 
* apt-pkg/contrib/fileutl.cc:
  - Make FileFd replace files atomically in WriteTemp mode (for cache, etc).

14 years agofor install, do all installs first and then the removes and vice versa
David Kalnischkies [Tue, 29 Jun 2010 15:14:45 +0000 (17:14 +0200)] 
for install, do all installs first and then the removes and vice versa

14 years agodebian/control: Set Standards-Version to 3.9.0
Julian Andres Klode [Tue, 29 Jun 2010 13:21:24 +0000 (15:21 +0200)] 
debian/control: Set Standards-Version to 3.9.0

14 years ago - factor out code to get a single package FromName()
David Kalnischkies [Mon, 28 Jun 2010 20:13:17 +0000 (22:13 +0200)] 
  - factor out code to get a single package FromName()
  - check in Grouped* first without modifier interpretation

14 years agoAlso free regular expressions.
Julian Andres Klode [Mon, 28 Jun 2010 15:38:08 +0000 (17:38 +0200)] 
Also free regular expressions.

14 years agoUse _error->Warning() instead of writing to std::cerr.
Julian Andres Klode [Mon, 28 Jun 2010 15:34:54 +0000 (17:34 +0200)] 
Use _error->Warning() instead of writing to std::cerr.

14 years agoRemove debugging stuff, this was not meant to be here.
Julian Andres Klode [Mon, 28 Jun 2010 15:30:40 +0000 (17:30 +0200)] 
Remove debugging stuff, this was not meant to be here.

14 years agoAlso support regular expressions and glob() patterns in "Pin: version".
Julian Andres Klode [Mon, 28 Jun 2010 15:29:11 +0000 (17:29 +0200)] 
Also support regular expressions and glob() patterns in "Pin: version".

14 years ago* apt-pkg/versionmatch.cc:
Julian Andres Klode [Mon, 28 Jun 2010 15:21:14 +0000 (17:21 +0200)] 
* apt-pkg/versionmatch.cc:
  - Support matching pins by regular expressions or glob() like patterns,
    regular expressions have to be put between to slashes; for example,
    /.*/.

14 years agodeblistparser: Special-case *-armel, lpia and powerpcspe architectures.
Julian Andres Klode [Sun, 27 Jun 2010 19:04:53 +0000 (21:04 +0200)] 
deblistparser: Special-case *-armel, lpia and powerpcspe architectures.

14 years agoapt-pkg/deb/deblistparser.cc: Fix bug in architecture wildcard support.
Julian Andres Klode [Sat, 26 Jun 2010 21:01:49 +0000 (23:01 +0200)] 
apt-pkg/deb/deblistparser.cc: Fix bug in architecture wildcard support.

Previously, linux-any was always matched, because the code simply
appended linux- to the APT::Architecture value. Now, it does this
only if the APT::Architecture value does not contain "-".

14 years ago - only print errors if all tries to get a package by string failed
David Kalnischkies [Sat, 26 Jun 2010 19:17:34 +0000 (21:17 +0200)] 
  - only print errors if all tries to get a package by string failed
*

14 years agodebian/changelog: Fix a typo
Julian Andres Klode [Sat, 26 Jun 2010 19:16:20 +0000 (21:16 +0200)] 
debian/changelog: Fix a typo

14 years ago* apt-pkg/deb/deblistparser.cc:
Julian Andres Klode [Sat, 26 Jun 2010 18:56:44 +0000 (20:56 +0200)] 
* apt-pkg/deb/deblistparser.cc:
  - Handle architecture wildcards (Closes: #547724).

14 years agoalways mark the all package if a pseudo package is marked for install
David Kalnischkies [Sat, 26 Jun 2010 18:49:47 +0000 (20:49 +0200)] 
always mark the all package if a pseudo package is marked for install

14 years agogive the APT::Cache::Generate option her effect back
David Kalnischkies [Sat, 26 Jun 2010 17:22:23 +0000 (19:22 +0200)] 
give the APT::Cache::Generate option her effect back

14 years agodo not override the user set quiet setting even if the target is not a tty
David Kalnischkies [Sat, 26 Jun 2010 17:04:20 +0000 (19:04 +0200)] 
do not override the user set quiet setting even if the target is not a tty

14 years agomake the MMap Grow Error a fatal one as while in theory the code should
David Kalnischkies [Sat, 26 Jun 2010 16:42:42 +0000 (18:42 +0200)] 
make the MMap Grow Error a fatal one as while in theory the code should
never segfault it still tend to do it so better show it directly

14 years ago* apt-pkg/contrib/fileutl.cc:
David Kalnischkies [Sat, 26 Jun 2010 16:40:15 +0000 (18:40 +0200)] 
* apt-pkg/contrib/fileutl.cc:
  - show notice about ignored file instead of being always silent
  - add a Dir::Ignore-Files-Silently list option to control the notice
*

14 years ago - use the new MatchAgainstConfig for the DefaultRootSetFunc
David Kalnischkies [Sat, 26 Jun 2010 11:29:24 +0000 (13:29 +0200)] 
  - use the new MatchAgainstConfig for the DefaultRootSetFunc
* apt-pkg/contrib/configuration.{cc,h}:
  - add a wrapper to match strings against configurable regex patterns

14 years ago* apt-pkg/aptconfiguration.cc:
David Kalnischkies [Sat, 26 Jun 2010 07:03:26 +0000 (09:03 +0200)] 
* apt-pkg/aptconfiguration.cc:
  - show a deprecation notice for APT::Acquire::Translation

14 years agoprint all messages if the application is in an interactive run
David Kalnischkies [Fri, 25 Jun 2010 18:11:11 +0000 (20:11 +0200)] 
print all messages if the application is in an interactive run

14 years agoadd a simple stack handling to be able to delay error handling
David Kalnischkies [Fri, 25 Jun 2010 17:16:12 +0000 (19:16 +0200)] 
add a simple stack handling to be able to delay error handling

14 years ago* apt-pkg/contrib/error.{cc,h}:
David Kalnischkies [Fri, 25 Jun 2010 06:01:48 +0000 (08:01 +0200)] 
* apt-pkg/contrib/error.{cc,h}:
  - complete rewrite but use the same API
  - add NOTICE and DEBUG as new types of a message

14 years agotest-indexes.sh: EXFAIL: file:/ URIs currently decompress even with the GzipIndexes...
martin@piware.de [Thu, 24 Jun 2010 20:59:48 +0000 (22:59 +0200)] 
test-indexes.sh: EXFAIL: file:/ URIs currently decompress even with the GzipIndexes option; not a big deal for now

14 years agoapt-pkg/acquire-item.cc: Fix handling of local (file:/) sources
martin@piware.de [Thu, 24 Jun 2010 20:43:07 +0000 (22:43 +0200)] 
apt-pkg/acquire-item.cc: Fix handling of local (file:/) sources

14 years agotest-indexes.sh: Test handling of local file:// archives
martin@piware.de [Thu, 24 Jun 2010 19:27:59 +0000 (21:27 +0200)] 
test-indexes.sh: Test handling of local file:// archives

14 years agoSwitch FileFd to not transparently gunzip, since that breaks code which expects the...
martin@piware.de [Thu, 24 Jun 2010 19:27:27 +0000 (21:27 +0200)] 
Switch FileFd to not transparently gunzip, since that breaks code which expects the compressed contents to stay (such as the copy backend, or when using file:// repositories. Instead, introduce a new ReadOnlyGzip mode and use that where needed

14 years agomethods/ftp.h: Handle different logins are on the same server (Closes: #586904).
Julian Andres Klode [Thu, 24 Jun 2010 08:57:45 +0000 (10:57 +0200)] 
methods/ftp.h: Handle different logins are on the same server (Closes: #586904).

14 years agoUse an abstract helper for error handling and output
David Kalnischkies [Tue, 22 Jun 2010 16:01:11 +0000 (18:01 +0200)] 
Use an abstract helper for error handling and output
instead of doing this directly in the CacheSets.
With this method an application like apt-get can change
the behavior of the CacheSets to his liking.
It can for example easily keep track of how packages
were added to the set: by names or with regex's…

14 years agodebian/changelog: it is an ABI break after all
martin@piware.de [Mon, 21 Jun 2010 11:22:40 +0000 (13:22 +0200)] 
debian/changelog: it is an ABI break after all

14 years ago* cmdline/apt-get.cc:
David Kalnischkies [Sat, 19 Jun 2010 12:16:40 +0000 (14:16 +0200)] 
* cmdline/apt-get.cc:
  - use the cachsets in the install commands

14 years agoget packages by task^ with FromTask()
David Kalnischkies [Sat, 19 Jun 2010 09:49:38 +0000 (11:49 +0200)] 
get packages by task^ with FromTask()

14 years agofix the gcc warning about the initialisation order of variables caused
David Kalnischkies [Sat, 19 Jun 2010 07:13:33 +0000 (09:13 +0200)] 
fix the gcc warning about the initialisation order of variables caused
by moving Policy to public again (and therefore after SrcList)

14 years agotest-indexes.sh: quiesce apt-get source; we know that we cannot verify package signatures
martin@piware.de [Thu, 17 Jun 2010 11:58:39 +0000 (13:58 +0200)] 
test-indexes.sh: quiesce apt-get source; we know that we cannot verify package signatures