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

Convert Polyamorous into a module #1099

Closed
scarroll32 opened this issue Jan 12, 2020 · 11 comments · Fixed by #1113
Closed

Convert Polyamorous into a module #1099

scarroll32 opened this issue Jan 12, 2020 · 11 comments · Fixed by #1113

Comments

@scarroll32
Copy link
Member

scarroll32 commented Jan 12, 2020

Previously Polyamorous was a separate gem. It has been moved into the Ransack repo, which is a great step forward.

However, it is still a gem inside the Ransack repo. What needs to be done is to convert this code purely into a module. A later refactoring can more closely merge the code, but for now the work needed is:

@scarroll32
Copy link
Member Author

I'm thinking the Polyamorous gem should be removed from Rubygems also. Any thoughts on this?

@tvdeyen
Copy link
Contributor

tvdeyen commented Jan 13, 2020

I'm thinking the Polyamorous gem should be removed from Rubygems also. Any thoughts on this?

I think we should release polyamorous 2.3.1 and 2.3.2 so that ransack 2.3.1 and 2.3.2 can actually be installed via bundler (#1098)

Then release a ransack 3.0 with included polyamorous (once this issue has been resolved) and leave the old polyamorous gems on rubygems for old projects and do not release a 3.0

That way we do not break peoples CIs and local development

@tvdeyen
Copy link
Contributor

tvdeyen commented Jan 13, 2020

And probably include some deprecation warnings in the 2.3.2 releases of polyamorous telling the people about the removal and inclusion in ransack 3.0

@tvdeyen
Copy link
Contributor

tvdeyen commented Jan 13, 2020

@seanfcarroll I am a little confused about this issue, actually. In #1002 you decided to make polyamorous a seperate gem. There was some discussion around to use polyamorous with other gems as well (rzane/baby_squeel#97).

Is this issue about reverting #1002? I am willing to work on this, but I am not sure what is the goal here? Maybe @gregmolnar can shed some light?

@gregmolnar
Copy link
Member

@tvdeyen see my reply here: #1098 (comment)

@tvdeyen
Copy link
Contributor

tvdeyen commented Jan 13, 2020

@gregmolnar @seanfcarroll can this be closed now?

@scarroll32
Copy link
Member Author

@tvdeyen this is part of the work the Upwork contracter will be doing. https://www.upwork.com/ab/applicants/1215911323418488832/job-details

@gregmolnar
Copy link
Member

gregmolnar commented Jan 13, 2020

Do we need a contractor for this? @tvdeyen offered to work on it, he just need guidance about what's needed to be done. I could also sort this, as it shouldn't be a big deal.
As for removing polyamorous from rubygems, I wouldn't do that, so people can use the old releases.

@scarroll32
Copy link
Member Author

@gregmolnar It is preferable if the community handles these issues, but Ransack has been broken for a long time.

#1081

The contractor has already accepted the job, so I don't know what the best approach is here.

How about we let the contractor do the work and community members can deal with some of the many other Ransack issues?

@scarroll32
Copy link
Member Author

The other option is to try and cancel the Upwork contract, but I don't know what is involved there. If someone submits a PR to at least fix #1081 that would resolve the immediate problems...

@gregmolnar
Copy link
Member

gregmolnar commented Jan 13, 2020

If there is already a contractor, than it wouldn't make sense to cancel the contract.
As for #1081, we should make CI pass for 6.0.1 and 6.0.2. That would probably also fix it for 6-0-stable, but since we rely on internal APIs, spending time fixing issue on an unreleased version might end up wasted work if things are changing again before a release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants