[libvirt] [PATCH] git: add config file telling git-publish how to send patches

Peter Krempa pkrempa at redhat.com
Thu Apr 19 08:55:01 UTC 2018


On Wed, Apr 18, 2018 at 18:35:18 +0100, Daniel Berrange wrote:
> The "git-publish" tool is a useful git extension for sending patch
> series for code review. It automatically creates versioned tags
> each time code on a branch is sent, so that there is a record of
> each version. It also remembers the cover letter so it does not
> need re-entering each time the series is reposted.
> 
> With this config file present it is now sufficient[1] to run
> 
>   $ git publish
> 
> to send all patches in a branch to the list for review
> 
> [1] Assuming your $HOME/.gitconfig has an SMTP server listed
> at least e.g.
> 
>    [sendemail]
>         smtpserver = smtp.example.com
> 
> Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
> ---
>  .gitpublish | 3 +++
>  1 file changed, 3 insertions(+)
>  create mode 100644 .gitpublish
> 
> diff --git a/.gitpublish b/.gitpublish
> new file mode 100644
> index 0000000000..857f0d552c
> --- /dev/null
> +++ b/.gitpublish
> @@ -0,0 +1,3 @@
> +[gitpublishprofile "default"]
> +base = master
> +to = libvir-list at redhat.com

ACK

As a side-question. Does git-publish have the option to send GPG-signed
mails? I always wanted that, but not enough to hack it into
git-send-email.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180419/73c55f38/attachment-0001.sig>


More information about the libvir-list mailing list