Skip to content

Generate budget report CSV for partially harvested theses#1116

Merged
jazairi merged 1 commit intomainfrom
etd-616-budget-report
Feb 14, 2023
Merged

Generate budget report CSV for partially harvested theses#1116
jazairi merged 1 commit intomainfrom
etd-616-budget-report

Conversation

@jazairi
Copy link
Copy Markdown
Contributor

@jazairi jazairi commented Feb 13, 2023

Why these changes are being introduced:

We pay ProQuest to harvest metadata from doctoral theses that have not opted in. Each time the export job is run, we need to generate a report of these theses for budget reconciliation.

Relevant ticket(s):

How this addresses that need:

This adds logic to generate the requisite report, which is then generated during the ProquestExportJob and attached the confirmation email.

Side effects of this change:

Unrelated tests in the Report model have updated due to new fixtures added.

Developer

  • All new ENV is documented in README
  • All new ENV has been added to Heroku Pipeline, Staging and Prod
  • ANDI or Wave has been run in accordance to
    our guide and
    all issues introduced by these changes have been resolved or opened as new
    issues (link to those issues in the Pull Request details above)
  • Stakeholder approval has been confirmed (or is not needed)

Code Reviewer

  • The commit message is clear and follows our guidelines
    (not just this pull request message)
  • There are appropriate tests covering any new functionality
  • The documentation has been updated or is unnecessary
  • The changes have been verified
  • New dependencies are appropriate or there were no changes

Requires database migrations?

NO

Includes new or updated dependencies?

NO

@mitlib mitlib temporarily deployed to thesis-submit-pr-1116 February 13, 2023 17:13 Inactive
@coveralls
Copy link
Copy Markdown

coveralls commented Feb 13, 2023

Coverage Status

Coverage: 97.61% (+0.02%) from 97.59% when pulling 95784c8 on etd-616-budget-report into 6a6dfb3 on main.

Why these changes are being introduced:

We pay ProQuest to harvest metadata from doctoral theses that have
not opted in. Each time the export job is run, we need to generate
a report of these theses for budget reconciliation.

Relevant ticket(s):

* https://mitlibraries.atlassian.net/browse/ETD-616

How this addresses that need:

This adds logic to generate the requisite report, which is then
generated during the ProquestExportJob and attached the
confirmation email.

Side effects of this change:

Unrelated tests in the Report model have updated due to new fixtures
added.
@jazairi jazairi force-pushed the etd-616-budget-report branch from d411d51 to 95784c8 Compare February 13, 2023 17:39
@jazairi jazairi temporarily deployed to thesis-submit-pr-1116 February 13, 2023 17:39 Inactive
@JPrevost JPrevost self-assigned this Feb 14, 2023
Copy link
Copy Markdown
Member

@JPrevost JPrevost left a comment

Choose a reason for hiding this comment

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

I didn't run any reports to confirm any of this as I figured stakeholders would be better at knowing what they need... but the code/tests looks good. Overview docs for this already merged (thanks for writing them so we don't forget!)

@jazairi jazairi merged commit fdd5f79 into main Feb 14, 2023
@jazairi jazairi deleted the etd-616-budget-report branch February 14, 2023 15:14
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