-
Notifications
You must be signed in to change notification settings - Fork 225
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
Define Ruby Compatibility Policy #482
Comments
I think there are three questions here:
For a concrete example of this sort of decision, consider the discussion in #458 in light of where things stood eight months ago and where they stand now. Considering those questions, I suggest a soft cutoff at the same time as Ruby EOL's a version. If it's to be later, then (based on when RubyCritics dependencies updated after the Ruby 2.7 EOL) it should be no more than six months after the EOL. After the soft cutoff date date, RubyCritic's minimum version requirement should then move (to the oldest non-EOL'd Ruby version) when a runtime dependency no longer supports the EOL'd Ruby version. When doing so, it might also be worth cutting a "final" EOL-supporting release that more tightly locks the dependency versions (such as @nunosilva800 suggested in #477 (comment)). For example, RubyCritic 4.9.1 could include #480 plus hold Reek to |
There's a side but related issue around numbering: would bumping RubyCritic's major release numbering when Ruby bumps help with conveying the support situation? For example:
|
I agree.
I don't see the need to set a period "in calendar days". This repo is not a fast changing one, so there is less need to communicate with the world, how things are going.
Imo, only when feature work / dependencies updates are suggested.
The looser this gem is in terms of versioning the dependencies, the easier it is for projects to bundle it in.
I don't see that as helpful. If this was a library that must closely follow the ruby version, or an ecosystem of libraries under an organisation (like the myriad of react-xxx libs, or devise-123 plugins), then that is a helpful thing to do for the sake of clearer communication with the community. Let's not forget that for most gems, and therefore RubyCritic as well, the ideal UX for a developer is to do |
For consideration: #489 |
Hi there,
I think it'd be a good idea to define a compatibility/maintenance policy for the Ruby versions of
rubycritic
and I think that it should follow the Ruby core team's policy.I don't see why our (considerably smaller) maintenance team should try to support versions that are not supported by the Ruby maintenance team.
Ruby 2.7 has been EOLed for almost one year now:
Source: https://www.ruby-lang.org/en/downloads/branches/
I think we should only maintain Rubies that are currently supported:
That would mean that right now we should only support:
The advantage of something like this is that we could use the latest version of our dependencies (e.g. reek) -- Right now people expect RubyCritic to work with Ruby 2.7 (e.g. #477) and I think that's an unrealistic expectation.
I'd like to know your thoughts on this (especially @nunosilva800)
Thanks,
Ernesto
The text was updated successfully, but these errors were encountered: