slsa
slsa copied to clipboard
Restructure URIs to be `/<version>/<page>` (no `/spec`)?
Now that we are versioning all the specifications together (#680), I propose:
-
We change our URL scheme to be:
/v1.0/<page>
instead of a combination of/spec/v1.0/<page>
,/provenance/v1
, and/verification_summary/v1
. This will make it easier to link between pages and view everything as a unit. -
We keep the
predicateType
the same and just redirect/provenance/v1
to/v1.0/provenance
(and similar for VSA). That is, thepredicateType
URI only contains a major version number, while the URL in the browser includes the minor version number and has a slightly different format to decrease the chance of confusing the two.
Any thoughts?
I'm going to remove this from v1.0. We can always do this later and set up redirects.
This would also solve the problem of next/previous links not crossing the spec/provenance/verification_summary boundary, as mentioned by @olivekl in https://github.com/slsa-framework/slsa/pull/832#issuecomment-1505971000.
This would also solve the problem of next/previous links not crossing the spec/provenance/verification_summary boundary, as mentioned by @olivekl in #832 (comment).
I think that's right.
I like this suggestion.