X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/8c14df55a61d71f2476c8a17287e1bd162a5c6a6..31412e06740727695c5d9512e0cd59c0dd683322:/CONTRIBUTING.md?ds=sidebyside diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7da4d7d0..311414fe 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -60,10 +60,10 @@ are in process of consolidating the style. The following rules apply: * leave out space between a function name and bracket but add one between control statement(if, while, etc.) and bracket -The coding style is enforced with pylint. It can be tested with: +The coding style is enforced with flake8. It can be tested with: ``` -pylint3 --extension-pkg-whitelist=osmium nominatim +make lint ``` ## Testing @@ -87,18 +87,18 @@ Checklist for releases: * [ ] increase versions in * `src/nominatim_api/version.py` * `src/nominatim_db/version.py` - * CMakeLists.txt * [ ] update `ChangeLog` (copy information from patch releases from release branch) * [ ] complete `docs/admin/Migration.md` * [ ] update EOL dates in `SECURITY.md` * [ ] commit and make sure CI tests pass +* [ ] update OSMF production repo and release new version -post1 there * [ ] test migration * download, build and import previous version * migrate using master version * run updates using master version * [ ] prepare tarball: - * `git clone --recursive https://github.com/osm-search/Nominatim` (switch to right branch!) - * `rm -r .git* osm2pgsql/.git*` + * `git clone https://github.com/osm-search/Nominatim` (switch to right branch!) + * `rm -r .git*` * copy country data into `data/` * add version to base directory and package * [ ] upload tarball to https://nominatim.org