diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-12-11 18:00:19 -0500 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-12-11 18:00:19 -0500 |
commit | 7fd417718e2cde644fd6b6529ca30bfb10ba3a01 (patch) | |
tree | 6f647d8a28927ef08c3a7358137b19c026fbc115 /b4/command.py | |
parent | c41f94b0f5c9ff2f56eae628b30d5b59f785481e (diff) | |
download | b4-7fd417718e2cde644fd6b6529ca30bfb10ba3a01.tar.gz |
Rework b4 pr exploder for transparency log needs
Two services we'll be running in the near future:
1. Transparency log for all pull requests
2. Auto-exploder for pull requests that can send auto-exploded patches
to all the same recipients.
This requires quite a bit more testing and refinement, but the core of
the functionality is there.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Diffstat (limited to 'b4/command.py')
-rw-r--r-- | b4/command.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/b4/command.py b/b4/command.py index 1105a05..1e571a6 100644 --- a/b4/command.py +++ b/b4/command.py @@ -143,6 +143,12 @@ def cmd(): help='Convert a pull request into an mbox full of patches') sp_pr.add_argument('-o', '--output-mbox', dest='outmbox', default=None, help='Save exploded messages into this mailbox (default: msgid.mbx)') + sp_pr.add_argument('-p', '--public-inbox', dest='pi', default=None, + help='Append exploded messages into this public-inbox repository') + sp_pr.add_argument('-l', '--retrieve-links', action='store_true', dest='getlinks', default=False, + help='Attempt to retrieve any Link: URLs (use with -e)') + sp_pr.add_argument('-f', '--from-addr', dest='mailfrom', default=None, + help='Use this From: in exploded messages (use with -e)') sp_pr.add_argument('msgid', nargs='?', help='Message ID to process, or pipe a raw message') sp_pr.set_defaults(func=cmd_pr) |