Skip to content

Conversation

@ehanson8
Copy link
Contributor

Purpose and background context

Adding libguides and researchdatabases aliases to get them into the TIMDEX feed

How can a reviewer manually see the effects of these changes?

NA

Includes new or updated dependencies?

NO

Changes expectations for external applications?

NO

What are the relevant tickets?

Developer

  • All new ENV is documented in README
  • All new ENV has been added to staging and production environments
  • All related Jira tickets are linked in commit message(s)
  • Stakeholder approval has been confirmed (or is not needed)

Code Reviewer(s)

  • The commit message is clear and follows our guidelines (not just this PR message)
  • There are appropriate tests covering any new functionality
  • The provided documentation is sufficient for understanding any new functionality introduced
  • Any manual tests have been performed and verified
  • New dependencies are appropriate or there were no changes

@ehanson8 ehanson8 requested a review from a team September 12, 2025 15:14
Copy link
Contributor

@ghukill ghukill left a comment

Choose a reason for hiding this comment

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

Change to the alias part looks good!

I did leave a comment about the update to the OAI-PMH harvester CLI comamnd preparation.

INDEX_ALIASES: ClassVar = {
"rdi": ["jpal", "whoas", "zenodo"],
"timdex": ["alma", "aspace", "dspace"],
"timdex": ["alma", "aspace", "dspace", "libguides", "researchdatabases"],
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

)
extract_command.append("harvest")
if source in ["aspace", "dspace"]:
if source in ["aspace", "dspace", "libguides", "researchdatabases"]:
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need this change here? I think this --method=get CLI argument for the OAI harvester will have it use the non-conventional GET request per method: https://github.com/MITLibraries/oai-pmh-harvester?tab=readme-ov-file#oai-harvest.

To my knowledge both libguides and researchdatabases have been harvesting fine without that.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, good catch, I'll remove. Thanks!

@ehanson8
Copy link
Contributor Author

Fixed with the new commit @ghukill!

@coveralls
Copy link

Pull Request Test Coverage Report for Build 17679724162

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 95.156%

Totals Coverage Status
Change from base Build 17499767584: 0.0%
Covered Lines: 275
Relevant Lines: 289

💛 - Coveralls

@ghukill ghukill self-requested a review September 12, 2025 17:52
Copy link
Contributor

@ghukill ghukill left a comment

Choose a reason for hiding this comment

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

Approved!

@ehanson8 ehanson8 merged commit bb0f048 into main Sep 12, 2025
3 checks passed
@ehanson8 ehanson8 deleted the TIMX-550-new-aliases branch September 12, 2025 17:56
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.

3 participants