Skip to content

Conversation

@joemull
Copy link
Member

@joemull joemull commented Sep 29, 2025

Copy link
Member

@ajrbyers ajrbyers left a comment

Choose a reason for hiding this comment

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

I don't anticipate any of the changes I've requested to the parent PR affecting this PR so I'm going to approve it.

@ajrbyers ajrbyers assigned mauromsl and unassigned ajrbyers Sep 30, 2025
Copy link
Member

@mauromsl mauromsl left a comment

Choose a reason for hiding this comment

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

a small suggestion inline

Comment on lines +134 to +137
api_url = plugin_settings.DATACITE_API_URL
if hasattr(article.journal, "status"):
if article.journal.status == Journal.PublishingStatus.TEST:
api_url = plugin_settings.DATACITE_API_TEST_URL
Copy link
Member

Choose a reason for hiding this comment

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

Since this overrides the behaviour of the settings, I think we should put a warning on the template as well, to inform the user ("journal in test mode: Will use Datacite test API) type deal.

@mauromsl mauromsl assigned joemull and unassigned mauromsl Nov 6, 2025
@joemull
Copy link
Member Author

joemull commented Nov 11, 2025

Going to wait until we figure out a solution for openlibhums/janeway#4988, and then make a template addition here.

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.

4 participants