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
* Update TDF spec to latest design
* Minor fixes
* Cosmetic fixes
* Prefixing this with `obj` is vestigial, and pointless
* Fix typos
* Remove stray line
* Bring in some ancient fixes from #19
* Review comments
* Update schema/AttributeObject.md
Co-authored-by: Dave Mihalcik <38867245+dmihalcik-virtru@users.noreply.github.com>
* Drop this
* Review comments
Co-authored-by: Dave Mihalcik <38867245+dmihalcik-virtru@users.noreply.github.com>
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,26 +7,27 @@ Contributions to the TDF3 specification are welcome! Please be sure to follow th
7
7
All changes must be proposed using a pull request against this repo. See the GitHub [howto](https://help.github.com/en/articles/about-pull-requests) for more information about publishing a PR from a fork. The PR template checklist must be satisfied before review can take place (with the exception of blocking items like wait time).
8
8
9
9
Changes must update version numbers as required (see [guidelines](#version-changes)).
10
+
10
11
*_Major_ version changes must include a detailed writeup motivating the change and its impact. These PRs must be left open for review for at least 7 days.
11
12
*_Minor_ version changes must include a brief writeup motivating the change and its impact. These PRs must be left open for review for at least 3 days.
12
13
13
14
### Version Changes
14
15
15
16
We follow the [semver](https://semver.org/spec/v2.0.0.html) guidelines on version changes, although reviewers may exercise their discretion on individual PRs.
17
+
16
18
*_Major_ version revs when a backwards-incompatible change is made. (Example: new required manifest fields or new required API call.)
17
19
*_Minor_ version revs when backwards-compatible functionality is added. (Example: new optional API parameter.)
18
20
*_Patch_ version revs when a change does not affect functionality but could affect how readers interpret the spec. (Example: Substantive new diagram illustrating a previously poorly-documented protocol interaction.)
19
21
* Cosmetic changes should _not_ affect the version number. (Example: Fixing typos, reformatting docs.)
20
22
21
-
There are three version numbers which contributors may need to change depending on the type and breadth of the proposed change:
22
-
***Project version** - Version of the top-level project specification. This version should change accordingly if changes are made to the encrypt or decrypt workflow, or if new components or interactions are added to the architecture. Note that the project version isn't necessarily dependent on the API and schema versions, for instance, API parameters or the manifest format can change without affecting the overall workflow.
23
-
***Schema version** - Shared data objects are versioned indepedent of the project version. If the schema for any of these objects changes, then the corresponding schema version should be changed accordingly.
24
-
***API version** - Each swagger-defined API has an associated version number. If the API changes then the corresponding swagger version number should be changed accordingly.
23
+
The spec version is this repo's most recent semver Git tag - this means that if the spec version is 4.1.0, then the protocol version and all associated schema versions are also 4.1.0
25
24
26
25
Any changes that affect _project_ version must update both `git tag` and the [VERSION](VERSION) file.
27
26
28
-
Any changes that affect _schema_ versions must add or update [validation tests](schema/test/) accordingly.
27
+
Rather than use a changelog, we ask that you use annotated `git tags` when bumping the spec Semver, and use the annotation message to describe the change.
28
+
> Example: `git tag -a 4.1.0 -m "Spec version 4.1.0 - twiddled a doohickey"`)
29
29
30
+
A list of `git tag` versions and their annotations can be generated at will via `git tag -n`
0 commit comments