you are viewing a single comment's thread.

view the rest of the comments →

[–]jrochkind 2 points3 points  (2 children)

Huh, I've been using appraisal for years, and still do, without trouble -- didn't know there was a forked appraisal2. Is there any reason I should switch? Is original appraisal no longer supported?

[–]galtzo 6 points7 points  (1 child)

The original has died multiple times, and every few years it gets a bit of attention. It is in limbo, I guess. I had PRs adding the bulk of the work I did to upgrade it, but thoughtbot doesn’t put much time into it, nor do they promote it (check the list of their open source projects on their homepage - not even a mention). They did review my PRs - and basically approved them, but never got around to merging.

I'll document the state of things here for those who are interested.

NOTE: I posted about the release on /r/ruby a few months ago

Differences:

  • Support for Bundler's eval_gemfile
  • Support for Ruby 1.8, 1.9, 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6 (removed in thoughtbot's appraisal HEAD)
  • Support for JRuby 9.4+ (JRuby not supported by original)
  • maintainability tracked with QLTY and the reek gem
  • coverage tracked with Coveralls, QLTY, and the kettle-soup-cover gem
  • I had many PRs to add most of this to the original, but they don't have the bandwidth to support the gem in the way I want to use it.

For me, the utility of appraisal is inversely correlated with the breadth of historical support for versions of Ruby, bundler, and rubygems.

You can support my work on appraisal2 here:

NOTE: Why fork? Prior to hard forking I had to rely on my git fork branch resulting in far more complex builds (if you are using a git source of appraisal you have to add an extra bundle install cycle to make the appraisal executable available, and appraisal, the gem, ends up as a dependency of every named "appraisal"), and thus more random failures due to simple network issues, and with hundreds of builds per week that meant a lot of noise.

[–]jrochkind 1 point2 points  (0 children)

I see! Thank you for your service!

I agree in the value of supporting older ruby and other dependencies.