Subject: | Adding a "Custom" license to cope with corner cases |
Hi,
first of all thanks for all and sorry if this is not the right place to raise this issue.
Software::License is used in Dist::Zilla but there is currently little space for customisation. E.g.
I like to use the Artistic_2_0 license, but I'd also like to add a little notice a-la
http://perlbuzz.com/2010/06/artistic-license-20-makes-dual-license-boilerplate-
unnecessary.html
I've seen that others have problems in the same area, e.g. setting custom dates for copyright
or - out of my imagination - setting different copyright holders for different time ranges.
I tried to set up a Software::License::Custom that simply loads a file where the needed info
are kept, in a way that is similar to how S::L is implemented. In this way, it is trivial to
implement a plugin for Dist::Zilla to load that file in the BeforeBuild phase in order to set up
the license object according to one's needs. The first draft of the implementation (along with
the tests) can be found in the github fork whose head is now at
http://github.com/polettix/software-
license/commit/9de5637adad9d6ae7f79a6a5c8986f1c0c1b1bab
Cheers,
Flavio.