Development Testing Release - Kozea/Radicale GitHub Wiki
(TODO)
- Fedora / Enterprise Linux
dnf install python3-pytest python-tox python-typeguard python-flake8
(TODO: other OS/distributions)
Run in main source directory
Note: will remove everything untracked, even ignored
git clean -fdx
flake8
Option -k can be used to select specific sub-tests
Example:
pytest radicale/tests/test_base.py [-k test_overwrite_collection]
Note: in case of strange errors add option -r
for recreation of environment
tox
(more coming next)
- All last actions successfully executed
- CHANGELOG.md is up-to-date
- No important issues still pending
- Local repository is up-to-date:
git pull
File | Action |
---|---|
CHANGELOG.md | replace 3.dev with $VERSION
|
setup.py.legacy | replace 3.dev with $VERSION
|
pyproject.toml | replace 3.dev with $VERSION
|
Commit changes
git commit -a
Create release tag
git tag v$VERSION
Push
git push
git push --tags
- Release title: VERSION (depending on changes)
- Description: (copy part from CHANGELOG.md and sort by section)
- Set it as pre-release until EL/Fedora RPMs are build
Note: in case something needs to be corrected, create a new tag v$VERSION-SEQ
and change tag of release
After RPMs are successfully built, mark it as latest release
File | Action |
---|---|
CHANGELOG.md | replace $VERSION with 3.dev
|
setup.py.legacy | replace $VERSION with 3.dev
|
pyproject.toml | replace $VERSION with 3.dev
|
Commit changes
git commit -a