summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-05-11Don't force the same mirror for by-hash URIsDavid Kalnischkies
Downloading from the same mirror we got a Release file from makes sense for non-unique URIs as their content changes between mirror states, but if we ask for an index via by-hash we can be sure that we either get the file we wanted or a 404 for which we can perform a fallback for which allows us to pull indexes from different mirror in parallel.
2018-05-11Handle by-hash URI construction more centrallyDavid Kalnischkies
Individual items shouldn't concern themselves with these alternative locations, we can deal with this more efficiently within the infrastructure created for other alternative URIs now avoiding the need to implement this in each item.
2018-05-11Drop alternative URIs we got a hash-based fail fromDavid Kalnischkies
If we got a file but it produced a hash error, mismatched size or similar we shouldn't fallback to alternative URIs as they likely result in the same error. If we can we should instead use another mirror. We used to be a lot stricter by stopping all trys for this file if we got a non-404 (or a hash-based) failure, but that is too hard as we really want to try other mirrors (if we have them) in the hope that they have the expected and correct files.
2018-05-11use 127.0.0.1 instead of localhost as default Tor proxyDavid Kalnischkies
This shouldn't make a practical difference for most people, but for edge cases it avoids DNS lookups and additionally prevents us from perfoming unneeded SRV requests, too.
2018-05-11don't try SRV requests based on IP addressesDavid Kalnischkies
IP addresses are by definition not a domain so in the best case the requests will just fail; we can do better than that on our own.
2018-05-10prepare-release: run i18nspector as "lint" if availableDavid Kalnischkies
Gbp-Dch: Ignore
2018-05-10po: Drop boilerplate in initial commentsDavid Kalnischkies
The boilerplate stems from automatic processing of these files as most (with the exception of po/nl.po) are one-off (partial) translations from years past. Gbp-Dch: Ignore
2018-05-10Add boilerplate plural form to po/apt-all.potDavid Kalnischkies
Warned-by: i18nspector Fixes: no-plural-forms-header-field
2018-05-09Merge branch 'pu/cleanup' into 'master'Julian Andres Klode
Repository cleanups See merge request apt-team/apt!12
2018-05-07po: Add missing Plural-Forms fieldsGuillem Jover
Warned-by: i18nspector Fixes: no-plural-forms-header-field
2018-05-07po: Remove spurious text in Plural-Forms fieldGuillem Jover
Warned-by: i18nspector Fixes: trailing-junk-in-plural-forms
2018-05-07po: Fix Language field to match actual localeGuillem Jover
Warned-by: i18nspector Fixes: language-disparity
2018-05-07po: Fix translated string not matching format string argumentsGuillem Jover
Warned-by: i18nspector Fixes: c-format-string-argument-type-mismatch Fixes: c-format-string-missing-arguments
2018-05-07po: Fill Project-Id-Version with correct project id and versionGuillem Jover
Warned-by: i18nspector Fixes: no-version-in-project-id-version
2018-05-07Normalize authors through a mailmap fileGuillem Jover
This is used from at least git shortlog.
2018-05-07Remove obsolete RCS keywordsGuillem Jover
Prompted-by: Jakub Wilk <jwilk@debian.org>
2018-05-05move special READMEs into doc/ and format as mdDavid Kalnischkies
The formatting is very basic and more should probably be done, but we at least get the files out of the root directory which in case of the various READMEs was confusing salsa which one display as (central) README.
2018-05-05Fix various typos reported by spellcheckersDavid Kalnischkies
Reported-By: codespell & spellintian Gbp-Dch: Ignore
2018-05-05Avoid implicitly promotion of float to doubleDavid Kalnischkies
Reported-By: gcc -Wdouble-promotion Gbp-Dch: Ignore
2018-05-04Prevent GTest from flooding us with compiler warningsDavid Kalnischkies
GTest has a bunch of undefined macros which causes the compiler to spit out warnings for each one on each test file. There isn't much we can do, so we just disable the warning for the testcases. Other warnings like sign-promo and sign-compare we can avoid by being more explicit about our expected integer constants being unsigned. As we are just changing testcases, there is no user visible change which would deserve to be noted in the changelog. Gbp-Dch: Ignore Reported-By: gcc-8
2018-05-04Fix build with new gtestJulian Andres Klode
Still allow the older one to be used. Closes: #897149
2018-04-20apt.conf.autoremove: Catch some new Ubuntu module packagesJulian Andres Klode
2018-04-20CMake: Fix builds without zstdJulian Andres Klode
Only use zstd defined variables if zstd was found.
2018-04-18Release 1.7.0~alpha0 to experimental1.7.0_alpha0Julian Andres Klode
2018-04-18Run travis against debian:testing again, keep shippable at bionicJulian Andres Klode
We are opening 1.7, whoo
2018-04-18Make libzstd optional in CMakeLists.txt, to aid cross-buildingJulian Andres Klode
This makes cross-building a bit easier, and also porting to other platforms.
2018-04-17Build with cmake+ninja instead of cmake+makeJulian Andres Klode
2018-04-15mention mirror method in sources.listDavid Kalnischkies
Closes: 679580
2018-04-15Release 1.6~rc11.6_rc1Julian Andres Klode
2018-04-15French man pages translationjean-pierre giraud
[jak: Fix invalid empty line] Closes: #895117
2018-04-15Revert "mention mirror method in sources.list"Julian Andres Klode
This reverts commit 57a00c50b14a49ed91816e3f4467e0f2e57ee772.
2018-04-15Merge branch 'pu/heavy-hooks' into 'master'Julian Andres Klode
json-based hooks for apt cli tools See merge request apt-team/apt!10
2018-04-15Introduce experimental new hooks for command-line toolsJulian Andres Klode
This allows third-party package managers like snap or flatpak to hook in and suggest alternatives if packages could not be found, for example. This is still highly experimental and the protocol might change in future versions.
2018-04-15Merge branch 'pu/zstd' into 'master'Julian Andres Klode
pu/zstd See merge request apt-team/apt!8
2018-04-13zstd: Implement support for multi-frame filesJulian Andres Klode
This implements support for multi frame files while keeping error checking for unexpected EOF working correctly. Files with multiple frames are generated by pzstd, for example.
2018-04-13Implement compression level handling for zstdJulian Andres Klode
This is a simplified variant of the code for xz, adapted to support multiple digit integers.
2018-04-13apt-private: Collect not found packages in CacheSetHelperAPTGetJulian Andres Klode
Collecting the packages we could not find allows us to pass them to other places.
2018-04-07document Acquire::AllowReleaseInfoChange without extra sDavid Kalnischkies
Reported-By: Mattia Rizzolo on IRC
2018-04-07mention mirror method in sources.listDavid Kalnischkies
Closes: 679580
2018-04-07set our two libapt libraries to prio:optionalDavid Kalnischkies
The override file already implements this, so we just adapt to reality. Reported-By: lintian excessive-priority-for-library-package
2018-04-07fix communication typo in https manpageDavid Kalnischkies
Reported-By: lintian spelling-error-in-manpage
2018-04-07catch changelog ↔ NEWS dist mismatches in release scriptDavid Kalnischkies
At least it tries a little harder. Gbp-Dch: Ignore
2018-04-07remove duplicate changelog lines from 1.6~beta1 entryDavid Kalnischkies
Whatever caused it, lets fix it.
2018-04-06test: export GCOV_ERROR_FILE=/dev/null to make it fail less/no testsJulian Andres Klode
2018-04-06Delete /etc/dpkg/dpkg.cfg.d/excludes on Docker CI imagesJulian Andres Klode
Fixes test suite on Ubuntu docker images.
2018-04-06Allow restart_syscall() syscall in seccomp sandboxesJulian Andres Klode
Closes: #891644
2018-04-06Turn off seccomp sandboxing by defaultJulian Andres Klode
LP: #1732030 Closes: #890489 Fixes meefik/linuxdeploy#869
2018-03-23CI: Switch testing to use ubuntu:bionic for 1.6.yJulian Andres Klode
1.6.y is bionic's release series, it should be tested in it.
2018-03-19Bump cache major version to allow different 1.5 and 1.6 updatesJulian Andres Klode
Shipping 1.6 with major 12 would not allow us to update 1.5.y in a different way than 1.6.y if we have to without resorting to minor version hacks. Let's just bump the major instead.
2018-03-15Use https for Ubuntu changelogsJulian Andres Klode
We just enabled https on changelogs.ubuntu.com, let's use it.