Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Dist-Zilla CPAN distribution.

Report information
The Basics
Id: 66721
Status: rejected
Priority: 0/
Queue: Dist-Zilla

People
Owner: Nobody in particular
Requestors: BGILLS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Add Dist::Zilla::Plugin::Fake
There are a number of required fields that are required which make it difficult to use Dist::Zilla for anything other than distributions intended for CPAN. It would be nice if there was a Plugin like FakeRelease which provides fake data for those fields. ( Or remove those requirements ) --- As an example: Say you have a repository of Template::Toolkit files. You want to be able to run `dzil build`, and have it build those files into a set of html files. You may want to be able to run `dzil test`, and have those files tested for spelling, and check that they are well-formed. You may also want to be able to use Dist::Zilla::Plugin::GitBuild, to store those files in another branch, and use Dist::Zilla::Plugin::GitPush push that branch to a public repository. ### dist.ini: ; name = [Fake] ; version = 2011-03-18 version = %{ymd}D run_on_build = somecommand [Git::CommitBuild] branch = release_branch = html ; %v would be the current date. release_message = Built on %v [Git::Push] push_to = webserver html push_to = backup master This represents an actual usage I had for Dist::Zilla. Instead I had to copy from Dist::Zilla::Plugin::Git::CommitBuild to do what I had intended.
Making a plugin to do this would be prohibitively complex, I think. I'm open to suggestions of fields that should be optional rather than required, but be forewarned that I'm pretty sure I think things are correct now. -- rjbs