summaryrefslogtreecommitdiff
path: root/cmdline
Commit message (Collapse)AuthorAgeFilesLines
* - show in (r)depends the canidate per default instead of newestDavid Kalnischkies2010-07-261-146/+64
| | | - share the (r)depends code instead of codecopy
* add APT::Cache::ShowOnlyFirstOr option to print only the firstDavid Kalnischkies2010-07-261-2/+10
| | | | alternative in the apt-cache (r)depends commands
* * apt-pkg/cacheset.cc:David Kalnischkies2010-07-175-887/+4
| | | - move them back to the library as they look stable now
* factor regex package name matches into newly created cachefilter classesDavid Kalnischkies2010-07-171-13/+5
|
* * cmdline/apt-cache.cc:David Kalnischkies2010-07-161-15/+62
| | | - be able to omit dependency types in (r)depends (Closes: #319006)
* [ Martin Pitt ]David Kalnischkies2010-07-111-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * Switch FileFd to not transparently gunzip, since that breaks code which ↵martin@piware.de2010-06-241-1/+1
| | | | | | | | 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
* | make the specify order of packages irrelevant (half-close #196021)David Kalnischkies2010-07-051-5/+18
| |
* | prefer the Policy if it is built instead of the DepCache andDavid Kalnischkies2010-07-042-3/+7
| | | | | | | | if DepCache is not available as fallback built the Policy
* | reorder classes a bit and make TryToInstallBuildDep use themDavid Kalnischkies2010-07-031-360/+250
| |
* | Refactor TryToInstall to look a bit saner by splitting the RemoveDavid Kalnischkies2010-07-032-53/+177
| | | | | | | | | | | | and the Virtual packages part out of the loop. The function still exists unchanged as TryToInstallBuildDep through for the BuildDep installation method
* | add a ConstructedBy member to the PackageSet which can be used by theDavid Kalnischkies2010-07-022-17/+51
| | | | | | | | | | | | 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
* | if the package has no installed & candidate but is virtual see if onlyDavid Kalnischkies2010-06-293-37/+59
| | | | | | | | one package provides it - if it is only one use this package instead
* | rename AddSelectedVersion() to a better public FromPackage()David Kalnischkies2010-06-292-10/+15
| |
* | for install, do all installs first and then the removes and vice versaDavid Kalnischkies2010-06-291-38/+54
| |
* | - factor out code to get a single package FromName()David Kalnischkies2010-06-282-53/+113
| | | | | | - check in Grouped* first without modifier interpretation
* | - only print errors if all tries to get a package by string failedDavid Kalnischkies2010-06-261-6/+12
| | | | | | *
* | give the APT::Cache::Generate option her effect backDavid Kalnischkies2010-06-261-1/+3
| |
* | do not override the user set quiet setting even if the target is not a ttyDavid Kalnischkies2010-06-263-3/+3
| |
* | print all messages if the application is in an interactive runDavid Kalnischkies2010-06-253-21/+15
| |
* | Use an abstract helper for error handling and outputDavid Kalnischkies2010-06-223-118/+244
| | | | | | | | | | | | | | | | 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…
* | * cmdline/apt-get.cc:David Kalnischkies2010-06-192-203/+49
| | | | | | - use the cachsets in the install commands
* | get packages by task^ with FromTask()David Kalnischkies2010-06-192-9/+87
| |
* | * cmdline/cacheset.cc:David Kalnischkies2010-06-153-2/+606
| | | | | | - doesn't include it in the library for now as it is too volatile
* | merged from lp:~donkult/apt/sidMichael Vogt2010-06-093-408/+326
|\ \
| * \ * apt-pkg/pkgcache.h:David Kalnischkies2010-06-091-6/+6
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
| | * | * cmdline/apt-get.cc:David Kalnischkies2010-06-031-6/+6
| | | | | | | | | | | | - use unsigned long long instead of double to store values it gets
| * | | use the GroupedFromCommandLine() method in the dotty and xvcg commandDavid Kalnischkies2010-06-061-56/+28
| | | | | | | | | | | | | | | | to get all the funky features in less lines
| * | | do not fail if an unrelated error is pending in DisplayRecord()David Kalnischkies2010-06-051-4/+4
| | | |
| * | | accept package versions in the unmet commandDavid Kalnischkies2010-06-051-23/+34
| | | |
| * | | apt-cache show --no-all-versions should issues the CandidateDavid Kalnischkies2010-06-051-1/+1
| | | |
| * | | Don't increase the commandline parameter in the library but in theDavid Kalnischkies2010-06-051-6/+6
| | | | | | | | | | | | | | | | application to be really generic.
| * | | add --target-release option (Closes: #115520)David Kalnischkies2010-06-051-0/+2
| | | |
| * | | Add a option to apt-cache policy to additionally init the DepCache beforeDavid Kalnischkies2010-06-051-0/+6
| | | | | | | | | | | | | | | | | | | | starting to get the package informations. This is useful e.g. for debugging the MultiArchKiller.
| * | | use pkgCacheFile and the new CacheSets all over the placeDavid Kalnischkies2010-06-051-205/+194
| | | |
| * | | Switch away from the now deprecated methods for Cache buildingDavid Kalnischkies2010-06-042-4/+3
| | | |
| * | | rename packageset into cacheset while it is not too lateDavid Kalnischkies2010-05-312-2/+2
| | | |
| * | | * cmdline/apt-cache.cc:David Kalnischkies2010-05-311-37/+40
| | | | | | | | | | | | - make the search multiarch compatible by using GrpIterator instead
| * | | i managed to commit broken code… which (at least in my mind) workedDavid Kalnischkies2010-05-311-1/+1
| | | | | | | | | | | | | | | | yesterday. Strange… anyway only small fixes.
| * | | move cmdline parsing from apt-cache to new FromCommandLine methodDavid Kalnischkies2010-05-311-59/+21
| | | |
| * | | move regex magic from apt-get to new FromRegEx methodDavid Kalnischkies2010-05-301-34/+8
| |/ /
* | | * merge the remaining Ubuntu change:Michael Vogt2010-06-094-2/+63
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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)
| * | cmdline/apt-report-mirror-failure: port to latest python-aptMichael Vogt2010-06-021-1/+1
| | |
| * | * cmdline/apt-get.cc:Michael Vogt2010-04-081-0/+4
| | | | | | | | | - fix crash when pkg.VersionList() is empty (LP: #556056)
| * | cherry pick -r 1983..1984 lp:~donkult/apt/sidMichael Vogt2010-03-311-11/+21
| | |
| * | * cmdline/apt-get.cc, apt-pkg/cdrom.cc:Michael Vogt2010-03-261-1/+5
| | | | | | | | | - fix memory leaks in error conditions in DoSource()
| * | * cmdline/apt-get.cc:Michael Vogt2010-03-121-5/+7
| |\ \ | | | | | | | | | | | | | | | | | | | | - if apt-get source foo=version or foo/distro can not be found, error out (LP: #502641) * apt-pkg/indexfile.cc: - deal correctly with three letter langcodes (LP: #391409)
| * \ \ * apt-pkg/deb/dpkgpm.cc:Michael Vogt2010-03-121-0/+3
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | - fix backgrounding when dpkg runs (closes: #486222) * cmdline/apt-mark: - show error on incorrect aguments (LP: #517917), thanks to Torsten Spindler
| * \ \ \ merged from the mvo branchMichael Vogt2010-02-175-10/+53
| |\ \ \ \
| * | | | | * cmdline/apt-cdrom.cc:Michael Vogt2010-02-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | - make Acquire::cdrom::AutoDetect default, this can be turned off with "--no-auto-detect"