Skip to content

Conversation

@arnavsharma990
Copy link

Description

This PR fixes Issue #1645 where projects using sbt-ci-release were not being indexed because their generated POMs used a shorthand SCM connection format (scm:git@... instead of scm:git:git@...).

Changes

  • Updated ScmInfoParser.scala: Modified the regex to make the provider field (git:) optional.
  • Refactoring: Renamed parse to parseRawConnection to better describe its function.
  • Testing: Added a regression test case in ScmInfoParserTests.scala to ensure scm:git@github.com:... is parsed correctly.

Verification

Ran the relevant test suite locally:
sbt "data/testOnly scaladex.data.cleanup.ScmInfoParserTests"
Result: All tests passed.

Screenshot 2025-12-01 at 8 11 04 PM

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.

1 participant