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

Fedora 5 support #617

Merged
merged 8 commits into from Dec 5, 2018
Merged

Fedora 5 support #617

merged 8 commits into from Dec 5, 2018

Conversation

escowles
Copy link
Contributor

@escowles escowles commented Nov 17, 2018

Adds Fedora 5 compatibility, via a new fedora_version parameter to the Fedora metadata and storage adapters.

@escowles escowles changed the title Fedora 5 support WIP: Fedora 5 support Nov 17, 2018
@tpendragon
Copy link
Collaborator

This is hilarious. I think it should be an adapter configuration though, so people can talk to both, if it's this easy.

@escowles escowles force-pushed the fedora_5_escowles branch 2 times, most recently from 87d3ef4 to 2207765 Compare November 17, 2018 10:58
name: Run Specs (Fedora 5 compatibility)
command: bundle exec rake docker:spec
environment:
FCREPO_VERSION: 5.0.0-RC-1
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@mbklein Is there an easy way to configure the version of Fedora that the Docker container uses?

Copy link
Member

Choose a reason for hiding this comment

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

Looking into it, but first I have to get a Fedora 5 container built.

@escowles escowles force-pushed the fedora_5_escowles branch 4 times, most recently from 8fa81fc to e7dd8b9 Compare November 17, 2018 18:22
@escowles escowles added this to the Valkyrie 2.0 milestone Dec 3, 2018
This isn't how we'll want to really do it, because we're likely going to
need two adapters, but this at least gets the ball rolling.
@escowles escowles changed the title WIP: Fedora 5 support Fedora 5 support Dec 5, 2018
Copy link
Contributor

@awead awead left a comment

Choose a reason for hiding this comment

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

Looks good overall. Just one question on one of the tests.

attribute :nested_resource
[4, 5].each do |fedora_version|
context "fedora #{fedora_version}" do
let(:fedora_version) { 4 }
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this overriding fedora_version on line 6 above?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't think so, but just in case I changed it.

@awead awead merged commit 2e882ef into master Dec 5, 2018
@awead awead deleted the fedora_5_escowles branch December 5, 2018 18:05
@mbklein
Copy link
Member

mbklein commented Dec 7, 2018

🎉

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.

None yet

4 participants