[RFC PATCH] .gitpublish: use origin/master as default base

Alex Bennée posted 1 patch 1 month, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250929134348.1589790-1-alex.bennee@linaro.org
.gitpublish | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
[RFC PATCH] .gitpublish: use origin/master as default base
Posted by Alex Bennée 1 month, 2 weeks ago
This is very much the result of my recent fat finger but I think it's
safer to assume that origin/master points to a recent commit (or at
least a commit a given branch is based on) than master.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 .gitpublish | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/.gitpublish b/.gitpublish
index a13f8c7c0ec..a3adb21ffa1 100644
--- a/.gitpublish
+++ b/.gitpublish
@@ -4,48 +4,48 @@
 # See https://github.com/stefanha/git-publish for more information
 #
 [gitpublishprofile "default"]
-base = master
+base = origin/master
 to = qemu-devel@nongnu.org
 cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null
 
 [gitpublishprofile "rfc"]
-base = master
+base = origin/master
 prefix = RFC PATCH
 to = qemu-devel@nongnu.org
 cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null
 
 [gitpublishprofile "stable"]
-base = master
+base = origin/master
 to = qemu-devel@nongnu.org
 cc = qemu-stable@nongnu.org
 cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null
 
 [gitpublishprofile "trivial"]
-base = master
+base = origin/master
 to = qemu-devel@nongnu.org
 cc = qemu-trivial@nongnu.org
 cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null
 
 [gitpublishprofile "block"]
-base = master
+base = origin/master
 to = qemu-devel@nongnu.org
 cc = qemu-block@nongnu.org
 cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null
 
 [gitpublishprofile "arm"]
-base = master
+base = origin/master
 to = qemu-devel@nongnu.org
 cc = qemu-arm@nongnu.org
 cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null
 
 [gitpublishprofile "s390"]
-base = master
+base = origin/master
 to = qemu-devel@nongnu.org
 cc = qemu-s390@nongnu.org
 cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null
 
 [gitpublishprofile "ppc"]
-base = master
+base = origin/master
 to = qemu-devel@nongnu.org
 cc = qemu-ppc@nongnu.org
 cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null
-- 
2.47.3


Re: [RFC PATCH] .gitpublish: use origin/master as default base
Posted by Stefan Hajnoczi 1 month, 2 weeks ago
On Mon, Sep 29, 2025 at 02:43:48PM +0100, Alex Bennée wrote:
> This is very much the result of my recent fat finger but I think it's
> safer to assume that origin/master points to a recent commit (or at
> least a commit a given branch is based on) than master.
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>  .gitpublish | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)

Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Re: [RFC PATCH] .gitpublish: use origin/master as default base
Posted by Philippe Mathieu-Daudé 1 month, 2 weeks ago
On 29/9/25 15:43, Alex Bennée wrote:
> This is very much the result of my recent fat finger but I think it's
> safer to assume that origin/master points to a recent commit (or at
> least a commit a given branch is based on) than master.
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>   .gitpublish | 16 ++++++++--------
>   1 file changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/.gitpublish b/.gitpublish
> index a13f8c7c0ec..a3adb21ffa1 100644
> --- a/.gitpublish
> +++ b/.gitpublish
> @@ -4,48 +4,48 @@
>   # See https://github.com/stefanha/git-publish for more information
>   #
>   [gitpublishprofile "default"]
> -base = master
> +base = origin/master

Any key to specify the remote? (not everybody have mainstream tracked
as origin).

>   to = qemu-devel@nongnu.org
>   cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null
>   
>   [gitpublishprofile "rfc"]
> -base = master
> +base = origin/master
>   prefix = RFC PATCH
>   to = qemu-devel@nongnu.org
>   cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null
>   
>   [gitpublishprofile "stable"]
> -base = master
> +base = origin/master
>   to = qemu-devel@nongnu.org
>   cc = qemu-stable@nongnu.org
>   cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null
>   
>   [gitpublishprofile "trivial"]
> -base = master
> +base = origin/master
>   to = qemu-devel@nongnu.org
>   cc = qemu-trivial@nongnu.org
>   cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null
>   
>   [gitpublishprofile "block"]
> -base = master
> +base = origin/master
>   to = qemu-devel@nongnu.org
>   cc = qemu-block@nongnu.org
>   cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null
>   
>   [gitpublishprofile "arm"]
> -base = master
> +base = origin/master
>   to = qemu-devel@nongnu.org
>   cc = qemu-arm@nongnu.org
>   cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null
>   
>   [gitpublishprofile "s390"]
> -base = master
> +base = origin/master
>   to = qemu-devel@nongnu.org
>   cc = qemu-s390@nongnu.org
>   cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null
>   
>   [gitpublishprofile "ppc"]
> -base = master
> +base = origin/master
>   to = qemu-devel@nongnu.org
>   cc = qemu-ppc@nongnu.org
>   cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null


Re: [RFC PATCH] .gitpublish: use origin/master as default base
Posted by Alex Bennée 1 month, 2 weeks ago
Philippe Mathieu-Daudé <philmd@linaro.org> writes:

> On 29/9/25 15:43, Alex Bennée wrote:
>> This is very much the result of my recent fat finger but I think it's
>> safer to assume that origin/master points to a recent commit (or at
>> least a commit a given branch is based on) than master.
>> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
>> ---
>>   .gitpublish | 16 ++++++++--------
>>   1 file changed, 8 insertions(+), 8 deletions(-)
>> diff --git a/.gitpublish b/.gitpublish
>> index a13f8c7c0ec..a3adb21ffa1 100644
>> --- a/.gitpublish
>> +++ b/.gitpublish
>> @@ -4,48 +4,48 @@
>>   # See https://github.com/stefanha/git-publish for more information
>>   #
>>   [gitpublishprofile "default"]
>> -base = master
>> +base = origin/master
>
> Any key to specify the remote? (not everybody have mainstream tracked
> as origin).

I would suspect most do if they clone from the project repo - but yes if
they clone from their repo first this will be just as wrong as using
master ;-)

>
>>   to = qemu-devel@nongnu.org
>>   cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null
>>     [gitpublishprofile "rfc"]
>> -base = master
>> +base = origin/master
>>   prefix = RFC PATCH
>>   to = qemu-devel@nongnu.org
>>   cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null
>>     [gitpublishprofile "stable"]
>> -base = master
>> +base = origin/master
>>   to = qemu-devel@nongnu.org
>>   cc = qemu-stable@nongnu.org
>>   cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null
>>     [gitpublishprofile "trivial"]
>> -base = master
>> +base = origin/master
>>   to = qemu-devel@nongnu.org
>>   cc = qemu-trivial@nongnu.org
>>   cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null
>>     [gitpublishprofile "block"]
>> -base = master
>> +base = origin/master
>>   to = qemu-devel@nongnu.org
>>   cc = qemu-block@nongnu.org
>>   cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null
>>     [gitpublishprofile "arm"]
>> -base = master
>> +base = origin/master
>>   to = qemu-devel@nongnu.org
>>   cc = qemu-arm@nongnu.org
>>   cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null
>>     [gitpublishprofile "s390"]
>> -base = master
>> +base = origin/master
>>   to = qemu-devel@nongnu.org
>>   cc = qemu-s390@nongnu.org
>>   cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null
>>     [gitpublishprofile "ppc"]
>> -base = master
>> +base = origin/master
>>   to = qemu-devel@nongnu.org
>>   cc = qemu-ppc@nongnu.org
>>   cccmd = scripts/get_maintainer.pl --noroles --norolestats --nogit --nogit-fallback 2>/dev/null

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro