summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* releasing package apt version 1.1~exp11.1.exp1Michael Vogt2014-06-1955-62262/+62660
|
* set gdb.conf branch to experimentalMichael Vogt2014-06-191-1/+1
|
* prepare releaseMichael Vogt2014-06-191-5/+48
|
* Merge branch 'debian/sid' into debian/experimentalMichael Vogt2014-06-1855-3912/+4074
|\ | | | | | | | | Conflicts: debian/changelog
| * releasing package apt version 1.0.5Michael Vogt2014-06-1855-3912/+4074
| |
* | apt-pkg/indexrecords.cc: ensure that indexRecords::checkSum::Hash is initializedMichael Vogt2014-06-181-0/+8
| |
* | apt-pkg/acquire-item.h: add default argument to ExpectedHashes to avoid API ↵Michael Vogt2014-06-181-1/+2
| | | | | | | | break
* | readd pkgPackageManager::Go() to not break APIMichael Vogt2014-06-183-20/+2
| |
* | correct 'apt-cache stats' to include moreDavid Kalnischkies2014-06-182-25/+33
| | | | | | | | | | | | | | | | It still doesn't reflect the size the cache has on the disk compared to what is given as total size (90 vs 103 MB), but by counting all structs in we are at least a bit closer to the reality. Git-Dch: ignore
* | remove the Section member from package structDavid Kalnischkies2014-06-186-12/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A version belongs to a section and has hence a section member of its own. A package on the other hand can have multiple versions from different sections. This was "solved" by using the section which was parsed first as order of sources.list defines, but that is obviously a horribly unpredictable thing. We therefore directly remove this struct member to free some space and mark the access method as deprecated, which is told to return the section of the 'newest' known version, which is at least predictable, but possible not what it returned before – but nobody knows. Users are way better of with the Section() as returned by the version they are dealing with. It is likely the same for all versions of a package, but in the few cases it isn't, it is important (like packages moving from main/* to contrib/* or into oldlibs …).
* | cleanup datatypes mix used in binary cacheDavid Kalnischkies2014-06-189-205/+217
| | | | | | | | | | | | | | | | We had a wild mixture of (unsigned) int, long and long long here without much sense, so this commit adds a few typedefs to get some sense in the typesystem and ensures that a ID isn't sometimes computed as int, stored as long and compared with a long long… as this could potentially bite us later on as the size of the archive only increases over time.
* | increase hashtable size for packages/groups by factor 5David Kalnischkies2014-06-183-22/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It also makes the size configureable, so it can be adapted in the future without the need for an abi break - and even by users… The increase was long overdue as it gives a >10% decrease in runtime of e.g. 'apt-get check -s'. Some (useless) benchmark with 69933 groups and 187796 packages without a pre-built cache: time apt-get check -so APT::Cache-HashTableSize=1 → 20m time apt-get check -so APT::Cache-HashTableSize=1000 → 6,41s time apt-get check -so APT::Cache-HashTableSize=2000 → 5,64s (old) time apt-get check -so APT::Cache-HashTableSize=3000 → 5,30s time apt-get check -so APT::Cache-HashTableSize=5000 → 5,08s time apt-get check -so APT::Cache-HashTableSize=6000 → 5,05s time apt-get check -so APT::Cache-HashTableSize=7000 → 5,02s time apt-get check -so APT::Cache-HashTableSize=8000 → 5,00s time apt-get check -so APT::Cache-HashTableSize=9000 → 4,98s time apt-get check -so APT::Cache-HashTableSize=10000 → 4,96s (new) time apt-get check -so APT::Cache-HashTableSize=15000 → 4,90s time apt-get check -so APT::Cache-HashTableSize=20000 → 4,86s time apt-get check -so APT::Cache-HashTableSize=30000 → 4,77s time apt-get check -so APT::Cache-HashTableSize=40000 → 4,74s time apt-get check -so APT::Cache-HashTableSize=50000 → 4,73s time apt-get check -so APT::Cache-HashTableSize=60000 → 4,71s The gap increases further for operations which have more package lookups. Factor 5 was chosen as higher values do not provide any really significant timing advantage anymore compared to the memory increase in my testing and there is always the possibility to increase it now if that changes. (also most users will not have 3 releases and 4 architectures in the cache, so theirs will be much smaller and faster).
* | Merge remote-tracking branch 'donkult/debian/sid' into debian/experimentalMichael Vogt2014-06-1824-173/+265
|\| | | | | | | | | Conflicts: apt-private/private-install.cc
| * EDSP doc: some typo and wording fixesDavid Kalnischkies2014-06-181-8/+8
| | | | | | | | Git-Dch: Ignore
| * EDSP doc: (minor) consistently use 2 blank lines before headingsStefano Zacchiroli2014-06-181-0/+2
| | | | | | | | Git-Dch: Ignore
| * EDSP doc: clarify that Install/Remove packages are arch-qualifiedStefano Zacchiroli2014-06-181-4/+12
| |
| * do not call resolver twice on (dist-)upgradeDavid Kalnischkies2014-06-185-18/+32
| |
| * show our broken packages message in 'apt' solverDavid Kalnischkies2014-06-184-117/+134
| |
| * fix SubstVar to be usable as a replace_all methodDavid Kalnischkies2014-06-182-7/+49
| | | | | | | | | | | | | | The name suggests that it is supposed to substitute a variable with a value, but we tend to use it in a more liberal replace_all() fashion, but this breaks if either of the parameters is empty or more importantly if two "variable" occurrences follow each other directly.
| * don't send pkg from an unknown architecture via EDSPDavid Kalnischkies2014-06-181-0/+7
| | | | | | | | | | | | | | | | APT's cache can include packages from architectures dpkg has no knowledge about and can therefore not be installed for e.g. to allow easy lookups. There is no point in telling external solvers about them though and some of them might even be really talkative about ignoring them if we do.
| * use P_ instead of ngettext to compiling with --disable-nlsFredrik Fornwall2014-06-181-1/+1
| | | | | | | | Closes: 751857
| * add missing comma in SEE ALSO of apt-secure manpageKonstantin Manna2014-06-1810-17/+17
| | | | | | | | Closes: 748506
| * fix two german manpage spelling mistakesKonstantin Manna2014-06-181-2/+2
| | | | | | | | Closes: 751635
| * Merge remote-tracking branch 'mvo/debian/sid' into debian/sidMichael Vogt2014-06-181-1/+4
| |\
| | * Tell the user if no updates are available after apt updateMichael Vogt2014-06-181-1/+4
| | | | | | | | | | | | | | | | | | Thanks to Jakub Wilk for the suggestion. Closes: #751388
* | | Merge remote-tracking branch 'mvo/feature/drop-rights' into debian/experimentalMichael Vogt2014-06-184-0/+27
|\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: apt-pkg/contrib/fileutl.cc apt-pkg/contrib/fileutl.h
| * | | DropPrivs in the solvers (just to be on the safe side)Michael Vogt2014-06-114-0/+25
| | | |
* | | | Merge remote-tracking branch 'mvo/feature/update-by-hash' into ↵Michael Vogt2014-06-187-11/+124
|\ \ \ \ | | | | | | | | | | | | | | | debian/experimental
| * | | | move ByHash into its own functionMichael Vogt2014-05-222-26/+37
| | | | |
| * | | | Add APT::Acquire::$(host)::By-Hash=1 knob, add Acquire-By-Hash to Release fileMichael Vogt2014-05-226-34/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The by-hash can be configured on a per-hostname basis and a Release file can indicate that it has by-hash support via a new flag. The location of the hash now matches the AptByHash spec
| * | | | add TODOMichael Vogt2014-05-221-0/+5
| | | | |
| * | | | Implement simple by-hash for apt updateMichael Vogt2014-05-223-9/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements a apt update schema that get the indexfiles by the hash instead of the name. The rational is that updates to the archive servers/mirrors are not atomic so the client may have the previous version of the Release file when the server updates to a new Release file and new Packages/Sources/Translations indexes. By keeping the files around by their hash we can still get the previous indexfile without a hashsum mismatch. Enable with APT::Acquire::By-Hash=1
* | | | | Merge remote-tracking branch 'mvo/feature/hash-stats' into debian/experimentalMichael Vogt2014-06-184-16/+56
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: apt-pkg/acquire-item.cc apt-pkg/acquire-item.h apt-pkg/deb/debmetaindex.h apt-pkg/pkgcache.cc test/integration/test-apt-ftparchive-src-cachedb
| * | | | | Provide ShowHashTableStats functionMichael Vogt2014-06-181-55/+43
| | | | | |
| * | | | | [API-Break] rename pkgCache::Package::NextPackage to pkgCache::Package::NextMichael Vogt2014-06-183-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a internal struct not a external interface so the actual breakage should be small.
| * | | | | improve formating of the hash statsMichael Vogt2014-06-181-15/+15
| | | | | |
| * | | | | increase Pkg/Grp hash table size from 2k to 64kMichael Vogt2014-05-292-7/+3
| | | | | |
| * | | | | add hashtable statsMichael Vogt2014-05-291-1/+57
| | | | | |
| * | | | | cmdline/apt-extracttemplates.cc: remove unused private varMichael Vogt2014-05-282-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | Reported-By: clang -Wall
| * | | | | test/integration/test-apt-ftparchive-src-cachedb: make test more robustMichael Vogt2014-05-281-5/+5
| | | | | |
| * | | | | Fix more warnings from clangMichael Vogt2014-05-287-19/+22
| | | | | | | | | | | | | | | | | | | | | | | | Reported-By: clang++ -Werror
* | | | | | Merge branch 'debian/sid' into debian/experimentalMichael Vogt2014-06-1890-7895/+9703
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | Conflicts: debian/changelog
| * | | | | Merge remote-tracking branch 'mvo/debian/sid' into debian/sidMichael Vogt2014-06-181-1/+1
| |\ \ \ \ \ | | | |_|_|/ | | |/| | |
| | * | | | test/integration/test-essential-force-loopbreak: fix on non-amd64 systemsMichael Vogt2014-06-121-1/+1
| | | |_|/ | | |/| |
| * | | | Updated translation of german documentationChris Leick2014-06-171-60/+61
| | | | |
| * | | | Check for gtest's header before building.Michele Orrù2014-06-171-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | Add AC_CHECK_HEADER directive for gtest, and report a fatal error message if not found.
| * | | | fix test-apt-ftparchive-cachedb-lp1274466 and apt-internal-solver testsMichael Vogt2014-06-113-3/+5
| | | | |
| * | | | fix autopkgtest testsMichael Vogt2014-06-114-2/+5
| |/ / /
| * | | really release 1.0.4Michael Vogt2014-06-1046-47/+47
| | | |
| * | | release 1.0.4Michael Vogt2014-06-1047-7488/+8779
| | | |