Feature Request: support repositories hosted on external Git providers (for example Azure DevOps Repos)

オープン
#2,680 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
git
領域
backend, devtools

調査の方向性

ソースファイル、テスト、エントリーポイントは指定されていないため、まず SDK 内でセッションの作成とリポジトリ認証の処理を探します。完了の条件は、呼び出し元が提供する認証情報を使って到達可能な非 GitHub remote を利用でき、利用できないホスト固有の機能については明確で文書化されたエラーが発生することです。

索引モデルが issue の本文から書いたものです。

説明

Problem

Session creation and repository-aware behavior assume a repository hosted on GitHub. Many organizations adopting Copilot keep a substantial amount of source in other Git hosts and cannot migrate it in the near term. Azure DevOps Repos is a common example: an organization may use GitHub for some work while its primary product repositories remain in Azure DevOps.

Those repositories are currently out of reach for agent sessions, which forces teams either to exclude their primary codebases from agent workflows or to mirror them into GitHub, which introduces drift and additional governance burden.

What is missing

  • No supported way to point a session at a repository hosted on a different Git provider, such as Azure DevOps Repos.
  • No documented contract describing which capabilities require GitHub hosting (for example pull request creation or issue linking) and which only require a Git working tree.

Proposed behavior

  • A session can target any reachable Git remote, authenticated through a caller-supplied credential.
  • Capabilities that genuinely require GitHub-specific APIs degrade explicitly, with a clear capability error, rather than failing in an undifferentiated way.
  • Code-level capabilities that only need a working tree — reading, editing, running commands, running tests, producing a diff or a patch — work regardless of the host.
  • Documentation states clearly which features are host-agnostic and which are GitHub-specific.

Example scenario

An organization's application code lives in Azure DevOps Repos while its shared open-source dependencies live on GitHub. The team wants the agent to investigate and patch the Azure DevOps repository and return a reviewable change, using an Azure DevOps credential supplied by the caller.

Acceptance criteria

  • A repository on a non-GitHub Git remote, such as Azure DevOps Repos, can be used as the session working tree.
  • Authentication for that remote is caller-supplied and not required to be a GitHub credential.
  • Host-specific capabilities return a clear, documented capability error when unavailable.
主要言語
Java
スター
10.5k
フォーク
1.5k
平均マージ
1日 12時間
マージ済み PR(30日)
133

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

github/copilot-sdk のほかの issue

github/copilot-sdk の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。