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

Add Shrine storage engine #2198

Merged
merged 33 commits into from
Jun 25, 2024
Merged

Add Shrine storage engine #2198

merged 33 commits into from
Jun 25, 2024

Conversation

Floppy
Copy link
Collaborator

@Floppy Floppy commented May 23, 2024

Integrating Shrine to make storage provider-agnostic, and enable a few other features. Ground work for #1670.

Things to still change:

  • Removing models
  • Removing files
  • Uploading files
  • Downloading files
  • Moving models within a library
  • Moving models between libraries

@Floppy Floppy added the improvement Refactors and behind-the-scenes improvements label May 23, 2024
@Floppy Floppy force-pushed the shrine branch 3 times, most recently from a9452c4 to a5aa2f0 Compare June 24, 2024 14:56
Floppy added 24 commits June 25, 2024 14:08
and reorder model and library so they're made before that happens
@Floppy
Copy link
Collaborator Author

Floppy commented Jun 25, 2024

upload doesn't actually deal with data structures at all at the moment, it just dumps the files on disk and runs a scan. So that's fine.

@Floppy Floppy marked this pull request as ready for review June 25, 2024 15:14
@Floppy
Copy link
Collaborator Author

Floppy commented Jun 25, 2024

This all seems to be working, which is pretty surprising! Going to bake it in testing for a while, but I think it can merge in and go onto my personal environment.

Copy link

codeclimate bot commented Jun 25, 2024

Code Climate has analyzed commit 833b47c and detected 1 issue on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 1

The test coverage on the diff in this pull request is 93.2% (50% is the threshold).

This pull request will bring the total coverage in the repository to 86.2% (0.1% change).

View more on Code Climate.

@Floppy Floppy merged commit 29541a7 into main Jun 25, 2024
10 checks passed
@Floppy Floppy deleted the shrine branch June 25, 2024 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Refactors and behind-the-scenes improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant