Skip to content

b4: Add git notes for submission link trailers

Dan Williams ksummit workflows 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3b4: Move linktrailer to a LoreMessage propertysrc/b4/__init__.py+27 -210 replies
2/3b4, ty: Move git_get_rev_diff to __init__ for reuse in post processing shazamsrc/b4/__init__.py src/b4/ty.py+6 -60 replies
3/3mbox: Add a --add-link-note option to shazamsrc/b4/command.py src/b4/mbox.py+60 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] b4: Add git notes for submission link trailers

As detailed in patch3, after the fact / dynamic lore link generation continues to be awkward for managing work-in-progress patches across multiple versions. 'git notes' allows for workflow specific metadata that does not pollute upstream. The other desirable feature of notes is that they are displayed by default in cgit.

So the mainline history and upstream pull-requests remain clean, but work-in-progress series development can readily display which commits came from which messages.

Example:

$ b4 shazam -L [email protected]
$ git show | grep -A1 Notes
Notes:
    Link: https://patch.msgid.link/[email protected]

Dan Williams (3):
b4: Move linktrailer to a LoreMessage property
b4, ty: Move git_get_rev_diff to __init__ for reuse in post processing
shazam
mbox: Add a --add-link-note option to shazam

 src/b4/__init__.py | 53 +++++++++++++++++++++++++-----------------
 src/b4/command.py  |  2 ++
 src/b4/mbox.py     | 58 ++++++++++++++++++++++++++++++++++++++++++++++
 src/b4/ty.py       |  7 +-----
 4 files changed, 93 insertions(+), 27 deletions(-)

base-commit: f760a0468f91296750af072f7b3aed916f217e77

Signature · 1 line
2.51.0