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.

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 <logans@cottsay.net>
@cottsay cottsay self-assigned this Sep 26, 2025
@cottsay cottsay added the bug Something isn't working label Sep 26, 2025
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