Skip to content
Snippets Groups Projects
  1. Aug 22, 2018
  2. Jun 08, 2018
  3. Nov 18, 2017
  4. Aug 08, 2017
    • Joe Perches's avatar
      get_maintainer: Prepare for separate MAINTAINERS files · 6f7d98ec
      Joe Perches authored
      
      Allow for MAINTAINERS to become a directory and if it is,
      read all the files in the directory for maintained sections.
      
      Optionally look for all files named MAINTAINERS in directories
      excluding the .git directory by using --find-maintainer-files.
      
      This optional feature adds ~.3 seconds of CPU on an Intel
      i5-6200 with an SSD.
      
      Miscellanea:
      
       - Create a read_maintainer_file subroutine from the existing code
       - Test only the existence of MAINTAINERS, not whether it's a file
      
      Signed-off-by: default avatarJoe Perches <joe@perches.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      6f7d98ec
  5. May 14, 2017
    • Kamil Rytarowski's avatar
      scripts: Switch to more portable Perl shebang · cb77f0d6
      Kamil Rytarowski authored
      
      The default NetBSD package manager is pkgsrc and it installs Perl
      along other third party programs under custom and configurable prefix.
      The default prefix for binary prebuilt packages is /usr/pkg, and the
      Perl executable lands in /usr/pkg/bin/perl.
      
      This change switches "/usr/bin/perl" to "/usr/bin/env perl" as it's
      the most portable solution that should work for almost everybody.
      Perl's executable is detected automatically.
      
      This change switches -w option passed to the executable with more
      modern "use warnings;" approach. There is no functional change to the
      default behavior.
      
      While there, drop "require 5" from scripts/namespace.pl (Perl from 1994?).
      
      Signed-off-by: default avatarKamil Rytarowski <n54@gmx.com>
      Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      cb77f0d6
  6. Dec 13, 2016
  7. Aug 27, 2016
  8. Aug 10, 2016
  9. Aug 02, 2016
  10. Jan 21, 2016
  11. Nov 07, 2015
  12. Jun 26, 2015
  13. Jul 08, 2014
  14. Feb 11, 2014
  15. Jan 24, 2014
    • Joe Perches's avatar
      get_maintainer: add commit author information to --rolestats · c9ecefea
      Joe Perches authored
      
      get_maintainer currently uses "Signed-off-by" style lines to find
      interested parties to send patches to when the MAINTAINERS file does not
      have a specific section entry with a matching file pattern.
      
      Add statistics for commit authors and lines added and deleted to the
      information provided by --rolestats.
      
      These statistics are also emitted whenever --rolestats and --git are
      selected even when there is a specified maintainer.
      
      This can have the effect of expanding the number of people that are shown
      as possible "maintainers" of a particular file because "authors",
      "added_lines", and "removed_lines" are also used as criterion for the
      --max-maintainers option separate from the "commit_signers".
      
      The first "--git-max-maintainers" values of each criterion
      are emitted.  Any "ties" are not shown.
      
      For example: (forcedeth does not have a named maintainer)
      
      Old output:
      
      $ ./scripts/get_maintainer.pl -f drivers/net/ethernet/nvidia/forcedeth.c
      "David S. Miller" <davem@davemloft.net> (commit_signer:8/10=80%)
      Jiri Pirko <jiri@resnulli.us> (commit_signer:2/10=20%)
      Patrick McHardy <kaber@trash.net> (commit_signer:2/10=20%)
      Larry Finger <Larry.Finger@lwfinger.net> (commit_signer:1/10=10%)
      Peter Zijlstra <peterz@infradead.org> (commit_signer:1/10=10%)
      netdev@vger.kernel.org (open list:NETWORKING DRIVERS)
      linux-kernel@vger.kernel.org (open list)
      
      New output:
      
      $ ./scripts/get_maintainer.pl -f drivers/net/ethernet/nvidia/forcedeth.c
      "David S. Miller" <davem@davemloft.net> (commit_signer:8/10=80%)
      Jiri Pirko <jiri@resnulli.us> (commit_signer:2/10=20%,authored:2/10=20%,removed_lines:3/33=9%)
      Patrick McHardy <kaber@trash.net> (commit_signer:2/10=20%,authored:2/10=20%,added_lines:12/95=13%,removed_lines:10/33=30%)
      Larry Finger <Larry.Finger@lwfinger.net> (commit_signer:1/10=10%,authored:1/10=10%,added_lines:35/95=37%)
      Peter Zijlstra <peterz@infradead.org> (commit_signer:1/10=10%)
      "Peter Hüwe" <PeterHuewe@gmx.de> (authored:1/10=10%,removed_lines:15/33=45%)
      Joe Perches <joe@perches.com> (authored:1/10=10%)
      Neil Horman <nhorman@tuxdriver.com> (added_lines:40/95=42%)
      Bill Pemberton <wfp5p@virginia.edu> (removed_lines:3/33=9%)
      netdev@vger.kernel.org (open list:NETWORKING DRIVERS)
      linux-kernel@vger.kernel.org (open list)
      
      Signed-off-by: default avatarJoe Perches <joe@perches.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      c9ecefea
  16. Apr 30, 2013
  17. Feb 28, 2013
    • Stephen Warren's avatar
      get_maintainer: allow keywords to match filenames · eb90d085
      Stephen Warren authored
      
      Allow K: entries in MAINTAINERS to match directly against filenames;
      either those extracted from patch +++ or --- lines, or those specified
      on the command-line using the -f option.
      
      This potentially allows fewer lines in a MAINTAINERS entry, if all the
      relevant files are scattered throughout the whole kernel tree, yet
      contain some common keyword.  An example would be using an ARM SoC name
      as the keyword to catch all related drivers.
      
      I don't think setting exact_pattern_match_hash would be appropriate
      here; at least for intended Tegra use case, this feature is to ensure
      that all Tegra-related driver changes get Cc'd to the Tegra mailing
      list.  Setting exact_pattern_match_hash would prevent git history
      parsing for e.g.  S-o-b tags, which still seems like it would be useful.
      Hence, this flag isn't set.
      
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      Acked-by: default avatarJoe Perches <joe@perches.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      eb90d085
  18. Feb 22, 2013
  19. Jun 20, 2012
  20. Mar 23, 2012
  21. Jan 11, 2012
    • Ian Campbell's avatar
      get_maintainers.pl: follow renames when looking up commit signers · ed128fea
      Ian Campbell authored
      
      I happen to have had a commit to various network drivers since the big
      renaming/reorg which happened to drivers/net recently.  This means that I
      now appear to be in the top few commit signers (by %age) for many of them
      so am getting sent all sorts of stuff and people who are involved with the
      driver are not.  e.g.  (to pick one at random):
      
              $ ./scripts/get_maintainer.pl -f drivers/net/ethernet/nvidia/forcedeth.c
              "David S. Miller" <davem@davemloft.net> (commit_signer:5/7=71%)
              Ian Campbell <ian.campbell@citrix.com> (commit_signer:2/7=29%)
              Eric Dumazet <eric.dumazet@gmail.com> (commit_signer:1/7=14%)
              Jeff Kirsher <jeffrey.t.kirsher@intel.com> (commit_signer:1/7=14%)
              Jiri Pirko <jpirko@redhat.com> (commit_signer:1/7=14%)
              netdev@vger.kernel.org (open list:NETWORKING DRIVERS)
              linux-kernel@vger.kernel.org (open list)
      
      With the following patch the renames are followed and the result appears
      much more sensible:
      
              $ ./scripts/get_maintainer.pl -f drivers/net/ethernet/nvidia/forcedeth.c
              "David S. Miller" <davem@davemloft.net> (commit_signer:31/34=91%)
              Joe Perches <joe@perches.com> (commit_signer:11/34=32%)
              Szymon Janc <szymon@janc.net.pl> (commit_signer:5/34=15%)
              Jiri Pirko <jpirko@redhat.com> (commit_signer:3/34=9%)
              Paul <paul.gortmaker@windriver.com> (commit_signer:2/34=6%)
              netdev@vger.kernel.org (open list:NETWORKING DRIVERS)
              linux-kernel@vger.kernel.org (open list)
      
      Signed-off-by: default avatarIan Campbell <Ian.Campbell@citrix.com>
      Acked-by: default avatarJoe Perches <joe@perches.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      ed128fea
  22. Aug 25, 2011
  23. Jul 26, 2011
  24. Mar 23, 2011
  25. Jan 13, 2011
  26. Oct 26, 2010
Loading