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
#212
Drop git ls-files in gemspec
#212
Conversation
Can you give an example for such a case.
I don't like to add such undocumented gem which only has a README from an generator. |
|
Hi @timoschilling! Nice seeing you around :) Just to give you some context. I've been recently in touch with Debian ruby packagers and we're collaborating to try to make things easier for OS packagers while not compromising the experience for upstream maintainers. In particular, @utkarsh2102 is working as part of a GSoC program to build a tool to enforce a set of best practices that upstream maintainers can follow to make lifes of packagers easier. That is how Regarding
Originally, How about we add a spec to make sure that the By the way, @utkarsh2102, the |
By the way, this is the gem. Just linking because I suspect you may have found something similar in another location, since the README is definitely documented 😅. |
|
I found that exactly that repo, I just missed some summary about what does the cops are checking. |
|
Oh, ok, you're right! The README definitely needs a link to a list of rules and documentation for them, thanks for letting us know ❤️. |
b966f70
to
8e45d37
Compare
|
Hello, Thanks, @deivid-rodriguez, for that explanation, I should've done a better job myself at explaining this PR in the first place :/ And thanks for the feedback, @timoschilling, that certainly helps. I'll make the README more detailed 😄 |
and add rubocop-packaging as a dependency. Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
8e45d37
to
86601e5
Compare
|
Thanks so much @timoschilling and @utkarsh2102!! 💜 |
This reverts commit 68f6959.
Avoid using git to produce lists of files. Downstreams often need to build your package in an environment that does not have git (on purpose). Use some pure Ruby alternative, like
DirorDir.glob.Simultaneously, add
rubocop-packagingas a dependency.Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>