From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161331AbcAPAW6 (ORCPT ); Fri, 15 Jan 2016 19:22:58 -0500 Received: from smtprelay0216.hostedemail.com ([216.40.44.216]:51427 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1161137AbcAPAWz (ORCPT ); Fri, 15 Jan 2016 19:22:55 -0500 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 50,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::,RULES_HIT:41:355:379:541:599:966:967:973:982:988:989:1256:1260:1263:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1543:1593:1594:1605:1711:1730:1747:1777:1792:2196:2199:2393:2525:2566:2682:2685:2743:2828:2859:2895:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3622:3653:3865:3866:3867:3868:3871:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4321:4385:5007:6119:6261:6299:7903:8957:9010:9025:9040:9388:10004:10049:10400:10848:11026:11232:11658:11783:11914:12043:12296:12324:12346:12438:12517:12519:12555:12740:13138:13141:13230:13231:13437:13845:13894:14106:14659:21080:30022:30025:30029:30037:30046:30054:30060:30062:30064:30075:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: frogs76_7094cf16a704f X-Filterd-Recvd-Size: 4534 Message-ID: <1452903772.3699.4.camel@perches.com> Subject: Re: [PATCH] MAINTAINERS: Add "B:" preferred bug reporting method From: Joe Perches To: Jani Nikula , linux-kernel@vger.kernel.org Cc: intel-gfx@lists.freedesktop.org, Daniel Vetter , Andrew Morton Date: Fri, 15 Jan 2016 16:22:52 -0800 In-Reply-To: <1452869104-22251-1-git-send-email-jani.nikula@intel.com> References: <1452869104-22251-1-git-send-email-jani.nikula@intel.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.3-1ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.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: >   L: Mailing list that is relevant to this area >   W: Web-page with status/info >   Q: Patchwork web based patch tracking system site > + B: Preferred method for reporting bugs; bug tracking system site > +    or "List" for mailing list. >   T: SCM tree type and location. >      Type is one of: git, hg, quilt, stgit, topgit >   S: Status, one of the following: > @@ -3655,6 +3657,7 @@ L: intel-gfx@lists.freedesktop.org >  L: dri-devel@lists.freedesktop.org >  W: https://01.org/linuxgraphics/ >  Q: http://patchwork.freedesktop.org/project/intel-gfx/ > +B: https://bugs.freedesktop.org/enter_bug.cgi?product=DRI&component=DRM/Intel This requires a LoginID & password Maybe useful to show the open bugs too: https://bugs.freedesktop.org/buglist.cgi?component=DRM%2FIntel&product=DRI&resolution=--- Maybe the get_maintainer script should be updated. Something like: (untested) ---  scripts/get_maintainer.pl | 17 +++++++++++++++--  1 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 = 1;  my $output_section_maxlen = 50;  my $scm = 0;  my $web = 0; +my $bug = 0;  my $subsystem = 0;  my $status = 0;  my $keywords = 1; @@ -239,6 +240,7 @@ if (!GetOptions(   'status!' => \$status,   'scm!' => \$scm,   'web!' => \$web, + 'bug!' => \$bug,   'pattern-depth=i' => \$pattern_depth,   'k|keywords!' => \$keywords,   'sections!' => \$sections, @@ -276,12 +278,13 @@ if ($sections) {      $status = 0;      $subsystem = 0;      $web = 0; +    $bug = 0;      $keywords = 0;      $interactive = 0;  } else { -    my $selections = $email + $scm + $status + $subsystem + $web; +    my $selections = $email + $scm + $status + $subsystem + $web + $bug;      if ($selections == 0) { - die "$P:  Missing required option: email, scm, status, subsystem or web\n"; + die "$P:  Missing required option: email, scm, status, subsystem, web or bug\n";      }  }   @@ -505,6 +508,7 @@ my %hash_list_to;  my @list_to = ();  my @scm = ();  my @web = (); +my @bug = ();  my @subsystem = ();  my @status = ();  my %deduplicate_name_hash = (); @@ -537,6 +541,11 @@ if ($web) {      output(@web);  }   +if ($bug) { +    @bug = uniq(@bug); +    output(@bug); +} +  exit($exit);    sub ignore_email_address { @@ -593,6 +602,7 @@ sub get_maintainers {      @list_to = ();      @scm = ();      @web = (); +    @bug = ();      @subsystem = ();      @status = ();      %deduplicate_name_hash = (); @@ -802,6 +812,7 @@ MAINTAINER field selection options:    --status => print status if any    --subsystem => print subsystem name if any    --web => print website(s) if any +  --bug => print bug reporting mechanism(s) if any    Output type options:    --separator [, ] => separator for multiple entries on 1 line @@ -1129,6 +1140,8 @@ sub add_categories {   push(@scm, $pvalue);       } elsif ($ptype eq "W") {   push(@web, $pvalue); +     } elsif ($ptype eq "B") { + push(@bug, $pvalue);       } elsif ($ptype eq "S") {   push(@status, $pvalue);       }