tools.linux.kernel.org archive mirror
 help / color / mirror / Atom feed
* b4 prep --cleanup
@ 2023-03-03 19:02 Konstantin Ryabitsev
  0 siblings, 0 replies; only message in thread
From: Konstantin Ryabitsev @ 2023-03-03 19:02 UTC (permalink / raw)
  To: tools

Hi, all:

A new feature just landed in b4, which will be useful to people who are
sending a lot of series. The command will archive and delete the branch itself
and all related tags that are tracking the previously sent revisions.

    b4 prep --cleanup 

This will list all b4-managed branches. Pick the branch you want to clean up:

    b4 prep --cleanup b4/feature-that-got-merged

This will do the following:

1. find and display all sent/* tags associated with this branch
2. confirm that you want it deleted
3. create a tarball containing the cover letter, tracking info, and mbx files
   with patches for the latest series, as well as for all previously sent
   revisions
4. save the tarball in your ~/.local/share/b4/prep-archived/[change-id].tar.gz
5. delete the branch and tags from the local repo

At some point in the future I may also add ability to unarchive the patches
form the tarball created by this operation.

Regards,
-K

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-03 19:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-03 19:02 b4 prep --cleanup Konstantin Ryabitsev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).