-
Notifications
You must be signed in to change notification settings - Fork 93
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
API doesn't version-less shortnames for leveled specifications #96
Comments
To be clear, a WG decides to redirect to |
Btw, this would mean fixing the |
An other one: It doesn't return "hr-time" (which is wrongly superseded) but it returns hr-time-3 (which is Retired). Once the fix is done. I think it should return one of: (I prefer option 1) |
The new version of the API has just been released. |
Sorry for the belated feedback, @deniak , but this does not fix the issue with SpecRef still returns the old entry, but with the publication date of See: https://api.specref.org/bibrefs?refs=vocab-dcat {
"vocab-dcat":{
"authors":[
"Fadi Maali",
"John Erickson"
],
"href":"https://www.w3.org/TR/vocab-dcat/",
"title":"Data Catalog Vocabulary (DCAT)",
"status":"REC",
"publisher":"W3C",
"deliveredBy":[
{
"url":"https://www.w3.org/2011/gld/",
"shortname":"gld"
}
],
"versions":[
"vocab-dcat-20200204",
"vocab-dcat-20140116",
"vocab-dcat-20131217",
"vocab-dcat-20131105",
"vocab-dcat-20130801",
"vocab-dcat-20130312",
"vocab-dcat-20120405"
],
"obsoletedBy":[
"vocab-dcat-2"
],
"id":"vocab-dcat",
"date":"4 February 2020"
}
} |
I submitted a PR to specref: tobie/specref#635. Hopefully this will fix the issue for |
Thanks, @deniak . I see that the PR is yet to be merged. Meanwhile, a related issue: Following the use of https://www.w3.org/TR/vocab-dcat/ to point to the latest DCAT REC, the first REC has been made available at: https://www.w3.org/TR/vocab-dcat-1/ However, I don't see it listed in https://www.w3.org/2002/01/tr-automation/tr.rdf |
That's because |
Thanks, @deniak . I was looking at tr.rdf as I supposed it is still used by SpecRef. |
We rely on the shortnames to serve the specifications (
/specifications/{shortname}
) and at the moment, a specification is mapped to one and only one shortname.This is causing an issue when there's a shortname change or when we have to handle version-less shortnames, eg.
hr-time
,hr-time-1
andhr-time-2
.Discussing with @vivienlacourba and @plehegar, we need a way to redirect a specific shortname to another one, eg
/specifications/hr-time
→/specifications/hr-time-2
, to make it consistent with what the WG decides./cc @tidoust @jean-gui
The text was updated successfully, but these errors were encountered: