summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* po: Fill Project-Id-Version with correct project id and versionGuillem Jover2018-05-071-1/+1
| | | | | Warned-by: i18nspector Fixes: no-version-in-project-id-version
* Normalize authors through a mailmap fileGuillem Jover2018-05-071-0/+18
| | | | This is used from at least git shortlog.
* Remove obsolete RCS keywordsGuillem Jover2018-05-07116-119/+3
| | | | Prompted-by: Jakub Wilk <jwilk@debian.org>
* move special READMEs into doc/ and format as mdDavid Kalnischkies2018-05-0510-174/+203
| | | | | | 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.
* Fix various typos reported by spellcheckersDavid Kalnischkies2018-05-0536-68/+88
| | | | | Reported-By: codespell & spellintian Gbp-Dch: Ignore
* Avoid implicitly promotion of float to doubleDavid Kalnischkies2018-05-053-2/+3
| | | | | Reported-By: gcc -Wdouble-promotion Gbp-Dch: Ignore
* Prevent GTest from flooding us with compiler warningsDavid Kalnischkies2018-05-0420-187/+193
| | | | | | | | | | | | | | 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
* Fix build with new gtestJulian Andres Klode2018-05-041-1/+1
| | | | | | Still allow the older one to be used. Closes: #897149
* apt.conf.autoremove: Catch some new Ubuntu module packagesJulian Andres Klode2018-04-201-0/+3
|
* CMake: Fix builds without zstdJulian Andres Klode2018-04-201-2/+2
| | | | Only use zstd defined variables if zstd was found.
* Release 1.7.0~alpha0 to experimental1.7.0_alpha0Julian Andres Klode2018-04-1817-43/+284
|
* Run travis against debian:testing again, keep shippable at bionicJulian Andres Klode2018-04-181-1/+1
| | | | We are opening 1.7, whoo
* Make libzstd optional in CMakeLists.txt, to aid cross-buildingJulian Andres Klode2018-04-181-1/+1
| | | | | This makes cross-building a bit easier, and also porting to other platforms.
* Build with cmake+ninja instead of cmake+makeJulian Andres Klode2018-04-172-4/+3
|
* mention mirror method in sources.listDavid Kalnischkies2018-04-152-0/+17
| | | | Closes: 679580
* Release 1.6~rc11.6_rc1Julian Andres Klode2018-04-1519-20/+51
|
* French man pages translationjean-pierre giraud2018-04-151-275/+555
| | | | | | [jak: Fix invalid empty line] Closes: #895117
* Revert "mention mirror method in sources.list"Julian Andres Klode2018-04-152-17/+0
| | | | This reverts commit 57a00c50b14a49ed91816e3f4467e0f2e57ee772.
* Merge branch 'pu/heavy-hooks' into 'master'Julian Andres Klode2018-04-159-10/+765
|\ | | | | | | | | json-based hooks for apt cli tools See merge request apt-team/apt!10
| * Introduce experimental new hooks for command-line toolsJulian Andres Klode2018-04-157-7/+756
| | | | | | | | | | | | | | | | | | 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.
| * apt-private: Collect not found packages in CacheSetHelperAPTGetJulian Andres Klode2018-04-132-3/+9
| | | | | | | | | | Collecting the packages we could not find allows us to pass them to other places.
* | Merge branch 'pu/zstd' into 'master'Julian Andres Klode2018-04-1512-6/+290
|\ \ | | | | | | | | | | | | pu/zstd See merge request apt-team/apt!8
| * | zstd: Implement support for multi-frame filesJulian Andres Klode2018-04-131-4/+12
| | | | | | | | | | | | | | | | | | 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.
| * | Implement compression level handling for zstdJulian Andres Klode2018-04-131-1/+18
| | | | | | | | | | | | | | | This is a simplified variant of the code for xz, adapted to support multiple digit integers.
| * | apt-inst: Add support for zstd compressed debsJulian Andres Klode2018-03-121-2/+6
| | | | | | | | | | | | Whitelist support for zst members.
| * | apt-pkg: Add support for zstdJulian Andres Klode2018-03-1211-4/+259
| | | | | | | | | | | | | | | | | | | | | zstd is a compression algorithm developed by facebook. At level 19, it is about 6% worse in size than xz -6, but decompression is multiple times faster, saving about 40% install time, especially with eatmydata on cloud instances.
* | | document Acquire::AllowReleaseInfoChange without extra sDavid Kalnischkies2018-04-0711-13/+13
| | | | | | | | | | | | Reported-By: Mattia Rizzolo on IRC
* | | mention mirror method in sources.listDavid Kalnischkies2018-04-072-0/+17
| | | | | | | | | | | | Closes: 679580
* | | set our two libapt libraries to prio:optionalDavid Kalnischkies2018-04-071-0/+2
| | | | | | | | | | | | | | | | | | The override file already implements this, so we just adapt to reality. Reported-By: lintian excessive-priority-for-library-package
* | | fix communication typo in https manpageDavid Kalnischkies2018-04-0712-12/+12
| | | | | | | | | | | | Reported-By: lintian spelling-error-in-manpage
* | | catch changelog ↔ NEWS dist mismatches in release scriptDavid Kalnischkies2018-04-071-0/+6
| | | | | | | | | | | | | | | | | | At least it tries a little harder. Gbp-Dch: Ignore
* | | remove duplicate changelog lines from 1.6~beta1 entryDavid Kalnischkies2018-04-071-9/+0
| |/ |/| | | | | Whatever caused it, lets fix it.
* | test: export GCOV_ERROR_FILE=/dev/null to make it fail less/no testsJulian Andres Klode2018-04-061-0/+3
| |
* | Delete /etc/dpkg/dpkg.cfg.d/excludes on Docker CI imagesJulian Andres Klode2018-04-062-0/+2
| | | | | | | | Fixes test suite on Ubuntu docker images.
* | Allow restart_syscall() syscall in seccomp sandboxesJulian Andres Klode2018-04-061-0/+1
| | | | | | | | Closes: #891644
* | Turn off seccomp sandboxing by defaultJulian Andres Klode2018-04-062-1/+9
| | | | | | | | | | | | LP: #1732030 Closes: #890489 Fixes meefik/linuxdeploy#869
* | CI: Switch testing to use ubuntu:bionic for 1.6.yJulian Andres Klode2018-03-232-3/+3
| | | | | | | | 1.6.y is bionic's release series, it should be tested in it.
* | Bump cache major version to allow different 1.5 and 1.6 updatesJulian Andres Klode2018-03-191-1/+1
| | | | | | | | | | | | 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.
* | Use https for Ubuntu changelogsJulian Andres Klode2018-03-155-9/+9
| | | | | | | | We just enabled https on changelogs.ubuntu.com, let's use it.
* | Fix debian/NEWS entry for 1.6~beta1Julian Andres Klode2018-03-131-2/+2
|/
* Release 1.6~beta11.6_beta1Julian Andres Klode2018-02-2660-109/+1403
|
* apt.conf.autoremove: Add linux-cloud-tools to listJulian Andres Klode2018-02-231-0/+1
| | | | LP: #1698159
* Merge branch 'pu/not-valid-before' into 'master'Julian Andres Klode2018-02-1912-43/+231
|\ | | | | | | | | Check that Date of Release file is not in the future See merge request apt-team/apt!3
| * Check that Date of Release file is not in the futureJulian Andres Klode2018-02-1912-43/+231
| | | | | | | | | | | | | | | | | | | | | | | | | | By restricting the Date field to be in the past, an attacker cannot just create a repository from the future that would be accepted as a valid update for a repository. This check can be disabled by Acquire::Check-Date set to false. This will also disable Check-Valid-Until and any future date related checking, if any - the option means: "my computers date cannot be trusted." Modify the tests to allow repositories to be up to 10 hours in the future, so we can keep using hours there to simulate time changes.
* | tests: install aptitude for test-method-mirrorDavid Kalnischkies2018-02-191-1/+1
| | | | | | | | | | | | | | | | This is an optional dependency for the test, but the skipping of the test is very noisy and checking that an unchanged aptitude isn't downright exploding with our libapt isn't a bad idea either. Gbp-Dch: Ignore
* | German manpage translation updateChris Leick2018-02-191-535/+694
| |
* | ensure correct file permissions for auxfilesDavid Kalnischkies2018-02-194-7/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The interesting takeaway here is perhaps that 'chmod +w' is effected by the umask – obvious in hindsight of course. The usual setup helps with hiding that applying that recursively on all directories (and files) isn't correct. Ensuring files will not be stored with the wrong permissions even if in strange umask contexts is trivial in comparison. Fixing the test also highlighted that it wasn't bulletproof as apt will automatically fix the permissions of the directories it works with, so for this test we actually need to introduce a shortcut in the code. Reported-By: Ubuntu autopkgtest CI
* | tests: set debhelper compat 10 and R³ by defaultDavid Kalnischkies2018-02-191-2/+3
| | | | | | | | | | | | | | | | | | The testpackages hardly need debhelper at all, so any version would do, and they build without root rights by definition, but declaring it explicitly can't hurt and in the case of debhelper it would be sad if our testcases break one day because the old compat level is removed. Gbp-Dch: Ignore
* | restore gcc visibility=hidden for apt-privateDavid Kalnischkies2018-02-191-0/+1
| | | | | | | | | | | | | | | | This setting was lost in the transition to cmake. The private library has no public users and hence the default visibility of symbols changed early to hidden – something which should eventually be done for the public libraries as well, but one step at the time.
* | use a more standard approach to disable security for cdrom methodDavid Kalnischkies2018-02-191-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | It is sad that we can't wrap the cdrom method tighter at the moment, but due to its ability to mount drives into arbitrary places via an external suid binary we can't really do a lot better at the moment. What we can do is set the options in the configuration space through as it is standard in the other methods instead of doing it in main() which is assumed to be more boilerplatey than actually doing something. Gbp-Dch: Ignore