Add flowchart for managing pull requests

- Add flowchart for handling ready-to-merge pull requests

- Add diagram guidelines

Many thanks to Sean Molenaar for the idea and initial version of the
chart.

CC: Sean Molenaar <smillernl@me.com>
This commit is contained in:
Claudia 2020-09-06 00:35:26 +02:00
parent 39f0784108
commit f4d81fee1c
No known key found for this signature in database
GPG Key ID: 246AC3C0F10BE51F
5 changed files with 553 additions and 0 deletions

View File

@ -16,6 +16,11 @@ trim_trailing_whitespace = true
# trailing whitespace is crucial for patches # trailing whitespace is crucial for patches
trim_trailing_whitespace = false trim_trailing_whitespace = false
[**.drawio.svg]
indent_size = unset
indent_style = unset
insert_final_newline = false
[**.md] [**.md]
trim_trailing_whitespace = true trim_trailing_whitespace = true
x-soft-wrap-text = true x-soft-wrap-text = true

View File

@ -0,0 +1,45 @@
# Diagram Guidelines
## Preferred file format
For complex diagrams, use the `.drawio.svg` format.
Files with the `.drawio.svg` extension are SVG files with embedded [draw.io](https://www.diagrams.net/) source code. Using that format lends itself to a developer-friendly workflow: it is valid SVG, plays well with `git diff` and can be edited in lock-step using various online and offline flavours of draw.&#8203;io. If you use VS Code, you can use an [extension](https://marketplace.visualstudio.com/items?itemName=hediet.vscode-drawio) for draw.&#8203;io integration.
Files in the `.drawio.svg` format can be processed offline.
## Embedding a diagram into Markdown
To embed a `.drawio.svg` file into Markdown, use the same syntax as for any image. Example: `![My diagram](my-diagram.drawio.svg)`
Mind that GitHub doesnt allow styling in Markdown documents. Where styling is allowed (e. g. in the exported brew.sh version of the documentation), always set a background colour of `white` for the diagram. Thats the colour draw.&#8203;io assumes, and keeps the diagram easy to read in dark mode without further customization. You can use the CSS selector `img[src$=".drawio.svg"]` for styling.
## Example
Example for an SVG image embedded into Markdown:
```md
![Example diagram: Managing Pull Requests](assets/img/docs/managing-pull-requests.drawio.svg)
```
Result:
![Example diagram: Managing Pull Requests](assets/img/docs/managing-pull-requests.drawio.svg)
Example for styling (where allowed):
```css
img[src$=".drawio.svg"] {
background-color: white;
margin-bottom: 20px;
padding: 5%;
width: 90%;
}
@media (prefers-color-scheme: dark) {
img[src$=".drawio.svg"] {
filter: invert(85%);
-webkit-filter: invert(85%);
}
}
```

View File

@ -76,6 +76,10 @@ their branch is filled with nonsensical merges, then `rebase` and squash
the commits. Our main branch history should be useful to other people, the commits. Our main branch history should be useful to other people,
not confusing. not confusing.
Heres a flowchart for managing a PR which is ready to merge:
![Flowchart for managing pull requests](assets/img/docs/managing-pull-requests.drawio.svg)
### Testing ### Testing
We need to at least check that it builds. Use the [Brew Test Bot](Brew-Test-Bot.md) for this. We need to at least check that it builds. Use the [Brew Test Bot](Brew-Test-Bot.md) for this.

View File

@ -46,6 +46,7 @@
- [Building Against Non-Homebrew Dependencies](Building-Against-Non-Homebrew-Dependencies.md) - [Building Against Non-Homebrew Dependencies](Building-Against-Non-Homebrew-Dependencies.md)
- [How To Create (And Maintain) A Tap](How-to-Create-and-Maintain-a-Tap.md) - [How To Create (And Maintain) A Tap](How-to-Create-and-Maintain-a-Tap.md)
- [Brew Test Bot](Brew-Test-Bot.md) - [Brew Test Bot](Brew-Test-Bot.md)
- [Diagram Guidelines](Diagram-Guidelines.md)
- [Prose Style Guidelines](Prose-Style-Guidelines.md) - [Prose Style Guidelines](Prose-Style-Guidelines.md)
- [Type Checking with Sorbet](Typechecking.md) - [Type Checking with Sorbet](Typechecking.md)

View File

@ -0,0 +1,498 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="759px" height="936px" viewBox="-0.5 -0.5 759 936" content="&lt;mxfile host=&quot;bc6f822c-9eee-4864-9965-eff809b251a4&quot; modified=&quot;2020-09-06T12:53:34.431Z&quot; agent=&quot;5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.48.2 Chrome/78.0.3904.130 Electron/7.3.2 Safari/537.36&quot; etag=&quot;QzwiISMU3f0BqGHPz5RN&quot; version=&quot;13.1.3&quot;&gt;&lt;diagram id=&quot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1LMPHbbiWSxfkKoKs8+SWrsIP3vid3HJ8Wn9r5CkGcVou6unrM68mFy2suYtS1NixZSLvJj9V0lP7DN7B073DhUntuIi/o2J4a+7qrZw16i0Y9HwNEiwYvAqjFWjtwmhHtqfWfzqxWr9WaKdWK5BYUdE3iLPg69BCq5c8NquJ41mN5gMFgY53ySDQ0Yskl+XLvjJhsXL0IoHbgS9t58iE9SC/2TJVVviM2corbf0qwus0AtdBoAV8uyBQw1c+wNmd8OfQHZ0/7nGvI+5pb3qdr4hsnAbrtcCrCerdzuIDim5lJfV5QvpzVHyE0IqG7ndhQti6s4P09JFCALUO1PN3kuZZ7f97t8rPKFIJ3W/IXqWzcV1h3MdZ4LE1F/XLi//O7sJ3+h/aXthtEq+nA1dDyYW1dEDJvunLG8esbgIOSyZlkWV2G3B88L3KvRZaaiijr9WDtlJo8d2WRWLPVwW5sqCji8SnoE9niGZpTUrHyMd3cSpxu6QSy1NLtnYr/1LDJuru1kJyt1GenqlOs/VB2WrQLaD/PnJM5xu9xnR6zfN2PoebzFVnG2uyCWW/toEZMcGEDGdIt4uWO21qdHDUpps6nTTeiKND4gzqHPe5LcWp2yVZbK6rbpNT6S7bNTeLQraJ6j+4ca7brXLq58Vetya5Oj0+ZnvjDLKis2DMUmqR8b/DgMXP8BiDgzvNzmLk6npF1z2fgulp+cNCubssf57Jvv8H&lt;/diagram&gt;&lt;/mxfile&gt;">
<defs/>
<g>
<path d="M 119 721 L 119 761 L 7 761 L 7 181 L 62.63 181" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 67.88 181 L 60.88 184.5 L 62.63 181 L 60.88 177.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 119 231 L 119 344.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 119 349.88 L 115.5 342.88 L 119 344.63 L 122.5 342.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 252px; margin-left: 120px;">
<div style="box-sizing: border-box; font-size: 0; text-align: center; ">
<div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; background-color: #ffffff; white-space: nowrap; ">
Yes
</div>
</div>
</div>
</foreignObject>
<text x="120" y="255" fill="#000000" font-family="Helvetica" font-size="11px" text-anchor="middle">
Yes
</text>
</switch>
</g>
<path d="M 169 181 L 230.63 181" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 235.88 181 L 228.88 184.5 L 230.63 181 L 228.88 177.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 182px; margin-left: 198px;">
<div style="box-sizing: border-box; font-size: 0; text-align: center; ">
<div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; background-color: #ffffff; white-space: nowrap; ">
No, its
<br/>
fine
</div>
</div>
</div>
</foreignObject>
<text x="198" y="185" fill="#000000" font-family="Helvetica" font-size="11px" text-anchor="middle">
No, its...
</text>
</switch>
</g>
<path d="M 119 131 L 169 181 L 119 231 L 69 181 Z" fill="#ffffff" stroke="#000000" stroke-width="2" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 98px; height: 1px; padding-top: 181px; margin-left: 70px;">
<div style="box-sizing: border-box; font-size: 0; text-align: center; ">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">
Want to
<br/>
modify or
<br/>
rebase?
</div>
</div>
</div>
</foreignObject>
<text x="119" y="185" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">
Want to...
</text>
</switch>
</g>
<path d="M 119 411 L 119 634.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 119 639.88 L 115.5 632.88 L 119 634.63 L 122.5 632.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 119 411 L 74.5 411 Q 69 411 69 405.5 L 69 382.5 Q 69 377 74.32 375.62 L 163.68 352.38 Q 169 351 169 356.5 L 169 405.5 Q 169 411 163.5 411 Z" fill="#ffffff" stroke="#000000" stroke-width="2" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 98px; height: 1px; padding-top: 387px; margin-left: 70px;">
<div style="box-sizing: border-box; font-size: 0; text-align: center; ">
<div style="display: inline-block; font-size: 12px; font-family: system-ui-monospace,ui-monospace,Lucida Console,Menlo,monospace; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">
<p style="line-height: 120%">
brew pr-pull
</p>
</div>
</div>
</div>
</foreignObject>
<text x="119" y="391" fill="#000000" font-family="system-ui-monospace,ui-monospace,Lucida Console,Menlo,monospace" font-size="12px" text-anchor="middle">
brew pr-pull
</text>
</switch>
</g>
<path d="M 69 701 L 92 641 L 146 641 L 169 701 Z" fill="#ffffff" stroke="#000000" stroke-width="2" stroke-miterlimit="10" transform="translate(0,671)scale(1,-1)translate(0,-671)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe center; width: 98px; height: 1px; padding-top: 708px; margin-left: 70px;">
<div style="box-sizing: border-box; font-size: 0; text-align: center; ">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">
Modify and push
</div>
</div>
</div>
</foreignObject>
<text x="119" y="720" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">
Modify and push
</text>
</switch>
</g>
<path d="M 119 101 L 119 121 L 119 111 L 119 124.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 119 129.88 L 115.5 122.88 L 119 124.63 L 122.5 122.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<ellipse cx="119" cy="51" rx="50" ry="50" fill="#ffffff" stroke="#000000" stroke-width="2" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 98px; height: 1px; padding-top: 51px; margin-left: 70px;">
<div style="box-sizing: border-box; font-size: 0; text-align: center; ">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; word-wrap: normal; ">
Pull request on
<br/>
homebrew-core
</div>
</div>
</div>
</foreignObject>
<text x="119" y="55" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle" font-weight="bold">
Pull request on...
</text>
</switch>
</g>
<path d="M 627 181 L 707 181 L 707 634.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 707 639.88 L 703.5 632.88 L 707 634.63 L 710.5 632.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 172px; margin-left: 658px;">
<div style="box-sizing: border-box; font-size: 0; text-align: center; ">
<div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; background-color: #ffffff; white-space: nowrap; ">
No,
<br/>
it needs
<br/>
bottles
</div>
</div>
</div>
</foreignObject>
<text x="658" y="175" fill="#000000" font-family="Helvetica" font-size="11px" text-anchor="middle">
No,...
</text>
</switch>
</g>
<path d="M 577 231 L 577 341 L 577 464.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 577 469.88 L 573.5 462.88 L 577 464.63 L 580.5 462.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 252px; margin-left: 578px;">
<div style="box-sizing: border-box; font-size: 0; text-align: center; ">
<div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; background-color: #ffffff; white-space: nowrap; ">
Yes
</div>
</div>
</div>
</foreignObject>
<text x="578" y="255" fill="#000000" font-family="Helvetica" font-size="11px" text-anchor="middle">
Yes
</text>
</switch>
</g>
<path d="M 577 131 L 627 181 L 577 231 L 527 181 Z" fill="#ffffff" stroke="#000000" stroke-width="2" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 98px; height: 1px; padding-top: 181px; margin-left: 528px;">
<div style="box-sizing: border-box; font-size: 0; text-align: center; ">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">
Does it
<br/>
say 
<span style="font-family: &quot;system-ui-monospace&quot; , &quot;ui-monospace&quot; , &quot;lucida console&quot; , &quot;menlo&quot; , monospace">
bottle
<br/>
:unneeded
</span>
<br/>
?
</div>
</div>
</div>
</foreignObject>
<text x="577" y="185" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">
Does it...
</text>
</switch>
</g>
<path d="M 287 431 L 287 614.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 287 619.88 L 283.5 612.88 L 287 614.63 L 290.5 612.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 451px; margin-left: 287px;">
<div style="box-sizing: border-box; font-size: 0; text-align: center; ">
<div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; background-color: #ffffff; white-space: nowrap; ">
Yes
</div>
</div>
</div>
</foreignObject>
<text x="287" y="454" fill="#000000" font-family="Helvetica" font-size="11px" text-anchor="middle">
Yes
</text>
</switch>
</g>
<path d="M 337 381 L 420.63 381" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 425.88 381 L 418.88 384.5 L 420.63 381 L 418.88 377.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 382px; margin-left: 373px;">
<div style="box-sizing: border-box; font-size: 0; text-align: center; ">
<div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; background-color: #ffffff; white-space: nowrap; ">
No/not yet
<br/>
but I want
<br/>
to override
</div>
</div>
</div>
</foreignObject>
<text x="373" y="385" fill="#000000" font-family="Helvetica" font-size="11px" text-anchor="middle">
No/not yet...
</text>
</switch>
</g>
<path d="M 287 331 L 337 381 L 287 431 L 237 381 Z" fill="#ffffff" stroke="#000000" stroke-width="2" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 98px; height: 1px; padding-top: 381px; margin-left: 238px;">
<div style="box-sizing: border-box; font-size: 0; text-align: center; ">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">
CI passed?
</div>
</div>
</div>
</foreignObject>
<text x="287" y="385" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">
CI passed?
</text>
</switch>
</g>
<path d="M 477 431 L 477 611 L 657 611 L 657 207 L 610.37 207" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 605.12 207 L 612.12 203.5 L 610.37 207 L 612.12 210.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 452px; margin-left: 478px;">
<div style="box-sizing: border-box; font-size: 0; text-align: center; ">
<div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; background-color: #ffffff; white-space: nowrap; ">
Yes
</div>
</div>
</div>
</foreignObject>
<text x="478" y="455" fill="#000000" font-family="Helvetica" font-size="11px" text-anchor="middle">
Yes
</text>
</switch>
</g>
<path d="M 527 381 L 577 381 L 577 464.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 577 469.88 L 573.5 462.88 L 577 464.63 L 580.5 462.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 382px; margin-left: 546px;">
<div style="box-sizing: border-box; font-size: 0; text-align: center; ">
<div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; background-color: #ffffff; white-space: nowrap; ">
No
</div>
</div>
</div>
</foreignObject>
<text x="546" y="385" fill="#000000" font-family="Helvetica" font-size="11px" text-anchor="middle">
No
</text>
</switch>
</g>
<path d="M 477 331 L 527 381 L 477 431 L 427 381 Z" fill="#ffffff" stroke="#000000" stroke-width="2" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 98px; height: 1px; padding-top: 381px; margin-left: 428px;">
<div style="box-sizing: border-box; font-size: 0; text-align: center; ">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">
Version or
<br/>
revision
<br/>
bump?
</div>
</div>
</div>
</foreignObject>
<text x="477" y="385" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">
Version or...
</text>
</switch>
</g>
<path d="M 337 181 L 520.63 181" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 525.88 181 L 518.88 184.5 L 520.63 181 L 518.88 177.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 182px; margin-left: 368px;">
<div style="box-sizing: border-box; font-size: 0; text-align: center; ">
<div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; background-color: #ffffff; white-space: nowrap; ">
No, its
<br/>
a new
<br/>
formula
</div>
</div>
</div>
</foreignObject>
<text x="368" y="185" fill="#000000" font-family="Helvetica" font-size="11px" text-anchor="middle">
No, its...
</text>
</switch>
</g>
<path d="M 287 231 L 287 324.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 287 329.88 L 283.5 322.88 L 287 324.63 L 290.5 322.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 252px; margin-left: 288px;">
<div style="box-sizing: border-box; font-size: 0; text-align: center; ">
<div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; background-color: #ffffff; white-space: nowrap; ">
Yes
</div>
</div>
</div>
</foreignObject>
<text x="288" y="255" fill="#000000" font-family="Helvetica" font-size="11px" text-anchor="middle">
Yes
</text>
</switch>
</g>
<path d="M 287 131 L 337 181 L 287 231 L 237 181 Z" fill="#ffffff" stroke="#000000" stroke-width="2" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 98px; height: 1px; padding-top: 181px; margin-left: 238px;">
<div style="box-sizing: border-box; font-size: 0; text-align: center; ">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">
Existing
<br/>
formula?
</div>
</div>
</div>
</foreignObject>
<text x="287" y="185" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">
Existing...
</text>
</switch>
</g>
<path d="M 287 721 L 287 661 L 287 834.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 287 839.88 L 283.5 832.88 L 287 834.63 L 290.5 832.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 668px; margin-left: 287px;">
<div style="box-sizing: border-box; font-size: 0; text-align: center; ">
<div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; background-color: #ffffff; white-space: nowrap; ">
Yes
</div>
</div>
</div>
</foreignObject>
<text x="287" y="671" fill="#000000" font-family="Helvetica" font-size="11px" text-anchor="middle">
Yes
</text>
</switch>
</g>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 742px; margin-left: 288px;">
<div style="box-sizing: border-box; font-size: 0; text-align: center; ">
<div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; background-color: #ffffff; white-space: nowrap; ">
Yes
</div>
</div>
</div>
</foreignObject>
<text x="288" y="745" fill="#000000" font-family="Helvetica" font-size="11px" text-anchor="middle">
Yes
</text>
</switch>
</g>
<path d="M 337 671 L 650.63 671" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 655.88 671 L 648.88 674.5 L 650.63 671 L 648.88 667.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 672px; margin-left: 368px;">
<div style="box-sizing: border-box; font-size: 0; text-align: center; ">
<div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; background-color: #ffffff; white-space: nowrap; ">
No, its
<br/>
urgent
</div>
</div>
</div>
</foreignObject>
<text x="368" y="675" fill="#000000" font-family="Helvetica" font-size="11px" text-anchor="middle">
No, its...
</text>
</switch>
</g>
<path d="M 287 621 L 337 671 L 287 721 L 237 671 Z" fill="#ffffff" stroke="#000000" stroke-width="2" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 98px; height: 1px; padding-top: 671px; margin-left: 238px;">
<div style="box-sizing: border-box; font-size: 0; text-align: center; ">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">
Can it wait?
</div>
</div>
</div>
</foreignObject>
<text x="287" y="675" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">
Can it wait?
</text>
</switch>
</g>
<path d="M 237 901 L 260 841 L 314 841 L 337 901 Z" fill="#ffffff" stroke="#000000" stroke-width="2" stroke-miterlimit="10" transform="translate(0,871)scale(1,-1)translate(0,-871)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe center; width: 98px; height: 1px; padding-top: 908px; margin-left: 238px;">
<div style="box-sizing: border-box; font-size: 0; text-align: center; ">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">
Accept and wait for test-bot
</div>
</div>
</div>
</foreignObject>
<text x="287" y="920" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">
Accept and wait...
</text>
</switch>
</g>
<path d="M 707 701 L 662.5 701 Q 657 701 657 695.5 L 657 672.5 Q 657 667 662.32 665.62 L 751.68 642.38 Q 757 641 757 646.5 L 757 695.5 Q 757 701 751.5 701 Z" fill="#ffffff" stroke="#000000" stroke-width="2" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 98px; height: 1px; padding-top: 677px; margin-left: 658px;">
<div style="box-sizing: border-box; font-size: 0; text-align: center; ">
<div style="display: inline-block; font-size: 12px; font-family: system-ui-monospace,ui-monospace,Lucida Console,Menlo,monospace; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">
<p>
brew
<br/>
pr-publish
</p>
</div>
</div>
</div>
</foreignObject>
<text x="707" y="681" fill="#000000" font-family="system-ui-monospace,ui-monospace,Lucida Console,Menlo,monospace" font-size="12px" text-anchor="middle">
brew...
</text>
</switch>
</g>
<path d="M 527 531 L 550 471 L 604 471 L 627 531 Z" fill="#ffffff" stroke="#000000" stroke-width="2" stroke-miterlimit="10" transform="translate(0,501)scale(1,-1)translate(0,-501)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe center; width: 98px; height: 1px; padding-top: 538px; margin-left: 528px;">
<div style="box-sizing: border-box; font-size: 0; text-align: center; ">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">
Push the button
</div>
</div>
</div>
</foreignObject>
<text x="577" y="550" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">
Push the button
</text>
</switch>
</g>
</g>
<switch>
<g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/>
<a transform="translate(0,-5)" xlink:href="https://desk.draw.io/support/solutions/articles/16000042487" target="_blank">
<text text-anchor="middle" font-size="10px" x="50%" y="100%">
Viewer does not support full SVG 1.1
</text>
</a>
</switch>
</svg>

After

Width:  |  Height:  |  Size: 40 KiB