<p>The primary use of DrahtBot is to add automated comments to a PR that list other PRs that conflict with the PR you are viewing. It was written and is managed by Marco Falke but it is not currently open source (it is &quot;ugly&quot; code and wasn't written with the intention to make it open source). Marco stated on IRC:</p>
<blockquote>
<p>DrahtBot is basically a <code>while true; ./label_rebase.py ; done</code>, where the Python script just imports a Github API library and then tags all pulls needing rebase</p>
</blockquote>
<p>There could be additional features added to it in future. One idea Jeremy Rubin had on IRC is an additional label that shows when the PR was last updated so reviewers could assess whether merge conflicts with master had been addressed before reviewing. Another idea Jeremy had was counting commit tagged ACKs for the current Git tip as a heuristic for reviewers and maintainers.</p>

CC BY-SA 4.0
2021-03-12T13:27:38.083Z
2021-03-12T13:32:49.780Z
2021-03-12T13:32:49.780Z
Michael Folkson
<p>I see DrahtBot on a lot of Bitcoin Core pull requests (PRs) e.g. <a href="https://github.com/bitcoin/bitcoin/pull/21404#issuecomment-795722299" rel="nofollow noreferrer">here</a>. What does it do? Is it open source?</p>

<bitcoin-core-development><bitcoincore-review>
What is DrahtBot on Bitcoin Core pull requests?
Michael Folkson
# What is DrahtBot on Bitcoin Core pull requests?

(Asked by: username_0 on 2021-03-12)

I see DrahtBot on a lot of Bitcoin Core pull requests (PRs) e.g. [here](https://github.com/bitcoin/bitcoin/pull/21404#issuecomment-795722299). What does it do? Is it open source?

**Tags:** bitcoin-core-development, bitcoincore-review


---

## 1 answers

### Answer by username_0 on 2021-03-12. Score: 2 | Accepted answer

The primary use of DrahtBot is to add automated comments to a PR that list other PRs that conflict with the PR you are viewing. It was written and is managed by Marco Falke but it is not currently open source (it is "ugly" code and wasn't written with the intention to make it open source). Marco stated on IRC:

> DrahtBot is basically a `while true; ./label_rebase.py ; done`, where the Python script just imports a Github API library and then tags all pulls needing rebase

There could be additional features added to it in future. One idea Jeremy Rubin had on IRC is an additional label that shows when the PR was last updated so reviewers could assess whether merge conflicts with master had been addressed before reviewing. Another idea Jeremy had was counting commit tagged ACKs for the current Git tip as a heuristic for reviewers and maintainers.


---

