summaryrefslogtreecommitdiff
path: root/prepare-release
AgeCommit message (Collapse)Author
2019-05-06prepare-release: Add bump-abi commandJulian Andres Klode
This changes the ABI in the packaging based on the one in the header.
2019-05-06Merge libapt-inst into libapt-pkgJulian Andres Klode
2019-03-11prepare-release: Add merge-translations commandJulian Andres Klode
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.
2018-10-07prepare-release: Fix last-modification detection for manpagesJulian Andres Klode
Pass -i to git log, so "Release foo" is detected as well, not just "release foo", and also handle the rename of Git-Dch to Gbp-Dch.
2018-08-29Fix typos reported by codespell & spellintianDavid Kalnischkies
No user-visible change as it effects mostly code comments and not a single error message, manpage or similar. Reported-By: codespell & spellintian Gbp-Dch: Ignore
2018-05-10prepare-release: run i18nspector as "lint" if availableDavid Kalnischkies
Gbp-Dch: Ignore
2018-05-05Fix various typos reported by spellcheckersDavid Kalnischkies
Reported-By: codespell & spellintian Gbp-Dch: Ignore
2018-04-07catch changelog ↔ NEWS dist mismatches in release scriptDavid Kalnischkies
At least it tries a little harder. Gbp-Dch: Ignore
2017-10-22Sandbox methods with seccomp-BPF; except cdrom, gpgv, rshJulian Andres Klode
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.
2017-09-09Directly link against libudev on Linux systemsJulian Andres Klode
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.
2017-08-17Handle GCC 7 std::string operator ABI breakJulian Andres Klode
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
2017-01-19add a helper to call codespell & spellintianDavid Kalnischkies
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
2016-08-29test, travis: Quieter testing with a new -qq modeJulian Andres Klode
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
2016-08-19prepare-release: Use equivs and gdebi-core for travis depsJulian Andres Klode
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.
2016-08-17add the gpg-classic variant to the gpgv/gnupg or-groupDavid Kalnischkies
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.
2016-08-10prepare-release: Switch over to CMake, set version in CMakeLists.txtJulian Andres Klode
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
2016-08-06prepare-release: Also search for libraries in CMake locationsJulian Andres Klode
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
2016-06-04prepare-release: ignore newer version symbolsDavid Kalnischkies
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
2016-01-03prepare-release: travis: Ignore build profiles in build-dependsJulian Andres Klode
This aids our introduction of lz4, which we do not want to impose as an additional requirement for bootstrappers. Gbp-Dch: ignore
2015-12-13check library was built before comparing with symbols fileDavid Kalnischkies
Git-Dch: Ignore
2015-11-27use pre-build hook to check for pre-export executionDavid Kalnischkies
Git-Dch: Ignore
2015-11-25update manpage last-modified from git via pre-export hookDavid Kalnischkies
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
2015-09-14tests: -y is the default on travis, but not on other ci'sDavid Kalnischkies
Git-Dch: Ignore
2015-08-12replace direct calls to egrep with grep -EDaniel Hartwig
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
2015-08-10change to libapt-pkg abi 5.0 with versioned symbolsDavid Kalnischkies
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.
2015-03-16set version before updating po filesDavid Kalnischkies
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
2014-11-09streamline display of --help in all toolsDavid Kalnischkies
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.
2014-09-14add a 'coverage' command to generate reportsDavid Kalnischkies
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
2014-08-26ensure that all docs use all entities filesDavid Kalnischkies
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
2014-08-26parse debian/tests/control for test dependenciesDavid Kalnischkies
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
2014-04-16extract travis installs from build-depends automaticallyDavid Kalnischkies
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
2014-03-13move defines for version to macros.hDavid Kalnischkies
also adds namespaced attributes for good usage Git-Dch: Ignore
2014-03-13add default and override handling for Cnf::FindVectorDavid Kalnischkies
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.
2014-02-14update symbols file with hints from the buildlogsDavid Kalnischkies
2013-12-07ensure prepare-release works in the right directoryDavid Kalnischkies
Git-Dch: Ignore
2013-12-07update libapt-pkg4.12 symbols fileDavid Kalnischkies
also fixing the release script code to deal with 'set -e' mode while checking the symbols file.
2013-12-07tell the release script that we use git nowDavid Kalnischkies
Git-Dch: Ignore
2013-12-07fix release script to deal with vendorsDavid Kalnischkies
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
2013-12-01prepare-release: declare the packages needed as source build deps.Steve Langasek
2013-07-26make autoconf happy by "mv configure.{in,ac}"David Kalnischkies
Git-Dch: Ignore
2012-05-25* doc/apt-verbatim.ent:David Kalnischkies
- APT doesn't belong to the product 'Linux', so use 'APT' instead as after all APT is a big suite of applications
2012-05-21print warnings in release script if xml-linting failsDavid Kalnischkies
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.
2012-05-12* prepare-release:David Kalnischkies
- apt-inst version isn't apt versions, so don't override variable
2012-05-11add a manually runable library action to help in maintaining the symbols filesDavid Kalnischkies
2012-05-02* debian/libapt-inst1.5.symbols:David Kalnischkies
- use the correct library name the symbols header
2012-03-22* debian/rules:David Kalnischkies
- do not sed in configure.in to set the version-number * prepare-release: - add as a small script to lazy check and prepare releases