Repository navigation
Support GitCode merge requests in link_pull_request / watch #41834
cms19859230182-lang
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Idea
Add GitCode (
gitcode.com) as a supported host for T3’s PR linking and watching (link_pull_request/link_pull_requests/watch_pull_request), and ideally forConnectScmauth.Today GitHub PRs work fine; GitCode MR URLs are rejected as
invalidUrls, and connecting SCM only offered GitHub in our session.Why it matters
A lot of openEuler /
src-openeulerpackaging work lives only on GitCode. Without link/watch, agents can’t use the PR panel, check wakeups, or settle-on-merge for that workflow and have to poll GitCode’s HTTP API manually.What we hit
link_pull_requests→ those URLs land ininvalidUrlslink_pull_requestwithhost: gitcode.com→ project is on a host with no known pull request URL shapeHost notes (for implementers)
https://gitcode.com/<owner>/<repo>/merge_requests/<n>https://gitcode.com/api/v5/repos/<owner>/<repo>/pulls(and/pulls/<n>)Related
Originally filed as a bug for the hard reject: #41833 — moving here per CONTRIBUTING (feature requests → Ideas). Happy to close #41833 in favor of this discussion.
All reactions