From: Scott González Date: Fri, 24 Oct 2014 13:21:46 +0000 (-0400) Subject: Build: Upgrade to grunt-git-authors 2.0.0 and add update-authors task X-Git-Tag: 1.12.0-beta.1~493 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=068254455ffc3cec55e11486f1f0b7e8086846fd;p=jquery-ui.git Build: Upgrade to grunt-git-authors 2.0.0 and add update-authors task Closes gh-1378 --- diff --git a/.mailmap b/.mailmap index 59afcbc1b..ce694aa17 100644 --- a/.mailmap +++ b/.mailmap @@ -37,6 +37,7 @@ Filippo Cavallarin Florian Gutmann Genie <386@mail.com> Guntupalli Karunakar +Harri Kilpiö Heiko Henning Hiroshi Tomita Ian Simpson diff --git a/AUTHORS.txt b/AUTHORS.txt index 1521874ce..47fbf79b9 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -28,7 +28,7 @@ Chi Cheng Ca-Phun Ung Ariel Flesler Maggie Wachs -Scott Jehl +Scott Jehl Todd Parker Andrew Powell Brant Burnett @@ -52,7 +52,7 @@ Eyal Kobrigo Tiago Freire Diego Tres Holger Rüprich -Ziling Zhao +Ziling Zhao Mike Alsup Robson Braga Araujo Pierre-Henri Ausseil @@ -80,7 +80,7 @@ Kyle Wilkinson Khaled AlHourani Marian Rudzynski Jean-Francois Remy -Doug Blood +Doug Blood Filippo Cavallarin Heiko Henning Aliaksandr Rahalevich @@ -140,7 +140,8 @@ Wesley Walser Kouhei Sutou Karl Kirch Chris Kelly -Jay Oster +Jason Oster +Felix Nagel Alexander Polomoshnov David Leal Igor Milla @@ -150,12 +151,14 @@ Marwan Al Jubeh Milan Broum Sebastian Sauer Gaëtan Muller +Michel Weimerskirch William Griffiths Stojce Slavkovski David Soms David De Sloovere Michael P. Jung Shannon Pekary +Dan Wellman Matthew Edward Hutton James Khoury Rob Loach @@ -208,6 +211,7 @@ Bernhard Sirlinger Jared A. Scheel Rafael Xavier de Souza John Chen +Robert Beuligmann Dale Kocian Mike Sherov Andrew Couch @@ -282,3 +286,6 @@ Will Holley Uri Gilad Richard Gibson Simen Bekkhus +Chen Eshchar +Bruno Pérel +Mohammed Alshehri diff --git a/Gruntfile.js b/Gruntfile.js index 72236561f..241831102 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -305,9 +305,66 @@ grunt.initConfig({ "jquery-2.0.3/MIT-LICENSE.txt": "jquery-2.0.3/MIT-LICENSE.txt" } } + }, + + authors: { + prior: [ + "Paul Bakaus ", + "Richard Worth ", + "Yehuda Katz ", + "Sean Catchpole ", + "John Resig ", + "Tane Piper ", + "Dmitri Gaskin ", + "Klaus Hartl ", + "Stefan Petre ", + "Gilles van den Hoven ", + "Micheil Bryan Smith ", + "Jörn Zaefferer ", + "Marc Grabanski ", + "Keith Wood ", + "Brandon Aaron ", + "Scott González ", + "Eduardo Lundgren ", + "Aaron Eisenberger ", + "Joan Piedra ", + "Bruno Basto ", + "Remy Sharp ", + "Bohdan Ganicky " + ] } }); +grunt.registerTask( "update-authors", function() { + var getAuthors = require( "grunt-git-authors" ), + done = this.async(); + + getAuthors({ + priorAuthors: grunt.config( "authors.prior" ) + }, function( error, authors ) { + if ( error ) { + grunt.log.error( error ); + return done( false ); + } + + authors = authors.map(function( author ) { + if ( author.match( /^Jacek Jędrzejewski