summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Flip /: in documented default value of DPkg::PathAlwin Henseler2019-05-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The value as shown in the NEWS file (not in the code) has a typo in which just a "/" and ":" are swapped. Closes: #917986 (cherry picked from commit 4c27ca80e2de06ab0fd058349f9813b60824cf04)
* | | WIP: README.md: Minor editing to make it read easierJulian Andres Klode2019-05-101-22/+22
| | | | | | | | | | | | | | | Went as far as "A test case here is a shell script", this paragraph is _hard_.
* | | More minor wording improvements in documentationJulian Andres Klode2019-05-1012-21/+21
| | |
* | | apt-mark: Add hidden showheld alias for showholdJulian Andres Klode2019-05-102-3/+3
| | | | | | | | | | | | For Unit193 and those who value grammar, I suppose.
* | | README.md: Quote -j <count> as code with backticksJulian Andres Klode2019-05-091-1/+1
| | | | | | | | | | | | | | | | | | | | | The <count> did not appear in the html, render it as code instead so things work correctly. Fixes Debian/apt#91
* | | debmetaindex: Use isspace_ascii() variant to normalize Signed-ByJulian Andres Klode2019-05-071-1/+1
| | | | | | | | | | | | | | | Using the locale-dependent isspace() function here opens us up to strange locale-dependent behavior.
* | | CMake: Enforce "override" use on overriden methodsJulian Andres Klode2019-05-063-2/+5
| | | | | | | | | | | | | | | This ensures that we do not accidentally stop overriding a method because it's signature changed in an API break.
* | | symbols: Remove invalid APTPKG@APTINST symbolJulian Andres Klode2019-05-061-2/+0
| | |
* | | Change soname to libapt-pkg.so.5.90Julian Andres Klode2019-05-064-1485/+1485
| | | | | | | | | | | | | | | This is a bit experimental, and we'll go through a few stages before reaching libapt-pkg.so.6.0.
* | | prepare-release: Add bump-abi commandJulian Andres Klode2019-05-061-0/+8
| | | | | | | | | | | | | | | This changes the ABI in the packaging based on the one in the header.
* | | cacheset: Remove simple cases of deprecated codeJulian Andres Klode2019-05-063-185/+6
| | | | | | | | | | | | | | | | | | This is missing the ones that are still actively used in cacheset.cc, we need to clean those up too, but they are obviously more tricky.
* | | Merge branch 'pu/merge-libraries'Julian Andres Klode2019-05-0630-1644/+71
|\ \ \
| * | | Use debDebFile to get control file instead of dpkg-debJulian Andres Klode2019-05-062-30/+19
| | | |
| * | | Merge libapt-inst into libapt-pkgJulian Andres Klode2019-05-0624-153/+52
| | | |
| * | | Get rid of pkgExtract and pkgFLCacheJulian Andres Klode2019-05-064-1461/+0
|/ / / | | | | | | | | | | | | These classes are not actually being used, they were part of the dpkg replacement that never happened.
* | | Merge tag '1.8.1'Julian Andres Klode2019-05-065-4/+13
|\| | | | | | | | | | | apt Debian release 1.8.1
| * | Release 1.8.11.8.1Julian Andres Klode2019-05-065-4/+13
| | |
| * | Add linux-{buildinfo,image-unsigned,source} versioned kernel pkgsJulian Andres Klode2019-05-061-0/+5
| | | | | | | | | | | | | | | LP: #1821640 (cherry picked from commit 507124fd81066536c7c01a2039fcc6ee9f02a234)
| * | Prevent shutdown while running dpkgJulian Andres Klode2019-05-039-0/+103
| | | | | | | | | | | | | | | | | | | | | As long as we are running dpkg, keep an inhibitor that blocks us from shutting down. LP: #1820886
| * | Add test case for local-only packages pinned to neverJulian Andres Klode2019-04-021-1/+14
| | | | | | | | | | | | Test from the fix for the regression in trusty for LP #1821308.
* | | Add linux-{buildinfo,image-unsigned,source} versioned kernel pkgsJulian Andres Klode2019-05-061-0/+5
| |/ |/| | | | | LP: #1821640
* | Merge branch 'pu/systemd-inhibitor' into 'master'Julian Andres Klode2019-05-039-0/+103
|\ \ | | | | | | | | | | | | Prevent shutdown while running dpkg See merge request apt-team/apt!60
| * | Prevent shutdown while running dpkgJulian Andres Klode2019-05-039-0/+103
|/ / | | | | | | | | | | | | As long as we are running dpkg, keep an inhibitor that blocks us from shutting down. LP: #1820886
* | Merge branch 'pu/explicit-constructors' into 'master'Julian Andres Klode2019-04-3032-58/+60
|\ \ | | | | | | | | | | | | Use explicit constructors See merge request apt-team/apt!61
| * | apt-pkg: URI: Add 'explicit' to single argument constructorJulian Andres Klode2019-04-3012-21/+21
| | | | | | | | | | | | | | | This needs a fair amount of changes elsewhere in the code, hence this is separate from the previous commits.
| * | apt-pkg: hashes: Add 'explicit' to single argument constructorsJulian Andres Klode2019-04-301-5/+5
| | | | | | | | | | | | | | | This avoids funny code where strings get implicitly converted to HashString or HashStringList.
| * | Add 'explicit' to most single argument constructorsJulian Andres Klode2019-04-3019-32/+34
|/ / | | | | | | | | | | | | | | | | | | | | This prevents implicit conversions that we do not want, such as having a FileFd* being converted to a debListParser. Two cases are not yet handled because they require changes in code using them: 1. The classes in hashes.h 2. The URI class - this one is used quite a lot
* | apt-helper: Support multiple hashes for a fileJulian Andres Klode2019-04-301-6/+28
| | | | | | | | | | | | This just peels supported hashes of the command-line until we reach a non-hash. For legacy compatability support, the first hash may be an empty string.
* | acq: worker: Move CurrentSize, TotalSize, ResumePoint to CurrentItemJulian Andres Klode2019-04-305-34/+32
| | | | | | | | | | These status fields belong to the current item, move them there. This prepares us for eventually having multiple current items.
* | Fix typo in German manpage translationTilmanK2019-04-191-1/+1
| | | | | | | | Github-Fixes: #89
* | Don't limit cpu-limited queues to at most 10David Kalnischkies2019-04-161-5/+7
| | | | | | | | | | | | | | | | | | | | | | Queues for processes like rred are not created by hostname but we spawn at most CPU*2 queues to place items in. The problem is that we then proceeded to limit it to at most 10 queues (via QueueHost::Limit) again at the end of the method so that all items (after the first 10 queues are busy) are forcibly placed into a generic catch-all instance which is bad because we don't keep all CPUs we have available busy and worse we end up sheduling the most work to a single one while random distribution was intended.
* | Follow gcc-9 -Wnoexcept suggestion for FileChunk constructorDavid Kalnischkies2019-04-161-1/+1
| | | | | | | | | | | | | | | | warning: but ‘pkgTagFilePrivate::FileChunk::FileChunk(bool, size_t)’ does not throw; perhaps it should be declared ‘noexcept’ [-Wnoexcept] Reported-By: gcc-9 Gbp-Dch: Ignore
* | Fix new gcc-9 warning -Wpessimizing-moveDavid Kalnischkies2019-04-161-1/+1
| | | | | | | | | | | | | | | | warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] Reported-By: gcc-9 Gbp-Dch: Ignore
* | Add test case for local-only packages pinned to neverJulian Andres Klode2019-04-151-1/+14
| | | | | | | | Test from the fix for the regression in trusty for LP #1821308.
* | Portuguese manpages translation updateAmérico Monteiro2019-04-081-899/+1338
| | | | | | | | Closes: #926614
* | Apply minor copy-editing to translations, tooDavid Kalnischkies2019-04-0810-94/+94
| | | | | | | | | | | | | | | | Prevent the translations to become fuzzy due to the simple copy-editing done recently on the english "translation". References: 30e6fad9ad892a21d271fa93319f7a3ee23da134 Gbp-Dch: Ignore
* | Flip /: in documented default value of DPkg::PathAlwin Henseler2019-04-051-1/+1
| | | | | | | | | | | | | | The value as shown in the NEWS file (not in the code) has a typo in which just a "/" and ":" are swapped. Closes: #917986
* | Mark apt-transport-https as M-A:foreignIvan Krylov2019-04-051-0/+1
| | | | | | | | | | | | | | | | | | The package is an empty dummy by now, but even before it could have made sense as described in the bugreport and due to external requirements it might stick around a while still. References: afe3cd6ef1b157a07d05bbf70283e4f175813438 Closes: #905141
* | Merge branch 'docs' into 'master'Julian Andres Klode2019-04-0410-22/+22
|\ \ | | | | | | | | | | | | Perform minor copy-editing on the docs See merge request apt-team/apt!58
| * | Perform minor copy-editing on the docsMartin Michlmayr2019-04-0410-22/+22
| | |
* | | Merge branch 'pkgconfig' into 'master'Julian Andres Klode2019-04-048-2/+50
|\ \ \ | | | | | | | | | | | | | | | | Add PkgConfig on the apt-pkg and apt-inst libraries See merge request apt-team/apt!20
| * | | Add pkg-config files for the apt-pkg and apt-inst librariesCorentin Noël2019-03-088-2/+50
| | | | | | | | | | | | | | | | Closes: #439121
* | | | Merge branch 'pu/tighten-lib-deps' into 'master'Julian Andres Klode2019-04-041-1/+5
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | Tighten dependencies from apt and apt-utils on libs See merge request apt-team/apt!56
| * | | Tighten dependencies from apt and apt-utils on libsJulian Andres Klode2019-03-191-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | Make apt pull in at least the same version of libapt-pkg, and apt-utils at least the same version of libapt-inst, so that upgrading only apt also upgrades the libraries.
* | | | Merge branch 'vendor-getinfo' into 'master'Julian Andres Klode2019-03-151-2/+2
|\ \ \ \ | |/ / / |/| | | | | | | | | | | Fix vendor/getinfo on Ubuntu derivatives See merge request apt-team/apt!55
| * | | vendor/getinfo: Don't assume that Ubuntu is the last vendorSimon McVittie2019-03-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If your dpkg-vendor configuration in base-files is an Ubuntu derivative, but not exactly Ubuntu, and not an exact match for anything in vendor/, we want to use vendor/ubuntu. Previously we used whatever $DISTRO happened to be at the end of the "for" loop above, but that's undesirable: even if we assume that find(1) returns results in alphabetical order (which is not guaranteed), we wouldn't want to return a non-Ubuntu result if a future apt version happens to have a vendor that sorts later than vendor/ubuntu, for example vendor/zombieos or something. Closes: #924662 Signed-off-by: Simon McVittie <smcv@collabora.com>
| * | | vendor/getinfo: Iterate through vendors in lexicographic orderSimon McVittie2019-03-151-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | find(1) works in readdir() order, which isn't guaranteed to be sorted. If the current vendor is not an exact match for any subdirectory in vendor/, and is somehow a derivative of more than one of them, we should at least produce a deterministic answer. Closes: #924662 Signed-off-by: Simon McVittie <smcv@collabora.com>
* | | CI: Use unstable for now, as we need triehash packageJulian Andres Klode2019-03-113-3/+3
| | |
* | | Use system-provided triehashJulian Andres Klode2019-03-1113-1797/+4
| | |
* | | prepare-release: Add merge-translations commandJulian Andres Klode2019-03-111-1/+22
|/ / | | | | | | | | | | | | | | | | | | | | | | This command allows merging translations from another branch. This is to be used strictly downwards, that is, translations should be merged from newest to oldest branch, without skipping any active branch, to ensure the best result. For example, consider branches 1 and 2 have the strings "a" and "b" to translate, but master only has the strings "a" and "c". Now, 2 has more translations for "b" than 1. By merging master into 2, and 2 into 1, 1 also gets any translations for "b" from 2.