forked from slsa-framework/slsa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
editorial: move provenance and VSA under spec dir (slsa-framework#939)
Redirect /provenance/v1 and /verification_summary/v1 to /spec/v1.0/provenance and /spec/v1.0/verification_summary, respectively, and similarly for older versions. (`predicateType` URIs do NOT change.) Reasons for this change: - Make it obvious to the reader that all three are versioned together and that they form one cohesive specification. - Make it easier to implement versioning via branches/tags. Previously we would have had to have either three separate sets of branches/tags or three sets of directories within each branch/tag, and then merge files within one directory. Now we can have each version directory correspond to a branch/tag, which is simpler to understand and maintain. - To show the minor version in the URL bar, without affecting the major-version-only `predicateType`. Related changes: - Redirect old URLs to the new location to allow them to continue working. - Update any existing links that would have been broken by the change, namely links to `.md` files and links using relative paths. - Do not update links to redirected URLs, in order to minimize the size of this PR. Optionally, a future PR could clean this up. - Move images and schema files too, since (a) links have to be updated anyway and (b) it aligns with slsa-framework#936. - Fix the version selector to properly handle v0.2, which only exists for provenance and verification_summary. - Also remove the name "Core specification" from the banner since is now the only specification. - Add provenance and verification_summary the "onepage" view. This was not possible before. Ideally this would have been broken up into smaller changes, but I could not figure out a way to do so that would have left the site continuing to work. Signed-off-by: Mark Lodato <lodato@google.com>
- Loading branch information
1 parent
42b51dc
commit bab0fad
Showing
39 changed files
with
81 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,74 +1,38 @@ | ||
# This file controls the version selector | ||
# Schema: | ||
# <spec>: | ||
# name: <string> # display name | ||
# current: <version> # the current version id. | ||
# versions: | ||
# <version>: # version id; used in url path. | ||
# name: <string> # display name | ||
# status: <string> # one of: Draft, Candidate, Approved, Retired | ||
# draft: <bool, optional> # if true, display a "draft" warning banner | ||
# hidden: <bool, optional> # if true, do not show in dropdown | ||
# unhide_for: <array[string], optional> # do not hide for these pages | ||
# | ||
# Where: | ||
# <spec> = specification name, i.e. first component of the URL | ||
# <version> = version name, i.e. second component of the URL, e.g. v1.0 | ||
|
||
spec: | ||
name: Core specification | ||
current: v1.0 | ||
versions: | ||
v0.1: | ||
name: Version 0.1 | ||
status: Approved | ||
v1.0-rc1: | ||
name: Version 1.0 RC1 | ||
status: Retired | ||
hidden: true | ||
v1.0-rc2: | ||
name: Version 1.0 RC2 | ||
status: Retired | ||
hidden: true | ||
v1.0: | ||
name: Version 1.0 | ||
status: Approved | ||
|
||
provenance: | ||
name: Provenance attestation | ||
current: v1 | ||
versions: | ||
v0.1: | ||
name: Version 0.1 | ||
status: Retired | ||
v0.2: | ||
name: Version 0.2 | ||
status: Approved | ||
v1-rc1: | ||
name: Version 1.0 RC1 | ||
status: Retired | ||
hidden: true | ||
v1-rc2: | ||
name: Version 1.0 RC2 | ||
unhide_for: [provenance, verification_summary] | ||
v1.0-rc1: | ||
name: Version 1.0 RC1 | ||
status: Retired | ||
hidden: true | ||
v1: | ||
name: Version 1.0 | ||
status: Approved | ||
|
||
verification_summary: | ||
name: Verification summary (VSA) | ||
current: v1 | ||
versions: | ||
v0.1: | ||
name: Version 0.1 | ||
status: Retired | ||
v0.2: | ||
name: Version 0.2 | ||
status: Approved | ||
v1-rc2: | ||
v1.0-rc2: | ||
name: Version 1.0 RC2 | ||
status: Retired | ||
hidden: true | ||
v1: | ||
v1.0: | ||
name: Version 1.0 | ||
status: Approved |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.