You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/release.rst
+32-20
Original file line number
Diff line number
Diff line change
@@ -9,32 +9,44 @@ Minor or Major Version Release
9
9
------------------------------
10
10
11
11
#. It's a good idea to update any major dependencies before the release.
12
-
#. Update the docs if needed. See the `docs README <{{ repo }}/docs/README.md>`__ for instructions.
13
-
#. Checkout the ``master`` branch, re-build the docker image (``docker/build``), and push it to ECR (``docker/ecr_publish``).
14
-
#. Execute all `tutorial notebooks <{{ repo }}/docs/usage/tutorials/>`__ and make sure they work correctly. Do not commit output changes unless code behavior has changed.
15
-
#. Run all :ref:`rv examples` and check that evaluation metrics are close to the scores from the last release. (For each example, there should be a link to a JSON file with the evaluation metrics from the last release.) This stage often uncovers bugs, and is the most time consuming part of the release process. There is a `script <{{ repo_examples }}/test.py>`__ to help run the examples and collect their outputs. See the associated `README <{{ repo_examples }}/README.md>`__ for details.
16
-
#. Collect all model bundles, and check that they work with the ``predict`` command and sanity check output in QGIS.
17
-
#. Update the :ref:`model zoo` by uploading model bundles and sample images to the right place on S3. If you use the ``collect`` command (`described here <{{ repo_examples }}/README.md>`__), you should be able to sync the ``collect_dir`` to ``s3://azavea-research-public-data/raster-vision/examples/model-zoo-<version>``.
18
-
#. Update the notebooks that use models from the model zoo so that they use the latest version and re-run.
19
-
#. Update `tiny_spacenet.py <{{ repo_examples }}/tiny_spacenet.py>`__ if needed and ensure the line numbers in every ``literalinclude`` of that file are correct. Tip: you can find all instances by searching the repo using the regex: ``\.\. literalinclude:: .+tiny_spacenet\.py$``.
20
-
#. Test :ref:`setup` and :ref:`quickstart` instructions and make sure they work.
21
-
#. Test examples from :ref:`pipelines plugins`.
12
+
#. Test examples:
22
13
23
-
.. code-block:: console
14
+
#. Checkout the ``master`` branch, re-build the docker image (``docker/build``), and push it to ECR (``docker/ecr_publish``).
15
+
#. Follow the instructions in `this README <{{ repo_examples }}/README.md>`__ to do the following:
16
+
17
+
#. Run all :ref:`rv examples` and check that evaluation metrics are close to the scores from the last release. (For each example, there should be a link to a JSON file with the evaluation metrics from the last release.) This stage often uncovers bugs, and is the most time consuming part of the release process.
18
+
#. Collect all model bundles, and check that they work with the ``predict`` command and sanity check output in QGIS.
19
+
#. Update the :ref:`model zoo` by uploading model bundles and sample images to the right place on S3. If you use the ``collect`` command (`see <{{ repo_examples }}/README.md>`__), you should be able to sync the ``collect_dir`` to ``s3://azavea-research-public-data/raster-vision/examples/model-zoo-<version>``.
20
+
#. Screenshot the outputs of the ``compare`` command (for each example) and include them in the PR described below.
24
21
25
-
rastervision run inprocess rastervision.pipeline_example_plugin1.config1 -a root_uri /opt/data/pipeline-example/1/ --splits 2
26
-
rastervision run inprocess rastervision.pipeline_example_plugin1.config2 -a root_uri /opt/data/pipeline-example/2/ --splits 2
27
-
rastervision run inprocess rastervision.pipeline_example_plugin2.config3 -a root_uri /opt/data/pipeline-example/3/ --splits 2
22
+
#. Test notebooks:
28
23
29
-
#. Test examples from :ref:`bootstrap`.
24
+
#. Update the `tutorial notebooks <{{ repo }}/docs/usage/tutorials/>`__ that use models from the model zoo so that they use the latest version.
25
+
#. Execute all `tutorial notebooks <{{ repo }}/docs/usage/tutorials/>`__ and make sure they work correctly. Do not commit output changes unless code behavior has changed.
30
26
31
-
.. code-block:: console
27
+
#. Test/update docs:
28
+
29
+
#. Update the docs if needed. See the `docs README <{{ repo }}/docs/README.md>`__ for instructions.
30
+
#. Update `tiny_spacenet.py <{{ repo_examples }}/tiny_spacenet.py>`__ if needed and ensure the line numbers in every ``literalinclude`` of that file are correct. Tip: you can find all instances by searching the repo using the regex: ``\.\. literalinclude:: .+tiny_spacenet\.py$``.
31
+
#. Test :ref:`setup` and :ref:`quickstart` instructions and make sure they work.
32
+
#. Test examples from :ref:`pipelines plugins`.
33
+
34
+
.. code-block:: console
35
+
36
+
rastervision run inprocess rastervision.pipeline_example_plugin1.config1 -a root_uri /opt/data/pipeline-example/1/ --splits 2
37
+
rastervision run inprocess rastervision.pipeline_example_plugin1.config2 -a root_uri /opt/data/pipeline-example/2/ --splits 2
38
+
rastervision run inprocess rastervision.pipeline_example_plugin2.config3 -a root_uri /opt/data/pipeline-example/3/ --splits 2
39
+
40
+
#. Test examples from :ref:`bootstrap`.
41
+
42
+
.. code-block:: console
43
+
44
+
cookiecutter /opt/src/cookiecutter_template
32
45
33
-
cookiecutter /opt/src/cookiecutter_template
46
+
#. Update the `the changelog <{{ repo }}/docs/changelog.rst>`__, and point out API changes.
47
+
#. Fix any broken badges on the GitHub repo readme.
34
48
35
-
#. Update the `the changelog <{{ repo }}/docs/changelog.rst>`__, and point out API changes.
36
-
#. Fix any broken badges on the GitHub repo readme.
37
-
#. Update the version number. This occurs in several places, so it's best to do this with a find and replace over the entire repo.
49
+
#. Update the version number. This occurs in several places, so it's best to do this with a find-and-replace over the entire repo.
38
50
#. Make a PR to the ``master`` branch with the preceding updates. In the PR, there should be a link to preview the docs. Check that they are building and look correct.
39
51
#. Make a git branch with the version as the name, and push to GitHub.
40
52
#. Ensure that the docs are building correctly for the new version branch on `readthedocs <https://readthedocs.org/projects/raster-vision/>`_. You will need to have admin access on your RTD account. Once the branch is building successfully, Under *Versions -> Activate a Version*, you can activate the version to add it to the sidebar of the docs for the latest version. (This might require manually triggering a rebuild of the docs.) Then, under *Admin -> Advanced Settings*, change the default version to the new version.
0 commit comments