Repository navigation
Add tag metadata display and annotation support - #3
Merged
Merged
Conversation
Add TagInfo struct to store tag metadata (authordate, subject, authorname). Update list command to display tags with metadata in tab-separated format. Implement Format method for TagInfo to encapsulate output formatting. Handle empty metadata fields by displaying "-". 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Add TestGetListWithTagInfo to test tag list with metadata. Add TestTagInfoFormat to test Format method with normal and empty values. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Add DoWithEnv method to Cmder interface. Add prepareAuthorEnv to set git author from config. Update tag creation to use author environment variables. Add tests for DoWithEnv method. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Remove subject field (not useful in most cases) - Change from author to tagger info for consistency - Display tagger date and name for annotated tags - Show empty strings for lightweight tags instead of "-" 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add go 1.23 to go.mod to specify supported Go version - Update lint workflow to use Go 1.23.x instead of stable - Update release workflow to use Go 1.23.x and --clean flag - Fix goreleaser deprecated --rm-dist flag (use --clean instead) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
linyows
force-pushed
the
add-annotation
branch
from
October 4, 2025 13:58
9262df4 to
c17a25f
Compare
- Update golangci-lint version from 'latest' to v2.5.0 - v2.4.0+ supports Go 1.25 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- golangci-lint v2 requires golangci-lint-action v7 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add explicit error handling for fmt.Fprintf calls - Ignore errors where appropriate using blank identifier 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add error handling for all remaining fmt.Fprintf calls 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
Tag Creation
DoWithEnvmethod to Cmder interfaceprepareAuthorEnvto set git author from configList Command Enhancement
Testing
Test plan
go run cmd/git-semv/main.go listdisplays metadata🤖 Generated with Claude Code