Skip to content
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

Don't include development dependencies in info files #24

Merged
merged 2 commits into from
Jun 25, 2024

Conversation

rmosolgo
Copy link
Contributor

What was the end-user or developer problem that led to this PR?

#22 -- clients are forced to download (and resolve) development dependencies of gems served with these indexes.

What is your fix for the problem, implemented in this PR?

Filter out development dependencies in the info file. I noticed that this is what RubyGems.org does, for example: https://rubygems.org/info/graphql (doesn't have development_dependencies)

Make sure the following tasks are checked

I noticed that some tests on master are already failing on rubygems:> 1.3.1 -- I didn't attempt to fix those.

@rmosolgo
Copy link
Contributor Author

I just manually applied this patch to my server and I can confirm it fixed the issue reported #22

lib/rubygems/indexer.rb Outdated Show resolved Hide resolved
Co-authored-by: Samuel Giddins <[email protected]>
@segiddins segiddins merged commit 5e52eba into rubygems:main Jun 25, 2024
14 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants