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

Add makeRubyLock builtin #997

Closed
dsalaza4 opened this issue Jan 17, 2023 · 1 comment
Closed

Add makeRubyLock builtin #997

dsalaza4 opened this issue Jan 17, 2023 · 1 comment
Assignees

Comments

@dsalaza4
Copy link
Contributor

dsalaza4 commented Jan 17, 2023

makeRubyGemsEnvironment requires to specify a rubyGems parameter with the entire pinned dependency tree. This is a huge headache as one has to go through each dependency in RubyGems and get its sha256. Aditionally, one still has to get a Gemfile.lock just to know the dependency tree for a set of direct dependencies.

Let's do what we do with Python:

  1. Add a makeRubyLock (like makePythonLock) that automatically generates a lock file.
  2. Make makeRubyGemsEnvironment receive such lock to create the environment.
@dsalaza4 dsalaza4 self-assigned this Jan 17, 2023
@dsalaza4
Copy link
Contributor Author

rubygems/rubygems#3379

dsalaza4 added a commit that referenced this issue Jan 18, 2023
feat(back): #997 make ruby lock
github-actions bot added a commit that referenced this issue Jan 18, 2023
feat(back): #997 make ruby lock
dsalaza4 added a commit that referenced this issue Jan 18, 2023
feat(back): #997 support sources
github-actions bot added a commit that referenced this issue Jan 18, 2023
feat(back): #997 support sources
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

No branches or pull requests

1 participant