scripts/add_maintainers.pl: Don't call get_maintainers.pl with -f
PATCH 1/1 scripts/add_maintainers.pl: Don't call get_maintainers.pl with -f
The option -f of scripts/get_maintainers.pl will return the maintainers of a given file, *not* the list of maintainers if the file was a patch.
The output expected of add_maintainers is the latter, so drop the option -f.
---
This patch is candidate for Xen 4.11. Without it add_maintainers.pl will not return the correct maintainers. IHMO, it should be fixed ASAP to avoid promoting a broken scripts.
--- scripts/add_maintainers.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/add_maintainers.pl +1 -1
@@ -420,7 +420,7 @@ sub ismailinglist ($) { sub getmaintainers ($$$) { my ($file, $rto, $rcc) = @_; my $fh; - open($fh, "-|", $get_maintainer, @get_maintainer_args, '-f', $file) + open($fh, "-|", $get_maintainer, @get_maintainer_args, $file) or die "Failed to open '$get_maintainer'\n"; while(my $line = <$fh>) { chomp $line;
Signature · 7 lines
2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 7 lines · Julien Grall
The option -f of
scripts/get_maintainers.plwill return the maintainers of a given file, *not* the list of maintainers if the file was a patch.The output expected of
add_maintainersis the latter, so drop the option -f.Signed-off-by Julien Grall <[email protected]>
Juergen
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Lars Kurth
Reviewed-byOn 05/06/2018, 19:15, "Juergen Gross" <[email protected]> wrote:
On 05/06/18 18:39, Julien Grall wrote:
> The option -f of scripts/get_maintainers.pl will return the maintainers > of a given file, *not* the list of maintainers if the file was a patch. >
> The output expected of add_maintainers is the latter, so drop the option > -f.
>
> Signed-off-by: Julien Grall <[email protected]>
This change in behaviour was mistakenly introduced in one of the later revisions (can't recall which), when we refactored the call to get_maintainers.pl
Lars
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Hi,
Quoted 13 lines · Lars Kurth
On 05/06/2018, 19:15, "Juergen Gross" <[email protected]> wrote:
On 05/06/18 18:39, Julien Grall wrote:
> The option -f ofscripts/get_maintainers.plwill return the maintainers > of a given file, *not* the list of maintainers if the file was a patch. >
> The output expected ofadd_maintainersis the latter, so drop the option > -f.
>
> Signed-off-by: Julien Grall <[email protected]>
Quoted 5 lines
Release-acked-by Juergen Gross <[email protected]>Reviewed-by [email protected]This change in behaviour was mistakenly introduced in one of the later revisions (can't recall which), when we refactored the call to get_maintainers.pl
Thank you! Other than that the script is working quite well and save me time to add all the CCs.
I will commit the patch once we branched.
Cheers,
Quoted 4 lines
Lars
Signature · 6 lines
Julien Grall _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 18 lines · Julien Grall
Hi,
Quoted 15 lines · Lars Kurth
On 05/06/2018, 19:15, "Juergen Gross" <[email protected]> wrote:
On 05/06/18 18:39, Julien Grall wrote:
> The option -f ofscripts/get_maintainers.plwill return the maintainers > of a given file, *not* the list of maintainers if the file was a patch. >
> The output expected ofadd_maintainersis the latter, so drop the option > -f.
>
> Signed-off-by: Julien Grall <[email protected]>Release-acked-by Juergen Gross <[email protected]>Reviewed-by [email protected]
Quoted 5 lines
Quoted 1 line
This change in behaviour was mistakenly introduced in one of the later revisions (can't recall which), when we refactored the call to get_maintainers.pl
Thank you! Other than that the script is working quite well and save me time to add all the CCs.
I will commit the patch once we branched.
I was about to commit but I forgot that I would need a ack from someone in "THE REST".
Can I get one from either, Andrew, George, Ian, Jan, Tim, Wei, Stefano?
Cheers,
Signature · 6 lines
Julien Grall _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Ian Jackson
Acked-byJulien Grall writes ("Re: [PATCH for-4.11] scripts/add_maintainers.pl: Don't call get_maintainers.pl with -f"):
Quoted 8 lines · Julien Grall
Quoted 1 line
I will commit the patch once we branched.
I was about to commit but I forgot that I would need a ack from someone in "THE REST".
Can I get one from either, Andrew, George, Ian, Jan, Tim, Wei, Stefano?
Of course.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 7 lines
Quoted 1 line
Quoted 1 line · On 12.06.18 at 12:44, <[email protected]> wrote:
Quoted 5 lines · Julien Grall
Quoted 3 lines · Lars Kurth
This change in behaviour was mistakenly introduced in one of the later revisions (can't recall which), when we refactored the call to get_maintainers.pl
Quoted 7 lines
Quoted 4 lines
Thank you! Other than that the script is working quite well and save me time to add all the CCs.
I will commit the patch once we branched.
I was about to commit but I forgot that I would need a ack from someone in "THE REST".
I'm a little confused, considering the "once we branched" still in context here.
Jan
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 10 lines · Jan Beulich
Quoted 10 lines
Quoted 1 line
Quoted 1 line · On 12.06.18 at 12:44, <[email protected]> wrote:
Quoted 8 lines · Julien Grall
Quoted 3 lines · Lars Kurth
This change in behaviour was mistakenly introduced in one of the later revisions (can't recall which), when we refactored the call to get_maintainers.pl
Thank you! Other than that the script is working quite well and save me time to add all the CCs.
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
I will commit the patch once we branched.
I was about to commit but I forgot that I would need a ack from someone in "THE REST".
I'm a little confused, considering the "once we branched" still in context here.
To give the full story, the e-mail was written when staging had a commit moratorium for branching. However, we didn't branch and the commit moratorium was lifted. Because the patch is targeting Xen 4.11, then it is fine to commit now.
Cheers,
Signature · 6 lines
Julien Grall _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel