Project

General

Profile

Tracker #8978

Drop Ruby 1.8 support in hammer

Added by Michael Moll over 4 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Hammer core
Target version:
% Done:

100%

Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

As outlined in https://groups.google.com/forum/#!topic/foreman-dev/A5Xf1lrTjDw it's difficult to maintain Ruby 1.8 compatibility on newer systems.

For getting hammer packaged on Debian/jessie without big pain, at least:

  • fastercsv and rb-readline need to be dropped as dependencies (that's for now a noop code wise, AFAIK)
  • locale is in the OS repositories with version 2.1.0 (memoization was removed, not sure about the consequences, but seems fairly minor to me)
nice to have:
  • gettext (needed for the i18n extraction/generation rake task) is at 3.1.2

Related issues

Related to Foreman - Bug #8874: gettext 3.1.13+ causes locale tx-update errors due to .edit.po filesClosed2015-01-08
Related to Packaging - Tracker #8977: Foreman packages for Debian/jessieClosed2015-01-15

Blocked by Packaging - Feature #8979: Package hammer with ruby193 sclClosed2015-01-15
Blocked by Packaging - Feature #8996: Package hammer against Ruby 1.9Closed2015-01-16
Blocks Hammer CLI - Refactor #11280: Revert Ruby 1.8 specificsClosed2015-08-04

History

#1 Updated by Michael Moll over 4 years ago

#2 Updated by Michael Moll over 4 years ago

  • Blocked by Feature #8979: Package hammer with ruby193 scl added

#3 Updated by Michael Moll over 4 years ago

  • Related to Bug #8874: gettext 3.1.13+ causes locale tx-update errors due to .edit.po files added

#4 Updated by Dominic Cleal over 4 years ago

  • Blocked by Feature #8996: Package hammer against Ruby 1.9 added

#5 Updated by Michael Moll over 4 years ago

FYI, for Debian/jessie rb-readline and fastercsv are just built and delivered for now to satisfy the dependency in the gemspec. That works.

#6 Updated by Michael Moll over 4 years ago

  • Blocks deleted (Tracker #8977: Foreman packages for Debian/jessie)

#7 Updated by Michael Moll over 4 years ago

  • Related to Tracker #8977: Foreman packages for Debian/jessie added

#8 Updated by Karim Boumedhel about 4 years ago

has there been any progress on this issue?

#10 Updated by Dominic Cleal about 4 years ago

#11 Updated by Dominic Cleal about 4 years ago

All packages are migrated to newer Ruby versions, so Hammer can now drop 1.8 support whenever. I'd suggest just removing 1.8 from the test matrices in Jenkins and closing this tracker. I filed a ticket to make tidyups.

#12 Updated by Dominic Cleal about 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
  • Legacy Backlogs Release (now unused) set to 63

1.8.7 has been removed from Jenkins tests.

Also available in: Atom PDF