Skip to content

Make git version detection more robust#101

Open
cottsay wants to merge 1 commit intomainfrom
cottsay/git-version-check
Open

Make git version detection more robust#101
cottsay wants to merge 1 commit intomainfrom
cottsay/git-version-check

Conversation

@cottsay
Copy link
Member

@cottsay cottsay commented Feb 24, 2026

Basic Info

Info Please fill out this column
Ticket(s) this addresses N/A
Primary OS tested on Fedora, Ubuntu, Windows
Is this a breaking change? No
Does this PR contain AI generated software? No

Description of contribution in a few bullet points

This detection was previously updated to account for the 'windows' string appearing in the git version. It turns out that this practice isn't Windows-specific, and we should support non-digit version parts more generically.

Description of how this change was tested

  • Performed linting validation using pre-commit run --all
  • Verified that the code passes all tests using python3 -m pytest -s -v test

This detection was previously updated to account for the 'windows'
string appearing in the git version. It turns out that this practice
isn't Windows-specific, and we should support non-digit version parts
more generically.

Signed-off-by: Scott K Logan <logans@cottsay.net>
@cottsay cottsay self-assigned this Feb 24, 2026
@cottsay cottsay added the bug Something isn't working label Feb 24, 2026
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 26.99%. Comparing base (a4f3a63) to head (b10c5df).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #101      +/-   ##
==========================================
+ Coverage   26.96%   26.99%   +0.03%     
==========================================
  Files          31       31              
  Lines        2240     2241       +1     
  Branches      393      393              
==========================================
+ Hits          604      605       +1     
  Misses       1576     1576              
  Partials       60       60              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants