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: .github/templates/agenda.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ Meetings take place over Zoom: [https://zoom.us/j/975841675](https://zoom.us/j/9
20
20
21
21
| Blur My Background | Raise Hand |
22
22
|-|-|
23
-
| <imgwidth="323"alt="Screenshot of Zoom UI showing the 'Stop Video' and 'Blur My Background' control"src="https://github.com/OAI/OpenAPI-Specification/assets/7367/7e43dbbb-6529-46e6-8b04-4c1aa852d9dd"> | <imgwidth="323"alt="Screenshot of Zoom UI showing the 'Reaction' and 'Raise Hand' control"src="https://github.com/OAI/OpenAPI-Specification/assets/7367/f991722f-4651-40aa-9bc4-7e9a2a165a6a"> |
23
+
| <imgwidth="323"alt="Screenshot of Zoom UI showing the 'Stop Video' and 'Blur My Background' control"src="https://github.com/OAI/OpenAPI-Specification/assets/7367/7e43dbbb-6529-46e6-8b04-4c1aa852d9dd"> | <imgwidth="323"alt="Screenshot of Zoom UI showing the 'Reaction' and 'Raise Hand' control"src="https://github.com/user-attachments/assets/bf19ee70-59b1-410e-b893-645f26c2c96e"> |
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+21-5Lines changed: 21 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -190,13 +190,19 @@ Reviews requesting changes should have their changes addressed regardless of how
190
190
191
191
## Publishing
192
192
193
-
The specification are published to the [spec site](https://spec.openapis.org) by creating an `vX.Y.Z-rel` branch where `src/oas.md` is renamed to the appropriate `versions/X.Y.Z.md` file and then merged to `main`.
194
-
The HTML versions of the OAS are automatically generated from the `versions` directory on `main`.
193
+
### Specification Versions
194
+
195
+
The specification versions are published to the [spec site](https://spec.openapis.org) by creating an `vX.Y.Z-rel` branch where `src/oas.md` is renamed to the appropriate `versions/X.Y.Z.md` file and then merged to `main`.
195
196
This renaming on the `vX.Y.Z-rel` branch preserves the commit history for the published file on `main` when using `git log --follow` (as is the case for all older published files).
196
197
197
-
The schemas are published [in the schema section on the spec site](https://spec.openapis.org/#openapi-specification-schemas).
198
-
As part of the publishing process, the `WORK-IN-PROGRESS` placeholders are replaced with dates as appropriate.
199
-
Schemas are published/updated independently from the specification releases.
198
+
The HTML renderings of the specification versions are automatically generated from the `versions` directory on `main` by the [`respec` workflow](https://github.com/OAI/OpenAPI-Specification/blob/main/.github/workflows/respec.yaml), which generates a pull request for publishing the HTML renderings to the [spec site](https://spec.openapis.org).
199
+
200
+
### Schema Iterations
201
+
202
+
The schema iterations are published independently from the specification releases [in the schema section on the spec site](https://spec.openapis.org/#openapi-specification-schemas).
203
+
Schemas are updated in and directly published from the `vX.Y-dev` branches.
204
+
205
+
As part of the publishing process, the YAML source files are converted to JSON, renamed to the relevant last-changed dates, and `WORK-IN-PROGRESS` placeholders are replaced with these dates as appropriate. This is usually done by the `schema-publish` workflow which detects changes on each `vX.Y-dev` branch, which generates a pull request for publishing the new schema iterations to the [spec site](https://spec.openapis.org). The workflow can also be run manually if required.
200
206
201
207
## Release Process and Scope
202
208
@@ -312,6 +318,7 @@ For information on the branch and release strategy for OAS 3.0.4 and 3.1.1 and e
312
318
313
319
*`main` is used to publish finished work and hold the authoritative versions of general documentation such as this document, which can be merged out to other branches as needed. The `src` tree is ***not*** present on `main`.
314
320
*`dev` is the primary branch for working with the `src` tree, which is kept up-to-date with the most recent release on the most recent minor (X.Y) release line, and serves as the base for each new minor release line. Development infrastructure that is not needed on `main` is maintained here, and can be merged out to other non-`main` branches as needed.
321
+
Changes on `main` are automatically included in a pull request to `dev` (see the (section on [branch sync](#branch-sync-automation)).
315
322
*`vX.Y-dev` is the minor release line development branch for X.Y, including both the initial X.Y.0 minor version and all subsequent X.Y.Z patch versions. All PRs are made to oldest active `vX.Y-dev` branch to which the change is relevant, and then merged forward as shown in the diagram further down in this document.
316
323
*`vX.Y.Z-rel` is the release branch for an X.Y.Z release (including when Z == 0). It exists primarily for `git mv`-ing `src/oas.md` to the appropriate `versions/X.Y.Z.md` location before merging back to `main`, and can also be used for any emergency post-release fixes that come up, such as when a 3rd party changes URLs in a way that breaks published links.
317
324
@@ -430,6 +437,15 @@ gitGraph TB:
430
437
commit id:"3.3 work"
431
438
```
432
439
440
+
### Branch sync automation
441
+
442
+
To keep changes in sync, we have some GitHub actions that open pull requests to take changes from `main` onto the `dev` branch, and from `dev` to each active version branch.
443
+
444
+
-`sync-main-to-dev` opens a pull request with all the changes from the `main` branch that aren't yet included on `dev`.
445
+
This needs a single approval from either maintainers or TSC and can be merged.
446
+
The aim is to bring build script and repository documentation changes to the other branches.
447
+
Published versions of the specifications and schemas will also move across branches with this approach.
0 commit comments