Dist::Zilla::Plugin::ContributorsFromGit - Populate your 'CONTRIBUTORS' POD from the list of git authors


This document describes version 0.009 of Dist::Zilla::Plugin::ContributorsFromGit - released April 08, 2014 as part of Dist-Zilla-Plugin-ContributorsFromGit.


    ; in your dist.ini

    ; in your weaver.ini


This plugin makes it easy to acknowledge the contributions of others by populating a %PodWeaver stash with the unique list of all git commit authors reachable from the current HEAD.


On collecting the unique list of reachable commit authors from git, we search and remove any git authors from the list of authors Dist::Zilla knows about. We then look for a stash named %PodWeaver; if we don't find one then we create an instance of Dist::Zilla::Stash::PodWeaver and register it with our zilla instance. Then we add the list of contributors (the filtered git authors list) to the stash in such a way that Pod::Weaver::Section::Contributors can find them.

Note that you do not need to have the %PodWeaver stash created; it will be added if it is not found. However, your Pod::Weaver config (aka c<weaver.ini>) must include the Contributors section plugin.

This plugin runs during the BeforeBuild phase.

The list of contributors is also added to distribution metadata under the custom x_contributors key.



This is an hash of additional emails that may be found from time to time in git commit logs mapped back to the author's 'canonical' author email. Generally speaking, the 'canonical email' will be the author's address, so that metacpan may properly attribute contributions.


        'Chris Weyl <>' => 'Chris Weyl <>',
        'Chris Weyl <>'     => 'Chris Weyl <>',

Note that this attribute is *read-only*; its contents are loaded from share/author-emails.yaml. please fork and send a pull request if you'd like to add additional mappings. This is highly encouraged. :)

If you have duplicate contributors because of differences in committer name or email you can use a .mailmap file to canonicalize contributor names and emails. See git help shortlog for details.


Please see those modules/websites for more information related to this module.


The development version is on github at and may be cloned from git://


Please report any bugs or feature requests on the bugtracker website

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.


Chris Weyl <>


  • David Golden <>

  • Graham Knop <>

  • Randy Stauner <>

  • Tatsuhiko Miyagawa <>


This software is Copyright (c) 2012 by Chris Weyl.

This is free software, licensed under:

  The GNU Lesser General Public License, Version 2.1, February 1999