Skip to content

PreprintFile download_url should point to the public url#3852

Merged
ajrbyers merged 2 commits into
openlibhums:masterfrom
myucekul:master
Mar 13, 2024
Merged

PreprintFile download_url should point to the public url#3852
ajrbyers merged 2 commits into
openlibhums:masterfrom
myucekul:master

Conversation

@myucekul

Copy link
Copy Markdown
Contributor

repository_download_file is manager only view whereas repository_file_download is public view. Updating the download url so that correct item url in OAI and JATS metadata for repository items.

repository_download_file is manager only view whereas repository_file_download is public view. Updating the download url so that OAI and JATS metadata contain correct url for repository item.
download_url should point to the public url
@Bbkctp

Bbkctp commented Dec 19, 2023

Copy link
Copy Markdown
Contributor

Can one of the admins verify this patch?

@hardyoyo hardyoyo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Obviously correct.

@alainna

alainna commented Mar 13, 2024

Copy link
Copy Markdown
Contributor

@ajrbyers Is there any chance of getting this into -- if not before -- 1.6?
(received another ping about this today -- blocking the indexing of one of our servers :( )

@joemull joemull left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I wonder if it's worth changing the name of the function as well to make it more obviously distinct from repository_download_file?

@ajrbyers

Copy link
Copy Markdown
Member

I wonder if it's worth changing the name of the function as well to make it more obviously distinct from repository_download_file?

I'ved opened up an issue to look at renaming one or both of the download views for preprint files (#4023).

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

Successfully merging this pull request may close these issues.

6 participants