Drop git ls-files in gemspec#179
Conversation
Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
titusfortner
left a comment
There was a problem hiding this comment.
The reason for git is so that it respects the gitignore file. Unless bundler has a new default? rubygems/bundler#5810
Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
|
Hi @titusfortner,
Fair enough. I have tweaked this PR so that it respects the .gitignore file.
We (Debian core devs) are working with bundler/rubygems maintainers to work on this so that it doesn't use git by default! |
|
Hey sorry, I was communicating via phone last night and didn't get all of the context for this and what you are trying to do. Thank you for the contribution, and sorry for the extra back and forth. |
Hi @kapoorlakshya (again! 😄),
Thanks for working on this! ❤️
However, while maintaining this in Debian, we found that this library relies on
gitto list the files which could be done via pure Ruby alternative -- which is what this PR does.As an addition, this PR makes sure that this gem only ships the required files to the end-users and not other things which are not needed by them! 🚀
Also, added rubocop-packaging as a development_dependency which will ensure the best practices.
Here's what it showed us:
And this PR fixes the same, which helps us in shipping this in Debian! 🎉
Hope this would make sense and you'll be open to this change 💯
Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>