Skip to content

[pull] main from Tencent:main - #1

Merged
pull[bot] merged 3 commits into
Walternater:mainfrom
Tencent:main
Aug 24, 2026
Merged

pull[bot] merged 3 commits into
Walternater:mainfrom
Tencent:main

Conversation

@pull

@pull pull Bot commented Aug 24, 2026 •

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

YogeLiu and others added 3 commits August 24, 2026 11:54
* feat(git): support generic private repository hosts

* fix(git): address generic provider review comments

* fix(git): harden generic provider portability

---------

Co-authored-by: liuyuanchuang <[email protected]>
Co-authored-by: yoge <[email protected]>
…#307)

Adds a GitLab provider (REST API v4, no external CLI) supporting gitlab.com
and self-hosted / enterprise instances: clone, create repo, create MR with
reviewer resolution, fetch MR data, and list group repos.

Detection order is known host -> self-hosted GitLab (GITLAB_URL /
TEAMAI_GITLAB_HOST) -> the generic `git` transport provider, across HTTPS,
ssh:// and scp-style URLs. This complements the generic provider from #301,
which is transport-only and cannot create repos or merge requests.

Includes review fixes: clone and MR URLs honour the instance scheme, port and
path prefix; GITLAB_URL is validated and resolved lazily; the MR fetcher
queries the host named by the URL; `/-/` route paths are stripped when parsing
repo input; group namespaces resolve by exact path and fail rather than
falling back to the personal namespace; group listing includes subgroups;
blank tokens read as absent. Wires GitLab into the MR-import dispatcher, the
org-import provider resolution, shallowClone token injection, and doctor.

Co-Authored-By: Shin Yang <[email protected]>
…ut (#308)

Two follow-up fixes for the generic Git provider (#301):

- parseGenericGitRepoInput accepted scp-style URLs whose user field
  carried credentials (e.g. "oauth2:token@host:group/repo.git"),
  returning them verbatim while the HTTPS path already rejected embedded
  credentials. A colon in the SSH user field is a credential, never a
  real login, so reject it. Normal "git@host:..." logins are unaffected.
- Clone timeout was 120s, shorter than the 180s default used by the
  shallow-clone path in clone.ts. Large self-hosted repos over slow/VPN
  links could time out where the equivalent path would not. Align to 180s.

Co-authored-by: Claude Fable 5 <[email protected]>
@pull pull Bot locked and limited conversation to collaborators Aug 24, 2026
@pull pull Bot added the ⤵️ pull label Aug 24, 2026
@pull
pull Bot merged commit 40180e5 into Walternater:main Aug 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants