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 Blacklight to 8.0 #2164

Open
jrochkind opened this issue May 30, 2023 · 1 comment
Open

update Blacklight to 8.0 #2164

jrochkind opened this issue May 30, 2023 · 1 comment
Labels
1-2-weeks 1-2 week of developer time estimate

Comments

@jrochkind
Copy link
Contributor

jrochkind commented May 30, 2023

Will require some messing with our customizations.

In particular, I am aware that the way we customize "constraints" will not work in Blacklight 8. (for our additional "public domain-only" limit, plus our custom editable query constraint)

(I actually now wonder if we need to have all that custom code for the public domain constraint -- what if we just add an ordinary pre-existing facet constraint instead? I am not sure why we didn't!)

Upgrade to Blacklight 8 is necessary to use latest version of view_component gem. At some point something happened in view_component that broke Blacklight which Blacklight had to fix -- I am not sure exactly what version of view_component, but I believe the fix happened only in BL8.


Status -- holding off, due to challenges

Resolved some problems including applying constraint and other overrides in a way that works with BL8. But we're still having a lot of challenges and blockers.

We have done what preparation we can in master branch still on BL7. And have a draft not-ready branch with where we have been able to get to on BL8 at #2238

Why is it a problem to be stuck on BL 7

We are stuck on the dependent view_component gem version 2.x, so can't get bugfixes and new features from there, and may eventually have problems with Rails compatibility. Because Blacklight 7 isn't compatible with view_component 2.

This is potentially a big problem. Issue asking if it might be possible to backport view_component 3.x compat to BL7 at projectblacklight/blacklight#3052

But we'd also be stuck on Rails 7.0 anyway, when we really want to upgrade to Rails 7.1 when it comes out.

Challenges/reasons to be wary

Current known blockers:

@jrochkind
Copy link
Contributor Author

There are some backports being made to a Blacklight-7 release branch in Blacklight -- if there is a BL release made with these, this is a good step prior to full upgrade to BL8, and would let us do things like update to ViewComponent 3.x

eg

@jrochkind jrochkind added the 1-2-weeks 1-2 week of developer time estimate label Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1-2-weeks 1-2 week of developer time estimate
Projects
None yet
Development

No branches or pull requests

1 participant