Skip to content

fix(check): detect git gems in bundler layout #98

Open
seuros wants to merge 3 commits intomasterfrom
fix/check-git-layout
Open

fix(check): detect git gems in bundler layout #98
seuros wants to merge 3 commits intomasterfrom
fix/check-git-layout

Conversation

@seuros
Copy link
Copy Markdown
Contributor

@seuros seuros commented Feb 21, 2026

Found a small bug with ore check

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes ore check so it correctly detects git-sourced gems installed using Bundler’s standard directory layout.

Changes:

  • Update ore check to look for git gems under <vendor>/bundler/gems/<name>-<rev[:12]> instead of <vendor>/gems.
  • Add a regression test covering detection of a git gem in the Bundler git-gems directory layout.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
cmd/ore/commands/check.go Adjusts git gem path detection logic and adds a helper for 12-char git revisions.
cmd/ore/commands/check_git_test.go Adds a regression test ensuring ore check passes when git gems are in bundler/gems.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Member

@pboling pboling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot discoveries seem legit.

seuros added 2 commits March 18, 2026 00:28
Align ore check with install path conventions for git gems and add regression coverage for bundler/gems + short revision naming.
@seuros seuros force-pushed the fix/check-git-layout branch from 67b0c2e to a62b1dd Compare March 18, 2026 00:29
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.

3 participants