Add a git-publish configuration file
PATCH 1/1 Add a git-publish configuration file
git-publish [1] is a convenient tool to send patches and has been popular among QEMU developers. Recently it has been made available in Fedora official repo thanks to Stefan's work.
One nice feature of the tool is a per-project configuration with profiles, especially in which the cccmd option is a handy method to create the Cc list.
[1]: https://github.com/stefanha/git-publish
--- .gitpublish | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 .gitpublish
.gitpublish new file +57 -0
@@ -0,0 +1,57 @@ +# +# Common git-publish profiles that can be used to send patches to QEMU upstream. +# +# See https://github.com/stefanha/git-publish for more information +# +[gitpublishprofile "qemu"] +base = master +prefix = PATCH +to = [email protected] +cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null + +[gitpublishprofile "qemu-rfc"] +base = master +prefix = RFC PATCH +to = [email protected] +cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null + +[gitpublishprofile "qemu-stable"] +base = master +prefix = PATCH +to = [email protected] +cc = [email protected] +cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null + +[gitpublishprofile "qemu-trivial"] +base = master +prefix = PATCH +to = [email protected] +cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null + +[gitpublishprofile "qemu-block"] +base = master +prefix = PATCH +to = [email protected] +cc = [email protected] +cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null + +[gitpublishprofile "qemu-arm"] +base = master +prefix = PATCH +to = [email protected] +cc = [email protected] +cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null + +[gitpublishprofile "qemu-s390"] +base = master +prefix = PATCH +to = [email protected] +cc = [email protected] +cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null + +[gitpublishprofile "qemu-ppc"] +base = master +prefix = PATCH +to = [email protected] +cc = [email protected] +cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null
Signature · 1 line
2.14.3
Hi
Quoted 9 lines · Fam Zheng
git-publish [1] is a convenient tool to send patches and has been popular among QEMU developers. Recently it has been made available in Fedora official repo thanks to Stefan's work.
One nice feature of the tool is a per-project configuration with profiles, especially in which the cccmd option is a handy method to create the Cc list.
It would be worth to update README "Submitting patches" with an example
Quoted 31 lines
Signed-off-by Fam Zheng <[email protected]>--- .gitpublish | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 .gitpublish.gitpublish new file +18
-0@@ -0,0 +1,57 @@ +# +# Common git-publish profiles that can be used to send patches to QEMU upstream. +# +# See https://github.com/stefanha/git-publish for more information +# +[gitpublishprofile "qemu"] +base = master +prefix = PATCH +to = [email protected] +cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null + +[gitpublishprofile "qemu-rfc"] +base = master +prefix = RFC PATCH +to = [email protected] +cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null + +[gitpublishprofile "qemu-stable"]
.gitpublish line 28
Quoted 10 lines
.gitpublish new file +10
-0+base = master +prefix = PATCH +to = [email protected] +cc = [email protected] +cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null + +[gitpublishprofile "qemu-trivial"] +base = master +prefix = PATCH +to = [email protected]
cc [email protected] ?
Quoted 33 lines
.gitpublish new file +29
-1+cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null + +[gitpublishprofile "qemu-block"] +base = master +prefix = PATCH +to = [email protected] +cc = [email protected] +cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null + +[gitpublishprofile "qemu-arm"] +base = master +prefix = PATCH +to = [email protected] +cc = [email protected] +cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null + +[gitpublishprofile "qemu-s390"] +base = master +prefix = PATCH +to = [email protected] +cc = [email protected] +cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null + +[gitpublishprofile "qemu-ppc"] +base = master +prefix = PATCH +to = [email protected] +cc = [email protected] +cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null --2.14.3
Signature · 1 line
Marc-André Lureau
Quoted 7 lines · Marc-André Lureau
Hi
Quoted 4 lines · Fam Zheng
git-publish [1] is a convenient tool to send patches and has been popular among QEMU developers. Recently it has been made available in Fedora official repo thanks to Stefan's work.
Quoted 7 lines
Quoted 5 lines
One nice feature of the tool is a per-project configuration with profiles, especially in which the cccmd option is a handy method to create the Cc list.
It would be worth to update README "Submitting patches" with an example
Good idea!
The workflow for a new patch series is:
$ git checkout -b my-feature ...work on feature... $ git publish
Your patch series has been tagged as my-feature-v1 if you need to refer back to it in the future.
Sending v2:
$ git checkout my-feature # same topic branch ...work on feature... $ git publish
Your patch series has been tagged as my-feature-v2.
Quoted 7 lines
Quoted 7 lines
Signed-off-by Fam Zheng <[email protected]>--- .gitpublish | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 .gitpublish
Quoted 12 lines
.gitpublish line 6
Quoted 12 lines
.gitpublish new file +6
-0@@ -0,0 +1,57 @@ +# +# Common git-publish profiles that can be used to send patches to QEMU upstream. +# +# See https://github.com/stefanha/git-publish for more information +# +[gitpublishprofile "qemu"]
Please rename the "qemu" profile to "default". This way no --profile needs to be given:
$ git publish
The default profile settings can be overridden by command-line options and branch-specific settings.
Quoted 27 lines · Stefan Hajnoczi
Quoted 7 lines · Marc-André Lureau
Hi
Quoted 4 lines · Fam Zheng
git-publish [1] is a convenient tool to send patches and has been popular among QEMU developers. Recently it has been made available in Fedora official repo thanks to Stefan's work.
Quoted 7 lines
Quoted 5 lines
One nice feature of the tool is a per-project configuration with profiles, especially in which the cccmd option is a handy method to create the Cc list.
It would be worth to update README "Submitting patches" with an example
Good idea!
The workflow for a new patch series is:
$ git checkout -b my-feature ...work on feature... $ git publishYour patch series has been tagged as my-feature-v1 if you need to refer back to it in the future.
Quoted 7 lines
Sending v2:
$ git checkout my-feature # same topic branch ...work on feature... $ git publishYour patch series has been tagged as my-feature-v2.
Will add a paragraph in README.
Quoted 24 lines
Quoted 8 lines
Quoted 8 lines
Signed-off-by Fam Zheng <[email protected]>--- .gitpublish | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 .gitpublishQuoted 12 lines
.gitpublish line 6
Quoted 12 lines
.gitpublish new file +6
-0@@ -0,0 +1,57 @@ +# +# Common git-publish profiles that can be used to send patches to QEMU upstream. +# +# See https://github.com/stefanha/git-publish for more information +# +[gitpublishprofile "qemu"]Please rename the "qemu" profile to "default". This way no --profile needs to be given:
Quoted 4 lines
$ git publishThe default profile settings can be overridden by command-line options and branch-specific settings.
Yes, good idea.
Fam
Quoted 7 lines · Marc-André Lureau
Hi
Quoted 4 lines · Fam Zheng
git-publish [1] is a convenient tool to send patches and has been popular among QEMU developers. Recently it has been made available in Fedora official repo thanks to Stefan's work.
Quoted 7 lines
Quoted 5 lines
One nice feature of the tool is a per-project configuration with profiles, especially in which the cccmd option is a handy method to create the Cc list.
It would be worth to update README "Submitting patches" with an example
Good idea. Thanks for reviewing!
Quoted 35 lines
Quoted 35 lines
Signed-off-by Fam Zheng <[email protected]>--- .gitpublish | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 .gitpublish.gitpublish new file +22
-0@@ -0,0 +1,57 @@ +# +# Common git-publish profiles that can be used to send patches to QEMU upstream. +# +# See https://github.com/stefanha/git-publish for more information +# +[gitpublishprofile "qemu"] +base = master +prefix = PATCH +to = [email protected] +cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null + +[gitpublishprofile "qemu-rfc"] +base = master +prefix = RFC PATCH +to = [email protected] +cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null + +[gitpublishprofile "qemu-stable"] +base = master +prefix = PATCH +to = [email protected] +cc = [email protected]
Quoted 8 lines
.gitpublish line 28
Quoted 6 lines
.gitpublish new file +6
-0+cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null + +[gitpublishprofile "qemu-trivial"] +base = master +prefix = PATCH +to = [email protected]cc [email protected] ?
Good catch, I must have deleted it by mistake.
Fam
Quoted 70 lines · Fam Zheng
git-publish [1] is a convenient tool to send patches and has been popular among QEMU developers. Recently it has been made available in Fedora official repo thanks to Stefan's work.
One nice feature of the tool is a per-project configuration with profiles, especially in which the cccmd option is a handy method to create the Cc list.
[1]: https://github.com/stefanha/git-publish
Signed-off-by Fam Zheng <[email protected]>--- .gitpublish | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 .gitpublish.gitpublish new file +47
-0@@ -0,0 +1,57 @@ +# +# Common git-publish profiles that can be used to send patches to QEMU upstream. +# +# See https://github.com/stefanha/git-publish for more information +# +[gitpublishprofile "qemu"] +base = master +prefix = PATCH +to = [email protected] +cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null + +[gitpublishprofile "qemu-rfc"] +base = master +prefix = RFC PATCH +to = [email protected] +cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null + +[gitpublishprofile "qemu-stable"] +base = master +prefix = PATCH +to = [email protected] +cc = [email protected] +cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null + +[gitpublishprofile "qemu-trivial"] +base = master +prefix = PATCH +to = [email protected] +cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null + +[gitpublishprofile "qemu-block"] +base = master +prefix = PATCH +to = [email protected] +cc = [email protected] +cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null + +[gitpublishprofile "qemu-arm"] +base = master +prefix = PATCH +to = [email protected] +cc = [email protected] +cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null + +[gitpublishprofile "qemu-s390"] +base = master +prefix = PATCH
.gitpublish line 57
Quoted 10 lines
.gitpublish new file +10
-0+to = [email protected] +cc = [email protected] +cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null + +[gitpublishprofile "qemu-ppc"] +base = master +prefix = PATCH +to = [email protected] +cc = [email protected] +cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null
Awesome!!