-
Notifications
You must be signed in to change notification settings - Fork 983
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
Drop git ls-files
in gemspec
#1183
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @utkarsh2102, thanks for taking care of faraday after doing the same for faraday_middleware.
I'd happily merge this change as well, but I noticed a require path was missed in the change.
0327f3d
to
078742c
Compare
Hi @iMacTia,
Thanks, I missed that, apologies. But has been fixed already! 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @utkarsh2102 and sorry for the slow reply, I was travelling over the past days.
I'm still not 100% sure the current changes are compatible.
I'm particularly worried by comparing the old files list with the new one:
# OLD
files = %w[CHANGELOG.md LICENSE.md README.md Rakefile examples lib spec]
# NEW
files = Dir['CHANGELOG.md', '{examples,lib}/**/*', 'LICENSE.md', 'README.md']
I'm not sure the Rakefile
and the spec
folder are still included with the syntax change, but I may be wrong?
More than happy to have a similar PR for faraday-http
as well ❤️ !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I missed pressing "Submit Review". Dang.
Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
078742c
to
235aa5e
Compare
Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
Hi @iMacTia 👋🏻
No problem at all! Thanks for all the reviews, you're still very fast and kind! 💫
No, you're absolutely right! I didn't quite understand the relevance of shipping
Great, thank you so much, again! ❤️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good now and all comments addressed 🎉 !
LGTM
Hi @iMacTia,
Thanks for your work on this!
Whilst maintaining this in Debian, we found that this library relies on
git
to produce a list of files. Using git in gemspec files in problematic, in general.It also adds the Packaging extension of RuboCop.
More about it can be found on https://docs.rubocop.org/rubocop-packaging/
Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>