Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
b68c3e9
Upgrades Curate to Hyrax v5.1.0.
bwatson78 Jul 7, 2025
21eaba3
batch 2.
bwatson78 Sep 30, 2025
7b06cf1
batch 3.
bwatson78 Oct 7, 2025
7d20c0b
batch 4.
bwatson78 Oct 15, 2025
0537bb9
batch 5.
bwatson78 Nov 25, 2025
fb3f43c
batch 6.
bwatson78 Dec 1, 2025
9a2142b
batch 7.
bwatson78 Dec 1, 2025
8d1ec02
batch 8.
bwatson78 Dec 2, 2025
e8f1df0
batch 9.
bwatson78 Dec 3, 2025
82f57da
batch 10.
bwatson78 Dec 4, 2025
3ed9bc1
batch 11.
bwatson78 Dec 5, 2025
61e838c
batch 12.
bwatson78 Dec 9, 2025
cfd6f99
batch 13.
bwatson78 Dec 12, 2025
df59585
updates Bulkrax overrides.
bwatson78 Jan 6, 2026
bd7071e
Zizia excising.
bwatson78 Jan 7, 2026
a697af2
version homogenizing.
bwatson78 Jan 9, 2026
3fe7562
Makes the importers Bulkrax-only.
bwatson78 Jan 13, 2026
ee78489
I was mistaken, I wrongly assumed the Collections migration code was …
bwatson78 Jan 13, 2026
3569384
brought back spec for wrongfully deleted importers and options for pr…
bwatson78 Jan 13, 2026
02b938a
Rspec updating.
bwatson78 Jan 15, 2026
628224a
Corrects hyrax rspec path.
bwatson78 Jan 16, 2026
d9e2356
creates docker compose for Development/Testing Fedora, FITS, Redis, a…
bwatson78 Feb 9, 2026
b405046
addresses some deprecations and rspec fixes.
bwatson78 Feb 9, 2026
1d7e4c6
rspec batch 1
bwatson78 Feb 10, 2026
21fe67b
revert uploads controller.
bwatson78 Feb 10, 2026
30fac86
rspec batch 2
bwatson78 Feb 11, 2026
182a4a4
provides instructions for new development environment.
bwatson78 Feb 12, 2026
ea6f404
Addresses the /services specs and linting.
bwatson78 Feb 12, 2026
82085f2
Removes Webpacker include tags.
bwatson78 Feb 12, 2026
69d92c4
Addresses the /jobs specs and linting.
bwatson78 Feb 12, 2026
ce02d54
removes needless module include.
bwatson78 Feb 12, 2026
e4605ec
Addresses the /controllers specs and linting.
bwatson78 Feb 12, 2026
c751c38
Addresses the /actors specs and linting.
bwatson78 Feb 13, 2026
6527aa7
Addresses the /requests specs and linting.
bwatson78 Feb 13, 2026
a7504f4
Addresses some deprecations.
bwatson78 Feb 13, 2026
dc423f5
Change redis to alpine container.
bwatson78 Feb 13, 2026
0e5e595
ignore translations missing errors.
bwatson78 Feb 13, 2026
a3ed52c
adds a few more development environment instructions.
bwatson78 Feb 16, 2026
037b31e
ignores the index_file_set results document.
bwatson78 Feb 16, 2026
c5da4a6
Adds missing Bulkrax migrations.
bwatson78 Feb 16, 2026
3cf61af
fixes imports spec tests
alexBLR Feb 16, 2026
9efb668
Fixes spec/system/bulkrax_csv_export_spec.rb.
bwatson78 Feb 17, 2026
20b0d17
Fixes spec/system/bulkrax_csv_import_spec.rb.
bwatson78 Feb 17, 2026
6c6a916
Fixes spec/system/fileset_uploader_spec.rb.
bwatson78 Feb 17, 2026
ed63f05
Fixes spec/system/filtering_on_dashboard_works_spec.rb.
bwatson78 Feb 17, 2026
3a69d1c
Fixes spec/system/admin_dashboard_spec.rb.
bwatson78 Feb 17, 2026
b857c4d
Solves most but not all javascript issues in spec/system/admin_dashb…
bwatson78 Mar 9, 2026
26a5e5d
fixes spec/system/iiif_access_controls_spec.rb,
bwatson78 Mar 9, 2026
c3ffc0b
fixes spec/system/viewing_a_user_spec.rb.
bwatson78 Mar 9, 2026
6b54d93
fixes spec/system/search_results_page_spec.rb.
bwatson78 Mar 10, 2026
6f2795d
fixes spec/system/edit_collection_spec.rb
bwatson78 Mar 10, 2026
df0de95
Corrects spec/system/create_collection_spec.rb fix.
bwatson78 Mar 10, 2026
f12b99f
Corrects spec/system/edit_collection_spec.rb fix.
bwatson78 Mar 10, 2026
1473707
Adds wait time to spec/system/bulkrax_csv_export_spec.rb
bwatson78 Mar 10, 2026
f54b176
swaps to global ID method.
bwatson78 Mar 12, 2026
895d7c8
focuses specifically on page text.
bwatson78 Mar 12, 2026
383b0db
Adds time for page to load before testing elements and re-pulls Colle…
bwatson78 Mar 12, 2026
aeadc3b
Updates call expectation to Ruby 3 standards.
bwatson78 Mar 12, 2026
1f3ad10
Adds reloader to clamby initializer.
bwatson78 Mar 13, 2026
1c86089
Adds require to clamby initializer.
bwatson78 Mar 13, 2026
e4ebf1e
Try not to compress sass.
bwatson78 Mar 17, 2026
0382ec6
Swap to dart sass.
bwatson78 Mar 17, 2026
f04d515
protect againgst pre-existing tables.
bwatson78 Mar 17, 2026
b512095
protect againgst pre-existing indexes.
bwatson78 Mar 17, 2026
a597c02
Adds CollectionResource Valkyrie model with metadata matching AF Coll…
alexBLR Mar 17, 2026
3999b64
revert windows tagging for typeahead.
bwatson78 Mar 17, 2026
707ea94
renamed annotation module.
bwatson78 Mar 17, 2026
f77b6ce
removes possibly unnecessary concern.
bwatson78 Mar 17, 2026
55b862a
Adds ActiveStorage requirement.
bwatson78 Mar 18, 2026
b9e5522
Update route method.
bwatson78 Mar 18, 2026
5ea4941
update circle ci to reflect Hyrax upgrade.
bwatson78 Mar 18, 2026
637711c
Since dockerize didn't install, comment it out.
bwatson78 Mar 18, 2026
51d88a1
Makes mariadb secondary to the orb executor.
bwatson78 Mar 18, 2026
937eb80
Confirm that the mariadb image is overtaking the ruby image.
bwatson78 Mar 18, 2026
652952c
Ups the orb version.
bwatson78 Mar 18, 2026
1dc43bc
Rubocop sweep.
bwatson78 Mar 18, 2026
a0b98e6
Try another check connection approach.
bwatson78 Mar 18, 2026
e81f1d2
Try without waiting for MariaDB.
bwatson78 Mar 19, 2026
1e39bb2
display needed info.
bwatson78 Mar 19, 2026
9fda524
See if removing mariadb makes things normal.
bwatson78 Mar 19, 2026
66164a5
New approach.
bwatson78 Mar 19, 2026
4aead61
See if order matters.
bwatson78 Mar 19, 2026
9063382
Try directly lifting the docker images from the orb.
bwatson78 Mar 19, 2026
9e4b722
Remove executor.
bwatson78 Mar 19, 2026
00d4be5
create database.
bwatson78 Mar 19, 2026
481fd2a
adds mysql client to bash.
bwatson78 Mar 19, 2026
f7d28c5
makes sudo.
bwatson78 Mar 19, 2026
df6b50d
Change solr port.
bwatson78 Mar 19, 2026
79e57b6
Directly pass the solr_port parameter to the solr command.
bwatson78 Mar 19, 2026
621f689
change solr to a 7.
bwatson78 Mar 20, 2026
d73f92f
Correct solr port in blacklight yml.
bwatson78 Mar 20, 2026
a475f42
Adds sleep to allow importer processing.
bwatson78 Mar 20, 2026
ac8fff9
Adds fcrepo 6 testing, adapter, and supporting modules.
bwatson78 Mar 25, 2026
88f9560
Minor formatting tweak in CircleCI yaml.
bwatson78 Mar 25, 2026
4d6be19
Rubocop sweep.
bwatson78 Mar 25, 2026
b8d4f37
Change fedora 6 domain name.
bwatson78 Mar 25, 2026
dccf705
Circle CI tweak.
bwatson78 Mar 25, 2026
62592f3
Allow connection.
bwatson78 Mar 25, 2026
5d5d792
Try another tweak.
bwatson78 Mar 25, 2026
755f52a
Hey look, another tweak.
bwatson78 Mar 25, 2026
4be0d16
Trying a larger overall container.
bwatson78 Mar 25, 2026
039a940
Adds default roles to db:seed which runs at deploy.
bwatson78 Mar 26, 2026
0d5c645
fixes the download pdf route (#2471)
alexBLR Mar 27, 2026
955ddac
Return to Fedora 4 Derivative Models.
bwatson78 Apr 3, 2026
b881772
Add instructions to remove this initializer.
bwatson78 Apr 3, 2026
83e77eb
Try config preparer.
bwatson78 Apr 3, 2026
858b5d5
Get bulkrax importer show page loading.
bwatson78 Apr 7, 2026
a7485a6
Get bulkrax importer show page datatables loading.
bwatson78 Apr 7, 2026
ad9799a
Allow failed FileSet imports to display.
bwatson78 Apr 7, 2026
e2e6bcd
Appease the cop.
bwatson78 Apr 7, 2026
25c2620
Save files before passing along.
bwatson78 Apr 8, 2026
ec9dd4a
Reworks the Bulkrax overrides. (#2506)
bwatson78 Apr 20, 2026
4470a5f
Changes UV to v4.0.0 to get config working. (#2512)
bwatson78 Apr 21, 2026
b6c111d
Fixes JS syntax error.
bwatson78 Apr 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
77 changes: 66 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,73 @@ version: 2.1
orbs:
node: circleci/node@4.9.0
qlty-orb: qltysh/qlty-orb@0.1.1
samvera: samvera/circleci-orb@1.0.0
samvera: samvera/circleci-orb@1.0.1
jobs:
build:
parameters:
bundler_version:
type: string
default: 2.4.19
fcrepo_version:
type: string
default: '4.7.5'
fcrepo6_domain:
type: string
default: fcreposix
redis_version:
type: string
default: 7.4.2
ruby_type:
type: string
default: 'ruby'
ruby_version:
type: string
default: 2.7.4
bundler_version:
default: 3.2.9
solr_port:
type: string
default: 2.1.4
executor:
name: samvera/ruby_fcrepo_solr_redis
ruby_version: << parameters.ruby_version >>
solr_version: 7-alpine
default: '8983'
solr_version:
type: string
default: 7.7.2
working_directory: ~/project
docker:
- image: cimg/<< parameters.ruby_type >>:<< parameters.ruby_version >>-browsers
- image: samvera/fcrepo4:<< parameters.fcrepo_version >>
environment:
CATALINA_OPTS: "-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms512m -Xmx1024m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m -XX:MaxPermSize=256m -XX:+DisableExplicitGC"
- image: fcrepo/fcrepo:6.5.1-tomcat9
name: << parameters.fcrepo6_domain >>
environment:
- >-
CATALINA_OPTS=-Dfcrepo.home=/fcrepo-home -Djava.awt.headless=true -Dfile.encoding=UTF-8
-server -Xms1G -Xmx2G -XX:NewSize=256m -XX:MaxNewSize=1G
-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/data/mem
-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true
-Dfcrepo.jms.enabled=false -Dfcrepo.metrics.enable=true
- JAVA_OPTS=-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true
- image: solr:<< parameters.solr_version >>
command: bin/solr -cloud -noprompt -f -p << parameters.solr_port >>
- image: redis:<< parameters.redis_version >>
- image: cimg/mariadb:10.11.4
resource_class: medium+
environment:
BUNDLE_PATH: vendor/bundle
BUNDLE_JOBS: 4
BUNDLE_RETRY: 3
RAILS_ENV: test
RACK_ENV: test
CIRCLECI_DOMAIN: localhost
FCREPO_TEST_PORT: 8080
FCREPO6_DOMAIN: << parameters.fcrepo6_domain >>
SPEC_OPTS: --profile 10 --format RspecJunitFormatter --out /tmp/test-results/rspec.xml --format progress
parallelism: 4
steps:
- checkout

- node/install:
install-yarn: true
install-npm: false
node-version: "v20.15.1"
node-version: "v20.20.0"

- samvera/bundle:
ruby_version: << parameters.ruby_version >>
Expand All @@ -47,7 +91,18 @@ jobs:
paths:
- ~/project/node_modules

- samvera/install_solr_core
- samvera/install_solr_core:
solr_port: << parameters.solr_port >>

- run:
name: Install MySQL client (if not present in primary image)
command: |
sudo apt-get update
sudo apt-get install -y mysql-client

- run:
name: Create specific test database
command: mysql -h 127.0.0.1 -u root -e "CREATE DATABASE IF NOT EXISTS curate_test;"

- samvera/parallel_rspec

Expand All @@ -61,7 +116,7 @@ jobs:

coverage:
docker:
- image: cimg/ruby:2.7.4
- image: cimg/ruby:3.2.9
working_directory: ~/project
parallelism: 1
steps:
Expand Down
6 changes: 0 additions & 6 deletions .fcrepo_wrapper

This file was deleted.

6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,12 @@ lib/tasks/ci.rake
# Ignore coverage report
coverage

# Ignore webpacker and yarn.
/public/packs
/public/packs-test
# Ignore yarn and pre-compile
/node_modules
/yarn-error.log
yarn-debug.log*
.yarn-integrity
public/assets/

# Ignore OS-specific files
**/.DS_Store
Expand Down Expand Up @@ -102,4 +101,5 @@ public/branding
# fits artifacts
fits.log

config/emory/index_file_set_results.csv
imports
50 changes: 37 additions & 13 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ inherit_gem:
inherit_from: .rubocop_todo.yml

AllCops:
TargetRubyVersion: 2.7
TargetRubyVersion: 3.2
Exclude:
- bin/**/*
- db/**/*
Expand All @@ -19,11 +19,6 @@ Layout/HashAlignment:
Layout/IndentationConsistency:
EnforcedStyle: indented_internal_methods

Layout/LineLength:
Exclude:
- app/importers/curate_record_importer.rb
- spec/importers/curate_mapper_spec.rb

Lint/NonLocalExitFromIterator:
Exclude:
- app/importers/collection_permission_ensurer.rb
Expand All @@ -34,7 +29,7 @@ Metrics/AbcSize:
- app/importers/*
- app/indexers/curate_generic_work_indexer.rb
- app/indexers/curate/file_set_indexer.rb
- app/lib/metadata_details.rb
- app/parsers/bulkrax/csv_parser.rb
- config/initializers/bulkrax.rb
- spec/system/import_langmuir_from_csv_spec.rb

Expand All @@ -56,55 +51,77 @@ Metrics/ClassLength:
- app/actors/hyrax/actors/file_set_actor.rb
- app/controllers/catalog_controller.rb
- app/controllers/iiif_controller.rb
- app/factories/bulkrax/object_factory.rb
- app/factories/bulkrax/object_factory_interface.rb
- app/forms/hyrax/forms/collection_form.rb
- app/importers/*
- app/indexers/curate_generic_work_indexer.rb
- app/models/bulkrax/csv_entry.rb
- app/models/bulkrax/exporter.rb
- app/models/concerns/bulkrax/file_factory.rb
- app/models/curate_generic_work.rb
- app/models/solr_document.rb
- app/parsers/bulkrax/application_parser.rb
- app/parsers/bulkrax/csv_parser.rb
- app/presenters/hyrax/collection_presenter.rb
- app/services/aspace/api_service.rb
# Deprecation warning: Zizia will be removed with Curate v3.
- app/uploaders/zizia/csv_manifest_validator.rb
- spec/**/*

Metrics/CyclomaticComplexity:
Exclude:
- app/controllers/concerns/bulkrax/datatables_behavior.rb
- app/controllers/iiif_controller.rb
- app/factories/bulkrax/object_factory.rb
- app/importers/curate_record_importer.rb
- app/importers/yellowback_preprocessor.rb
- app/indexers/curate_generic_work_indexer.rb
- app/indexers/curate/file_set_indexer.rb
- app/jobs/characterize_job.rb
- app/models/bulkrax/csv_entry.rb
- app/models/concerns/hydra/access_controls/visibility.rb
- app/parsers/bulkrax/application_parser.rb
- app/parsers/bulkrax/csv_parser.rb
- config/initializers/bulkrax.rb
- config/initializers/file_actor.rb

Metrics/MethodLength:
Exclude:
- app/controllers/background_jobs_controller.rb
- app/controllers/concerns/bulkrax/datatables_behavior.rb
- app/controllers/hyrax/file_sets_controller.rb
- app/controllers/iiif_controller.rb
- app/factories/bulkrax/object_factory_interface.rb
- app/forms/hyrax/curate_generic_work_form.rb
- app/importers/*
- app/indexers/curate_generic_work_indexer.rb
- app/indexers/curate/file_set_indexer.rb
- app/jobs/characterize_job.rb
- app/jobs/create_work_job.rb
- app/models/bulkrax/exporter.rb
- app/models/concerns/bulkrax/export_behavior.rb
- app/models/concerns/bulkrax/import_behavior.rb
- app/models/concerns/bulkrax/file_factory.rb
- app/models/concerns/hydra/access_controls/visibility.rb
- app/parsers/bulkrax/application_parser.rb
- app/parsers/bulkrax/csv_parser.rb
- app/parsers/bulkrax/parser_export_record_set.rb
- app/presenters/hyrax/collection_presenter.rb
- app/presenters/hyrax/curate_collection_presenter.rb
- app/uploaders/zizia/csv_manifest_validator.rb
- config/initializers/bulkrax.rb
- spec/fixtures/manifest_output.rb
- spec/fixtures/placeholder_manifest_output.rb

Metrics/ModuleLength:
Exclude:
- app/controllers/concerns/bulkrax/datatables_behavior.rb
- app/lib/metadata_definitions.rb
- app/models/concerns/bulkrax/import_behavior.rb
- app/models/concerns/hyrax/collection_behavior.rb

Metrics/ParameterLists:
Exclude:
- app/factories/bulkrax/object_factory.rb
- app/factories/bulkrax/object_factory_interface.rb
- app/importers/yellowback_preprocessor.rb
- lib/importing_modules/file_set_methods.rb
- app/jobs/manifest_persistence_job.rb
Expand All @@ -113,21 +130,28 @@ Metrics/ParameterLists:

Metrics/PerceivedComplexity:
Exclude:
- app/controllers/concerns/bulkrax/datatables_behavior.rb
- app/forms/hyrax/curate_generic_work_form.rb
- app/importers/curate_record_importer.rb
- app/importers/yellowback_preprocessor.rb
- app/forms/hyrax/curate_generic_work_form.rb
- app/parsers/bulkrax/csv_parser.rb
- app/models/bulkrax/csv_entry.rb

Naming/PredicateName:
Exclude:
- app/models/concerns/hydra/access_controls/access_right.rb

Rails/Exit:
Exclude:
- 'config/deploy.rb'
- config/deploy.rb

Rails/Output:
Exclude:
- 'config/deploy.rb'
- config/deploy.rb

Rails/SkipsModelValidations:
Exclude:
- app/parsers/bulkrax/application_parser.rb

RSpec/AnyInstance:
Exclude:
Expand Down
2 changes: 1 addition & 1 deletion .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Style/MethodMissingSuper:
Lint/MissingSuper:
Exclude:
- 'app/models/concerns/hyrax/file_set/characterization.rb'
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.4
3.2.9
9 changes: 0 additions & 9 deletions .solr_wrapper

This file was deleted.

Loading