summaryrefslogtreecommitdiff
path: root/cmdline
AgeCommit message (Collapse)Author
2010-07-30 - [ABI BREAK] add an ErrorType option to CacheSetHelperDavid Kalnischkies
* cmdline/apt-cache.cc: - use Notice instead of Error in the CacheSetHelper messages for compat reasons. Otherwise tools like sbuild blow up
2010-07-29merged lp:~donkult/apt/sidMichael Vogt
2010-07-27* cmdline/apt-get.cc:Julian Andres Klode
- Support large filesystems by using statvfs64() instead of statvfs() and statfs64() instead of statfs() (Closes: #590513).
2010-07-26 - show in (r)depends the canidate per default instead of newestDavid Kalnischkies
- share the (r)depends code instead of codecopy
2010-07-26add APT::Cache::ShowOnlyFirstOr option to print only the firstDavid Kalnischkies
alternative in the apt-cache (r)depends commands
2010-07-17* apt-pkg/cacheset.cc:David Kalnischkies
- move them back to the library as they look stable now
2010-07-17factor regex package name matches into newly created cachefilter classesDavid Kalnischkies
2010-07-16* cmdline/apt-cache.cc:David Kalnischkies
- be able to omit dependency types in (r)depends (Closes: #319006)
2010-07-11[ Martin Pitt ]David Kalnischkies
* 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.
2010-07-05make the specify order of packages irrelevant (half-close #196021)David Kalnischkies
2010-07-04prefer the Policy if it is built instead of the DepCache andDavid Kalnischkies
if DepCache is not available as fallback built the Policy
2010-07-03reorder classes a bit and make TryToInstallBuildDep use themDavid Kalnischkies
2010-07-03Refactor TryToInstall to look a bit saner by splitting the RemoveDavid Kalnischkies
and the Virtual packages part out of the loop. The function still exists unchanged as TryToInstallBuildDep through for the BuildDep installation method
2010-07-02add a ConstructedBy member to the PackageSet which can be used by theDavid Kalnischkies
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
2010-06-29if the package has no installed & candidate but is virtual see if onlyDavid Kalnischkies
one package provides it - if it is only one use this package instead
2010-06-29rename AddSelectedVersion() to a better public FromPackage()David Kalnischkies
2010-06-29for install, do all installs first and then the removes and vice versaDavid Kalnischkies
2010-06-28 - factor out code to get a single package FromName()David Kalnischkies
- check in Grouped* first without modifier interpretation
2010-06-26 - only print errors if all tries to get a package by string failedDavid Kalnischkies
*
2010-06-26give the APT::Cache::Generate option her effect backDavid Kalnischkies
2010-06-26do not override the user set quiet setting even if the target is not a ttyDavid Kalnischkies
2010-06-25print all messages if the application is in an interactive runDavid Kalnischkies
2010-06-24Switch FileFd to not transparently gunzip, since that breaks code which ↵martin@piware.de
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
2010-06-22Use an abstract helper for error handling and outputDavid Kalnischkies
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…
2010-06-19* cmdline/apt-get.cc:David Kalnischkies
- use the cachsets in the install commands
2010-06-19get packages by task^ with FromTask()David Kalnischkies
2010-06-15* cmdline/cacheset.cc:David Kalnischkies
- doesn't include it in the library for now as it is too volatile
2010-06-09merged from lp:~donkult/apt/sidMichael Vogt
2010-06-09* merge the remaining Ubuntu change:Michael Vogt
- 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)
2010-06-09* apt-pkg/pkgcache.h:David Kalnischkies
- 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
2010-06-06use the GroupedFromCommandLine() method in the dotty and xvcg commandDavid Kalnischkies
to get all the funky features in less lines
2010-06-05do not fail if an unrelated error is pending in DisplayRecord()David Kalnischkies
2010-06-05accept package versions in the unmet commandDavid Kalnischkies
2010-06-05apt-cache show --no-all-versions should issues the CandidateDavid Kalnischkies
2010-06-05Don't increase the commandline parameter in the library but in theDavid Kalnischkies
application to be really generic.
2010-06-05add --target-release option (Closes: #115520)David Kalnischkies
2010-06-05Add a option to apt-cache policy to additionally init the DepCache beforeDavid Kalnischkies
starting to get the package informations. This is useful e.g. for debugging the MultiArchKiller.
2010-06-05use pkgCacheFile and the new CacheSets all over the placeDavid Kalnischkies
2010-06-04Switch away from the now deprecated methods for Cache buildingDavid Kalnischkies
2010-06-03* cmdline/apt-get.cc:David Kalnischkies
- use unsigned long long instead of double to store values it gets
2010-06-02cmdline/apt-report-mirror-failure: port to latest python-aptMichael Vogt
2010-05-31rename packageset into cacheset while it is not too lateDavid Kalnischkies
2010-05-31* cmdline/apt-cache.cc:David Kalnischkies
- make the search multiarch compatible by using GrpIterator instead
2010-05-31i managed to commit broken code… which (at least in my mind) workedDavid Kalnischkies
yesterday. Strange… anyway only small fixes.
2010-05-31move cmdline parsing from apt-cache to new FromCommandLine methodDavid Kalnischkies
2010-05-30move regex magic from apt-get to new FromRegEx methodDavid Kalnischkies
2010-05-24 - show at the end of the install process a list of disappeared packagesDavid Kalnischkies
* apt-pkg/packagemanager.h: - export info about disappeared packages with GetDisappearedPackages()
2010-05-14handle multiple --{tar,diff,dsc}-only options correctlyDavid Kalnischkies
2010-05-06merge with debian-experimental-maDavid Kalnischkies
2010-05-06don't suggest held packages as they are installed (Closes: #578135)David Kalnischkies