spdx / spdx-spec

The SPDX specification in MarkDown and HTML formats.
https://spdx.github.io/spdx-spec/
Other
287 stars 136 forks source link

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

Open bact opened 2 weeks ago

bact commented 2 weeks ago

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 https://github.com/spdx/spdx-3-model/issues/679#issuecomment-2032543594 )

goneall commented 2 weeks ago

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 commented 2 weeks ago

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 commented 2 weeks ago

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 commented 2 weeks ago

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 commented 2 weeks ago

Thank you. I will try and report.

bact commented 2 weeks ago

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

Agree.

bact commented 1 week ago

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 commented 1 week ago

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 commented 1 week ago

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 commented 1 week ago

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 commented 1 week ago

Thank you Gary.