{"id":19640368,"url":"https://github.com/kentnl/dist-zilla-plugin-metaprovides","last_synced_at":"2025-07-22T18:34:06.735Z","repository":{"id":582385,"uuid":"215640","full_name":"kentnl/Dist-Zilla-Plugin-MetaProvides","owner":"kentnl","description":"Generating and Populating 'provides' in your META.yml","archived":false,"fork":false,"pushed_at":"2017-03-01T12:19:51.000Z","size":767,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-28T11:37:15.311Z","etag":null,"topics":["dist-zilla","perl"],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kentnl.png","metadata":{"files":{"readme":"README.mkdn","changelog":"Changes","contributing":"CONTRIBUTING.pod","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-06-01T16:12:09.000Z","updated_at":"2023-02-16T15:28:47.000Z","dependencies_parsed_at":"2022-07-08T05:10:45.010Z","dependency_job_id":null,"html_url":"https://github.com/kentnl/Dist-Zilla-Plugin-MetaProvides","commit_stats":null,"previous_names":[],"tags_count":76,"template":false,"template_full_name":null,"purl":"pkg:github/kentnl/Dist-Zilla-Plugin-MetaProvides","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FDist-Zilla-Plugin-MetaProvides","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FDist-Zilla-Plugin-MetaProvides/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FDist-Zilla-Plugin-MetaProvides/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FDist-Zilla-Plugin-MetaProvides/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kentnl","download_url":"https://codeload.github.com/kentnl/Dist-Zilla-Plugin-MetaProvides/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FDist-Zilla-Plugin-MetaProvides/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266552669,"owners_count":23947182,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dist-zilla","perl"],"created_at":"2024-11-11T14:05:34.884Z","updated_at":"2025-07-22T18:34:06.704Z","avatar_url":"https://github.com/kentnl.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAME\n\nDist::Zilla::Plugin::MetaProvides - Generating and Populating 'provides' in your META.yml\n\n# VERSION\n\nversion 2.002005\n\n# SYNOPSIS\n\nThis module is not intended to be used directly, but instead, one of the following sub-modules should be used in your projects dist.ini\n\nThe most common usage should find\n\n    [MetaProvides::Package]\n\nSufficient for indexing traditional Perl5 modules.\n\nAdvanced Usage:\n\n    ; Traditional Perl5 Modules\n    [MetaProvides::Package]\n    inherit_version = 1  ; Default\n    inherit_missing = 1  ; Default\n    meta_noindex    = 1  ; Default\n\n    ; If using MooseX::Declare style \"class\" keywords.\n    ; Default configuration shown\n    [MetaProvides::Class]\n    inherit_version = 1    ; Default\n    inherit_missing = 1    ; Default\n    meta_noindex    = 1    ; Default\n\n    ; Hand Constructed Provides in an external file\n    [MetaProvides::FromFile]\n    inherit_version = 1     ; Default\n    inherit_missing = 1     ; Default\n\n    file = some_file.ini    ; mandatory flag\n    reader_name = Config::INI::Reader ;optional flag\n\nAnd then in some\\_file.ini\n\n    [Imaginary::Package]\n    file = lib/Imaginary/Package.pm ;mandatory flag\n    version = 3.1415                ;optional flag, subject to rules in dist.ini\n\n# DESCRIPTION\n\nThis Distribution Contains a small bundle of plugins for various ways of\npopulating the `META.yml` that is built with your distribution.\n\nThe initial reason for this is due to stuff that uses [MooseX::Declare](https://metacpan.org/pod/MooseX::Declare)\nstyle class definitions not being parseable by many tools upstream, so this\nis here to cover this problem by defining it in the metadata.\n\n# COMPONENT SUMMARY\n\n## `::Class`\n\nScans [Dist::Zilla](https://metacpan.org/pod/Dist::Zilla)'s `.pm` files and tries to identify classes using\n[Class::Discover](https://metacpan.org/pod/Class::Discover).\n\n[Dist::Zilla::Plugin::MetaProvides::Class](https://metacpan.org/pod/Dist::Zilla::Plugin::MetaProvides::Class)\n\n## `::Package`\n\nScans [Dist::Zilla](https://metacpan.org/pod/Dist::Zilla)'s `.pm` files and tries to identify more traditional\npackages using a combination of [Module::Extract::VERSION](https://metacpan.org/pod/Module::Extract::VERSION) and\n[Module::Extract::Namespaces](https://metacpan.org/pod/Module::Extract::Namespaces).\n\n[Dist::Zilla::Plugin::MetaProvides::Package](https://metacpan.org/pod/Dist::Zilla::Plugin::MetaProvides::Package)\n\n## `::FromFile`\n\nIn the event both of the above don't work for your needs, pull in\nhand-crafted metadata from a specified file.\n\n[Dist::Zilla::Plugin::MetaProvides::FromFile](https://metacpan.org/pod/Dist::Zilla::Plugin::MetaProvides::FromFile)\n\n# OPTION SUMMARY\n\n## `inherit_version`\n\nAt the time this plugin runs to collect metadata from files,\nthe mungers won't have run yet to inject custom versions into files in the various\nlocations.\n\nIf you want the versions reported in the `provides` list to be consistent with\nthe ones actually in the files, you will need to use this option in its enabled\nstate.\n\nIE: Generally, if you are using version munging, you **WILL** want this flag set\nto `1`.\n\n### `values`\n\n- `'0'`\n\n    Do not inherit version from `Dist::Zilla`\n\n- `'1'` **\\[default\\]**\n\n    Inherit version from [Dist::Zilla](https://metacpan.org/pod/Dist::Zilla)\n\n[\"inherit\\_version\" in Dist::Zilla::Role::MetaProvider::Provider](https://metacpan.org/pod/Dist::Zilla::Role::MetaProvider::Provider#inherit_version)\n\n## `inherit_missing`\n\nIf for whatever reason you want to actually use the versions found in the modules\nwhere present, and fall back to the value from [Dist::Zilla](https://metacpan.org/pod/Dist::Zilla).\n\n`inherit_version` will need to be turned off (`0`) for this to be effective.\n\n### values\n\n- `'0'`\n\n    Do not inherit version from `Dist::Zilla` when one is missing.\n\n- `'1'` **\\[default\\]**\n\n    Inherit version from [Dist::Zilla](https://metacpan.org/pod/Dist::Zilla) when one is missing.\n\n[\"inhert\\_missing\" in Dist::Zilla::Role::MetaProvider::Provider](https://metacpan.org/pod/Dist::Zilla::Role::MetaProvider::Provider#inhert_missing)\n\n## `meta_noindex`\n\nThis dictates how to behave when a discovered class is also present in the `no_index` META field.\n\n### values\n\n- `'0'` **\\[default\\]**\n\n    `no_index` META field will be ignored\n\n- `'1'`\n\n    `no_index` META field will be recognised and things found in it will cause respective packages\n    to not be provided in the metadata.\n\n[\"meta\\_noindex\" in Dist::Zilla::Role::MetaProvider::Provider](https://metacpan.org/pod/Dist::Zilla::Role::MetaProvider::Provider#meta_noindex)\n\n## `file`\n\n( [Dist::Zilla::Plugin::MetaProvides::FromFile](https://metacpan.org/pod/Dist::Zilla::Plugin::MetaProvides::FromFile) )\n\nThis is a mandatory parameter that points to the file that contains manually\n( or otherwise ) crafted metadata to be integrated into your final META.yml\n\nFile Must exist.\n\n## `reader_name`\n\n( [Dist::Zilla::Plugin::MetaProvides::FromFile](https://metacpan.org/pod/Dist::Zilla::Plugin::MetaProvides::FromFile) )\n\nThis parameter is by default [Config::INI::Reader](https://metacpan.org/pod/Config::INI::Reader), but it can be in fact anything\nthat meets the following criteria.\n\n- Can be initialized an instance of\n- has a read\\_file method on the instance\n- read\\_file can take the parameter 'file'\n- read\\_file can return a hashref matching the following structure\n\n        { 'Package::Name' =\u003e {\n            'file' =\u003e '/path/to/file',\n            'version' =\u003e 0.1,\n        }}\n\n# AUTHOR\n\nKent Fredric \u003ckentnl@cpan.org\u003e\n\n# COPYRIGHT AND LICENSE\n\nThis software is copyright (c) 2017 by Kent Fredric \u003ckentfredric@gmail.com\u003e.\n\nThis is free software; you can redistribute it and/or modify it under\nthe same terms as the Perl 5 programming language system itself.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkentnl%2Fdist-zilla-plugin-metaprovides","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkentnl%2Fdist-zilla-plugin-metaprovides","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkentnl%2Fdist-zilla-plugin-metaprovides/lists"}