Skip to content

Data toolkit/collectionspace_migration_tools (CMT) support - #23

Merged
kspurgin merged 7 commits into
masterfrom
data-toolkit
Oct 30, 2026
Merged

kspurgin merged 7 commits into
masterfrom
data-toolkit

Conversation

@kspurgin

Copy link
Copy Markdown
Contributor

Given that Data Toolkit and CMT have different caching approaches, both of which are supported by collectionspace-mapper via this Gem, we do still need this as a consistent syntax layer for caching.

Assuming the version of this Gem compatible with CSV Importer is living in its Docker container, we should be able to update this, so that collectionspace-mapper can point to master instead of a branch.

(I guess we should also rename the default branch to main, but one thing at a time`)

This PR:

  • Adds an activesupport_cache_store backend to support use of collectionspace-mapper by Data Toolkit
  • Bumps Ruby version in use to 4.0.5 (version currently used by Data Toolkit)
  • Change RefCache to Refcache for Zeitwerk-app compatibility (without having to create custom inflectors in each using app)

kspurgin added 6 commits June 13, 2025 11:36
Assuming the CSV Importer Docker container contains a copy of this
code that uses a compatible Ruby version, we can upgrade this to use
the version being used by the Data Toolkit
The standard inflection of filename "refcache" is Refcache. The
filename that would inflect to RefCache is ref_cache.

Nonstandard inflection is a pain in modern Ruby/Rails where
autoloaders like Zeitwerk are common/standard.
@kspurgin
kspurgin requested review from mark-cooper and removed request for mark-cooper October 27, 2026 20:01
@kspurgin
kspurgin requested a review from mark-cooper October 27, 2026 20:04
@kspurgin

Copy link
Copy Markdown
Contributor Author

@mark-cooper - collectionspace_migration_tools (CMT) has been pointed at the migration-tools branch of collectionspace-mapper, which has been pointing at the data-toolkit branch of this, for 2 years of heavy use.

Today I just bumped up the Ruby version and made other changes to get stuff to pass

@kspurgin

Copy link
Copy Markdown
Contributor Author

@mark-cooper - Are you ok with me merging this when I have time to also update the collectionspace-mapper and collectionspace_migration_tools (CMT) which currently point to the branch being merged here?

@kspurgin

Copy link
Copy Markdown
Contributor Author

(That will be soon, as I'm trying to get this branch heck cleaned up before Will is back next week)

@mark-cooper

Copy link
Copy Markdown
Member

@kspurgin yes, absolutely. Just let me know if there's anything I specifically need to do 👍

@kspurgin
kspurgin merged commit 3b504d3 into master Oct 30, 2026
4 checks passed
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