summaryrefslogtreecommitdiff
path: root/integrations/sourcehut.md
blob: ca674773fa634f474df9d54ef73b78770fd5a69c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
title: "aerc-wiki: Integrations/SourceHut"
---

# Sourcehut Lists

This config entry allows setting
[headers](https://man.sr.ht/lists.sr.ht/#email-controls) to easily set the
status on patches.

```ini
[compose::review]
<C-r> = :choose \
    -o a approved "header X-Sourcehut-Patchset-Update APPROVED" \
    -o R Rejected "header X-Sourcehut-Patchset-Update REJECTED" \
    -o r needs-revision "header X-Sourcehut-Patchset-Update NEEDS_REVISION" \
    -o s superseded "header X-Sourcehut-Patchset-Update SUPERSEDED" \
    -o A Applied "header X-Sourcehut-Patchset-Update APPLIED" \
    <Enter>
```

To set a status hit Ctrl+R(eview) before sending the message.