Open jonquet opened 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 ?
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.
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 ?
After, we will come back to HTML negociation
@dgarijo this is the issue. @biswanathdutta any news about the redirection of the " https://w3id.org/mod" this becomes necessary.
@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 ?
@jonquet a suggestion:
https://w3id.org/mod/1.4 => https://raw.githubusercontent.com/FAIR-IMPACT/MOD/main/versions/mod-v1.4_ontology.owl
https://w3id.org/mod/1.2 => https://raw.githubusercontent.com/FAIR-IMPACT/MOD/main/versions/mod-v1.2.3.owl
to be
https://w3id.org/mod/1.4 => https://raw.githubusercontent.com/FAIR-IMPACT/MOD/main/versions/mod-v1.4.owl
https://w3id.org/mod/1.2 => https://raw.githubusercontent.com/FAIR-IMPACT/MOD/main/versions/mod-v1.2.owl
then we can do a redirection that is:
https://w3id.org/mod/$1 -> https://raw.githubusercontent.com/FAIR-IMPACT/MOD/main/versions/mod-v$1.owl
If you agree, I can do a PR here with the redirects and also one to w3id.
Good to me. Please CC me also on the w3id PR so I see where this is ;)
@dgarijo please put me in CC too, so that I am aware of the changes
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
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 ;)
https://github.com/perma-id/w3id.org/pull/4221 please have a look and approve if appropriate
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
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
We need to update the redirects of each version of MOD to redirect to relevant page