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
#175
Conversation
Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
|
Hi @utkarsh2102, I agree that using git inside the gemspec is not very nice. However, one purpose of this is making sure no unwanted files (e.g., vim swap files) are shipped in the gem. Any thoughts on how alternative ways to handle this? |
|
I'm now looking at using |
Co-authored-by: Utkarsh Gupta <utkarsh@debian.org>
Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
|
There, the CI goes green again! 🌮 |
|
Thanks, @utkarsh2102! |
|
Thanks Matijs, you're the best! 🔥❤️ |
|
I would support such a change for cucumber as well, but I'm not the only one to decide on it and the cucumber project has a rather complex repo set-up. Maybe opening an issue first to discuss this would be good. |
|
That makes sense, thank you! |
Hi @mvz,
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-packagingas a development_dependency which will ensure the best practices.Here's what it shows 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>