Skip to content

Commit 8e35478

Browse files
Update RELEASE checklist to use tick boxes for tracking
1 parent 00ca9d1 commit 8e35478

File tree

1 file changed

+33
-33
lines changed

1 file changed

+33
-33
lines changed

RELEASE.md

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
* Decide the version name to set for the new release, by
1+
- [ ] Decide the version name to set for the new release, by
22
heeding the Versioning Strategy (see
33
https://ncas-cms.github.io/cf-python/releases.html#versioning-strategy).
44

5-
* Set the `NEXTVERSION` version marker across the codebase (added in PRs
5+
- [ ] Set the `NEXTVERSION` version marker across the codebase (added in PRs
66
to mark the next version where the exact number/name is not yet decided)
77
by recursively finding all occurences within the `cf` directory and replacing
88
them with the upcoming version name `X.Y.Z` (replace `X`, `Y` and `Z`
@@ -14,63 +14,63 @@
1414
$ find cf/ -type f | xargs sed -i 's/NEXTVERSION/X.Y.Z/g'
1515
```
1616

17-
* Change the version and date in `cf/__init__.py` (`__version__` and
17+
- [ ] Change the version and date in `cf/__init__.py` (`__version__` and
1818
`__date__` variables)
1919

20-
* Ensure that the requirements on dependencies & their versions are
20+
- [ ] Ensure that the requirements on dependencies & their versions are
2121
up-to-date and consistent in both the `requirements.txt` and in
2222
`docs/source/installation.rst`; and in the `_requires` list and
2323
`Version` checks in `cf/__init__.py`.
2424

25-
* Make sure that `README.md` is up to date.
25+
- [ ] Make sure that `README.md` is up to date.
2626

27-
* Make sure that the `long_description` in `setup.py` is up to date.
27+
- [ ] Make sure that the `long_description` in `setup.py` is up to date.
2828

29-
* Make sure that `Changelog.rst` is up to date (version, date and
29+
- [ ] Make sure that `Changelog.rst` is up to date (version, date and
3030
changes).
3131

32-
* Deprecated methods and keyword arguments: Check the code for
32+
- [ ] Deprecated methods and keyword arguments: Check the code for
3333
deprecated methods and keyword arguments that can be completely
3434
removed, i.e. those with a ``removed_at`` version that is at or
3535
before the version being released. Remove any reference to them in
3636
the method, class, or fucntion (including, if appropriate, the
3737
``@_deprecated_kwarg_check`` decorator), and remove them from the
3838
relevant documentation ``.rst`` files.
3939

40-
* Check that the documentation API coverage is complete:
40+
- [ ] Check that the documentation API coverage is complete:
4141

4242
```bash
4343
./check_docs_api_coverage
4444
```
4545

46-
* If it is not complete, add any undocumented attributes, methods,
46+
- [ ] If it is not complete, add any undocumented attributes, methods,
4747
functions and keyword arguments (e.g. as listed in the change log)
4848
to the `.rst` files in `docs/source/class/`.
4949

50-
* Check external links to the CF conventions are up to date in
50+
- [ ] Check external links to the CF conventions are up to date in
5151
`docs/source/tutorial.rst` and `docs/source/field_analysis.rst`
5252

53-
* Create a link to the new documentation in
53+
- [ ] Create a link to the new documentation in
5454
`docs/source/releases.rst`, including the release date.
5555

56-
* Test tutorial code:
56+
- [ ] Test tutorial code:
5757

5858
```bash
5959
export PYTHONPATH=$PWD:$PYTHONPATH
6060
./test_tutorial_code
6161
```
6262

63-
* **Follow all of the steps outlined externally in `DOCUMENTATION.md`**,
63+
- [ ] **Follow all of the steps outlined externally in `DOCUMENTATION.md`**,
6464
notably so that the correct Sphinx-related environment is prepared for
6565
documentation building.
6666

67-
* Ensure that the [PDF for Cheat Sheet](docs/_downloads/cheatsheet.pdf)
67+
- [ ] Ensure that the [PDF for Cheat Sheet](docs/_downloads/cheatsheet.pdf)
6868
is updated to include any API changes. The PDF is created using Canva
6969
keeping in mind the colours and fonts of the website. The same could
7070
be edited using this
7171
[link](https://www.canva.com/design/DAFk9_BVfNY/gmQHycBiV_YbTIWMqYxK1g/edit).
7272

73-
* Build a development copy of the documentation using to check API
73+
- [ ] Build a development copy of the documentation using to check API
7474
pages for any new methods are present & correct, & that the overall
7575
formatting has not been adversely affected for comprehension by any
7676
updates in the latest Sphinx or theme etc. (Do not manually commit
@@ -80,17 +80,17 @@
8080
./release_docs dev-scrub
8181
```
8282

83-
* Check that no typos or spelling mistakes have been introduced to the
83+
- [ ] Check that no typos or spelling mistakes have been introduced to the
8484
documentation:
8585

86-
* Run a dummy build of the documentation to detect invalid words:
86+
- [ ] Run a dummy build of the documentation to detect invalid words:
8787

8888
```console
8989
$ cd docs
9090
$ make spelling build
9191
```
9292

93-
* If there are words raised with 'Spell check' warnings for the dummy
93+
- [ ] If there are words raised with 'Spell check' warnings for the dummy
9494
build, such as:
9595

9696
```bash
@@ -104,13 +104,13 @@
104104
`/attribute` or `/function` which will be fixed along with the origin
105105
docstrings after a 'latest' build) as follows:
106106

107-
* If there are words that are in fact valid, add the valid words to
107+
- [ ] If there are words that are in fact valid, add the valid words to
108108
the list of false positives for the spelling checker extension,
109109
`docs/source/spelling_false_positives.txt`.
110-
* Correct any words that are not valid in the codebase under `cf` or
110+
- [ ] Correct any words that are not valid in the codebase under `cf` or
111111
in the `docs/source` content files.
112112

113-
* Note that, in the case there are many words raised as warnings, it
113+
- [ ] Note that, in the case there are many words raised as warnings, it
114114
helps to automate the above steps. The following commands are a means
115115
to do this processing:
116116

@@ -132,58 +132,58 @@
132132
5. Remove duplicate words and sort alphabetically via:
133133
`sort -u -o docs/source/spelling_false_positives.txt docs/source/spelling_false_positives.txt`
134134

135-
* Create an archived copy of the documentation:
135+
- [ ] Create an archived copy of the documentation:
136136

137137
```bash
138138
./release_docs archive
139139
```
140140

141-
* Update the latest documentation:
141+
- [ ] Update the latest documentation:
142142

143143
```bash
144144
./release_docs latest
145145
```
146146

147-
* Create a source tarball:
147+
- [ ] Create a source tarball:
148148

149149
```bash
150150
python setup.py sdist
151151
```
152152

153-
* Test the tarball release using
153+
- [ ] Test the tarball release using
154154

155155
```bash
156156
./test_release <vn> # E.g. ./test_release 3.14.0
157157
```
158158

159-
* Push recent commits using
159+
- [ ] Push recent commits using
160160

161161
```bash
162162
git push origin main
163163
```
164164

165-
* Tag the release:
165+
- [ ] Tag the release:
166166

167167
```bash
168168
./tag <vn> # E.g. ./tag 3.14.0
169169
```
170170

171-
* Upload the source tarball to PyPI. Note this requires the `twine`
171+
- [ ] Upload the source tarball to PyPI. Note this requires the `twine`
172172
library (which can be installed via `pip`) and relevant project
173173
privileges on PyPI.
174174

175175
```bash
176176
./upload_to_pypi <vn> # E.g. ./upload_to_pypi 3.14.0
177177
```
178178

179-
* Update the GitHub releases page for the new version:
179+
- [ ] Update the GitHub releases page for the new version:
180180
https://github.com/NCAS-CMS/cf-python/releases
181181

182-
* Upload the new release to Zenodo: https://zenodo.org/record/3961353
182+
- [ ] Upload the new release to Zenodo: https://zenodo.org/record/3961353
183183

184-
* Copy the archive docs to https://github.com/NCAS-CMS/cf-python-docs
184+
- [ ] Copy the archive docs to https://github.com/NCAS-CMS/cf-python-docs
185185

186-
* Move and commit the previously-generated archived copy of the documentation to https://github.com/NCAS-CMS/cf-python-docs (fork or clone that repo first):
186+
- [ ] Move and commit the previously-generated archived copy of the documentation to https://github.com/NCAS-CMS/cf-python-docs (fork or clone that repo first):
187187

188188
```bash
189189
mv docs/<vn>/ ~/cf-python-docs/

0 commit comments

Comments
 (0)