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.

VERSION

Version 0.22

    $Header: /cvsroot/brian-d-foy/release/lib/Module/Release.pm,v 1.19 2003/06/23 04:44:16 petdance Exp $

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

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.