You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
It would be easiest to watch branches via github webhook (or if other platforms are supported), otherwise you would need to poll potentially hundreds of git repos, which is a lot more than what the bot is doing today.
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.
The text was updated successfully, but these errors were encountered: