Coder Social home page Coder Social logo

Comments (6)

autarch avatar autarch commented on August 16, 2024

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.

petdance avatar petdance commented on August 16, 2024

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.

petdance avatar petdance commented on August 16, 2024

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.

autarch avatar autarch commented on August 16, 2024

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.

autarch avatar autarch commented on August 16, 2024

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.

exodist avatar exodist commented on August 16, 2024

5f36765 adds a bunch of this stuff.

from test2-suite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.