fix(repository-shorthand): support repo provider prefix#1472
Merged
michaelfaith merged 5 commits intomainfrom Jan 4, 2026
Merged
fix(repository-shorthand): support repo provider prefix#1472michaelfaith merged 5 commits intomainfrom
michaelfaith merged 5 commits intomainfrom
Conversation
This change updates all fixers to support different repo providers, and the providers prefix in general. Now if you have repo defined in object syntax with either bitbucket, gitlab, github, or gist urls, the fixer will construct a shorthand string using the corresponding provider prefix. On the other side, if you have repo defined as a shorthand and have configured to prefer object, it'll use the correct url based on the provider prefix, if specified (assume github if not).
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1472 +/- ##
==========================================
- Coverage 97.39% 97.12% -0.27%
==========================================
Files 28 28
Lines 575 592 +17
Branches 169 172 +3
==========================================
+ Hits 560 575 +15
- Misses 1 2 +1
- Partials 14 15 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Owner
Author
|
@JoshuaKGoldberg not urgent, but curious if this one may have flown under your radar, with all the other release-related work? |
JoshuaKGoldberg
approved these changes
Jan 4, 2026
Collaborator
JoshuaKGoldberg
left a comment
There was a problem hiding this comment.
Looking good, sorry for the delay! 👏
Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
michaelfaith
pushed a commit
that referenced
this pull request
Jan 4, 2026
🤖 I have created a release *beep* *boop* --- ## [0.88.0](v0.87.1...v0.88.0) (2026-01-04) ### ⚠ BREAKING CHANGES * add require-repository rule ([#1491](#1491)) ### Features * add require-repository rule ([#1491](#1491)) ([4d802c5](4d802c5)) ### Bug Fixes * **repository-shorthand:** support repo provider prefix ([#1472](#1472)) ([fb5f10a](fb5f10a)) * **valid-repository:** support dashes and dots in repo shorthand ([#1468](#1468)) ([8b83678](8b83678)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.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.
PR Checklist
repository-shorthandfixer doesn't support repo provider prefix #1431status: accepting prsOverview
This change updates all fixers to support different repo providers, and the providers prefix in general. Now if you have repo defined in object syntax with either bitbucket, gitlab, github, or gist urls, the fixer will construct a shorthand string using the corresponding provider prefix. On the other side, if you have repo defined as a shorthand and have configured to prefer object, it'll use the correct url based on the provider prefix, if specified (assume github if not).