summaryrefslogtreecommitdiff
path: root/prepare-release
Commit message (Collapse)AuthorAgeFilesLines
* Sandbox methods with seccomp-BPF; except cdrom, gpgv, rshJulian Andres Klode2017-10-221-0/+1
| | | | | | | | | | | | This reduces the number of syscalls to about 140 from about 350 or so, significantly reducing security risks. Also change prepare-release to ignore the architecture lists in the build dependencies when generating the build-depends package for travis. We might want to clean up things a bit more and/or move it somewhere else.
* Directly link against libudev on Linux systemsJulian Andres Klode2017-09-091-0/+1
| | | | | | | | | | | | | | | | | | | We previously dlopen()ed it, but it seems painful to do that without any real gain, except for possibly not having libudev in the address space and not having code #ifdefed for Linux. The latter means that we are a bit more likely to break stuff for non-Linux systems now if we play with udev, but at least we don't end up with it silently breaking because of a libudev ABI break. The existing function pointers in the struct were renamed and kept for compat purposes. Fixes Debian/apt#48 Also adjust prepare-release to strip [linux-any] from build-depends for travis.
* Handle GCC 7 std::string operator ABI breakJulian Andres Klode2017-08-171-0/+1
| | | | | | | | | | We now require gcc 7 on the packaging side, and add an appropriate symbol to our symbols file. Also adjust prepare-release to ignore g++ version requirements when setting up build dependencies on CI. Closes: #871275
* add a helper to call codespell & spellintianDavid Kalnischkies2017-01-191-0/+68
| | | | | | | | We don't want to call these on po-files and such and even then they contain a bunch of false positives which we should better filter out or looking at the output is too daunting. Gbp-Dch: Ignore
* test, travis: Quieter testing with a new -qq modeJulian Andres Klode2016-08-291-1/+1
| | | | | | | | | | | | | | | Introduce a new -qq mode for our integration test framework, and make travis use it. The new -qq mode sets MSGLEVEL to 1. In MSGLEVEL=1, no messages are generated for passed tests, and all testcase filenames are printed in the same line. Also install first in travis, do not ls the installed output and run the install with chronic, so we only get output if it failed. Gbp-Dch: ignore
* prepare-release: Use equivs and gdebi-core for travis depsJulian Andres Klode2016-08-191-3/+25
| | | | | | | | Our previous hack did not really support or groups and other more advanced dependency types. This hack basically removes build profiles, and the @-type depends for tests, and otherwise converts the deps to a package which is then installed via gdebi.
* add the gpg-classic variant to the gpgv/gnupg or-groupDavid Kalnischkies2016-08-171-2/+3
| | | | | | We need to support partial upgrades anyhow, so we have to deal with the different versions and your tests try to ensure that we do, so we shouldn't make any explicit higher requirements.
* prepare-release: Switch over to CMake, set version in CMakeLists.txtJulian Andres Klode2016-08-101-7/+11
| | | | | | | | | Teach the prepare-release script about the version new locations and also set the version in CMakeLists, as that is better than reading it from the changelog: CMake would not rerun automatically otherwise if the version changed. Gbp-Dch: ignore
* prepare-release: Also search for libraries in CMake locationsJulian Andres Klode2016-08-061-0/+7
| | | | | | | | | | | | | | | | | | With this change, the 'library' command looks for a library libX in the directories: build/bin, */X, X. This allows it to find the library when building with the upcoming CMake backend, which places the libraries in a sub directory of the build tree with the same name as the source tree. For example, if building in 'build/', the apt-pkg library will be available at 'build/apt-pkg/libapt-pkg.so.5.0'. In case there are multiple instances of a library, the newest one will be used. Gbp-Dch: ignore
* prepare-release: ignore newer version symbolsDavid Kalnischkies2016-06-041-1/+1
| | | | | | | | | | The script takes the version from the changelog, but if it lacks behind and the symbols file already includes symbols tagged for the next version the helper prints incorrect lines as NEW for these symbols, but ideally it shouldn't print them at all as the symbol is already dealt with. Git-Dch: Ignore
* prepare-release: travis: Ignore build profiles in build-dependsJulian Andres Klode2016-01-031-1/+1
| | | | | | | This aids our introduction of lz4, which we do not want to impose as an additional requirement for bootstrappers. Gbp-Dch: ignore
* check library was built before comparing with symbols fileDavid Kalnischkies2015-12-131-2/+7
| | | | Git-Dch: Ignore
* use pre-build hook to check for pre-export executionDavid Kalnischkies2015-11-271-4/+18
| | | | Git-Dch: Ignore
* update manpage last-modified from git via pre-export hookDavid Kalnischkies2015-11-251-2/+10
| | | | | | | | Never updating this information is wrong, updating it automatically isn't super correct either, but it seems conventional to have it and updating it more often than needed seems better than updating it never. Git-Dch: Ignore
* tests: -y is the default on travis, but not on other ci'sDavid Kalnischkies2015-09-141-2/+2
| | | | Git-Dch: Ignore
* replace direct calls to egrep with grep -EDaniel Hartwig2015-08-121-1/+1
| | | | | | | | | | | The rest of the initial patch is not needed or incorrect in our usage. Big changes for the dselect scripts seem unneeded as well as those are hardly used by anyone anymore… [commit message written by commiter] Closes: 255577 Thanks: David Weinehall for initial patch
* change to libapt-pkg abi 5.0 with versioned symbolsDavid Kalnischkies2015-08-101-3/+4
| | | | | | | | | | | We changed an aweful lot of stuff, so 5.0 is properly better than 4.X as a semantic version and as we are at it lets add some trivial symbol versioning as well: We just mark all exported symbols with the same version for now. This isn't really the proper thing to do as if we add symbols in later versions (with the same abi) they will get the same symbols version, but our .symbols file will protect us from the problems arising from this as it will ensure that a package acutally depends on a version of the abi high enough to include the symbol.
* set version before updating po filesDavid Kalnischkies2015-03-161-3/+3
| | | | | | | | This way the 'correct' version is carried over into the po files to reflect which version they were built for rather than the version before the current one. Git-Dch: Ignore
* streamline display of --help in all toolsDavid Kalnischkies2014-11-091-2/+2
| | | | | | | By convention, if I run a tool with --help or --version I expect it to exit successfully with the usage, while if I do call it wrong (like without any parameters) I expect the usage message shown with a non-zero exit.
* add a 'coverage' command to generate reportsDavid Kalnischkies2014-09-141-4/+51
| | | | | | | | | Builds, runs and generates everything needed to have a coverage report at the end for apt. The report isn't perfect as most childs apt forks do not have a regular exit and so data is never written for them, which results in e.g. most methods to have zero coverage reported. Git-Dch: Ignore
* ensure that all docs use all entities filesDavid Kalnischkies2014-08-261-0/+17
| | | | | | | | | Not all are needed for all files at the moment, but the new docbook building hadn't available some of the entities it used as the files weren't correctly copied around in all cases and having the same across the bord makes working with all of them a little easier. Git-Dch: Ignore
* parse debian/tests/control for test dependenciesDavid Kalnischkies2014-08-261-0/+1
| | | | | | | | Our integration tests need some additional dependencies to run and function correctly, but while multiple places run them, there is no need to also specify the these dependencies in multiple places. Git-Dch: Ignore
* extract travis installs from build-depends automaticallyDavid Kalnischkies2014-04-161-1/+4
| | | | | | | | I forgot to add libgtest-dev to the list of packages to install on travis, so this slightly hacky oneliner might prevent us from having the same problem again if we happen to change dependencies again. Git-Dch: Ignore
* move defines for version to macros.hDavid Kalnischkies2014-03-131-1/+1
| | | | | | also adds namespaced attributes for good usage Git-Dch: Ignore
* add default and override handling for Cnf::FindVectorDavid Kalnischkies2014-03-131-0/+1
| | | | | | Automatically handle the override of list options via its parent value which can even be a comma-separated list of values. It also adds an easy way of providing a default for the list.
* update symbols file with hints from the buildlogsDavid Kalnischkies2014-02-141-6/+18
|
* ensure prepare-release works in the right directoryDavid Kalnischkies2013-12-071-6/+14
| | | | Git-Dch: Ignore
* update libapt-pkg4.12 symbols fileDavid Kalnischkies2013-12-071-3/+3
| | | | | also fixing the release script code to deal with 'set -e' mode while checking the symbols file.
* tell the release script that we use git nowDavid Kalnischkies2013-12-071-2/+2
| | | | Git-Dch: Ignore
* fix release script to deal with vendorsDavid Kalnischkies2013-12-071-4/+13
| | | | | | | | Call xmllint with each vendor to check if any vendor specific errors are present, but check the translations only with one vendor to check for translation specifics – vendor and translation specific isn't possible. Git-Dch: Ignore
* prepare-release: declare the packages needed as source build deps.Steve Langasek2013-12-011-0/+4
|
* make autoconf happy by "mv configure.{in,ac}"David Kalnischkies2013-07-261-1/+1
| | | | Git-Dch: Ignore
* * doc/apt-verbatim.ent:David Kalnischkies2012-05-251-0/+1
| | | | - APT doesn't belong to the product 'Linux', so use 'APT' instead as after all APT is a big suite of applications
* print warnings in release script if xml-linting failsDavid Kalnischkies2012-05-211-0/+5
| | | | | The build was successful, so it doesn't seem to be a problem per-se, but it is a good idea to correct these errors non-the-less.
* * prepare-release:David Kalnischkies2012-05-121-3/+3
| | | - apt-inst version isn't apt versions, so don't override variable
* add a manually runable library action to help in maintaining the symbols filesDavid Kalnischkies2012-05-111-3/+26
|
* * debian/libapt-inst1.5.symbols:David Kalnischkies2012-05-021-0/+17
| | | - use the correct library name the symbols header
* * debian/rules:David Kalnischkies2012-03-221-0/+37
- do not sed in configure.in to set the version-number * prepare-release: - add as a small script to lazy check and prepare releases