FAIR-IMPACT / MOD

Metadata for Ontology Description and Publication Ontology
Creative Commons Attribution 4.0 International
20 stars 8 forks source link

Redirect https://w3id.org/mod and https://w3id.org/mod/xx to relevant files #92

Open jonquet opened 1 month ago

jonquet commented 1 month ago

We need to update the redirects of each version of MOD to redirect to relevant page

jonquet commented 1 month ago

If possible... we need to deal with redirect to HTML page also per content negociation

Related to #47

@biswanathdutta Could yu take care of this ?

biswanathdutta commented 1 month ago

Hi, @jonquet I have activated the redirections for the following versions 1.2 (https://w3id.org/mod/1.2), 1.4 (https://w3id.org/mod/1.4), and 2.0 (https://w3id.org/mod/2.0). Once the other versions are ready, we will activate them.

jonquet commented 1 month ago

ok thanks. Can you do the others now too (even if file is not yet in version folder, from v3.1) Also, can you retrieve v1.0 and v1.1 and add them to the version folder ?

jonquet commented 1 month ago

After, we will come back to HTML negociation

jonquet commented 1 week ago

@dgarijo this is the issue. @biswanathdutta any news about the redirection of the " https://w3id.org/mod" this becomes necessary.

jonquet commented 1 week ago

@biswanathdutta in the v3.2 of MOD I have used w3id everywhere as URIs of the different versions of MODs, so its important that now you make all the versions redirect to the right files. See https://github.com/FAIR-IMPACT/MOD/commit/43a52ed6a19f8da34cf39da2e86d4ead8d35bd75 Can you point to document to edit to anage redirection and content negociation on w3id ?

dgarijo commented 1 week ago

@jonquet a suggestion:

jonquet commented 1 week ago

Good to me. Please CC me also on the w3id PR so I see where this is ;)

biswanathdutta commented 1 week ago

@dgarijo please put me in CC too, so that I am aware of the changes

dgarijo commented 1 week ago

Sure, I will do 2 PRs: one for this repo with a slight structure changes and another one to w3id pinging you both. I will do this today

jonquet commented 1 week ago

Took the PR related to this. Will also take the one on W3id and we will need to update the readme and check that everything work for past versions.

Then we will practiceon new version in order to release 3.2 ;)

dgarijo commented 1 week ago

https://github.com/perma-id/w3id.org/pull/4221 please have a look and approve if appropriate

dgarijo commented 1 week ago

Ok, it's done. However, a caveat:

I made the versions adopt semantic versioning. So every MOD release has a 3 digit, not two. For example: https://w3id.org/mod/3.0.0 --> https://raw.githubusercontent.com/FAIR-IMPACT/MOD/main/versions/3.0.0/mod-v3.0.0.owl

I did this because some versions like 1.2.3 had 3 digits, but others like 3.0 only had two. URIs will need to be adapted accordingly

dgarijo commented 1 week ago

Also the latest version goes to 3.0.0 because that's the latest one in version. If you want a 3.2.0, then create the folder and it would work