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

update to latest Hyrax / Ruby version #794

Merged
merged 88 commits into from
Dec 5, 2023
Merged

Conversation

orangewolf
Copy link
Collaborator

@orangewolf orangewolf commented Aug 29, 2023

to move your db from mysql to postgres - MIGRATE_DB=1 dc up pgloader
then start the app.

ShanaLMoore
ShanaLMoore previously approved these changes Aug 29, 2023
@ShanaLMoore
Copy link
Collaborator

ShanaLMoore commented Aug 29, 2023

All specs are failing on

image

👀

This commit will replace all instances of
AdminSet.find_or_create_default_admin_set_id with
Hyrax::AdminSetCreateService.find_or_create_default_admin_set.id.to_s
because the former was deprecated.
orangewolf and others added 5 commits August 29, 2023 15:45
This commit will fix various specs that were failing because of the Ruby
3.2.2 upgrade.  At this point there should only be 4 failures left.

```
879 examples, 4 failures, 38 pending

Failed examples:

rspec ./spec/models/bulkrax/pbcore_xml_entry_spec.rb:92
rspec ./spec/models/bulkrax/pbcore_xml_entry_spec.rb:87
rspec ./spec/models/bulkrax/pbcore_xml_entry_spec.rb:169
rspec ./spec/services/aapb/batch_ingest/csv_reader_spec.rb:30
```
This commit pulls in the changes for the PbcoreXMLEntry spec from
develop that passes.
@ShanaLMoore
Copy link
Collaborator

i get the following trying to build this branch
image (32)

@ShanaLMoore
Copy link
Collaborator

i get the following trying to build this branch image (32)

This was resolved by commenting out these two lines:

https://github.com/WGBH-MLA/ams/blob/develop/Dockerfile#L69-L71

ShanaLMoore and others added 18 commits August 30, 2023 13:18
This work is still in progress. The valkyrie config file is commented out until we receive code for implementing adapters. We are using the object_factory config to utilize Valkyrie::ObjectFactory and lastly we added some changed to avoid errors when running an import.

Issue:
- scientist-softserv#97

Co-Authored-By: Kirk Wang <[email protected]>
Co-Authored-By: LaRita Robinson <[email protected]>
WIP commit. We need to figure out how to transform their custom actor code into transactions. The child works are not getting created because it is no longer using GBH's custom hyrax actor stacks.
In this commit we are setting the child titles to be the same as the parent's title.
Copy link
Collaborator

@kirkkwang kirkkwang left a comment

Choose a reason for hiding this comment

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

big one!

@orangewolf orangewolf merged commit 238a8b5 into develop Dec 5, 2023
6 checks passed
@orangewolf orangewolf deleted the ruby_tuesday_3.2_edition branch December 5, 2023 16:40
@orangewolf orangewolf restored the ruby_tuesday_3.2_edition branch December 5, 2023 16:41
@orangewolf orangewolf deleted the ruby_tuesday_3.2_edition branch December 21, 2023 01:19
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