-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make release status configurable #438
Conversation
This change introduces a new attribute, 'release_status', and a new role, D::Z::R::ReleaseStatusProvider. The 'is_trial' variable is changed to be read-only. This will break the handful of CPAN modules that try to set it. Those modules should set the RELEASE_STATUS environment variable before building instead. For backwards compatibility, 'is_trial' in dist.ini and the TRIAL environment variable are supported.
I still need to send patches to the affected distributions, so please |
is_trial is likely to become read-only as a part of rjbs/Dist-Zilla#438 which adds support for customizing release status
is_trial is likely to become read-only as a part of rjbs/Dist-Zilla#438 which adds support for customizing release status
is_trial is likely to become read-only as a part of rjbs/Dist-Zilla#438 which adds support for customizing release status
OK. All dists that I could find via grep.cpan.me have pull requests, so I think this is ready to go once you've reviewed it. |
If there is any runtime code affected, could |
@karenetheridge, done |
710cca4
to
d0d961c
Compare
As David Golden pointed out in PR #2, is_trial is likely to become read-only as a part of rjbs/Dist-Zilla#438 which adds support for customizing release status. Using TRIAL maintains maximum compatibility with current versions of dzil as well as future versions.
::update 0.05, just released, ensures compat with this PR. |
Thanks, 5.035 released! |
This change introduces a new attribute, 'release_status', and a new
role, D::Z::R::ReleaseStatusProvider.
The 'is_trial' variable is changed to be read-only. This will break the
handful of CPAN modules that try to set it. Those modules should set
the RELEASE_STATUS environment variable before building instead.
For backwards compatibility, 'is_trial' in dist.ini and the TRIAL
environment variable are supported.