# NAME Dist::Zilla::Plugin::ContributorsFile - add a file listing all contributors # VERSION version 0.4.0 # SYNOPSIS In dist.ini: ``` " any plugin populating x_contributors in the META files [Git::Contributors] [ContributorsFile] filename = CONTRIBUTORS ``` # DESCRIPTION `Dist::Zilla::Plugin::ContributorsFile` populates a _CONTRIBUTORS_ file with all the contributors of the project as found under the _x\_contributors_ key in the META files. The generated file will look like this: ``` # FOO-BAR CONTRIBUTORS # This is the (likely incomplete) list of people who have helped make this distribution what it is, either via code contributions, patches, bug reports, help with troubleshooting, etc. A huge 'thank you' to all of them. * Albert Zoot * Bertrand Maxwell ``` Note that if no contributors beside the actual author(s) are found, the file will not be created. # CONFIGURATION OPTIONS ## filename The name of the contributor file that is created. Defaults to _CONTRIBUTORS_. # TRICKS Refer to David Golden's blog entry at [http://www.dagolden.com/index.php/1921/how-im-using-distzilla-to-give-credit-to-contributors/](http://www.dagolden.com/index.php/1921/how-im-using-distzilla-to-give-credit-to-contributors/) to get introduced to the `Dist::Zilla` contributor modules. Git's `.mailmap` file is useful to deal with contributors with several email addresses: [https://www.kernel.org/pub/software/scm/git/docs/git-shortlog.html](https://www.kernel.org/pub/software/scm/git/docs/git-shortlog.html). To give credit to bug reporters and other persons who don't commit code directly, you can use empty git commits: ``` git commit --allow-empty --author="David Golden " -m "..." ``` To populate the META file with the `x_contributors`, you probably want to use either [Dist::Zilla::Plugin::Git::Contributors](https://metacpan.org/pod/Dist%3A%3AZilla%3A%3APlugin%3A%3AGit%3A%3AContributors) or [Dist::Zilla::Plugin::ContributorsFromGit](https://metacpan.org/pod/Dist%3A%3AZilla%3A%3APlugin%3A%3AContributorsFromGit). # SEE ALSO [Dist::Zilla::Plugin::ContributorsFromGit](https://metacpan.org/pod/Dist%3A%3AZilla%3A%3APlugin%3A%3AContributorsFromGit) [Dist::Zilla::Plugin::Git::Contributors](https://metacpan.org/pod/Dist%3A%3AZilla%3A%3APlugin%3A%3AGit%3A%3AContributors) [Pod::Weaver::Section::Contributors](https://metacpan.org/pod/Pod%3A%3AWeaver%3A%3ASection%3A%3AContributors) # AUTHOR Yanick Champoux [![endorse](http://api.coderwall.com/yanick/endorsecount.png)](http://coderwall.com/yanick) # COPYRIGHT AND LICENSE This software is copyright (c) 2026 by Yanick Champoux. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.