Repository navigation
docs(remote_ref): include Gitea in provider trait docstrings - #3360
Conversation
worktrunk-bot
left a comment
There was a problem hiding this comment.
Docstring addition is accurate — Gitea is a real provider (src/git/remote_ref/gitea.rs returns "gitea"). One follow-on: the same docstring's parenthetical still names only GitHub and Azure DevOps as the indistinguishable-by-other-methods case, but gitea.rs also returns RefType::Pr and pull/{N}/head, so platform_label is now what separates a three-way collision. Suggestion inline to keep that clause in sync with the change this PR is making.
| /// tests that need to verify which provider was selected (the other trait | ||
| /// methods don't distinguish GitHub from Azure DevOps — both use | ||
| /// `RefType::Pr` and `pull/{N}/head`). |
There was a problem hiding this comment.
| /// tests that need to verify which provider was selected (the other trait | |
| /// methods don't distinguish GitHub from Azure DevOps — both use | |
| /// `RefType::Pr` and `pull/{N}/head`). | |
| /// tests that need to verify which provider was selected (the other trait | |
| /// methods don't distinguish GitHub, Gitea, and Azure DevOps — all three | |
| /// use `RefType::Pr` and `pull/{N}/head`). |
There was a problem hiding this comment.
Good catch — applied in 8ce0dd3. Confirmed against src/git/remote_ref/gitea.rs: ref_type() returns RefType::Pr and ref_path() returns pull/{N}/head, so it's a genuine three-way collision with GitHub and Azure DevOps that only platform_label separates. Updated the parenthetical to name all three.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
…indow (#3386) Five commits landed on `main` during #3385's CI wait, so they ship inside v0.66.0's tree but weren't in its changelog (the step-12 drift check in the release skill caught this). This adds the user-facing three to the 0.66.0 section: - **Codex activity markers** ([#3364](#3364), closes [#3362](#3362), thanks @ofek for reporting) - **SCP-style SSH remotes with custom usernames** ([#3371](#3371), thanks @fcoury-oai) - **Windows app-alias Settings path** ([#3372](#3372), thanks @ofek) Excluded as internal: #3360 (trait docstrings), #3379 (argv[0] display refactor). Every entry verified against the actual diffs. The v0.66.0 tag will point at this PR's squash commit so the tagged tree carries the complete changelog. 🤖 Generated with [Claude Code](https://claude.com/claude-code) > _This was written by Claude Code on behalf of Maximilian Roos_ Co-authored-by: Claude Fable 5 <[email protected]>
Nightly code-quality survey finding.
The
RemoteRefProvidertrait doc and theplatform_labelmethod doc insrc/git/remote_ref/mod.rsenumerate the supported platforms as GitHub, GitLab, and Azure DevOps — omitting Gitea. Gitea is a fully-fledged provider (GiteaProvider, whoseplatform_label()returns"gitea"), and the module-level docstring already lists all four platforms. This corrects the two stale enumerations so they match the module doc and the actual provider set.Pure documentation (doc-comment) change — no behavior change, so no regression test. Verified with
cargo check --lib.