From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Perches Subject: Re: [PATCH] MAINTAINERS: Add "B:" preferred bug reporting method Date: Fri, 15 Jan 2016 16:22:52 -0800 Message-ID: <1452903772.3699.4.camel@perches.com> References: <1452869104-22251-1-git-send-email-jani.nikula@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <1452869104-22251-1-git-send-email-jani.nikula@intel.com> Sender: linux-kernel-owner@vger.kernel.org To: Jani Nikula , linux-kernel@vger.kernel.org Cc: intel-gfx@lists.freedesktop.org, Daniel Vetter , Andrew Morton List-Id: intel-gfx@lists.freedesktop.org On Fri, 2016-01-15 at 16:45 +0200, Jani Nikula wrote: > Different subsystems and drivers have different preferred ways of > receiving bug reports; mailing list or bugzillas at various > locations. Add "B:" entry for specifying the preference to guide bug > reporters at the right location. [] > diff --git a/MAINTAINERS b/MAINTAINERS [] > @@ -75,6 +75,8 @@ Descriptions of section entries: > =A0 L: Mailing list that is relevant to this area > =A0 W: Web-page with status/info > =A0 Q: Patchwork web based patch tracking system site > + B: Preferred method for reporting bugs; bug tracking system site > + =A0=A0=A0or "List" for mailing list. > =A0 T: SCM tree type and location. > =A0 =A0=A0=A0Type is one of: git, hg, quilt, stgit, topgit > =A0 S: Status, one of the following: > @@ -3655,6 +3657,7 @@ L: intel-gfx@lists.freedesktop.org > =A0L: dri-devel@lists.freedesktop.org > =A0W: https://01.org/linuxgraphics/ > =A0Q: http://patchwork.freedesktop.org/project/intel-gfx/ > +B: https://bugs.freedesktop.org/enter_bug.cgi?product=3DDRI&componen= t=3DDRM/Intel This requires a LoginID & password Maybe useful to show the open bugs too: https://bugs.freedesktop.org/buglist.cgi?component=3DDRM%2FIntel&produc= t=3DDRI&resolution=3D--- Maybe the get_maintainer script should be updated. Something like: (untested) --- =A0scripts/get_maintainer.pl | 17 +++++++++++++++-- =A01 file changed, 15 insertions(+), 2 deletions(-) diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl index 1873421..bbe5337 100755 --- a/scripts/get_maintainer.pl +++ b/scripts/get_maintainer.pl @@ -47,6 +47,7 @@ my $output_rolestats =3D 1; =A0my $output_section_maxlen =3D 50; =A0my $scm =3D 0; =A0my $web =3D 0; +my $bug =3D 0; =A0my $subsystem =3D 0; =A0my $status =3D 0; =A0my $keywords =3D 1; @@ -239,6 +240,7 @@ if (!GetOptions( =A0 'status!' =3D> \$status, =A0 'scm!' =3D> \$scm, =A0 'web!' =3D> \$web, + 'bug!' =3D> \$bug, =A0 'pattern-depth=3Di' =3D> \$pattern_depth, =A0 'k|keywords!' =3D> \$keywords, =A0 'sections!' =3D> \$sections, @@ -276,12 +278,13 @@ if ($sections) { =A0=A0=A0=A0=A0$status =3D 0; =A0=A0=A0=A0=A0$subsystem =3D 0; =A0=A0=A0=A0=A0$web =3D 0; +=A0=A0=A0=A0$bug =3D 0; =A0=A0=A0=A0=A0$keywords =3D 0; =A0=A0=A0=A0=A0$interactive =3D 0; =A0} else { -=A0=A0=A0=A0my $selections =3D $email + $scm + $status + $subsystem + = $web; +=A0=A0=A0=A0my $selections =3D $email + $scm + $status + $subsystem + = $web + $bug; =A0=A0=A0=A0=A0if ($selections =3D=3D 0) { - die "$P:=A0=A0Missing required option: email, scm, status, subsystem = or web\n"; + die "$P:=A0=A0Missing required option: email, scm, status, subsystem,= web or bug\n"; =A0=A0=A0=A0=A0} =A0} =A0 @@ -505,6 +508,7 @@ my %hash_list_to; =A0my @list_to =3D (); =A0my @scm =3D (); =A0my @web =3D (); +my @bug =3D (); =A0my @subsystem =3D (); =A0my @status =3D (); =A0my %deduplicate_name_hash =3D (); @@ -537,6 +541,11 @@ if ($web) { =A0=A0=A0=A0=A0output(@web); =A0} =A0 +if ($bug) { +=A0=A0=A0=A0@bug =3D uniq(@bug); +=A0=A0=A0=A0output(@bug); +} + =A0exit($exit); =A0 =A0sub ignore_email_address { @@ -593,6 +602,7 @@ sub get_maintainers { =A0=A0=A0=A0=A0@list_to =3D (); =A0=A0=A0=A0=A0@scm =3D (); =A0=A0=A0=A0=A0@web =3D (); +=A0=A0=A0=A0@bug =3D (); =A0=A0=A0=A0=A0@subsystem =3D (); =A0=A0=A0=A0=A0@status =3D (); =A0=A0=A0=A0=A0%deduplicate_name_hash =3D (); @@ -802,6 +812,7 @@ MAINTAINER field selection options: =A0=A0=A0--status =3D> print status if any =A0=A0=A0--subsystem =3D> print subsystem name if any =A0=A0=A0--web =3D> print website(s) if any +=A0=A0--bug =3D> print bug reporting mechanism(s) if any =A0 =A0Output type options: =A0=A0=A0--separator [, ] =3D> separator for multiple entries on 1 line @@ -1129,6 +1140,8 @@ sub add_categories { =A0 push(@scm, $pvalue); =A0 =A0=A0=A0=A0} elsif ($ptype eq "W") { =A0 push(@web, $pvalue); + =A0=A0=A0=A0} elsif ($ptype eq "B") { + push(@bug, $pvalue); =A0 =A0=A0=A0=A0} elsif ($ptype eq "S") { =A0 push(@status, $pvalue); =A0 =A0=A0=A0=A0}