Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.0.1] [Publication] Fix failed CI, fix canonical URL, set aliases #1015

Closed
wants to merge 37 commits into from

Conversation

bact
Copy link
Collaborator

@bact bact commented Jul 31, 2024

Closed - use #1093 instead

3.0.1 Publication - This will fix #1034 too

Aliases and default

  • Run mike delete commands to remove an existing version deployment with the same name as the alias, before making aliases (mike does not allow the alias to overtake the name of existing version deployment, so we have to delete them first)
  • Remove mike set-default for this draft version (to fix the failed build), will set-default to v3.0.1 once v3.0.1 is released
  • Set aliases according to the proposal in Spec website: How do we like the URL aliases to work? #1018

Update chapter list

  • Update chapter "Normative references" to "References"
  • Add chapter "Symbols"

Canonical URL

  • Fix canonical URL (site_url must be to root of the site, without the version, it will be combined with the version to become the canonical URL)

Test quicker

  • Update mkdocs.yml to make it usable even without model files
  • Also make validation process (of the spec docs alone) quicker
    • No need to pull the entire spdx-3-model repo and generate model files (just like in earlier version) when it's not necessary
  • Less moving parts from spdx-3-model repo (things can break in the model, but changes in chapters/annexes in the spec can still be validated).
  • This re-enables ability to test the website immediately with only content from spdx-spec repo

Others

  • Update .gitignore to exclude temp files, like docs/model/ and __mkdocs-full.yml, generated during build
  • Update README to match the latest workflow

This PR is a step before making v3.0.1 a default version.
(This PR currently set default version to v3.0.1-draft, have to update it to v3.0.1 afterward)

bact added 12 commits July 31, 2024 07:59
Signed-off-by: Arthit Suriyawongkul <[email protected]>
Signed-off-by: Arthit Suriyawongkul <[email protected]>
Signed-off-by: Arthit Suriyawongkul <[email protected]>
Signed-off-by: Arthit Suriyawongkul <[email protected]>
This is also to reduce the moving parts that will make the PR fails

Signed-off-by: Arthit Suriyawongkul <[email protected]>
Signed-off-by: Arthit Suriyawongkul <[email protected]>
Signed-off-by: Arthit Suriyawongkul <[email protected]>
[ ] can be seen as part of regex symbols

Signed-off-by: Arthit Suriyawongkul <[email protected]>
Signed-off-by: Arthit Suriyawongkul <[email protected]>
Signed-off-by: Arthit Suriyawongkul <[email protected]>
Signed-off-by: Arthit Suriyawongkul <[email protected]>
@bact bact mentioned this pull request Aug 3, 2024
So the URL in the browser changes

Signed-off-by: Arthit Suriyawongkul <[email protected]>
@bact bact changed the title Set default to v3.0.1-draft [Workflow] Validate PR without spdx-3-model dependency; Update build README to match Aug 5, 2024
@bact bact changed the title [Workflow] Validate PR without spdx-3-model dependency; Update build README to match [Workflow] Fix canonical URL; Validate PR without spdx-3-model dependency Aug 6, 2024
@goneall goneall added this to the release-independent milestone Aug 9, 2024
@kestewart kestewart requested a review from goneall August 9, 2024 18:50
@kestewart kestewart requested a review from zvr August 9, 2024 18:50
Update References chapter
Add Symbols chapter

Signed-off-by: Arthit Suriyawongkul <[email protected]>
@bact bact changed the title [Workflow] Fix canonical URL; Validate PR without spdx-3-model dependency [3.0.1] [Workflow] Add new Chapters in mkdocs.yml, fix canonical URL Aug 9, 2024
@bact bact changed the title [3.0.1] [Workflow] Add new Chapters in mkdocs.yml, fix canonical URL [3.0.1] [Publication] Fix failed CI, fix canonical URL, set aliases Aug 10, 2024
Signed-off-by: Arthit Suriyawongkul <[email protected]>
@goneall
Copy link
Member

goneall commented Aug 10, 2024

@licquia @zvr - Could you do a review of these changes?

@bact
Copy link
Collaborator Author

bact commented Aug 11, 2024

I will create new PRs to replace this one

  • Some of the issues addressed here are already fixed elsewhere
  • Make each PR smaller
    • One to update publish and validation workflows, to set default to 3.0.1
    • Another to update README to reflect the new flows

@bact
Copy link
Collaborator Author

bact commented Aug 27, 2024

Closed - use #1093 instead

@bact bact closed this Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CI failing after recent merges
2 participants