Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚧 [i681] - VALKYRIZE Adventist #693

Merged
merged 262 commits into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from 127 commits
Commits
Show all changes
262 commits
Select commit Hold shift + click to select a range
95d03ab
🧹 Configure Knapsack to Use Hyku Prime
jeremyf Jan 10, 2024
56510a0
Merge pull request #6 from samvera-labs/adding-docs-regarding-knapsack
jeremyf Jan 11, 2024
672dc9b
get fixes from adventist
orangewolf Feb 1, 2024
172a603
Get the build working
Feb 19, 2024
54fc18d
Merge pull request #8 from samvera-labs/get-build-working
jeremyf Feb 19, 2024
5fa5dfa
Merge branch 'main' into adventist-mods
Feb 20, 2024
9bc2dc4
merge in main
Feb 20, 2024
0363299
revert Gemfile.lock
Feb 20, 2024
536c7c6
Revert "revert Gemfile.lock"
Feb 20, 2024
01c95c1
Revert "Updating knapsack's Gemfile.lock"
Feb 20, 2024
96a43bf
Update Gemfile.lock
Feb 20, 2024
31c7682
Merge pull request #7 from samvera-labs/adventist-mods
Feb 20, 2024
a57745b
🎁 Add works generator
Mar 12, 2024
972d067
🎁 Add SimpleSchemaLoaderDecorator for work types
Mar 15, 2024
e35a628
Merge pull request #10 from samvera-labs/add-works-generator
kirkkwang Mar 15, 2024
031f11f
Merge pull request #11 from samvera-labs/simple-schema-loader-decorator
kirkkwang Mar 15, 2024
c07a2af
Update `HykuKnapsack::WorkResourceGenerator`
Mar 15, 2024
0bdd510
Merge pull request #12 from samvera-labs/update-work-resource-generator
kirkkwang Mar 18, 2024
810f7f1
🎁 Contribute back from HykuUp Knapsack
Apr 2, 2024
48d5d05
Copying Gemfile.lock from hykuu up knapsack
jeremyf Apr 2, 2024
464c1a6
⚙️ Remove Sentry from prime also handle gem file updates
jeremyf Apr 2, 2024
03cc1df
📚 Doc not to add to Gemfile
jeremyf Apr 2, 2024
42dc070
Remove knapsacker
jeremyf Apr 2, 2024
05b0085
💄 endless and ever appeasing of the coppers
jeremyf Apr 2, 2024
caeed7b
Update hyrax-webapp
Apr 2, 2024
3f1bfcc
Add symlink for .rspec to run
Apr 2, 2024
5b84eed
add rspec.xml blank file
Apr 2, 2024
9e0f437
create a sample spec to pass Move test pipeline step
Apr 3, 2024
66381e5
add specs for Hyku::Application
Apr 3, 2024
4f403f1
add specs for Hyku::Application
Apr 3, 2024
4eb3d14
re add rspec.xml
Apr 3, 2024
2ab19d4
Merge branch 'prime_main' of https://github.com/samvera-labs/hyku_kna…
Apr 3, 2024
35bd9f7
Update rspec.xml
Apr 3, 2024
aee1a57
Merge pull request #16 from samvera-labs/prime_main
Apr 3, 2024
0cfca4b
update engine.rb to specify engine root for migrations
kirkkwang May 15, 2024
1962a47
Merge pull request #17 from samvera-labs/specific-app-root
kirkkwang May 15, 2024
6ce1ecd
Update generator
Jul 3, 2024
da485d7
Update engine
Jul 3, 2024
f25ff64
Update rails_helper
Jul 3, 2024
5fa90da
Wrap Hyrax initializer in after_initialize
Jul 3, 2024
997fcde
Update Dockerfile
Jul 3, 2024
89eb35a
Update submodule
Jul 12, 2024
c9ac6da
Update Gemfile.lock
Jul 12, 2024
63f9c94
Merge pull request #19 from samvera-labs/contribute-back-from-pals
Jul 15, 2024
c3826a8
Merge remote-tracking branch 'knapsack_prime/main' into pull-in-hyku-…
Jul 17, 2024
d956499
Changes to get app to build
Jul 17, 2024
36bb3ec
Comment out shared/ajax_modal for now
Jul 18, 2024
8a0a4aa
update submodule to 20b8c56e
Jul 18, 2024
e7116c2
update .gitmodule
Jul 18, 2024
96fe1ed
:broom: Fix docker build issues
Jul 19, 2024
a9045bb
update Gemfile.lock
Jul 19, 2024
246508f
🎁 Adds wings initializer
Jul 19, 2024
881fcd4
Remove lib/wings
Jul 19, 2024
47339e2
Resolve decorated decorators
Jul 19, 2024
d080cb5
Patch simple schema decorator
Jul 19, 2024
6e962e5
Clean up engine
Jul 19, 2024
11c9798
Generate ConferenceItemResource
Jul 19, 2024
e1b5346
Uncomment iiif print for conference item
Jul 22, 2024
0fc7240
Create DatasetResource
Jul 22, 2024
91749f3
Create ExamPaperResource
Jul 22, 2024
d2d2e3a
Fix dataset indexer inheritance
Jul 22, 2024
aacaa1b
Create Journal Article Resource
Jul 22, 2024
17a887f
Create published_work_resource
Jul 22, 2024
2a1e39b
Generate ThesisResource
Jul 22, 2024
64b6d06
Missed published_works_controller updates
Jul 22, 2024
7b3de9e
Update ThesisResourceForm from generated version
Jul 22, 2024
42ccd71
Update thesis resource indexer from generated
Jul 22, 2024
22474c8
Update thesis resource from generated
Jul 22, 2024
a0746a7
Additional schemas to resources, forms, and index
Jul 22, 2024
da33925
Remove docker-compose version
Jul 22, 2024
cfa48b3
update github actions versions
Jul 22, 2024
96df5ba
Final pieces for resource models
Jul 22, 2024
5e0148e
:bug: Ensure multiple? method is called correctly for new and existin…
Jul 22, 2024
f564e5c
Create resources (#702)
laritakr Jul 23, 2024
5213dbb
:bug: Fix form for resoures (#704)
Jul 23, 2024
442210a
re-adds if statements
Jul 23, 2024
7bc5266
Add some missing includes
Jul 23, 2024
21ba377
Missed a few indexers
Jul 23, 2024
d9d633e
Add some missing includes (#706)
laritakr Jul 23, 2024
7f96764
♻️ Revert rails to support good_jobs and remove Gemfile.lock
Jul 23, 2024
5ad9251
Adds comment to explain rails version
Jul 24, 2024
729fa01
Initial add of metadata for resources
Jul 23, 2024
38a335b
Update yaml files with actual metadata
Jul 24, 2024
81267ba
Correct errors
Jul 24, 2024
a52d9a8
Begin to clean up duplication of metadata terms
Jul 24, 2024
00aea8f
Finish separating metadata
Jul 24, 2024
df5c6b6
Collection metadata yaml
Jul 24, 2024
c2d1dee
Remove term from collection_resource yaml
Jul 25, 2024
830775e
Add metadata (#712)
laritakr Jul 25, 2024
049efe8
First steps toward slug valkyrization
Jul 26, 2024
184577b
Add empty line at end of file
Jul 26, 2024
6d13c63
Complete Valkyrization of slugs
Jul 30, 2024
9754fa8
Use Hyrax::SolrService to remove extra solr index
Jul 30, 2024
c4ed078
Valkyrize slugs (#714)
laritakr Aug 1, 2024
74dda42
Add a listener to remove solr for slugs
Aug 1, 2024
c8d4a93
Update docker-compose.yml
Aug 1, 2024
858f4f5
Add slug rescues for admin set not found
Aug 2, 2024
aecec0e
Fix transaction for no slugs
Aug 2, 2024
ee72552
Update Dockerfile
Aug 2, 2024
8388d93
Add a listener to remove solr for slugs (#719)
laritakr Aug 5, 2024
ac58d59
Add rescue for ActiveFedora::ObjectNotFoundError
Aug 5, 2024
630c7e5
Add lonely operator to chained method calls
Aug 5, 2024
5e92ad1
renames CsvParserDecorator to avoid conflicts with Hyku
Aug 5, 2024
c88e0b7
Override IiifPrint
Aug 5, 2024
b17a589
Add override documentation
Aug 5, 2024
f2b8be2
update submodule
Aug 6, 2024
4787234
Adds support to set filename on an uploaded file
Aug 6, 2024
bd79212
Fix universal viewer
Aug 6, 2024
b6c3f10
Fix manifest (#733)
laritakr Aug 6, 2024
0d9bb61
adds override_default_thumbnail property to fileset metadata
Aug 7, 2024
7a1c6c6
Update build-test-lint.yaml
Aug 7, 2024
559175e
debug: try removing branch: '6-1-stable'
Aug 7, 2024
4c25ebe
remove rails override in bundler.d
Aug 7, 2024
fa6d3ea
Delete file_set_metadata.yaml
Aug 7, 2024
d0d6da0
update submodule to support good jobs
Aug 7, 2024
16df6a5
Merge branch 'pull-in-hyku-knapsack' into oai-customizations
Aug 7, 2024
528f02b
Update Gemfile
Aug 7, 2024
ad938c1
Handle bulkrax thumbnail url
Aug 7, 2024
dc6428f
spec helper updates
Aug 7, 2024
bf169ab
Wire up listener correctly
Aug 7, 2024
f2e6386
🙃 re adds override_default_thumbnail to fileset
Aug 7, 2024
be568b5
Update the docker compose file to use latest base image that is built…
aprilrieger Aug 7, 2024
a58ec26
ci: add ability to select which step to debug
Aug 8, 2024
ff2c404
Wire up listener correctly (#736)
laritakr Aug 8, 2024
dd33091
try the easy thing first
orangewolf Aug 8, 2024
15e34d4
Merge branch 'pull-in-hyku-knapsack' of github.com:scientist-softserv…
orangewolf Aug 8, 2024
28983d4
fix various things keeping the specs from running
orangewolf Aug 8, 2024
795cb93
fix load order issue where user got loaded before active record hooks…
orangewolf Aug 8, 2024
86f4293
remove json_canonicalization override and update submodule
Aug 9, 2024
9ad6fbf
Merge branch 'pull-in-hyku-knapsack' into oai-customizations
Aug 9, 2024
37f7649
⚙️ Update submodule and wings for FindBySlug
Aug 9, 2024
7d29371
✅ Fixer indexer specs
Aug 12, 2024
2f27b5a
✅ Fix for csv entry spec
Aug 12, 2024
83edff6
⚙️ Remove `SimpleSchemaLoaderDecorator`
Aug 12, 2024
e238913
⚙️ Use `adl.test` instead of `hyku.test`
Aug 12, 2024
7e2e140
⚙️ Remove `Gemfile.lock`
Aug 12, 2024
3bc2a7c
✅ Fix for bulkrax failing specs
Aug 12, 2024
64e53fd
✅ fix failing spec for adv_search_builder
Aug 12, 2024
93093c1
Merge remote-tracking branch 'refs/remotes/origin/pull-in-hyku-knapsa…
Aug 12, 2024
bf9fc90
fixes inability to create collections
Aug 13, 2024
3273e0f
comment out failing specs for now
Aug 13, 2024
bf0aea4
Set thumbnail id via remote files
Aug 13, 2024
2788776
♻️ Refactor Engine
Aug 13, 2024
ed46b3a
🚧 Add home and show themes to Knapsack
Aug 13, 2024
5e997ca
🧹 updates submodule
Aug 14, 2024
6051ac6
✅ Explicitly add IIIF Print to config
Aug 14, 2024
6bcad36
Update staging-deploy.tmpl.yaml
Aug 14, 2024
68a5470
⚙️ Move Engine's to_prepare to an initializer
Aug 14, 2024
8379ec8
Merge branch 'pull-in-hyku-knapsack' into pull-in-hyku-knapsack-ui
Aug 14, 2024
0a8f013
💄 Bring back masthead
Aug 14, 2024
f3c3273
Oai customizations (#735)
Aug 14, 2024
b3f0fb2
💄 Update user_util_links with Hyku
Aug 15, 2024
718edd2
💄 Update search form area styling
Aug 15, 2024
bf9283e
update submodule for rubocop
Aug 15, 2024
72a91cd
add rubocop file
Aug 15, 2024
cddc190
Update file set metadata
Aug 15, 2024
6c6eb2f
Add import url to fileset (#750)
laritakr Aug 15, 2024
ba8d8d3
💄 Fix homepage body and footer styling
Aug 15, 2024
7daf43b
Merge branch 'pull-in-hyku-knapsack' into pull-in-hyku-knapsack-ui
Aug 15, 2024
5e0f159
Pull in hyku knapsack UI (#751)
Aug 15, 2024
6a1e31b
Set Valkyrie env vars for staging
Aug 15, 2024
d21d07d
💄 Refine css for adventist_digital_library theme
Aug 15, 2024
c8ad84c
💄 Fixing linting for Adventist Valkyrie
sjproctor Aug 15, 2024
54adf77
💄 Fixing linting for Adventist Valkyrie
sjproctor Aug 16, 2024
4ef608a
💄 Move application and hompage templates
Aug 16, 2024
163b38e
💄 Adjust styles for adl_show page theme
Aug 16, 2024
0181d39
💄 Make appearance styling match Hyku
Aug 16, 2024
b91e8e3
Update submodule
Aug 16, 2024
1fdffcd
🤖 Update build-test-lint
Aug 16, 2024
e5331fb
💄 Fix styling on featured works
Aug 16, 2024
a5f8c1a
Add adl_show preview
Aug 16, 2024
addef83
🐛 Get catalog index working
Aug 16, 2024
87166af
Bring back yellow in header gradient
Aug 17, 2024
213a4ec
💄 Fix catalog search results styles
Aug 17, 2024
50cd15e
🎁 Make feature collections work like Hyku
Aug 18, 2024
58daa68
💄 Add themes behavior to Collections
Aug 18, 2024
2a0fe2e
💄 Fixing linting for Adventist Valkyrie
sjproctor Aug 19, 2024
b474be9
💄 Fixing linting for Adventist Valkyrie
sjproctor Aug 19, 2024
598f02f
I741 fix adventist valkyrie lint (#754)
sjproctor Aug 19, 2024
7e6badb
🐛 Add a reject for publication_status
Aug 19, 2024
d2f5580
🤖 Remove extra migrations
Aug 19, 2024
67f07db
fix knapsack inclusion of bundler inject files and try to speed up bu…
orangewolf Aug 19, 2024
04f8a5b
fix knapsack inclusion of bundler inject files and try to speed up bu…
Aug 20, 2024
ff60e94
Update submodule
Aug 20, 2024
732bde3
Update submodule (#761)
laritakr Aug 20, 2024
0496c65
Fix permission issue for thumbnail
Aug 20, 2024
1b63f28
Fix permission issue for thumbnail (#765)
Aug 21, 2024
d04d7c8
💄 Fixing linting for Adventist Valkyrie
sjproctor Aug 15, 2024
67a8999
💄 Fixing linting for Adventist Valkyrie
sjproctor Aug 16, 2024
9ddcc9f
💄 Fixing linting for Adventist Valkyrie
sjproctor Aug 19, 2024
259ff66
💄 Fixing linting for Adventist Valkyrie
sjproctor Aug 19, 2024
b29f619
🐛 Add a reject for publication_status
Aug 19, 2024
6481ac6
🤖 Remove extra migrations
Aug 19, 2024
7b6d42e
fix knapsack inclusion of bundler inject files and try to speed up bu…
orangewolf Aug 19, 2024
49944dc
✅ Fixes failing specs
sjproctor Aug 21, 2024
7e3154b
🐛 Wrap slug_valkyrie_overrides in to_prepare
Aug 21, 2024
7f13aa7
Failing tests (#766)
sjproctor Aug 21, 2024
562a30e
guard against nils in _sort_per_page view
Aug 21, 2024
e4ec022
Update submodule
Aug 23, 2024
4a0fae4
Update submodule (#772)
laritakr Aug 23, 2024
42f5d2a
:bug: PDF.js fix
Aug 27, 2024
b852c62
:lipstick: rubocop fix
Aug 27, 2024
1ca87fc
Override IiifPrint config
Aug 27, 2024
75f19cb
Fix splitting for generic work and image resoures (#778)
Aug 27, 2024
8ff411a
Update submodule
Aug 28, 2024
fc27973
Update submodule to fix reingesting (#782)
Aug 28, 2024
3af4c9b
Use PDFjs flipper to control splitting
Aug 29, 2024
ecd5589
Switch where we skip out of splitting
Aug 29, 2024
36cf84f
Do not split if pdfjs flipper on (#783)
laritakr Aug 30, 2024
2360c3b
⚙️disable EXTERNAL_IIIF_URL
Aug 30, 2024
eac35dd
Update hyrax-webapp
Sep 5, 2024
1216126
🎁 Hide User Collection and Public tags
sjproctor Sep 9, 2024
845eaad
🎁 Hide User Collection and Public tags (#795)
sjproctor Sep 9, 2024
b0b10a6
🎁 Hides all badges to match parity with prod
sjproctor Sep 10, 2024
fdc8db2
🎁 Hides all badges to match parity with prod (#796)
sjproctor Sep 10, 2024
a087468
Remove collection show
Sep 11, 2024
cbb8cee
Collections shouldn't require rights_statement
Sep 11, 2024
a10c8c6
:broom: moves basic_metadata into conference_item.yml
Sep 11, 2024
c976355
Remove media_display partial
Sep 11, 2024
5ef9289
:broom: move metadata into dataset_resource.yml
Sep 11, 2024
dc6f7f3
:broom: move metadata into exam_paper_resoure.yml
Sep 11, 2024
50cd59e
:broom: move metadata into journal_article_resource.yml
Sep 11, 2024
5b4d3fd
:broom: move metadata into published_work_resource.yml
Sep 11, 2024
7cf1b7e
:broom: move metadata into thesis_resource.yml
Sep 11, 2024
2f5e4a1
:broom: move metadata into generic_work_resource.yml
Sep 11, 2024
53e0425
:broom: move metadata into image_resource.yml
Sep 11, 2024
634236e
Update submodule
Sep 11, 2024
8ad962e
🧹 Fixes load issue for knapsack locales to take precendence
Sep 11, 2024
44dcb08
💄rubocop fix
Sep 11, 2024
b2c9a2c
Remove collection show (#799)
laritakr Sep 11, 2024
d040d74
Synch views
Sep 11, 2024
bad7032
🧹 refactor - moves basic_metadata into adl_metadata works
Sep 11, 2024
2e34566
I777 collection metadata customizations (#800)
Sep 12, 2024
cdfa4fd
Update submodule
Sep 12, 2024
0bfab36
debug pipeline issue
Sep 12, 2024
cb03d25
reverts submodule update
Sep 12, 2024
393935b
updates build test lint to v0.0.23
Sep 12, 2024
9a1deee
Merge branch 'main' into sync-views
orangewolf Sep 12, 2024
d73d23a
Merge branch 'sync-views' of github.com:scientist-softserv/adventist_…
orangewolf Sep 12, 2024
17489e6
🎁 Prohibits blank metadata fields from rendering
sjproctor Sep 12, 2024
1af1a53
Update hyrax-webapp
Sep 12, 2024
078c5d6
Update hyrax-webapp
Sep 12, 2024
1dee930
Sync views with Hyrax/Hyku (#801)
laritakr Sep 13, 2024
f426b3c
Merge branch 'pull-in-hyku-knapsack' of github.com:scientist-softserv…
sjproctor Sep 13, 2024
f8c2cd7
🎁 Prohibits blank metadata fields from rendering (#806)
Sep 13, 2024
6fee2a2
Sync of views didn't totally work
Sep 13, 2024
c1ff8b4
lease_release_date => lease_expiration_date
Sep 13, 2024
3029177
Fix pdf views (#810)
laritakr Sep 13, 2024
72984ee
🐛 Fix thumbnails not showing for logged out users
Sep 14, 2024
1016598
🐛 Fix thumbnails not showing for logged out users (#811)
Sep 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .github/workflows/build-test-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:

jobs:
build:
uses: scientist-softserv/actions/.github/workflows/[email protected].15
uses: scientist-softserv/actions/.github/workflows/[email protected].22
secrets: inherit
with:
platforms: 'linux/amd64'
Expand All @@ -26,17 +26,15 @@ jobs:

test:
needs: build
uses: scientist-softserv/actions/.github/workflows/[email protected].15
uses: scientist-softserv/actions/.github/workflows/[email protected].22
with:
confdir: '/app/samvera/hyrax-webapp/solr/conf'
webTarget: hyku-web
workerTarget: hyku-worker
rspec_cmd: "cd .. && gem install semaphore_test_boosters && bundle && rspec_booster --job $CI_NODE_INDEX/$CI_NODE_TOTAL"

lint:
needs: build
uses: scientist-softserv/actions/.github/workflows/[email protected].15
uses: scientist-softserv/actions/.github/workflows/[email protected].22
with:
webTarget: hyku-web
workerTarget: hyku-worker
rubocop_cmd: "cd .. && bundle && bundle exec rubocop --parallel --format progress"
rubocop_cmd: "cd .. && bundle && bundle exec rubocop --parallel --format progress"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ scratch.md
.DS_Store

/coverage
file_cache/
3 changes: 1 addition & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
[submodule "hyrax-webapp"]
path = hyrax-webapp
url = https://github.com/samvera/hyku.git
branch = adventist_dev
url = https://github.com/samvera/hyku.git
132 changes: 0 additions & 132 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,132 +0,0 @@
# Turn on RSpec cops
require: rubocop-rspec
inherit_from: .rubocop_todo.yml

# With the rubocop 0.47.0 and rubocop-rspec 1.8.0 the following stderr message was sent:
# An error occurred while RSpec/DescribedClass cop was inspecting path/to/file
RSpec/DescribedClass:
Enabled: false

AllCops:
DisplayCopNames: true
TargetRubyVersion: 2.3
Exclude:
- 'hyrax-webapp/**/*'
- 'bin/**/*'
- 'db/**/*'
- 'config/**/*'
- 'vendor/**/*'
- 'lib/dog_biscuits/**/*'
- 'lib/dog_biscuits.rb'
- '.internal_test_app/**/*'
- 'spec/fixtures/**/*'
- 'spec/internal/**/*'
- 'spec/test_app_templates/**/*'
- 'Rakefile'
- 'lib/tasks/rubocop.rake'
# disabling collections controller as most of the rubocop errors are in hyrax
- 'app/controllers/hyrax/dashboard/collections_controller.rb'

Rails:
Enabled: true

Rails/DynamicFindBy:
Whitelist:
- find_by_user_key
Exclude:
- 'lib/importer/factory/object_factory.rb'

Rails/UnknownEnv:
Environments:
- development
- production
- staging
- test

Metrics/LineLength:
Max: 120
Exclude:
- 'app/controllers/catalog_controller.rb'
- 'spec/controllers/curation_concerns/generic_works_controller_spec.rb'
- 'spec/services/iiif_collection_thumbnail_path_service_spec.rb'
- 'spec/services/iiif_work_thumbnail_path_service_spec.rb'
- 'spec/routing/proprietor/accounts_routing_spec.rb'

Layout/IndentationConsistency:
EnforcedStyle: rails

Layout/DotPosition:
EnforcedStyle: leading

Style/Documentation:
Enabled: false

Style/StringLiterals:
Enabled: false

Style/WordArray:
Enabled: false

Metrics/ClassLength:
Exclude:
- 'app/controllers/catalog_controller.rb'

Metrics/ModuleLength:
Max: 200

Rails/HasAndBelongsToMany:
Exclude:
- 'app/models/role.rb'

RSpec/AnyInstance:
Enabled: false

RSpec/InstanceVariable:
Exclude:
- 'spec/controllers/hyku/registrations_controller_spec.rb'

RSpec/NamedSubject:
Enabled: false

RSpec/DescribeClass:
Exclude:
- 'spec/requests/**/*'
- 'spec/features/**/*'
- 'spec/views/**/*'
- 'spec/routing/**/*'
- 'spec/tasks/**/*'

Rails/FilePath:
Exclude:
- 'spec/routing/**/*'

RSpec/ExpectActual:
Exclude:
- 'spec/routing/**/*'

RSpec/VerifiedDoubles:
Enabled: false

RSpec/MessageExpectation:
Enabled: false

# By default RSpec/MessageSpies has the following:
# Prefer have_received for setting message expectations. Setup form as a spy using allow or instance_spy.
RSpec/MessageSpies:
Enabled: true
EnforcedStyle: receive

RSpec/ExampleLength:
Max: 20

RSpec/NestedGroups:
Max: 4

RSpec/MultipleExpectations:
Enabled: false

Metrics/BlockLength:
Exclude:
- 'spec/**/*.rb'
- 'lib/tasks/*.rake'
- 'app/controllers/catalog_controller.rb'
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
FROM ghcr.io/samvera/hyku/base:d6ef0431 as hyku-knap-base
FROM ghcr.io/samvera/hyku/base:20b8c56e as hyku-knap-base

# Ensure the directory exists
RUN mkdir -p /app/.bundler.d

# This is specifically NOT $APP_PATH but the parent directory
COPY --chown=1001:101 . /app/samvera
COPY --chown=1001:101 bundler.d/ /app/.bundler.d/
ENV BUNDLE_LOCAL__HYKU_KNAPSACK=/app/samvera
ENV BUNDLE_DISABLE_LOCAL_BRANCH_CHECK=true
ENV BUNDLE_BUNDLER_INJECT__GEM_PATH=/app/samvera/bundler.d

RUN bundle install --jobs "$(nproc)"

Expand Down
Loading
Loading