summaryrefslogtreecommitdiff
path: root/cmdline
AgeCommit message (Collapse)AuthorFilesLines
2010-09-04* cmdline/apt-key:David Kalnischkies1-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
2010-08-28remove useless GetInitialize methodDavid Kalnischkies1-11/+0
2010-08-28remove death code by removing unused GetInitializeDavid Kalnischkies1-16/+0
2010-08-26* cmdline/apt-get.cc:David Kalnischkies1-19/+20
- remove direct calls of ReadMainList and use the wrapper instead to protect us from useless re-reads and two-times notice display
2010-08-25show in madison command again also source packages (LP: #614589)David Kalnischkies1-5/+11
2010-08-24Fix spelling error in cmdline/apt-get.cc. Thanks to Osamu Aokibubulle@debian.org1-1/+1
Closes: #594211
2010-08-12purge packages in 'rc' state, thanks Rogier! (Closes: #150831)David Kalnischkies1-3/+6
2010-08-11* cmdline/apt-get.cc:David Kalnischkies1-1/+3
- let APT::Get::Arch-Only in build-dep default to false again (Closes: #592628) Thanks Mohamed Amine IL Idrissi for report!
2010-07-30 - return success in show if a virtual package was givenDavid Kalnischkies1-26/+38
*
2010-07-30 - [ABI BREAK] add an ErrorType option to CacheSetHelperDavid Kalnischkies1-8/+16
* 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 Vogt5-1026/+108
2010-07-27* cmdline/apt-get.cc:Julian Andres Klode1-0/+6
- 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 Kalnischkies1-146/+64
- share the (r)depends code instead of codecopy
2010-07-26add APT::Cache::ShowOnlyFirstOr option to print only the firstDavid Kalnischkies1-2/+10
alternative in the apt-cache (r)depends commands
2010-07-17* apt-pkg/cacheset.cc:David Kalnischkies5-887/+4
- move them back to the library as they look stable now
2010-07-17factor regex package name matches into newly created cachefilter classesDavid Kalnischkies1-13/+5
2010-07-16* cmdline/apt-cache.cc:David Kalnischkies1-15/+62
- be able to omit dependency types in (r)depends (Closes: #319006)
2010-07-11[ Martin Pitt ]David Kalnischkies1-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.
2010-07-05make the specify order of packages irrelevant (half-close #196021)David Kalnischkies1-5/+18
2010-07-04prefer the Policy if it is built instead of the DepCache andDavid Kalnischkies2-3/+7
if DepCache is not available as fallback built the Policy
2010-07-03reorder classes a bit and make TryToInstallBuildDep use themDavid Kalnischkies1-360/+250
2010-07-03Refactor TryToInstall to look a bit saner by splitting the RemoveDavid Kalnischkies2-53/+177
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 Kalnischkies2-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
2010-06-29if the package has no installed & candidate but is virtual see if onlyDavid Kalnischkies3-37/+59
one package provides it - if it is only one use this package instead
2010-06-29rename AddSelectedVersion() to a better public FromPackage()David Kalnischkies2-10/+15
2010-06-29for install, do all installs first and then the removes and vice versaDavid Kalnischkies1-38/+54
2010-06-28 - factor out code to get a single package FromName()David Kalnischkies2-53/+113
- check in Grouped* first without modifier interpretation
2010-06-26 - only print errors if all tries to get a package by string failedDavid Kalnischkies1-6/+12
*
2010-06-26give the APT::Cache::Generate option her effect backDavid Kalnischkies1-1/+3
2010-06-26do not override the user set quiet setting even if the target is not a ttyDavid Kalnischkies3-3/+3
2010-06-25print all messages if the application is in an interactive runDavid Kalnischkies3-21/+15
2010-06-24Switch FileFd to not transparently gunzip, since that breaks code which ↵martin@piware.de1-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
2010-06-22Use an abstract helper for error handling and outputDavid Kalnischkies3-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…
2010-06-19* cmdline/apt-get.cc:David Kalnischkies2-203/+49
- use the cachsets in the install commands
2010-06-19get packages by task^ with FromTask()David Kalnischkies2-9/+87
2010-06-15* cmdline/cacheset.cc:David Kalnischkies3-2/+606
- doesn't include it in the library for now as it is too volatile
2010-06-09merged from lp:~donkult/apt/sidMichael Vogt3-408/+326
2010-06-09* merge the remaining Ubuntu change:Michael Vogt4-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)
2010-06-09* apt-pkg/pkgcache.h:David Kalnischkies1-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
2010-06-06use the GroupedFromCommandLine() method in the dotty and xvcg commandDavid Kalnischkies1-56/+28
to get all the funky features in less lines
2010-06-05do not fail if an unrelated error is pending in DisplayRecord()David Kalnischkies1-4/+4
2010-06-05accept package versions in the unmet commandDavid Kalnischkies1-23/+34
2010-06-05apt-cache show --no-all-versions should issues the CandidateDavid Kalnischkies1-1/+1
2010-06-05Don't increase the commandline parameter in the library but in theDavid Kalnischkies1-6/+6
application to be really generic.
2010-06-05add --target-release option (Closes: #115520)David Kalnischkies1-0/+2
2010-06-05Add a option to apt-cache policy to additionally init the DepCache beforeDavid Kalnischkies1-0/+6
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 Kalnischkies1-205/+194
2010-06-04Switch away from the now deprecated methods for Cache buildingDavid Kalnischkies2-4/+3
2010-06-03* cmdline/apt-get.cc:David Kalnischkies1-6/+6
- use unsigned long long instead of double to store values it gets
2010-06-02cmdline/apt-report-mirror-failure: port to latest python-aptMichael Vogt1-1/+1