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

[3696] Timestamped filename for named graph output #291

Merged
merged 1 commit into from May 19, 2022
Merged

Conversation

gneissone
Copy link
Member

@gneissone gneissone commented May 6, 2022

VIVO GitHub issue: resolves vivo-project/VIVO#3696

What does this pull request do?

Specifies a filename for named graph exports

What's new?

Specifies a filename for named graph exports composed of the last part of the named graph URI, plus the current datetime (on the server).

Example old filename: ingest.ttl
Example new filename: vitro-kb-2-2022-05-06-102044.ttl

How should this be tested?

Export various graphs using the 'Ingest tools' export function
Site Admin > Ingest Tools > Manage Jena Models > 'output model'

Confirm the file downloads correctly and has the appropriate filename.

Additional Notes:

This worked fine for me on both Chrome and Safari on macOs. Would be useful to test on a Windows machine using Edge.

Interested parties

@hauschke @vivo-project/vivo-committers

@gneissone gneissone added the small PR A small pull request label May 6, 2022
Copy link
Contributor

@litvinovg litvinovg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good. Works well.

Copy link
Contributor

@chenejac chenejac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as expected and described. @gneissone thanks for the contribution.

@chenejac chenejac merged commit 0d704f3 into main May 19, 2022
@chenejac chenejac deleted the feature/VIVO-3696 branch May 11, 2023 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
small PR A small pull request
Projects
None yet
3 participants