Skip to content

Clean up /schemas on main branch #4356

@duncanbeevers

Description

@duncanbeevers

🗣 Discussion

The main branch contains a /schemas folder with files we don't want end-users consuming directly. In order to shield users from these files, the same way we do with /src, they should be present on the dev branch and not on the main branch.

  • Identify and remove build process dependencies on /schemas artifacts
  • enable schema build & publish process on vX.Y-dev branches
  • Disable schema-publish workflow by syncing it from dev to main
    • cherry-pick commits from dev and test that this will not mess up the sync flow from main to dev
  • How and where do we want to maintain the v3.0 schema and its test cases?
    • Proposal: we won't, we'll park them together with the v1.2 and v2.0 schemas
  • Where do we want to park the v1.2 and v2.0 schemas before deleting the /schemas folder?
    Proposal: we park them in a new /_archive_ folder
  • clean up schemas on main
    • move /schemas folder on main into /_archive_
    • optional: delete 3.1 schemas and add README explaining that maintenance will happen in v3.1-dev and that the ready-to-use schemas are on spec.openapis.org
    • move 3.0 schema tests into /_archive_/schemas/v3.0
    • delete 3.1 schema tests
    • test that these changes will not mess up the sync flow from main to dev or corrupt the 3.1 schema tests on dev

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions