RFC Support for other public inbox forges
Get series with b4
b4 am [email protected] change-id 20250828-sourcehut-d9ad7b5bf519Versions newest first
- v1 RFC Latest3 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | debug: Add logging for requestssrc/ | +5 | 0 replies | |
| 2/3 | Use decompress on compressed data only.src/ | +9 | 0 replies | |
| 3/3 | More flexible HTTP clientsrc/ | +12 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH RFC b4 0/3] Support for other public inbox forges
I really like b4, but would like to use it against Sourcehut. Sourcehut has the same "public inbox", email driven cooperation that public-inbox.org fronts.
This series adds support for other forges that support public-inbox like email interfaces, Sourcehut in particular. I'm submitting this with the hope to get acceptance on the concept and feedback on the particular implementation.
With this change users of Sourcehut can use b4 am/shazam with this config:
[b4]
midmask = https://lists.sr.ht/~trygvis/testing123/%%3c%s%%3e/mbox linkmask = https://lists.sr.ht/~trygvis/testing123/%%3c%s%%3e
Sourcehut uses mbox URLs on the form
https://lists.sr.ht/~user/list/<mid>/mbox
leading to slightly hard to read quoting.
Sourcehut doesn't suppor searching mailboxes by patch-id, but I'll work there if there is interrest on the b4 side at for support other forges than public-inbox.
I will update the documentation once this series is evolved a little bit more.
---
Trygve Laugstøl (3):
debug: Add logging for requests
Use decompress on compressed data only.
More flexible HTTP client
src/b4/__init__.py | 29 +++++++++++++++++++++-------- src/b4/command.py | 5 +++++ 2 files changed, 26 insertions(+), 8 deletions(-)
---
base-commit: 50721cdd62ee283ac573e596a499f24aafee5b16
change-id: 20250828-sourcehut-d9ad7b5bf519
Best regards,
Signature · 1 line
Trygve Laugstøl <[email protected]>