summaryrefslogtreecommitdiff
path: root/ftparchive/writer.cc
Commit message (Collapse)AuthorAgeFilesLines
* merged lp:~mvo/apt/add-missing-dsc-hashesMichael Vogt2013-04-081-10/+41
|\
| * merge patch apt_0.9.7.7ubuntu2~md1.debdiff, thanks to Marc DeslauriersMichael Vogt2013-01-311-10/+41
| |
* | - add method to open (maybe) clearsigned files transparentlyDavid Kalnischkies2013-03-181-59/+46
|/ | | | | * ftparchive/writer.cc: - use OpenMaybeClearSignedFile to be free from detecting and skipping clearsigning metadata in dsc files
* * ftparchive/writer.cc:David Kalnischkies2012-07-041-1/+1
| | | | - handle the APT::FTPArchive::Packages::SHA512 option correctly instead of overriding SHA256, thanks Christian Marillat! (Closes: #680252)
* * ftparchive/writer.cc:David Kalnischkies2012-05-211-0/+1
| | | - include Contents-* files in Release files (Closes: #673647)
* * apt-pkg/acquire-item.cc:David Kalnischkies2012-02-181-0/+1
| | | | | | | | | | | | | | | - drop support for i18n/Index file (introduced in 0.8.11) and use the Release file instead to get the Translations (Closes: #649314) * ftparchive/writer.cc: - add 'Translation-*' to the default patterns i18n/Index was never used outside debian - and even here it isn't used consistently as only 'main' has such a file. As the Release file now includes the Translation-* files we therefore drop support for i18n/Index. A version supporting it was never part of a debian release and still supporting it would mean that we get 99% of the time a 404 as response to the request anyway and confuse archive maintainers who want to provide all files APT tries to acquire.
* try to avoid direct usage of .Fd() if possible and do read()s and coDavid Kalnischkies2011-12-171-1/+1
| | | | on the FileFd instead
* remove the second usage instance of ExecCompressor in ftparchiveDavid Kalnischkies2011-12-141-15/+8
| | | | by again using the FileFd directly
* merge with debian/experimentalDavid Kalnischkies2011-09-131-2/+2
|\
| * merged from the debian-sid branchMichael Vogt2011-08-151-2/+2
| |\
| | * cppcheck complains about some possible speed improvements which could beDavid Kalnischkies2011-08-111-2/+2
| | | | | | | | | | | | | | | | | | done on the mirco-optimazation level, so lets fix them: (performance) Possible inefficient checking for emptiness. (performance) Prefer prefix ++/-- operators for non-primitive types.
* | | Support large files in the complete toolset. Indexes of thisDavid Kalnischkies2011-09-131-9/+9
| | | | | | | | | | | | size are pretty unlikely for now, but we need it for deb packages which could become bigger than 4GB now (LP: #815895)
* | | reorder includes: add <config.h> if needed and include it at firstDavid Kalnischkies2011-09-131-4/+6
|/ /
* | * ftparchive/writer.cc:David Kalnischkies2011-07-131-26/+8
| | | | | | - generate all checksums in one run over the file for Release
* | merge lp:~mvo/apt/abi-breakMichael Vogt2011-06-291-2/+35
|\ \ | |/ |/|
| * merge lp:~mvo/apt/sha512-template to add support for sha512Michael Vogt2011-06-081-2/+32
|/|
| * move sha512,256 into apt-pkg/sha2.{cc,h}, move gifford implementation to ↵Michael Vogt2011-02-251-2/+1
| | | | | | | | sha2_internal.{cc,h}
| * add sha512 support to apt-ftparchiveMichael Vogt2011-02-221-1/+29
| |
* | - load the supported compressors from configurationDavid Kalnischkies2011-02-271-0/+1
| | | | | | - support adding new compressors by configuration
* | * ftparchive/multicompress.cc, apt-inst/deb/debfile.cc:David Kalnischkies2011-02-221-0/+2
|\ \ | | | | | | | | | | | | | | | - support xz compressor to create xz-compressed Indexes and be able to open data.tar.xz files * ftparchive/writer.cc: - include xz-compressed Packages and Sources files in Release file
| * | * ftparchive/writer.cc:David Kalnischkies2011-02-221-0/+2
| | | | | | | | | - include xz-compressed Packages and Sources files in Release file
* | | add options to disable specific checksums for IndexesDavid Kalnischkies2011-02-221-56/+87
| | |
* | | * ftparchive/writer.cc:David Kalnischkies2011-02-221-0/+5
| |/ |/| | | - ensure that Date and Valid-Until time strings are not localised
* | include Index files by default in the Release fileDavid Kalnischkies2011-01-241-0/+1
| |
* | * ftparchive/writer.cc:David Kalnischkies2011-01-201-11/+15
|/ | | - add config option to search for more patterns in release command
* * ftparchive/writer.cc:Michael Vogt2010-09-091-2/+2
|\ | | | | | | | | - null the valid string instead of the date if Valid-Until is not set * apt-pkg/acquire-item.cc: - use also unsigned Release files again (Closes: #596189)
| * * ftparchive/writer.cc:David Kalnischkies2010-09-091-2/+2
| | | | | | - null the valid string instead of the date if Valid-Until is not set
* | * ftparchive/writer.cc:Michael Vogt2010-09-091-6/+9
|/ | | | - write out {Files,Checksum-Sha1,Checksum-Sha256} only if available LP: #633967. Thanks to Colin Watson
* * ftparchive/writer.cc:David Kalnischkies2010-08-191-1/+1
| | | - init valid-until correctly to prevent garbage entering Release file
* * ftparchive/writer.cc:David Kalnischkies2010-06-091-0/+10
| | | - add ValidTime option to generate a Valid-Until header in Release file
* * ftparchive/writer.cc:David Kalnischkies2010-04-231-21/+19
| | | - remove 999 chars Files and Checksums rewrite limit (Closes: #577759)
* Switch the TranslationWriter to use MultiCompress to be able to generateDavid Kalnischkies2010-03-261-4/+8
| | | | | | the compressed files as we want them and to prevent the file to be replaced without a reason which could save us from steady redownloads of a file with the same content.
* * ftparchive/writer.cc:David Kalnischkies2010-03-221-2/+49
| | | | | | | | | | | | | - write LongDescriptions if they shouldn't be included in Packages file into i18n/Translation-en by default. It is ensured that each package+description is listed only ones in the Translation file even if we generate multiple Packages file in one run. The file is only generated in "generate" - the simple file commands can't create it by now. Also, the LongDescription is currently a global setting, so generating archives with and without LongDescriptions in the Packages file in the same run are currently not possible.
* - add --arch option for apt-ftparchive packages and contents commandsDavid Kalnischkies2010-02-181-16/+14
| | | | | - if an arch is given accept only *_all.deb and *_arch.deb instead of *.deb. Thanks Stephan Bosch for the patch! (Closes: #319710)
* merge with debian-sidDavid Kalnischkies2010-02-131-12/+19
|\
| * * cmdline/acqprogress.cc:Michael Vogt2010-01-311-5/+25
| | | | | | | | | | | | | | | | | | - Set Mode to Medium so that the correct prefix is used. Thanks Stefan Haller for the patch! (Closes: #567304 LP: #275243) * ftparchive/writer.cc: - generate sha1 and sha256 checksums for dsc (Closes: #567343) * cmdline/apt-get.cc: - don't mark as manually if in download only (Closes: #468180)
| * * ftparchive/writer.{cc,h}:Michael Vogt2010-01-251-12/+19
| | | | | | | | - merge crash fix for apt-ftparchive on hurd, thanks to Samuel Thibault for the patch (closes: #566664)
| * fix a few typos in strings, comments and manpage of apt-ftparchiveDavid Kalnischkies2009-12-111-1/+1
| | | | | | | | thanks Karl Goetz! (Closes: #558757)
| * merged -r 1920..1922 from lp:~donkult/apt/sidMichael Vogt2009-12-101-2/+19
| |
* | * ftparchive/writer.cc:David Kalnischkies2010-01-301-5/+25
| | | | | | | | - generate sha1 and sha256 checksums for dsc (Closes: #567343)
* | fix a few typos in strings, comments and manpage of apt-ftparchiveDavid Kalnischkies2009-12-011-1/+1
| | | | | | | | thanks Karl Goetz! (Closes: #558757)
* | tell every method in ftparchive/ that const& is sexyDavid Kalnischkies2009-11-281-22/+22
| |
* | add APT::FTPArchive::AlwaysStat to disable the too aggressiveDavid Kalnischkies2009-11-281-2/+3
| | | | | | | | | | caching if versions are build multiply times (not recommend) Patch by Christoph Goehre, thanks! (Closes: #463260)
* | Add APT::FTPArchive::LongDescription to disable the inclusion of theDavid Kalnischkies2009-11-261-2/+19
|/ | | | LongDescriptions in the generated Packages file.
* Add a Acquire::CompressionTypes config variable from there theDavid Kalnischkies2009-08-121-0/+2
| | | | | | | | | | | | | | | | | | | | 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!
* * make apt build with g++ 4.3Michael Vogt2007-09-101-0/+1
|
* * remove all the remaining #pragma implementationMichael Vogt2007-06-081-4/+0
|
* * added ajs patchMichael Vogt2006-03-081-44/+60
|
* * fix a crash in apt-ftparchiveMichael Vogt2005-10-191-2/+3
|
* * merged apt--bts225947--0Michael Vogt2005-08-091-22/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * michael.vogt@ubuntu.com--2005/apt--bts225947--0--base-0 tag of apt@packages.debian.org/apt--main--0--patch-79 * michael.vogt@ubuntu.com--2005/apt--bts225947--0--patch-1 * merged with mainline and apt--fixes--0 * michael.vogt@ubuntu.com--2005/apt--bts225947--0--patch-2 * patch from aj (slighly modified to use auto_ptr<>) applied * michael.vogt@ubuntu.com--2005/apt--bts225947--0--patch-3 * changelog updated * michael.vogt@ubuntu.com--2005/apt--bts225947--0--patch-4 * work for arch=all packages too now * michael.vogt@ubuntu.com--2005/apt--bts225947--0--patch-5 * merged with apt--main--0 * michael.vogt@ubuntu.com--2005/apt--bts225947--0--patch-6 * fixed a incorrect po/he.po merge