Skip to content
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

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

Closed
k00ni opened this issue Dec 12, 2022 · 3 comments
Assignees

Comments

@k00ni
Copy link

k00ni commented Dec 12, 2022

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.

@k00ni k00ni changed the title Plow registry: files should be named like ontology (plus version) Plow registry: downloadable files should be named using ontology name plus (selected) version Dec 12, 2022
@hobofan
Copy link
Member

hobofan commented Dec 20, 2022

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!

@alisomay alisomay self-assigned this Jan 4, 2023
@alisomay
Copy link
Contributor

alisomay commented Jan 4, 2023

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

@k00ni
Copy link
Author

k00ni commented Jan 4, 2023

Sounds good, looking forward to it. Thank you.

@k00ni k00ni closed this as completed Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants