Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: Submitting a module to cpan (releasing using git)

by jillrowe (Initiate)
on Jul 16, 2014 at 10:10 UTC ( #1093836=note: print w/replies, xml ) Need Help??


in reply to Re^2: Submitting a module to cpan (releasing using git)
in thread Submitting a module to cpan

Everything for git and uploading a module references this blog post http://blog.usarundbrief.com/?p=36

Which clearly no longer exists.

The milla tool looks very promising. I will look into that. I used the module-start to set up my skeleton and just went from there, but maybe I should have looked into the Dist::Zilla too.

When I get this figured out I will definitely thoroughly document it someplace!

  • Comment on Re^3: Submitting a module to cpan (releasing using git)

Replies are listed 'Best First'.
Re^4: Submitting a module to cpan (releasing using git)
by Anonymous Monk on Jul 16, 2014 at 11:11 UTC

    Everything for git and uploading a module references this blog post http://blog.usarundbrief.com/?p=36

    Yes, but it still gives away the secret :)

    1) have the cpan distrbution layout (module-starter guarantees this)

    2) tag a release on github

    3) give pause regular github tarball url with with a cpan dist style filename at end, ie give it http://github.com/username/perl-module-dist/tarball/tagname/Perl-Module-Dist-1.22.tgz

    And thats it, then press “Upload this URL” and you're done

    The caveats are, don't forgot to make manifest... so you have a MANIFEST and META.yml in the git repo

      hahah, I clicked the archive link ... sleep time :)
Re^4: Submitting a module to cpan (releasing using git)
by marto (Bishop) on Jul 16, 2014 at 10:18 UTC
Re^4: Submitting a module to cpan (releasing using git)
by jillrowe (Initiate) on Jul 16, 2014 at 12:21 UTC

    Thank you so much for the reference to milla! It is a lifesaver!

    So for anyone who was wondering when I was using PAUSE I was using the upload a url option. Using a git I created a branch for each version (like the git workflow best practices recommends) and was using the URL to that branch.

    I think that what happened is that it needs to be an archive, tar or zip. So if I had used https://github.com/jerowe/Annovar-Wrapper/archive/Annovar-Wrapper-1.1.zip maybe that would have been ok, but just giving PAUSE https://github.com/jerowe/Annovar-Wrapper/tree/Annovar-Wrapper-1.1 did not work. As it turns out the PAUSE upload form says archives only, but I thought that it had a utility for git since I saw that referenced.

    I'm going to just use milla, but its nice to know how to do it both ways. ;) A big thanks to everyone for your help!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1093836]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2017-11-20 05:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (284 votes). Check out past polls.

    Notices?