Re: [PATCH v3] git-publish: add profile

Albert Esteve
2025-03-06T16:15:44Z

On Wed, Mar 5, 2025 at 5:45 PM Matias Ezequiel Vara Larsen
<mvaralar@redhat.com> wrote:
>
> Add git-publish profile and document how to use it.
>
> Signed-off-by: Matias Ezequiel Vara Larsen <mvaralar@redhat.com>
> ---
> v2 -> v3:
> * remove uppercase and the line split and use italic
> v1 -> v2:
> * add link to git-publish
> * document that the project contains a profile already
> ---
> .gitpublish | 3 +++
> README.md | 15 +++++++++++++++
> 2 files changed, 18 insertions(+)
> create mode 100644 .gitpublish

Reviewed-by: Albert Esteve <aesteve@redhat.com>

>
> diff --git a/.gitpublish b/.gitpublish
> new file mode 100644
> index 0000000..d412896
> --- /dev/null
> +++ b/.gitpublish
> @@ -0,0 +1,3 @@
> +[gitpublishprofile "default"]
> +base = master
> +to = virtio-comment@lists.linux.dev
> diff --git a/README.md b/README.md
> index c06caf6..b521978 100644
> --- a/README.md
> +++ b/README.md
> @@ -110,6 +110,21 @@ git format-patch -o proposal1/ HEAD~1..
> git send-email --to=virtio-comment@lists.linux.dev proposal1/0001-*
>
>
> + Optionally, you can use <a
> +href="https://github.com/stefanha/git-publish">git-publish to submit a
> +patch. This project already contains a git-publish profile that will
> +configure some fields, e.g., To field with the right address. After you have
> +installed git-publish, the procedure is the following:
> +
> +
> +
> +git checkout master -b my-feature
> +# work on new commits, add your 'Signed-off-by' lines to each
> +git publish
> +# more work, rebase on master, ...
> +git publish # will send a v2
> +
> +
>
> When to use the virtio-comment mailing list:
>
> --
> 2.42.0
>