1. 14 5月, 2017 1 次提交
    • K
      scripts: Switch to more portable Perl shebang · cb77f0d6
      Kamil Rytarowski 提交于
      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: NKamil Rytarowski <n54@gmx.com>
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      cb77f0d6
  2. 13 12月, 2016 1 次提交
  3. 27 8月, 2016 1 次提交
  4. 11 8月, 2016 1 次提交
  5. 03 8月, 2016 1 次提交
  6. 21 1月, 2016 1 次提交
  7. 07 11月, 2015 5 次提交
  8. 26 6月, 2015 3 次提交
  9. 09 7月, 2014 1 次提交
  10. 11 2月, 2014 1 次提交
  11. 24 1月, 2014 1 次提交
    • J
      get_maintainer: add commit author information to --rolestats · c9ecefea
      Joe Perches 提交于
      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: NJoe Perches <joe@perches.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      c9ecefea
  12. 30 4月, 2013 1 次提交
  13. 28 2月, 2013 1 次提交
    • S
      get_maintainer: allow keywords to match filenames · eb90d085
      Stephen Warren 提交于
      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: NStephen Warren <swarren@nvidia.com>
      Acked-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      eb90d085
  14. 22 2月, 2013 1 次提交
  15. 21 6月, 2012 1 次提交
  16. 24 3月, 2012 2 次提交
  17. 11 1月, 2012 1 次提交
    • I
      get_maintainers.pl: follow renames when looking up commit signers · ed128fea
      Ian Campbell 提交于
      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: NIan Campbell <Ian.Campbell@citrix.com>
      Acked-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      ed128fea
  18. 26 8月, 2011 1 次提交
  19. 26 7月, 2011 1 次提交
  20. 23 3月, 2011 1 次提交
  21. 14 1月, 2011 2 次提交
  22. 27 10月, 2010 11 次提交