Track a remote branch for an MSC
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 30/100
調査の方向性
@mscbot watch <repository URL> <branch> コマンドと、ボットに既存する MSC PR-branch の更新経路から始め、リモートブランチと fast-forward 更新がどのように処理されるかを追跡します。設定されたリモートブランチから、force-pushing なしで PR ブランチを更新でき、互換性のある Git サーバーでホストされているブランチも対象にできれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Is your feature request related to a problem? Please describe.
In situations where the original author may want to delegate an MSC, and where - due to security reasons, or likewise - the author is unable to grant the delegate author access to the PR's origin repository, it may want to have the PR branch be updated from a remote branch instead, such as the delegate author's own fork.
In other situations, an organisation may want to - for legal reasons, or likewise - develop the commits on their own git server, but have them be fetched to the MSC's PR branch.
Describe the solution you'd like.
For these problems, I'd like the mscbot to be able to be set up to watch a remote branch. Be it on github, or on any compatible git server.
The original author of the PR has to setup the watch, via @mscbot watch <repository URL> <branch>.
After this, the MSC bot will only try to fetch commits from that branch via a git pull-like mechanism. That is to say; it will not force-push the PR branch with updates from the remote branch, it will only append new commits that were present in the remote branch, but not in the PR branch.
In other words, the MSC bot will only fast-forward the PR branch to the remote branch.
- 主要言語
- Python
- スター
- 7
- フォーク
- 2
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
matrix-org/mscbot-python のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
matrix-org/mscbot-python#39 ·
-
enhancement good first issue
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
matrix-org/mscbot-python#38 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
matrix-org/mscbot-python#36 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
matrix-org/mscbot-python#35 · コメント 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
matrix-org/mscbot-python#34 ·
matrix-org/mscbot-python の issue をすべて見る
似ている issue
-
New Internshipオープンnew_internship
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
-
[BUG] Reports tab: "Unban" button tooltip shows raw `{{ip}}` placeholder instead of the IP addressオープンbug javascript ui
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
bunkerity/bunkerweb#4001 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
PedestrianDynamics/pyFDS-Evac#476 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
google/differential-privacy#516 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
adobe-fonts/source-serif#153 ·