Skip to content

Commit 12729d1

Browse files
authored
Update version, readme, and software process for schema 1.2.0 (#38)
1 parent b9eb3a3 commit 12729d1

File tree

6 files changed

+24
-11
lines changed

6 files changed

+24
-11
lines changed

.github/PULL_REQUEST_TEMPLATE/release.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ Prepare for release of hdmf-common-schema [version]
88
- [ ] Update the version string in `docs/source/conf.py` and `common/namespace.yaml` (remove "-alpha" suffix)
99
- [ ] Update `docs/source/conf.py` as needed
1010
- [ ] Update release notes (set release date) in `docs/source/format_release_notes.rst` and any other docs as needed
11-
- [ ] Test docs locally (`make fulldoc`)
11+
- [ ] Test docs locally (`make fulldoc`). Note: if the schema has been changed, then the local copy of HDMF must contain
12+
the latest changes in hdmf-common-schema in the git submodule in order for the schema changes to be reflected in the
13+
docs.
1214
- [ ] Push changes to this PR and make sure all PRs to be included in this release have been merged
1315
- [ ] Point the HDMF submodule to this branch in the HDMF branch corresponding to this schema version and run HDMF tests
1416
- [ ] Check that the readthedocs build for this PR succeeds (build latest to pull the new branch, then activate and
@@ -17,5 +19,8 @@ Prepare for release of hdmf-common-schema [version]
1719
### After merging:
1820
1. Create release on [GitHub releases page](https://github.com/hdmf-dev/hdmf-common-schema/releases) with release notes
1921
2. Check that the readthedocs "latest" and "stable" builds run and succeed
22+
3. A new version of HDMF should be released that uses the latest schema release and the schema readthedocs should be
23+
rebuilt. Then schema changes will be reflected in the docs. This is due to a dependency between the docs and the
24+
API.
2025

2126
See https://hdmf-common-schema.readthedocs.io/en/latest/software_process.html for more details.

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,27 @@
11
# hdmf-common
22

3-
Documentation of the HDMF Common data format specification is available at [https://hdmf-common-schema.readthedocs.io](https://hdmf-common-schema.readthedocs.io/en/stable/)
3+
Documentation of the HDMF Common data format specification is available at
4+
[https://hdmf-common-schema.readthedocs.io](https://hdmf-common-schema.readthedocs.io/en/stable/)
45

56
## Description
67

7-
The HDMF Common specification, defines a collection of common, reusable data structures
8-
that build the foundation for modeling of advanced data formats, e.g., [NWB](https://www.nwb.org/)
8+
The HDMF Common specification defines a collection of common, reusable data structures
9+
that build the foundation for the modeling of advanced data formats, e.g., the
10+
[Neurodata Without Borders (NWB)](https://www.nwb.org/)
911
neurophysiology data standard. The HDMF Common schema is integrated with [HDMF](https://github.com/hdmf-dev/hdmf),
10-
which provides advanced APIs for reading, writing, and using hdmf-common data types.
12+
which provides advanced APIs for reading, writing, and using hdmf-common data types.
1113

1214
The HDMF-common schema provides the following data structures:
1315

1416
- **DynamicTable :** A column-based table data structure that supports ragged columns and one-to-one and one-to-many relationships
1517
- **VectorData :** A data structure for representing a column
16-
- **VectorIndex :** A data structure for indexing a VectorData. This is used to store one-to-many relationships
18+
- **VectorIndex :** A data structure for indexing a **VectorData**. This is used to store one-to-many relationships
1719
- **ElementIdentifiers :** A 1D array for storing primary identifiers for elements of a table
20+
- **VocabData :** A data structure for representing a column where the data come from a controlled vocabulary of text values
1821
- **DynamicTableRegion :** A link from one table to an index or region of another
1922
- **CSRMatrix :** A compressed sparse row matrix
2023

2124
The schema also provides the following base data structures:
2225

2326
- **Data :** An abstract data type for a dataset
24-
- **Index :** An abstract pointer that indexes data values
2527
- **Container :** An abstract data type for a generic container storing collections of data and metadata

common/namespace.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ namespaces:
2121
title: Table data types
2222
- doc: data types for different types of sparse matrices
2323
source: sparse.yaml
24-
version: 1.2.0-alpha
24+
title: Sparse data types
25+
version: 1.2.0

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def setup(app):
8383
# built documents.
8484
#
8585
# The short X.Y version.
86-
version = 'v1.2.0-alpha'
86+
version = 'v1.2.0'
8787
# The full version, including alpha/beta/rc tags.
8888
release = version
8989

docs/source/format_release_notes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
hdmf-common Release Notes
22
=========================
33

4-
1.2.0 (Upcoming)
4+
1.2.0 (July 10, 2020)
55
------------------------
66

77
- Add software process documentation.

docs/source/software_process.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ Before merging:
6363
4. Update the version string in ``docs/source/conf.py`` and ``common/namespace.yaml`` (remove "-alpha" suffix)
6464
5. Update ``docs/source/conf.py`` as needed
6565
6. Update release notes (set release date) in ``docs/source/format_release_notes.rst`` and any other docs as needed
66-
7. Test docs locally (``make fulldoc``)
66+
7. Test docs locally (``make fulldoc``). Note: if the schema has been changed, then the local copy of HDMF must contain
67+
the latest changes in hdmf-common-schema in the git submodule in order for the schema changes to be reflected in the
68+
docs.
6769
8. Push changes to a new PR and make sure all PRs to be included in this release have been merged. Add
6870
``?template=release.md`` to the PR URL to auto-populate the PR with this checklist.
6971
9. Point the HDMF submodule to this branch in the HDMF branch corresponding to this schema version and run HDMF tests
@@ -74,6 +76,9 @@ After merging:
7476

7577
1. Create release on GitHub releases page with release notes
7678
2. Check that the readthedocs "latest" and "stable" builds run and succeed
79+
3. A new version of HDMF should be released that uses the latest schema release and the schema readthedocs should be
80+
rebuilt. Then schema changes will be reflected in the docs. This is due to a dependency between the docs and the
81+
API.
7782

7883
This checklist can also be found in the `GitHub release PR template`_.
7984

0 commit comments

Comments
 (0)