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

Setup RDF redirections in spdx.org (to fix failed validation) #1108

Open
bact opened this issue Sep 6, 2024 · 12 comments
Open

Setup RDF redirections in spdx.org (to fix failed validation) #1108

bact opened this issue Sep 6, 2024 · 12 comments
Assignees
Milestone

Comments

@bact
Copy link
Collaborator

bact commented Sep 6, 2024

For 3.0.1:

  1. a: https://spdx.org/rdf/3.0.1/spdx-model.ttl -> b: https://spdx.github.io/spdx-spec/v3.0.1/rdf/spdx-model.ttl
  2. a: https://spdx.org/rdf/3.0.1/spdx-context.jsonld -> b: https://spdx.github.io/spdx-spec/v3.0.1/rdf/spdx-context.jsonld
  3. a: https://spdx.org/rdf/3.0.1/spdx-json-serialize-annotations.ttl -> b: https://spdx.github.io/spdx-spec/v3.0.1/rdf/jsonld-annotations.ttl
  4. a: https://spdx.org/schema/3.0.1/spdx-json-schema.json -> b: https://spdx.github.io/spdx-spec/v3.0.1/rdf/schema.json

--

For 3.0.0:

  1. a: https://spdx.org/rdf/3.0.0/spdx-model.ttl -> b: https://spdx.github.io/spdx-spec/v3.0.0/rdf/spdx-model.ttl
  2. a: https://spdx.org/rdf/3.0.0/spdx-context.jsonld -> b: https://spdx.github.io/spdx-spec/v3.0.0/rdf/spdx-context.jsonld
  3. https://spdx.org/rdf/3.0.0/spdx-json-serialize-annotations.ttl -> b: https://spdx.github.io/spdx-spec/v3.0.0/rdf/jsonld-annotations.ttl
  4. a: https://spdx.org/schema/3.0.0/spdx-json-schema.json -> b: https://spdx.github.io/spdx-spec/v3.0.0/rdf/schema.json

(URL lists based on spdx/spdx-3-model#679 (comment) )

@bact bact added this to the 3.0.1 milestone Sep 6, 2024
@bact bact added the publishing label Sep 6, 2024
@bact bact changed the title Setup RDF redirections in spdx.org Setup RDF redirections in spdx.org (to fix failed validation) Sep 6, 2024
@goneall
Copy link
Member

goneall commented Sep 6, 2024

I wonder if I should go ahead and setup the 3.0.1 redirects now since they are live.

We should probably wait for the 3.0 redirects until final release.

@kestewart @bact @zvr - thoughts?

@bact
Copy link
Collaborator Author

bact commented Sep 6, 2024

Ideally, for 3.0.1 (Items 1-4) we should wait until the final release.

For 3.0.0 (Items 5-8), they are broken* now and need to be fixed by modifying redirections at spdx.org (5a-8a) together with PR #1109 (5b-8b).

*Broken here means the version in URL and the version in the content are not matched. This made, for example, our validator failed.

@goneall
Copy link
Member

goneall commented Sep 6, 2024

Just saw a slack message on 3.0.0 being broken - so I'll go ahead and merge #1109 and setup the redirects. I'll leave the 3.0.1 and 3.0 redirects until after release.

@goneall
Copy link
Member

goneall commented Sep 6, 2024

Redirects for 3.0.0 (Items 5-8) are in place and PR #1109 has been merged.

It may take some time for the changes to propagate we may need to clear our browser caches for it to take effect.

@bact
Copy link
Collaborator Author

bact commented Sep 6, 2024

Thank you. I will try and report.

@bact
Copy link
Collaborator Author

bact commented Sep 6, 2024

I'll leave the 3.0.1 and 3.0 redirects until after release.

Agree.

@bact
Copy link
Collaborator Author

bact commented Sep 6, 2024

Confirmed

https://spdx.org/rdf/3.0.0/spdx-context.jsonld is now redirected to https://spdx.github.io/spdx-spec/v3.0.0/rdf/spdx-model.ttl

Browser cached may needed.

@bact
Copy link
Collaborator Author

bact commented Sep 7, 2024

3.0.0 validation is good now.

3.0.1 validation is waiting for Items 1-4.
(Validation CI will get updated by #1111)

@bact
Copy link
Collaborator Author

bact commented Sep 7, 2024

I wonder if I should go ahead and setup the 3.0.1 redirects now since they are live.

We should probably wait for the 3.0 redirects until final release.

@goneall I have changed my mind.

We may need 3.0.1 redirects now to pass the validation.

3.0 can be wait until after 3.0.1 actually release.

@goneall
Copy link
Member

goneall commented Sep 7, 2024

I wonder if I should go ahead and setup the 3.0.1 redirects now since they are live.
We should probably wait for the 3.0 redirects until final release.

@goneall I have changed my mind.

We may need 3.0.1 redirects now to pass the validation.

3.0 can be wait until after 3.0.1 actually release.

All the 3.0.1 redirects are now in place - we just have the 3.0 redirects which we can do after the release.

@bact
Copy link
Collaborator Author

bact commented Sep 7, 2024

Thank you Gary.

@goneall
Copy link
Member

goneall commented Dec 17, 2024

Change redirects for 3.0 -> 3.0.1 version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants