]> source.dussan.org Git - jquery-ui.git/commitdiff
Build: Upgrade to grunt-git-authors 2.0.0 and add update-authors task
authorScott González <scott.gonzalez@gmail.com>
Fri, 24 Oct 2014 13:21:46 +0000 (09:21 -0400)
committerScott González <scott.gonzalez@gmail.com>
Fri, 24 Oct 2014 13:40:55 +0000 (09:40 -0400)
Closes gh-1378

.mailmap
AUTHORS.txt
Gruntfile.js
package.json

index 59afcbc1bbf2862b1c2c3e8f1448c44b9a6d5180..ce694aa17125fa663e262715e4cd28ba00537dc2 100644 (file)
--- a/.mailmap
+++ b/.mailmap
@@ -37,6 +37,7 @@ Filippo Cavallarin <filippo.cavallarin@codseq.it> <poplix@papuasia.org>
 Florian Gutmann <f.gutmann@chronimo.com> <blackfeet@gmx.at>
 Genie <386@mail.com>
 Guntupalli Karunakar <karunakarg@yahoo.com>
+Harri Kilpiö <harri.kilpio@gmail.com>
 Heiko Henning <heiko@thehennings.ch> <h.henning@educa.ch>
 Hiroshi Tomita <tomykaira@gmail.com>
 Ian Simpson <spoonlikesham@gmail.com>
index 1521874ce45ed8ae60ef153c3b1bec4cc63c862f..47fbf79b9e6b2642e48640246fe86983b2f3f417 100644 (file)
@@ -28,7 +28,7 @@ Chi Cheng <cloudream@gmail.com>
 Ca-Phun Ung <pazu2k@gmail.com>
 Ariel Flesler <aflesler@gmail.com>
 Maggie Wachs <maggie@filamentgroup.com>
-Scott Jehl <scott@scottjehl.com>
+Scott Jehl <scottjehl@gmail.com>
 Todd Parker <todd@filamentgroup.com>
 Andrew Powell <andrew@shellscape.org>
 Brant Burnett <btburnett3@gmail.com>
@@ -52,7 +52,7 @@ Eyal Kobrigo <kobrigo@hotmail.com>
 Tiago Freire <tiago.freire@gmail.com>
 Diego Tres <diegotres@gmail.com>
 Holger Rüprich <holger@rueprich.de>
-Ziling Zhao <zizhao@cisco.com>
+Ziling Zhao <zilingzhao@gmail.com>
 Mike Alsup <malsup@gmail.com>
 Robson Braga Araujo <robsonbraga@gmail.com>
 Pierre-Henri Ausseil <ph.ausseil@gmail.com>
@@ -80,7 +80,7 @@ Kyle Wilkinson <kai@wikyd.org>
 Khaled AlHourani <me@khaledalhourani.com>
 Marian Rudzynski <mr@impaled.org>
 Jean-Francois Remy <jeff@melix.org>
-Doug Blood
+Doug Blood <dougblood@gmail.com>
 Filippo Cavallarin <filippo.cavallarin@codseq.it>
 Heiko Henning <heiko@thehennings.ch>
 Aliaksandr Rahalevich <saksmlz@gmail.com>
@@ -140,7 +140,8 @@ Wesley Walser <waw325@gmail.com>
 Kouhei Sutou <kou@clear-code.com>
 Karl Kirch <karlkrch@gmail.com>
 Chris Kelly <ckdake@ckdake.com>
-Jay Oster <jay@loyalize.com>
+Jason Oster <jay@kodewerx.org>
+Felix Nagel <info@felixnagel.com>
 Alexander Polomoshnov <alex.polomoshnov@gmail.com>
 David Leal <dgleal@gmail.com>
 Igor Milla <igor.fsp.milla@gmail.com>
@@ -150,12 +151,14 @@ Marwan Al Jubeh <marwan.aljubeh@gmail.com>
 Milan Broum <midlis@googlemail.com>
 Sebastian Sauer <info@dynpages.de>
 Gaëtan Muller <m.gaetan89@gmail.com>
+Michel Weimerskirch <michel@weimerskirch.net>
 William Griffiths <william@ycymro.com>
 Stojce Slavkovski <stojce@gmail.com>
 David Soms <david.soms@gmail.com>
 David De Sloovere <david.desloovere@outlook.com>
 Michael P. Jung <michael.jung@terreon.de>
 Shannon Pekary <spekary@gmail.com>
+Dan Wellman <danwellman@hotmail.com>
 Matthew Edward Hutton <meh@corefiling.co.uk>
 James Khoury <james@jameskhoury.com>
 Rob Loach <robloach@gmail.com>
@@ -208,6 +211,7 @@ Bernhard Sirlinger <bernhard.sirlinger@tele2.de>
 Jared A. Scheel <jared@jaredscheel.com>
 Rafael Xavier de Souza <rxaviers@gmail.com>
 John Chen <zhang.z.chen@intel.com>
+Robert Beuligmann <robertbeuligmann@gmail.com>
 Dale Kocian <dale.kocian@gmail.com>
 Mike Sherov <mike.sherov@gmail.com>
 Andrew Couch <andy@couchand.com>
@@ -282,3 +286,6 @@ Will Holley <willholley@gmail.com>
 Uri Gilad <antishok@gmail.com>
 Richard Gibson <richard.gibson@gmail.com>
 Simen Bekkhus <sbekkhus91@gmail.com>
+Chen Eshchar <eshcharc@gmail.com>
+Bruno Pérel <brunoperel@gmail.com>
+Mohammed Alshehri <m@dralshehri.com>
index 72236561f59532e9953db4480f19b17b22ab36ee..241831102c492370732edfafb6eba895649896a0 100644 (file)
@@ -305,9 +305,66 @@ grunt.initConfig({
                                "jquery-2.0.3/MIT-LICENSE.txt": "jquery-2.0.3/MIT-LICENSE.txt"
                        }
                }
+       },
+
+       authors: {
+               prior: [
+                       "Paul Bakaus <paul.bakaus@gmail.com>",
+                       "Richard Worth <rdworth@gmail.com>",
+                       "Yehuda Katz <wycats@gmail.com>",
+                       "Sean Catchpole <sean@sunsean.com>",
+                       "John Resig <jeresig@gmail.com>",
+                       "Tane Piper <piper.tane@gmail.com>",
+                       "Dmitri Gaskin <dmitrig01@gmail.com>",
+                       "Klaus Hartl <klaus.hartl@gmail.com>",
+                       "Stefan Petre <stefan.petre@gmail.com>",
+                       "Gilles van den Hoven <gilles@webunity.nl>",
+                       "Micheil Bryan Smith <micheil@brandedcode.com>",
+                       "Jörn Zaefferer <joern.zaefferer@gmail.com>",
+                       "Marc Grabanski <m@marcgrabanski.com>",
+                       "Keith Wood <kbwood@iinet.com.au>",
+                       "Brandon Aaron <brandon.aaron@gmail.com>",
+                       "Scott González <scott.gonzalez@gmail.com>",
+                       "Eduardo Lundgren <eduardolundgren@gmail.com>",
+                       "Aaron Eisenberger <aaronchi@gmail.com>",
+                       "Joan Piedra <theneojp@gmail.com>",
+                       "Bruno Basto <b.basto@gmail.com>",
+                       "Remy Sharp <remy@leftlogic.com>",
+                       "Bohdan Ganicky <bohdan.ganicky@gmail.com>"
+               ]
        }
 });
 
+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 </ ) ) {
+                               return "Jacek Jędrzejewski (http://jacek.jedrzejewski.name)";
+                       } else if ( author.match( /^Pawel Maruszczyk </ ) ) {
+                               return "Pawel Maruszczyk (http://hrabstwo.net)";
+                       } else {
+                               return author;
+                       }
+               });
+
+               grunt.file.write( "AUTHORS.txt",
+                       "Authors ordered by first contribution\n" +
+                       "A list of current team members is available at http://jqueryui.com/about\n\n" +
+                       authors.join( "\n" ) + "\n" );
+               done();
+       });
+});
+
 grunt.registerTask( "default", [ "lint", "test" ]);
 grunt.registerTask( "lint", [ "asciilint", "jshint", "jscs", "csslint", "htmllint" ]);
 grunt.registerTask( "test", [ "qunit" ]);
index e9fdd1421db983f97d8482b549a7021dee8a6cd5..75f869ce59b6befd52195318872bca4790bede4e 100644 (file)
@@ -71,7 +71,7 @@
                "grunt-contrib-qunit": "0.4.0",
                "grunt-contrib-uglify": "0.1.1",
                "grunt-esformatter": "0.2.0",
-               "grunt-git-authors": "1.2.0",
+               "grunt-git-authors": "2.0.0",
                "grunt-html": "1.0.0",
                "grunt-jscs": "0.6.2",
                "load-grunt-tasks": "0.3.0",