The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Module::Release - Methods for releasing packages to CPAN and SourceForge.

SYNOPSIS

Right now, there are no user-servicable parts inside. However, this has been split out like this so that there can be in the future.

new()

Create a Module::Release object. Any arguments passed are assumed to be key-value pairs that override the default values.

At this point, the new() method is not overridable via the release_subclass config file entry. It would be nice to fix this sometime.

clean()

Clean up the directory to get rid of old versions

build_makefile()

Builds the makefile from Makefile.PL

test()

Check the tests, which must all pass

dist()

Make the distribution. As a side effect determines the distribution name if not set on the command line.

dist_test()

Check the distribution test

check_cvs()

Check the state of the CVS repository

check_for_passwords()

Makes sure that cpan_pass and sf_pass members are populated, as appropriate. This function must die if the calling program is not able to continue.

ftp_upload()

Upload the files to the FTP servers

pause_claim()

Claim the file in PAUSE

cvs_tag()

Tag the release in local CVS

make_cvs_tag()

By default, examines the name of the remote file (i.e. Foo-Bar-0.04.tar.gz) and constructs a CVS tag like RELEASE_0_04 from it. Override this method if you want to use a different tagging scheme.

sf_login()

Authenticate with Sourceforge

sf_qrs()

Visit the Quick Release System form

sf_release()

Release the file

get_readme()

Read and parse the README file. This is pretty specific, so you may well want to overload it.

get_changes()

Read and parse the Changes file. This is pretty specific, so you may well want to overload it.

run()

Run a command in the shell.

getpass()

Get a password from the user if it isn't found.

CREDITS

Ken Williams turned my initial release(1) script into the present module form.

Andy Lester helped with the maintenance.

Andreas Koenig suggested changes to make it work better with PAUSE.

Chris Nandor helped with figuring out the broken SourceForge stuff.

AUTHOR

Copyright 2005 brian d foy, <bdfoy@cpan.org>