-
Notifications
You must be signed in to change notification settings - Fork 0
Add a Gemfile / Gemfile.lock parser (Ruby) #7
Copy link
Copy link
Open
Labels
adapterNew format/source adapter (lockfile or doc source)New format/source adapter (lockfile or doc source)enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomerspythonPython sidecarPython sidecar
Description
Activity
Metadata
Metadata
Assignees
Labels
adapterNew format/source adapter (lockfile or doc source)New format/source adapter (lockfile or doc source)enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomerspythonPython sidecarPython sidecar
Why
Third format named in the README roadmap.
Gemfile.lockhas an exact-versionGEM/specssection that maps cleanly ontoPin.What to do
parse_gemfile(path)tosidecar/src/docchat_sidecar/lockfiles.py.Gemfile.lock'sspecs:block (exact versions) when present; fall back to parsinggem "rails", "~> 7.0"lines in theGemfileand running the range through_strip_range.Acceptance criteria
Pointers
lockfiles.py:Pin,_strip_range, and the existing parsers as templates.