Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: how to create a CPAN bundle for your own private server

by marto (Chancellor)
on Nov 08, 2011 at 11:42 UTC ( #936755=note: print w/ replies, xml ) Need Help??


in reply to how to create a CPAN bundle for your own private server

"PS:please Excuse me if i have presented this in bad manner this is my first article"

Tutorials gives advice on posting:

Should I post here?

While you can post directly to the Tutorials section, this has certain drawbacks. A generally better approach is to follow this procedure:

  1. Write up your draft tutorial and put it in your scratchpad; broadcast requests for comments in the chatterbox and elsewhere.
    After revising,
  2. Post it as a new Meditation, with "RFC" in the title.
    Later, if it is generally acclaimed to be worthy of Tutorials, but needs more work first, then make the necessary revisions and
  3. Post the final version as a Tutorials node.
Since ideally the Tutorials section has a high value-to-noise ratio, tutorial documents should be in as finished a state as possible before being posted to that section. (Not that it's the end of the world if they aren't.)

If you would be interested in writing a Tutorial but aren't sure what to write about, or if you have an idea for a Tutorial but can't commit to writing it check out the Tutorials Quest!

Also of interest: How does editing work in the Tutorials section?

If you have Tutorials-related questions or requests, you may /msg them to Pedagogues.

"now create a PAUSE account and upload your Bundle::abc"

Are you sure you want to pollute CPAN with Bundles which are specific to your applications/scripts? IMHO this isn't want it's for. Why not just store all this locally on an internal server, along with a cpan mirror (created using minicpan)? If one of your complaints is that certain versions of modules may be required take responsability for making them available in this manner. Alternativly consider using PAR to package your scripts, module dependencies and data.

Also your instructions aren't very clear (IMHO)

Update: Also, you mention "private server" in the title, but from what you've written you're uploading to PAUSE (not private).

Update 2: This post was written before the thread was moved from tutorials to Meditations.


Comment on Re: how to create a CPAN bundle for your own private server
Re^2: how to create a CPAN bundle for your own private server
by Anonymous Monk on Nov 08, 2011 at 11:49 UTC

    Are you sure you want to pollute CPAN with Bundles which are specific to your applications/scripts?

    Why not? Isn't that what bundles are for?

      No it isn't what CPAN is for.
Re^2: how to create a CPAN bundle for your own private server
by ansh batra (Friar) on Nov 08, 2011 at 12:12 UTC
    the reason for uploading the bundle are
    1.02packages.details.txt.gz will have the name of your bundle and ull be using this(updated) file
    2.youll get the checksums for your bundle which i think cannot be created manually
    now once you have done your job you may delete your bundle from CPAN since it is of no use for the outside world!!!
    thanks!!!

      once you have done your job you may delete your bundle from CPAN since it is of no use for the outside world!!! thanks!!!

      If its of no use to the outside world, why upload to CPAN?

        ok dont upload it on CPAN
        then add the following step
        manually add your Bundle name in 03packages file
        when you run the bundle then CPAN shell will warn you about the "absence of Checksums"

      "now once you have done your job you may delete your bundle from CPAN"

      So why are you publishing it to the world if nobody else is interested in it? Then you're going to delete it from CPAN? You seem confused, also your exclamation mark key seems faulty.

      Consider my suggestions of a local cpan mirror internal to your company, and 'releasing' your application specific bundles to that, rather than the public CPAN. http://blogs.perl.org/users/randy_stauner/2011/06/releasing-to-minicpan.html

      Again (IMHO) this would have been discussed had this been posted as a meditation rather than directly in Tutorials.

      Update: This post was written before the thread was moved from Tutorials to Meditations.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://936755]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2014-07-23 04:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (133 votes), past polls