-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathBRANCH-CHECKLIST
More file actions
30 lines (23 loc) · 1.37 KB
/
BRANCH-CHECKLIST
File metadata and controls
30 lines (23 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
0. Run full test suite in master. Continue if all tests passed.
1. If the branching point is master run devscripts/branch $NEW_BRANCH. If
it's not master run devscripts/branch $NEW_BRANCH $TREEISH, where
$TREEISH is a branch, a commit id or a tag.
1a. The script creates a new branch and calls editor; edit README.rst,
__version__.py and News.rst in the branch - set version. In
setup.cfg in the branch edit section [publish] - uncomment doc-dest
for stable branch. In setup.py in the branch edit URL (remove
'/devel') and download URLs. In setup.py and DeveloperGuide.rst edit
CI build status image URL (change branch). Commit.
1b. If the branching point was master the script checks out master and
calls editor again; edit README.rst, __version__.py and News.rst in
master - set version for the next release. In setup.py edit
"Development Status" in trove classifiers. Commit.
1c. The script updates versions in ANNOUNCE.rst.
2. To deprecate a version of Python edit files ANNOUNCE.rst, README.rst,
devscripts/release, devscripts/setup, docs/News.rst, docs/SQLObject.rst,
docs/TODO.rst, requirements.txt, setup.py, sqlobject/main.py, tox.ini in
master. Edit metadata at SourceForge.
3. Do a null-merge from the new branch to the higher branch or the
master.
4. Run devscripts/push-all to push all branches and tags to the public
repositories.