Skip to content

Log git repo and branch refs for each WATcloud URI#15

Open
alexboden wants to merge 1 commit intomainfrom
claude/kind-chaplygin
Open

Log git repo and branch refs for each WATcloud URI#15
alexboden wants to merge 1 commit intomainfrom
claude/kind-chaplygin

Conversation

@alexboden
Copy link

Summary

  • Include the source repository path and branch/tag refs in the log output when listing discovered WATcloud URIs
  • Removes -h flag from git grep to preserve ref/filename prefixes, then parses each line to extract the ref name
  • Attaches repo path and ref info to each WATcloudURI object so the log line shows where each asset was found

Before:

INFO - watcloud://v1/sha256:c3b72b5...?name=server-room-light-min.jpg

After:

INFO - watcloud://v1/sha256:c3b72b5...?name=server-room-light-min.jpg (repo: /path/to/repo, refs: main, feature-branch)

Test plan

  • All 7 existing tests pass

🤖 Generated with Claude Code

Include the source repository path and branch/tag refs in the
log output when listing discovered WATcloud URIs, making it easier
to trace which repo and branch each asset originates from.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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