summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fix changelog entry for compression types reordering patch toDavid Kalnischkies2009-08-261-1/+1
| | | | | reflect that we now use the new APT::Configuration class for this instead of the init.cc
* "backport" the APT::Configuration class to apt-sidDavid Kalnischkies2009-08-257-74/+163
| | | | | | We can use it to simplify the internal code to operate with Acquire::CompressionTypes group. This also made it possible to set this setting with the -o flag.
* Allow empty Reason-Phase in the Status-Lines, which is allowed by rtfDavid Kalnischkies2009-08-182-2/+5
| | | | | | | | | | | http://www.w3.org/Protocols/rfc2616/rfc2616.html . Fixed by removing a space which will now be visibly in the errormessages, but as this errors should never happen anyway and an extra space doesn't harm we don't removed it. * methods/http.cc: - allow empty Reason-Phase in Status-Line to please squid, thanks Modestas Vainius for noticing! (Closes: #531157, LP: #411435)
* [doc/apt-get.8.xml]David Kalnischkies2009-08-122-10/+32
| | | | | - update the source description to reflect what it actually does and how it can be used. (Closes: #413021)
* Add the pkg/release syntax to the source command in apt-get and alsoDavid Kalnischkies2009-08-123-66/+75
| | | | | | | add the understanding for codenames instead of archives here [cmdline/apt-get.cc] - add pkg/archive and codename in source (Closes: #414105, #441178)
* [cmdline/apt-get.cc]David Kalnischkies2009-08-123-60/+65
| | | | | - use SourceVersion instead of the BinaryVersion to get the source Patch by Matt Kraai, thanks! (Closes: #382826)
* With the introduction of the Is{Delete,Install}Ok hooks the apt flagDavid Kalnischkies2009-08-122-2/+4
| | | | | | | | --ignore-hold only works partly: The holds are to strongly enforced in these hooks - this commit brings the old (and expected) behaviour back. [apt-pkg/depcache.cc] - restore the --ignore-hold effect in the Is{Delete,Install}Ok hooks
* Add a Acquire::CompressionTypes config variable from there theDavid Kalnischkies2009-08-127-47/+110
| | | | | | | | | | | | | | | | | | | | acquire-items choose which compression file they should (try first to) download to easily add new or change the order of the compression types. And because it is easy now we directly add builtin lzma support. The compression ratio is better than bzip2 but we prefer the later for now as no (official) mirror uses lzma, so this would only generate useless hits on the servers. Maybe sometime in the future lzma will be the default... [apt-pkg/acquire-item.cc] - use configsettings for dynamic compression type use and order. Based on a patch by Jyrki Muukkonen, thanks! (LP: #71746) [apt-pkg/init.cc] - add default configuration for compression types and add lzma support. Order is now bzip2, lzma, gzip, none (Closes: #510526) [ftparchive/writer.cc] - add lzma support also here, patch for this (and inspiration for the one above) by Robert Millan, thanks!
* [cmdline/apt-get.cc] correct the order of picked package binary vs sourceDavid Kalnischkies2009-08-092-1/+2
| | | | in the source command in the msg "No source package x picking y instead"
* [doc/apt-mark.8.xml] improve manpage based on patch by Carl Chenet, thanks!David Kalnischkies2009-08-092-10/+40
| | | | (Closes: #510286) add also showauto and command synopsis
* [apt-inst/contrib/arfile.cc] use sizeof instead strlenDavid Kalnischkies2009-08-092-1/+3
| | | | Patch from Marius Vollmer, thanks! (Closes: #504325)
* [cmdline/apt-get.cc] check for availability ofstatfs.f_typeDavid Kalnischkies2009-08-094-110/+121
| | | | Patch from Robert Millan, thanks! (Closes: #509313)
* [doc/apt.conf.5.xml] mention the apt.conf.d dirDavid Kalnischkies2009-08-082-1/+13
| | | | Patch from Vincent McIntyre, thanks! (Closes: #520831)
* [cmdline/apt-cache.cc] fix a memory leak in the xvcg methodDavid Kalnischkies2009-08-082-3/+10
| | | | Patch from George Danchev, thanks (Closes: #511557)
* [apt-pkg/indexcopy.cc] fix a (hypothetical) memory leak then the ReleaseDavid Kalnischkies2009-08-082-0/+6
| | | | file not exists, patch from George Danchev, thanks! (Closes: #511556)
* merge with apt-sidDavid Kalnischkies2009-08-087-54/+89
|\ | | | | | | * backout my fix for the sources.list issue, there is already one in
| * debian/apt.cron.daily: Fix issue related to APT::Periodic::Enable.Julian Andres Klode2009-08-061-1/+1
| |
| * debian/apt.cron.daily: Support using debdelta to download packages (Closes: ↵Julian Andres Klode2009-08-062-1/+11
| | | | | | | | #532079)
| * debian/apt.cron.daily: Script can be disabled by APT::Periodic::Enable=0 ↵Julian Andres Klode2009-08-062-3/+15
| | | | | | | | (Closes: #485476)
| * debian/apt.cron.daily: Make sure that VERBOSE is always setJulian Andres Klode2009-08-062-3/+8
| | | | | | before accessing it (Closes: #539366)
| * debian/control: Increase Standards-Version to 3.8.2.0.Julian Andres Klode2009-08-032-1/+2
| |
| * debian/changelog: Close the FTBFS on kFreeBSD bug.Julian Andres Klode2009-08-031-1/+1
| |
| * Set version to 0.7.22.1.Julian Andres Klode2009-08-032-3/+3
| |
| * debian/control: Add myself to Uploaders.Julian Andres Klode2009-08-032-1/+3
| |
| * * apt-pkg/sourcelist.cc:Julian Andres Klode2009-08-032-4/+10
| | | | | | | | - Only warn about missing sources.list if there is no sources.list.d and vice versa as only one of them is needed (Closes: #539731).
| * * apt-pkg/contrib/mmap.cc:Julian Andres Klode2009-08-022-2/+8
| | | | | | | | - Fix FTBFS on GNU/kFreeBSD by disabling DynamicMMap::Grow() on non-Linux architectures (as it uses mremap).
* | [debian/changlog] add entry for the "missing source.list file" fixDavid Kalnischkies2009-08-031-0/+3
| | | | | | | | | | | | * apt-pkg/sourcelist.cc: - only show warning about missing sources.list file if no we have no valid sourceentry (Closes: #539731)
* | [apt-pkg/contrib/fileutl.cc] In function ExecWait(): fix compile warning:David Kalnischkies2009-08-031-0/+2
| | | | | | | | warning: suggest explicit braces to avoid ambiguous ‘else’
* | [debian/changelog] correct two typos in the changelog for 0.7.22David Kalnischkies2009-08-011-2/+2
| |
* | [debian/changelog] add a Closes tag to mvo's --only-source patchDavid Kalnischkies2009-08-011-1/+1
| |
* | [apt-pkg/contrib/strutl.cc] enable thousand separator according toDavid Kalnischkies2009-07-312-2/+5
| | | | | | | | the current locale. Patch from Luca Bruno (Closes: #223712)
* | [cmdline/apt-get.cc] ShowBroken() in build-dep (Closes: #145916)David Kalnischkies2009-07-312-1/+5
| | | | | | | | Patch from Mike O'Connor, thanks!
* | [cmdline/apt-get.cc] add APT::Get::HideAutoRemove=small to display onlyDavid Kalnischkies2009-07-313-83/+117
| | | | | | | | a short line instead of the full package list. (Closes: #537450)
* | [apt-pkg/sourcelist.cc] only display the warning about missing sources.listDavid Kalnischkies2009-07-311-0/+8
|/ | | | | file, if no SourceListEntry exists (e.g. sources.list.d dir does not exists or it exists but does not include a .list-file with valid entries)
* * cmdline/apt-get.cc:Michael Vogt2009-07-302-3/+11
|\ | | | | | | | | - honor APT::Get::Only-Source properly in FindSrc() (thanks to Martin Pitt for reporting the problem) * Added more error handlings. Closes: #438803, #462734, #454989
| * fix extra , at the end of the changelog lineMichael Vogt2009-07-301-1/+1
| |
| * merged from debian-sidMichael Vogt2009-07-30130-15349/+23236
| |\ | |/ |/|
* | releasing version 0.7.22Michael Vogt2009-07-291-4/+2
| |
* | apt-pkg/depcache.cc:Michael Vogt2009-07-281-8/+2
| | | | | | | | | | | | | | | | - Call opProgress->Update() less often too avoid spending too much time in it (it shows up relatively high in the callgrind logs). But do call it more often than just for each percent so that the UI frontends can use the OpProgress::Update() calling to do e.g. UI updates
* | merged from donkultMichael Vogt2009-07-272-2/+2
|\ \
| * | merge with lp:apt/debian-sidDavid Kalnischkies2009-07-262-2/+2
| | | | | | | | | | | | | | | Remove a bug (= an evil amok running if) introduced by the merge in 1817 which cause a segfault in the destructor for the dynamic mmap.
* | | Apply patch from Sami Liedes <sliedes@cc.hut.fi> to avoid unecessaryOtavio Salvador2009-07-252-0/+3
| | | | | | | | | temporary allocations.
* | | Apply patch from Sami Liedes <sliedes@cc.hut.fi> to reduce theOtavio Salvador2009-07-252-13/+31
|/ / | | | | | | number of times we call progress bar updating and debugging configuration settings.
* | merge from the donkult branchMichael Vogt2009-07-243-224/+233
|\ \
| * | [apt-pkg] yet another bit of mmap and pkgcachegen housekeepingDavid Kalnischkies2009-07-232-16/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | * add mmap error message also to the dynamic mmap * remove some more {Ver,Desc} == 0 checks in for loops * try to respect the given flags to the dynamic mmap * open cached caches not as ReadOnly and not as Shared, so we always have a copy of the cache in the memory we can modify (e.g. set the hold state on-the-fly)
* | | [ABI] merged the libudev-dlopen branch, this allows to passMichael Vogt2009-07-2310-32/+268
|\ \ \ | | | | | | | | | | | | "apt-udev-auto" to Acquire::Cdrom::mount and the cdrom method will dynamically find/mount the cdrom device (if libhal is available)
| * | | methods/cdrom.cc: add AutoDetectAndMount methodMichael Vogt2009-07-233-49/+63
| | | |
| * | | methods/cdrom.cc: move the scan into the loop that waits for a CDMichael Vogt2009-07-223-29/+47
| | | |
| * | | * methods/cdrom.cc:Michael Vogt2009-07-224-21/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - add Acquire::Cdrom::mount "apt-udev-auto" magic to allow dynamically finding the cdrom device * apt-pkg/contrib/cdromutl.{h,cc}: - support additional (optional) DeviceName parameter for MountCdrom()
| * | | apt-pkg/cdrom.cc: make cdrom.Mounted property reliableMichael Vogt2009-07-221-1/+2
| | | |