Repository navigation
GitLab: show your own picture even for commits GitLab doesn't know (1.1.3) - #3
Merged
Merged
Conversation
- The token owner's verified emails and avatar come from /api/v4/user and /api/v4/user/emails (once per run); commits with any of those emails get that picture, no commit lookup needed - A 401 there drops the token like the other lookups - LOOKUP_VERSION 4: the "no picture" cached for your email by 1.1.2 is asked again - Version 1.1.3; README and TESTING.md updated; tests for the owner lookup and the tokenless case Co-Authored-By: Claude Opus 5.5 <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.
With 1.1.2, every GitLab author showed a picture except the token owner.
Cause
Fix
/api/v4/userand/api/v4/user/emails, asked once per run. No commit lookup is needed for them.LOOKUP_VERSIONis now 4, so the "no picture" cached by 1.1.2 is asked again.Tests
🤖 Generated with Claude Code