{"id":19640378,"url":"https://github.com/kentnl/cpan-changes-group-dependencies-details","last_synced_at":"2026-06-14T15:38:48.455Z","repository":{"id":19056046,"uuid":"22282409","full_name":"kentnl/CPAN-Changes-Group-Dependencies-Details","owner":"kentnl","description":"Full details of dependency changes","archived":false,"fork":false,"pushed_at":"2017-03-05T09:32:23.000Z","size":145,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-09T18:56:59.405Z","etag":null,"topics":["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-07-26T09:04:21.000Z","updated_at":"2017-03-05T08:59:36.000Z","dependencies_parsed_at":"2022-08-05T02:15:18.439Z","dependency_job_id":null,"html_url":"https://github.com/kentnl/CPAN-Changes-Group-Dependencies-Details","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FCPAN-Changes-Group-Dependencies-Details","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FCPAN-Changes-Group-Dependencies-Details/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FCPAN-Changes-Group-Dependencies-Details/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentnl%2FCPAN-Changes-Group-Dependencies-Details/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kentnl","download_url":"https://codeload.github.com/kentnl/CPAN-Changes-Group-Dependencies-Details/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":["perl"],"created_at":"2024-11-11T14:05:37.083Z","updated_at":"2026-06-14T15:38:48.414Z","avatar_url":"https://github.com/kentnl.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAME\n\nCPAN::Changes::Group::Dependencies::Details - Full details of dependency changes.\n\n# VERSION\n\nversion 0.001007\n\n# SYNOPSIS\n\n    my $old_prereqs =\u003e CPAN::Meta-\u003eload_file('Dist-Foo-1.01/META.json')-\u003eeffective_prereqs,\n    my $new_prereqs =\u003e CPAN::Meta-\u003eload_file('Dist-Foo-1.01/META.json')-\u003eeffective_prereqs,\n\n    my $group =  CPAN::Changes::Group::Dependencies::Details-\u003enew(\n      old_prereqs =\u003e $old_prereqs,\n      new_prereqs =\u003e $new_prereqs,\n      change_type =\u003e 'Added',\n      phase       =\u003e 'runtime',\n      type        =\u003e 'requires',\n    );\n\n    my $release = CPAN::Changes::Release-\u003enew(\n      version =\u003e '0.01',\n      date    =\u003e '2014-07-26',\n    );\n\n    $release-\u003eattach_group( $group ) if $group-\u003ehas_changes;\n\n# DESCRIPTION\n\nThis is simple an element of refactoring in my `dep_changes` script.\n\nIt is admittedly not very useful in its current incarnation due to needing quite a few instances\nto get anything done with them, but that's mostly due to design headaches about thinking of _any_ way to solve a few problems.\n\n# METHODS\n\n## `has_changes`\n\nReturns true/false indicating whether or not `relevant` changes were found between\nthe two given `_prereqs` properties.\n\n## `changes`\n\nReturns a list of change entries:\n\n    Added / Removed\n\n        Module::Name      # For unversioned module additions/removals\n        Module::Name 0.30 # For versioned\n\n    Changed / Upgrade / Downgrade\n\n        Module::Name \u003cOLDREQ\u003e → \u003cNEWREQ\u003e\n\n# ATTRIBUTES\n\n## `change_type`\n\n**REQUIRED:**\nOne of the following indicating the type of change this group represents.\n\n    Added     : Dependencies are new to this phase\n    Changed   : The version component of this dependency changed in some way\n    Upgrade   : A newer version of this dependency is required.\n    Downgrade : The requirement of this dependency is no longer so stringent.\n    Removed   : A dependency previously in this phase was removed.\n\n## `phase`\n\n**REQUIRED:**\nOne of the following phases indicating the phase this group will pertain to\n\n    configure\n    build\n    runtime\n    test\n    develop\n\n## `type`\n\n**REQUIRED:**\nOne of the following types indicating the severity of the dependency this group will pertain to\n\n    requires\n    recommends\n    suggests\n    conflicts\n\n## `new_prereqs`\n\n**LIKELY REQUIRED**:\n`HashRef`,`CPAN::Meta` or `CPAN::Meta::Prereqs` structure for _'new'_ dependencies.\n\n## `old_prereqs`\n\n**LIKELY REQUIRED**:\n`HashRef`,`CPAN::Meta` or `CPAN::Meta::Prereqs` structure for _'new'_ dependencies.\n\n## `arrow_join`\n\nThe delimiter to separate change family entries.\n\nDefault:\n\n    #\\N{NO-BREAK SPACE}\\N{RIGHTWARDS ARROW}\\N{NO-BREAK SPACE}\n    q[ → ]\n\n## `name_split`\n\nUsed to define `name`.\n\nDefault:\n\n    q[ / ]\n\n## `name_type_split`\n\nUsed to separate `phase` and `type` in `name`\n\nDefault:\n\n    q[ ]\n\n## `name`\n\nThe name of the group.\n\nIf not specified, is generated from other attributes\n\n    Added / runtime requires\n\n    |___|------------------- change_type\n         |_|---------------- name_split\n            |_____|--------- phase\n                   ||------- name_type_split\n                    |______| type\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%2Fcpan-changes-group-dependencies-details","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkentnl%2Fcpan-changes-group-dependencies-details","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkentnl%2Fcpan-changes-group-dependencies-details/lists"}