diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2022-07-20 10:26:55 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2022-07-20 10:26:55 -0400 |
commit | f0fad6ec193c39626e90d01dcbb6541c66b9fdef (patch) | |
tree | 5c256a0b04128d0ddd3d15bf2607ce39b709e5a1 /tests/samples | |
parent | 45aaaf33f00e3d05456394775802d7551b20757c (diff) | |
download | b4-f0fad6ec193c39626e90d01dcbb6541c66b9fdef.tar.gz |
ez: refactor based on initial feedback
Significant refactor of (formerly) "b4 submit" based on initial
feedback:
1. Split "b4 submit" into three different commands:
- ez-series: for managing the series cover letters, tracking info, etc
- ez-trailers: for retrieving trailers and updating commits (works on
any branch, not just ez-series branches)
- ez-send: for sending branches managed by ez-series
2. Refactor to support multiple cover letter strategies:
- the default "commit" strategy that keeps the cover letter in an
empty commit (should be backwards-compatible with "b4 submit")
- the non-invasive "branch-description" strategy that keeps the cover
letter in the branch.branchname.description configuration setting and
tracking in branch.branchname.b4-tracking
- the not-yet-implemented "tag" strategy that mimics the behaviour of
git-publish
The strategy can be set via b4.ez-cover-strategy variable, e.g. in
your .gitconfig:
[b4]
ez-cover-strategy = branch-description
Note, that converting from one strategy to another doesn't work and
will probably explode in weird ways right now.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Diffstat (limited to 'tests/samples')
0 files changed, 0 insertions, 0 deletions