mirror of https://github.com/fail2ban/fail2ban
DOC: DEVELOP -- mention TST commit tag, adjust formatting in Releasing
parent
99bf14851f
commit
989fc06a42
25
DEVELOP
25
DEVELOP
|
@ -44,7 +44,7 @@ coverage html
|
||||||
|
|
||||||
Then look at htmlcov/index.html and see how much coverage your test cases
|
Then look at htmlcov/index.html and see how much coverage your test cases
|
||||||
exert over the codebase. Full coverage is a good thing however it may not be
|
exert over the codebase. Full coverage is a good thing however it may not be
|
||||||
complete. Try to ensure tests cover as many independant paths through the
|
complete. Try to ensure tests cover as many independent paths through the
|
||||||
code.
|
code.
|
||||||
|
|
||||||
Manual Execution. To run in a development environment do:
|
Manual Execution. To run in a development environment do:
|
||||||
|
@ -106,9 +106,12 @@ Git
|
||||||
|
|
||||||
Use the following tags in your commit messages:
|
Use the following tags in your commit messages:
|
||||||
|
|
||||||
'ENH:' for enhancements
|
|
||||||
'BF:' for bug fixes
|
'BF:' for bug fixes
|
||||||
'DOC:' for documentation fixes
|
'DOC:' for documentation fixes
|
||||||
|
'ENH:' for enhancements
|
||||||
|
'TST:' for commits concerning tests only (thus not touching the main code-base)
|
||||||
|
|
||||||
|
Multiple tags could be joined with +, e.g. "BF+TST:".
|
||||||
|
|
||||||
Adding Actions
|
Adding Actions
|
||||||
--------------
|
--------------
|
||||||
|
@ -246,24 +249,30 @@ Takes care about executing start/check/ban/unban/stop commands
|
||||||
Releasing
|
Releasing
|
||||||
=========
|
=========
|
||||||
|
|
||||||
Ensure the version is correct in ./common/version.py
|
# Ensure the version is correct in ./common/version.py
|
||||||
|
|
||||||
Add/finalize the corresponding entry in the ChangeLog
|
# Add/finalize the corresponding entry in the ChangeLog
|
||||||
|
|
||||||
|
# Update man pages
|
||||||
|
|
||||||
# update man pages
|
|
||||||
(cd man ; ./generate-man )
|
(cd man ; ./generate-man )
|
||||||
|
|
||||||
git commit -m 'update man pages for release' man/*
|
git commit -m 'update man pages for release' man/*
|
||||||
|
|
||||||
|
# Make sure the tests pass
|
||||||
|
|
||||||
|
./fail2ban-testcases-all
|
||||||
|
|
||||||
|
# Prepare/upload source and rpm binary distributions
|
||||||
|
|
||||||
python setup.py check
|
python setup.py check
|
||||||
python setup.py sdist
|
python setup.py sdist
|
||||||
python setup.py bdist_rpm
|
python setup.py bdist_rpm
|
||||||
python setup.py upload
|
python setup.py upload
|
||||||
|
|
||||||
Run the following and update the wiki with output:
|
# Run the following and update the wiki with output:
|
||||||
|
|
||||||
python -c 'import common.protocol; common.protocol.printWiki()'
|
python -c 'import common.protocol; common.protocol.printWiki()'
|
||||||
|
|
||||||
email users and development list of release
|
# Email users and development list of release
|
||||||
|
|
||||||
TODO notifying distributors etc.
|
TODO notifying distributors etc.
|
||||||
|
|
Loading…
Reference in New Issue