Skip to content

feat(git): support generic private repository hosts - #301

Open
YogeLiu wants to merge 2 commits into
Tencent:mainfrom
YogeLiu:feat/generic-git-provider
Open

feat(git): support generic private repository hosts#301
YogeLiu wants to merge 2 commits into
Tencent:mainfrom
YogeLiu:feat/generic-git-provider

Conversation

@YogeLiu

@YogeLiu YogeLiu commented Aug 20, 2026

Copy link
Copy Markdown

Summary

  • add a transport-only git provider for unknown full HTTPS and SSH repository URLs
  • preserve nested namespaces and delegate private-repository authentication to system Git credential helpers or SSH agents
  • support clone, pull, and push while explicitly falling back to manual MR/PR creation for host-specific API operations
  • extend provider configuration, remote import parsing, tests, and documentation

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature causing existing behavior to change)
  • Documentation only
  • Refactor / internal cleanup

Test Plan

  • npm run typecheck passes
  • npm test passes (1991 tests)
  • npm run build passes
  • Added/updated tests for provider detection, URL parsing, clone behavior, schema compatibility, and unsupported host API operations

Related Issues

Closes #300

Notes for Reviewers

Generic hosts intentionally do not attempt platform authentication, repository creation, or MR/PR APIs. Git remains the credential boundary, embedded HTTPS credentials are rejected, and branch push succeeds before the existing manual-PR fallback is shown.

@jeff-r2026
jeff-r2026 requested a review from m0Nst3r873 August 20, 2026 03:27
@YogeLiu
YogeLiu marked this pull request as ready for review August 20, 2026 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: support self-hosted private Git repositories via a generic provider

1 participant