{"id":19640338,"url":"https://github.com/kentnl/dist-zilla-plugin-prereqs-soften","last_synced_at":"2026-06-18T14:31:44.039Z","repository":{"id":14227337,"uuid":"16934337","full_name":"kentnl/Dist-Zilla-Plugin-Prereqs-Soften","owner":"kentnl","description":"Downgrade listed dependencies to recommendations if present","archived":false,"fork":false,"pushed_at":"2017-03-06T05:03:57.000Z","size":234,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-09T18:56:43.300Z","etag":null,"topics":["dist-zilla","perl"],"latest_commit_sha":null,"homepage":null,"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":"2014-02-18T02:32:36.000Z","updated_at":"2017-02-28T02:26:38.000Z","dependencies_parsed_at":"2022-08-02T16:15:27.157Z","dependency_job_id":null,"html_url":"https://github.com/kentnl/Dist-Zilla-Plugin-Prereqs-Soften","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FDist-Zilla-Plugin-Prereqs-Soften","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FDist-Zilla-Plugin-Prereqs-Soften/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FDist-Zilla-Plugin-Prereqs-Soften/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FDist-Zilla-Plugin-Prereqs-Soften/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kentnl","download_url":"https://codeload.github.com/kentnl/Dist-Zilla-Plugin-Prereqs-Soften/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240947648,"owners_count":19883030,"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","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:29.882Z","updated_at":"2025-11-21T14:04:39.345Z","avatar_url":"https://github.com/kentnl.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAME\n\nDist::Zilla::Plugin::Prereqs::Soften - Downgrade listed dependencies to recommendations if present.\n\n# VERSION\n\nversion 0.006004\n\n# SYNOPSIS\n\n    [Prereqs::Soften]\n    module = Foo\n    module = Bar\n\n# DESCRIPTION\n\nThis module iterates `build`, `require` and `test` dependency lists and migrates dependencies found in `.requires` and\ndemotes them to `.recommends`\n\nOptionally, it can [duplicate softened dependencies to other locations](#copy_to)\n\n# ATTRIBUTES\n\n## `modules`\n\nA `multi-value` argument that specifies a module name to soften in `prereqs`.\n\n## `to_relationship`\n\nThe output relationship kind.\n\n**Default:**\n\n    'recommends'\n\n**Valid Values:**\n\n    'recommends', 'suggests', 'none', 'requires', 'conflicts'\n\nThough the last two are reserved for people with `$num_feet \u003e 2` or with shotguns that only fire blanks.\n\n`none` is available since `0.006000` to allow removal of dependencies in conjunction with copying them.\n\n## `copy_to`\n\nAdditional places to copy the dependency to:\n\n**Default:**\n\n    []\n\n**Example:**\n\n    [Prereqs::Soften]\n    copy_to         = develop.requires\n    to_relationship = recommends\n    module          = Foo\n\nThis in effect means:\n\n    remove from: runtime.requires\n        → add to: develop.requires\n        → add to: runtime.recommends\n\n    remove from: test.requires\n        → add to: develop.requires\n        → add to: test.recommends\n\n     remove from: build.requires\n        → add to: develop.requires\n        → add to: build.recommends\n\n## `modules_from_features`\n\nThis is for use in conjunction with [`[OptionalFeature]`](https://metacpan.org/pod/Dist::Zilla::Plugin::OptionalFeature), or anything that injects\ncompatible structures into `distmeta`.\n\nRecommended usage as follows:\n\n    [OptionalFeature / Etc]\n    ...\n\n    [Prereqs::Soften]\n    modules_from_features = 1\n\nIn this example, `copy_to` and `modules` are both redundant, as `modules` are propagated from all features,\nand `copy_to` is not necessary because  [`[OptionalFeature]`](https://metacpan.org/pod/Dist::Zilla::Plugin::OptionalFeature) automatically adds\ndependencies to `develop.requires`\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-prereqs-soften","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkentnl%2Fdist-zilla-plugin-prereqs-soften","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkentnl%2Fdist-zilla-plugin-prereqs-soften/lists"}