field33 / plow

Plow - The ontology package manager

Home Page:https://plow.pm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plow registry: downloadable files should be named using ontology name plus (selected) version

k00ni opened this issue · comments

I am not sure, if this repository is the right place for my request. Please move, if it isnt.

When opening an ontology in Plow Registry (like https://registry.field33.com/field/@fld33/people/0.1.5), the file given under Download has a name which consists of random letters and numbers.

Is it possible to use the name of the ontology plus the version I selected? For the mentioned link it would be people-0.1.5.ttl. That would make it easier in case someone starts to download and check a couple of your ontologies.

Thanks for the request!

Yes, in general, I think that should be possible to implement. Right now we are just using the same route for generating those download links that generates them for the CLI (where we don't care much about the name, and keeping it exactly like on the cloud storage makes some code architecture easier).

AFAIK it should be possible to generate a similar link with a more readable name.


Overall, we'd like to improve the experience of the registry in ways that make downloading the raw ontology a rare action (e.g. by providing rendered docs: https://registry.field33.com/field/@fld33/people/0.1.5 and good tooling), which is why this hasn't been a priority so far.

But yeah, occasionally one would like to download the raw ontology files, so improving the file name sounds like a good idea, and I'll try to see that we can work that in soon!

Hey @k00ni with our next production deploy your request will be fulfilled.
The format of the file naming is <namespace>_<name>_<major-version>_<minor-version>_<patch-version>.ttl
I'll announce it in this thread.
Also we've started a matrix space for Plow, please feel free to join.
https://matrix.to/#/#plow_pm:matrix.org

Sounds good, looking forward to it. Thank you.