http://qs321.pair.com?node_id=1062159


in reply to Dist::Zilla + plugins version information in generated distribution

Dist::Zilla includes the MetaConfig plugin to do exactly this. It includes the version of Dist::Zilla as well as all of the plugins used in the META.json/META.yml files.

Replies are listed 'Best First'.
Re^2: Dist::Zilla + plugins version information in generated distribution
by sedusedan (Monk) on Nov 12, 2013 at 10:12 UTC

    Thanks, Haarg.

    I am currently not producing META.* for my non-CPAN distributions, last time I checked there were some problems like invalid license. I should probably resolve those issues so I can return producing distmeta files for those dists.

    Also I'd like to dump Pod::Weaver plugins information. Perhaps I'll add a plugin for that.

      I have now back on producing META.{json,yml} for non-CPAN dists, and I have just uploaded Dist::Zilla::Plugin::MetaConfig::PodWeaver to dump Pod::Weaver config under its own config. Now waiting for someone to suggest a more proper way (like patching or injecting or convincing Dist::Zilla::Plugin::PodWeaver to dump the same configuration).

        Releasing a new weird aftermarket plugin seems like a weird thing to do instead of just a patch against Dist::Zilla::Plugin::Pod::Weaver. I have added plugin config dumping to v4.002.
        rjbs