Overview

Packages

  • Release

Classes

  • Horde_Release
  • Horde_Release_Freecode
  • Horde_Release_MailingList
  • Horde_Release_Sentinel
  • Horde_Release_Whups
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Release

Class to make an "official" Horde or application release.

Copyright 1999 Mike Hardy Copyright 2004-2012 Horde LLC (http://www.horde.org/)

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Package: Release
Category: Horde
License: LGPL 2.1
Author: Mike Hardy
Author: Jan Schneider jan@horde.org
Link: http://www.horde.org/libraries/Horde_Release
Located at Horde/Release.php
Methods summary
public
# __construct( mixed $options = array() )

Load the configuration

Load the configuration

public
# __get( mixed $property )
public
# deleteDirectory( mixed $directory )

Delete the directory given as an argument

Delete the directory given as an argument

public
# makeTarball( )

tar and gzip the directory given as an argument

tar and gzip the directory given as an argument

public
# tagSource( mixed $directory = null, mixed $version = null )

Label all of the source here with the new label given as an argument

Label all of the source here with the new label given as an argument

public
# diff( )

Make a diff of the two directories given as arguments

Make a diff of the two directories given as arguments

public
# updateVersionFile( mixed $directory, mixed $version_string )

Change the version file for the module in the directory specified to the version specified

Change the version file for the module in the directory specified to the version specified

public
# updateSentinel( )

Update the CHANGES file with the new version number

Update the CHANGES file with the new version number

public
# saveChangelog( mixed $old = false, mixed $directory = null )

get and save the revision number of the CHANGES file

get and save the revision number of the CHANGES file

public
# cleanDirectories( mixed $directory )

work through the source directory given, cleaning things up by removing directories and files we don't want in the tarball

work through the source directory given, cleaning things up by removing directories and files we don't want in the tarball

public
# checkOutTag( mixed $mod_version, mixed $directory, mixed $module = null )

Check out the tag we've been given to work with and move it to the directory name given

Check out the tag we've been given to work with and move it to the directory name given

public
# checkOutFramework( mixed $mod_version, mixed $directory )

Checkout and install framework

Checkout and install framework

public
# upload( )

Upload tarball to the FTP server

Upload tarball to the FTP server

public
# announce( mixed $doc_dir = null )

announce release to mailing lists and freecode.

announce release to mailing lists and freecode.

public
# _fmUpdateLinks( mixed $links )

Attempt to update FM project links

Attempt to update FM project links

public
# test( )

Do testing (development only)

Do testing (development only)

public
# addWhupsVersion( )

Add the new version to bugs.horde.org

Add the new version to bugs.horde.org

public
# setVersionStrings( )

Set the version strings to use given the arguments

Set the version strings to use given the arguments

public
# getArguments( )

Get all of the command-line arguments from the user

Get all of the command-line arguments from the user

public
# checkArguments( )

Check the command-line arguments and set some internal defaults

Check the command-line arguments and set some internal defaults

public
# checkSetSystem( )

Check the command-line arguments and set some internal defaults

Check the command-line arguments and set some internal defaults

public
# print_usage( mixed $message = null )

Show people how to use the damned thing

Show people how to use the damned thing

Constants summary
string FOCUS_INITIAL
# 'Initial announcement'
string FOCUS_MINORFEATURE
# 'Minor feature enhancements'
string FOCUS_MAJORFEATURE
# 'Major feature enhancements'
string FOCUS_MINORBUG
# 'Minor bugfixes'
string FOCUS_MAJORBUG
# 'Major bugfixes'
string FOCUS_MINORSECURITY
# 'Minor security fixes'
string FOCUS_MAJORSECURITY
# 'Major security fixes'
string FOCUS_DOCS
# 'Documentation improvements'
Properties summary
public array $notes

Populated when the RELEASE_NOTES file is included. Should probably be refactored to use a setter for each property the RELEASE_NOTES file sets...

Populated when the RELEASE_NOTES file is included. Should probably be refactored to use a setter for each property the RELEASE_NOTES file sets...

# array()
API documentation generated by ApiGen