Comments (6)
Alternatively, configure dzil to check in the generated Makefile.PL and other generated files (which you should do for the LICENSE and README anyway).
(My dzil bundle)[https://metacpan.org/release/Dist-Zilla-PluginBundle-DROLSKY] may be a useful place to steal things from. If you're using dzil for more than a few distros, I strongly encourage you to create your own bundle. It makes your life much easier, and can make it easier for other people who release your software.
Round tuits and all that, of course.
from test2-suite.
I strongly encourage you to create your own bundle
I'm not saying "I don't know how to use dzil". I'm saying "Not every person wanting to work on Test2::Suite will know how to use dzil, or even recognize that dzil is involved." Even if someone said "Hmm, what's this dist.ini?" there's nothing in it to say "You have to use Dist::Zilla to use this."
configure dzil to check in the generated Makefile.PL
I think that would solve the problem nicely, so long as there was something in the Makefile.PL that says "I'm autogenerated by dzil, so don't modify me."
from test2-suite.
There is literally nothing in the entire repo that says "You need to use Dist::Zilla", much less how to use it.
(SVN) alester:~ $ git clone [email protected]:Test-More/Test2-Suite.git
Cloning into 'Test2-Suite'...
remote: Counting objects: 4266, done.
remote: Compressing objects: 100% (107/107), done.
remote: Total 4266 (delta 35), reused 0 (delta 0), pack-reused 4153
Receiving objects: 100% (4266/4266), 655.07 KiB | 0 bytes/s, done.
Resolving deltas: 100% (3219/3219), done.
Checking connectivity... done.
(SVN) alester:~ $ cd Test2-Suite/
(master) alester:~/Test2-Suite $ ack Dist::Zilla
(master) alester:~/Test2-Suite $ ack dzil
(master) alester:~/Test2-Suite $
from test2-suite.
I think that would solve the problem nicely, so long as there was something in the Makefile.PL that says "I'm autogenerated by dzil, so don't modify me."
https://github.com/houseabsolute/DateTime.pm/blob/master/Makefile.PL shows an example of what this looks like. It has exactly such a comment.
from test2-suite.
I agree about this being confusing. I really think the best practice is to copy all the relevant files into the repo. My bundle copies the following generated files on every release:
Build.PL
CONTRIBUTING.md
LICENSE
Makefile.PL
README.md
cpanfile
ppport.h
Note that not every distro I maintain has all the files, so that list covers several different cases.
from test2-suite.
5f36765 adds a bunch of this stuff.
from test2-suite.
Related Issues (20)
- Add 'stringify_got' attribute to Test2::Compare::Custom HOT 2
- perltidyrc doesnโt match code style, seems invalid and not be be applied or enforced HOT 3
- Should dies() warn when called in void context? HOT 1
- Document how to use `in_set` builder HOT 4
- T() and F() do not handle references properly
- Dumper-on-fail for `is`, `isnt`, etc HOT 4
- Add some number inequality check functions HOT 1
- Issue with moving Module::Pluggable to optional HOT 3
- Can't locate object method "plugins" via package "Test2::Tools::Tester" HOT 1
- Question: What's a root cause of bundling Importer, Scope::Guard, and Sub::Info? HOT 8
- Module::Pluggable is a deprecation error on 5.18.4 HOT 2
- Test2::Tools::Compare::{D,DF,F,T etc.) exported by default (contrary to docs) HOT 2
- Test2::Tools::Compare doc error/typo HOT 1
- Prototype mismatch warning with Test2::Mock HOT 7
- missing docs for 'bool'
- Should blead 'de-CUSTOMIZE` 4 test files changed to accommodate VMS? HOT 2
- Test2::Mock's around doesn't have orig when wrapping a method in the parent class HOT 3
- Test2::Tools::Compare::all_items checks beyond array end
- Test2::V0 srand documentation needs to be improved
- `done_testing` inside `fork_subtest` confuses the harness HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from test2-suite.