Skip to content

[IUS-1761] DOI minting#172

Merged
aploshay merged 6 commits intomainfrom
ius-1761_doi_generation
Jul 11, 2025
Merged

[IUS-1761] DOI minting#172
aploshay merged 6 commits intomainfrom
ius-1761_doi_generation

Conversation

@aploshay
Copy link
Contributor

@aploshay aploshay commented Jul 9, 2025

Note that this PR adds new gem, IUBLibTech/datacite-ruby, forked from sul-dlss/datacite-ruby.

Many of the commits here are work around the central focus of getting DOI minting working:

  • 816cd32 use :inline jobs for development # this is to facilitate dev work, locally
  • 9b5081f add rspec option for aggressive Fedora cleaning # the spec suite is incrementally leaving Fedora records behind after running -- this needs a proper fix, but the quick kludge was to allow nuking records during dev work, after it started breaking tests for me. The suite seems to run fine on CircleCI, regardless, due to whatever combination of environment differences and it starting from a completely clean slate every run.
  • 2de7a79 backfill in DOI-related stub specs
  • a847faf DOI stack cleanup, behavior tweaking # this is the meatiest commit
  • 7d92458 move DatasetsController code into modules # not strictly necessary, but seemed a good attack of opportunity amongst the other cleanup moved into DRAFT controller cleanup #174
  • c3a8963 swap ezid gem, settings for custom datacite gem, settings # DataCITE has stopped providing the EZID API option
  • 2de7a79 replace deepblue minting service with datacore version # the essence of the story

@aploshay aploshay marked this pull request as ready for review July 9, 2025 14:15
@aploshay aploshay requested a review from rdlebeau July 9, 2025 14:15
Copy link
Contributor

@rdlebeau rdlebeau left a comment

Choose a reason for hiding this comment

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

Error on editing a Work in the UI.

aploshay added 3 commits July 10, 2025 15:30
Brief summary:
Controllers: consolidate #doi_minting_enabled? checks onto service
Indexing: revise doi indexing
Jobs: reduce logging; return false instead of raising error
Presenter, Views, Renderer: consolidate #doi_minting_enabled? checks onto service, general revisions
Model DOI Behavior module: revise logic, drop logging and comments
Configuration: revise language, drop get access to doi action, add Setting for enabling DOI minting
Specs for DOI controller, job, behavior
@aploshay aploshay force-pushed the ius-1761_doi_generation branch from 86f4962 to 5db9173 Compare July 10, 2025 19:42
@aploshay
Copy link
Contributor Author

Error on editing a Work in the UI.

@rdlebeau try again with the new version of the branch I just force-pushed

@rdlebeau rdlebeau dismissed their stale review July 10, 2025 22:21

An admin user can now edit works with and without files and DOIs successfully.
I approve these changes after viewing the code and testing in the UI.

@rdlebeau rdlebeau self-requested a review July 10, 2025 22:23
Copy link
Contributor

@rdlebeau rdlebeau left a comment

Choose a reason for hiding this comment

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

I approve these changes after viewing the code and testing in the UI.

@aploshay aploshay merged commit 9525156 into main Jul 11, 2025
2 checks passed
@aploshay aploshay deleted the ius-1761_doi_generation branch July 11, 2025 14:05
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.

2 participants