summaryrefslogtreecommitdiff
path: root/cmdline
Commit message (Collapse)AuthorAgeFilesLines
* * apt-pkg/contrib/strutl.cc:David Kalnischkies2010-09-281-0/+12
| | | - add a space between number and unit as required by SI (Closes: #598352)
* * cmdline/apt-cache.cc:David Kalnischkies2010-09-241-2/+2
| | | | - use the TranslatedDescription for searching and not the first available one as it is maybe not an expected language (Closes: #597925)
* * cmdline/apt-key:David Kalnischkies2010-09-041-0/+2
| | | | - support also Dir::Etc::Trusted so that apt-key works in the same way as the library part which works with the trusted files
* remove useless GetInitialize methodDavid Kalnischkies2010-08-281-11/+0
|
* remove death code by removing unused GetInitializeDavid Kalnischkies2010-08-281-16/+0
|
* * cmdline/apt-get.cc:David Kalnischkies2010-08-261-19/+20
| | | | - remove direct calls of ReadMainList and use the wrapper instead to protect us from useless re-reads and two-times notice display
* show in madison command again also source packages (LP: #614589)David Kalnischkies2010-08-251-5/+11
|
* Fix spelling error in cmdline/apt-get.cc. Thanks to Osamu Aokibubulle@debian.org2010-08-241-1/+1
| | | Closes: #594211
* purge packages in 'rc' state, thanks Rogier! (Closes: #150831)David Kalnischkies2010-08-121-3/+6
|
* * cmdline/apt-get.cc:David Kalnischkies2010-08-111-1/+3
| | | | - let APT::Get::Arch-Only in build-dep default to false again (Closes: #592628) Thanks Mohamed Amine IL Idrissi for report!
* - return success in show if a virtual package was givenDavid Kalnischkies2010-07-301-26/+38
| | | *
* - [ABI BREAK] add an ErrorType option to CacheSetHelperDavid Kalnischkies2010-07-301-8/+16
| | | | | * cmdline/apt-cache.cc: - use Notice instead of Error in the CacheSetHelper messages for compat reasons. Otherwise tools like sbuild blow up
* merged lp:~donkult/apt/sidMichael Vogt2010-07-295-1026/+108
|\
| * - 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)
* | * cmdline/apt-get.cc:Julian Andres Klode2010-07-271-0/+6
|/ | | | - Support large filesystems by using statvfs64() instead of statvfs() and statfs64() instead of statfs() (Closes: #590513).
* [ 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
| | | |