aboutsummaryrefslogtreecommitdiff
path: root/devel/release-checks.sh
AgeCommit message (Collapse)Author
2025-02-22build: remove handling for legacy python bindings versionDavid Bremner
The legacy python bindings are no longer built.
2022-02-21removed use of 'echo -n' (and echo -n -e ...)Tomi Ollila
In most cases used printf %s ... instead. echo -n > file lines to create empty / truncate files were changed to : > file lines, like done in in test-lib-emacs.sh And one echo -n " " replaced with use of sed "s/^/ /" in next line.
2020-11-08release: call python3 instead of python0.31.1David Bremner
Debian does not install /usr/bin/python by default any more.
2020-11-08release: update release-checks.sh for s/version/version.txt/David Bremner
Another place missed by the rename.
2020-08-16devel/release-checks.sh: use grep to find copyright year.0.31_rc0David Bremner
This is quite fragile, but it works for now, unlike the python version. In general it seems conf.py is not intended to be evaluated outside of sphinx, as it assumes certain global names (in particular "tags") are defined.
2018-01-04fix typosDaniel Kahn Gillmor
2015-11-19devel/release-checks: added checking of copyright year in documentationTomi Ollila
Check that copyright year will be current year in generated documentation. Checking is done my matching that copyright line contains current year as a substring which is good enough "approximation" in this context.
2015-08-10build: extract library versions from notmuch.hDavid Bremner
- Make lib/notmuch.h the canonical location for the library versioning information. - Since the release-check should never fail now, remove it to reduce complexity. - Make the version numbers in notmuch.h consistent with the (now deleted) ones in lib/Makefile.local
2015-08-04devel/release-checks.sh: made python version check work with python 3Tomi Ollila
This trivial change consists of just putting print() argument in parentheses.
2015-06-09release-checks: check that git working directory is cleanTomi Ollila
Before release check that there are no uncommitted changes and that there are no files in working directory that possibly should have been added to the repository. Amended by db: remove --ignored, since that seems like too much trouble.
2015-01-03build: eliminate use of python execfile commandDavid Bremner
As discussed in id:8cc9dd580ad672527e12f43706f9803b2c8e99d8.1405220724.git.wking@tremily.us, execfile is unavailable in python3. The approach of this commit avoids modifying the python module path, which is arguably preferable since it avoids potentially accidentally importing a module from the wrong place.
2014-04-08release-checks: removed manual page version checkTomi Ollila
Manual pages are now generated and during the generation the version string is read from `version` file, so this (currently failing) test checking manual page versions can be removed. While at it, changed the case pattern *[^0-9.]* to its portable alternative *[!0-9.]*
2013-12-30devel/release-checks.sh: adjust to LIBNOTMUCH version checksdebian/0.17-10.17Tomi Ollila
NOTMUCH_VERSION_* macros in lib/notmuch.h are replaced with LIBNOTMUCH_VERSION_* macros. Check that the values of those match the LIBNOTMUCH_*_VERSION values in lib/Makefile.local.
2013-11-11devel/release-checks.sh: check NOTMUCH_(MAJOR|MINOR|MICRO)_VERSIONTomi Ollila
New defines NOTMUCH_MAJOR_VERSION, NOTMUCH_MINOR_VERSION and NOTMUCH_MICRO_VERSION were added to lib/notmuch.h. Check that these match the current value defined in ./version.
2013-02-18devel/release-checks.sh: added check that 1st NEWS header is tidyTomi Ollila
Check that the underlining '===...' for first (header) line in NEWS file is of the same length as the header text and it is all '=':s. -- extra execs removed by db.
2013-01-19devel/release-checks.sh: version string problem does not halt executionTomi Ollila
Version string has strict format requirements in release-check.sh: only numbers and periods (in sane order) are accepted. Mismatch there used to halt further execution. In this case, checking versions like '*~rc1' for (more) problems was not possible. This 'fatal error' is now changed buffered error message like in following tests, and is displayed at the end of execution.
2012-09-05devel: add release-checks.shTomi Ollila
Currently Makefile.local contains some machine executable release checking functionality. This is unnecessarily complex way to do it: Multiline script functionality is hard to embed -- from Makefile point of view there is just one line split using backslashes and every line ends with ';'. It is hard to maintain such "script" when it gets longer. The embedded script does not fail as robust as separate script; set -eu could be added to get same level of robustness -- but the provided Bourne Again Shell (bash) script exceeds this with 'set -o pipefail', making the script to fail when any of the commands in pipeline fails (and not just the last one). Checking for release is done very seldom compared to all other use; The whole Makefile.local gets simpler and easier to grasp when most release checking targets are removed. When release checking is done, the steps are executed sequentially; nothing is allowed to be skipped due to some satisfied dependency.