summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Poldrack <git@moritz.sh>2022-06-21 18:25:50 +0200
committerRobin Jarry <robin@jarry.cc>2022-06-24 21:41:45 +0200
commit8197f42dba6d5cc3beb9509a6b21f6b8c0ea18ee (patch)
treedd76f253a00eed1cbbd4063d92596d39021f06e6
parent1dd5c7bfc43686bdaa6b6ca6b3853a9e52238a17 (diff)
downloadaerc-8197f42dba6d5cc3beb9509a6b21f6b8c0ea18ee.tar.gz
aerc-8197f42dba6d5cc3beb9509a6b21f6b8c0ea18ee.zip
integrations: add sourcehut section
Add keybind to manage sourcehut patchsets via email headers. Signed-off-by: Moritz Poldrack <git@moritz.sh>
-rw-r--r--integrations/index.md1
-rw-r--r--integrations/sourcehut.md22
2 files changed, 23 insertions, 0 deletions
diff --git a/integrations/index.md b/integrations/index.md
index 2c87f311..45d5762b 100644
--- a/integrations/index.md
+++ b/integrations/index.md
@@ -6,3 +6,4 @@ title: "aerc-wiki: Integrations"
- [notmuch](notmuch.md)
- [password-manager](password-manager.md)
- [pgp](pgp.md)
+- [sourcehut](sourcehut.md)
diff --git a/integrations/sourcehut.md b/integrations/sourcehut.md
new file mode 100644
index 00000000..ca674773
--- /dev/null
+++ b/integrations/sourcehut.md
@@ -0,0 +1,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.