Skip to content

Conversation

@cottsay
Copy link
Member

@cottsay cottsay commented Sep 26, 2025

Basic Info

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

Description of contribution in a few bullet points

This commit extends vcs2l's tag detection scheme to support annotated tags, building on the existing support for lightweight tags. The new detection logic adds awareness of some git plumbing details regarding how the tag's message is stored in relation to the SHA it references.

I updated the test to use an annotated tag for one of the tags in the list to exercise this feature.

Specifically, this affects the vcs export command when --exact-with-tags is used.

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

Important

This is in "draft" against the cottsay/offline-tests branch until that PR is merged. I'll then rebase this against main for final review. Rebased

@cottsay cottsay self-assigned this Sep 26, 2025
@cottsay cottsay added the bug Something isn't working label Sep 26, 2025
nuclearsandwich
nuclearsandwich previously approved these changes Oct 3, 2025
@cottsay cottsay force-pushed the cottsay/offline-tests branch from b1aeee0 to 79c194d Compare October 11, 2025 19:12
Base automatically changed from cottsay/offline-tests to main October 12, 2025 09:14
@leander-dsouza leander-dsouza dismissed nuclearsandwich’s stale review October 12, 2025 09:14

The base branch was changed.

This commit extends vcs2l's tag detection scheme to support annotated
tags, building on the existing support for lightweight tags. The new
detection logic adds awareness of some git plumbing details regarding
how the tag's message is stored in relation to the SHA it references.

I updated the test to use an annotated tag for one of the tags in the
list to exercise this feature.

Signed-off-by: Scott K Logan <[email protected]>
@cottsay cottsay force-pushed the cottsay/annotated-tags branch from 086d2e5 to 6d1828e Compare December 8, 2025 20:14
@cottsay cottsay marked this pull request as ready for review December 8, 2025 20:15
@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 26.96%. Comparing base (28c24a4) to head (6d1828e).

Files with missing lines Patch % Lines
vcs2l/clients/git.py 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #74      +/-   ##
==========================================
- Coverage   26.98%   26.96%   -0.03%     
==========================================
  Files          31       31              
  Lines        2238     2240       +2     
  Branches      392      393       +1     
==========================================
  Hits          604      604              
- Misses       1574     1576       +2     
  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.

@claraberendsen claraberendsen merged commit a9022f0 into main Dec 10, 2025
18 checks passed
@claraberendsen claraberendsen deleted the cottsay/annotated-tags branch December 10, 2025 13:34
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.

5 participants