-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Remove git
gem dependency.
#1946
Conversation
Folks are reporting that fpm cannot be installed easily (or at all) on older systems because a transitive dependency(1) rejects ruby versions older than 2.6. (1) rubygem git depends on addressable which depends on public_suffix Since the `git` dependency is only used in the `gem` source when using a git repo as a installation source, and that usage seems pretty simple -- clone a repo, checkout a branch, etc -- it feels safe to remove this dependency while still keeping the same functionality. Fixes #1923
To test this, I converted the
File listing and package info is the same output on both branches. Using |
@liger1978 This change may impact your work on #1558/#1557. I did some tests to make sure the |
Are we planning to release 1.14.3 on rubygems? How should I install the latest version which has this fix? |
@khagesh I'm working on a release. Takes a bit to write the changelog <3 |
fpm 1.15.0 is released and contains this improvement. |
Thank you so much @jordansissel ! |
Folks are reporting that fpm cannot be installed easily (or at all) on older systems because a transitive dependency(1) rejects ruby versions older than 2.6.
(1) rubygem git depends on addressable which depends on public_suffix
Since the
git
dependency is only used in thegem
source when using a git repo as a installation source, and that usage seems pretty simple -- clone a repo, checkout a branch, etc -- it feels safe to remove this dependency while still keeping the same functionality.Fixes #1923