PHP Класс Horde_Release, horde

Автор: Mike Hardy
Автор: Jan Schneider ([email protected])
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$notes array May be refactored to use a setter for each property the release notes sets...

Защищенные свойства (Protected)

Свойство Тип Описание
$_binaryDiffs array The list of binary diffs.
$_changelogVersion string Revision number of CHANGES file.
$_directoryName string Directory name of unpacked tarball.
$_hordeVersionString string Major version number of Horde compatible to this release.
$_latest boolean Whether or not this is a final release version.
$_makeDiff boolean Whether or not to create a patch file.
$_newSourceVersionString string Version number of next release.
$_newSourceVersionStringPlain string Version number of next release for docs/CHANGES.
$_oldChangelogVersion string Revision number of previous CHANGES file.
$_oldDirectoryName string Directory name of unpacked previous tarball.
$_oldHordeVersionString string Major version number of Horde compatible to the previous release.
$_oldSourceVersionString string Version number of previous release.
$_oldTagVersionString string CVS tag of previous release.
$_oldVersion boolean Whether or not we have an old version to compare against.
$_options array Default options.
$_patchMD5 string MD5 sum of the patch file.
$_patchName string Filename of the gzip'ed patch file (without .gz extension).
$_sourceVersionString string Version number of release.
$_tagVersionString string CVS tag of release.
$_tarballMD5 string MD5 sum of the tarball.
$_tarballName string Filename of the tarball.
$_ticketVersion string Version string to use in Whups
$_ticketVersionDesc string Version description to use in Whups

Открытые методы

Метод Описание
__construct ( $options = [] ) Load the configuration
__get ( $property )
addWhupsVersion ( ) Add the new version to bugs.horde.org
announce ( $doc_dir = null ) announce release to mailing lists.
checkArguments ( ) Check the command-line arguments and set some internal defaults
checkOutFramework ( $mod_version, $directory ) Checkout and install framework
checkOutTag ( $mod_version, $directory, $module = null ) Check out the tag we've been given to work with and move it to the directory name given
checkSetSystem ( ) Check the command-line arguments and set some internal defaults
cleanDirectories ( $directory ) work through the source directory given, cleaning things up by removing directories and files we don't want in the tarball
deleteDirectory ( $directory ) Delete the directory given as an argument
diff ( ) Make a diff of the two directories given as arguments
getArguments ( ) Get all of the command-line arguments from the user
makeTarball ( ) tar and gzip the directory given as an argument
print_usage ( $message = null ) Show people how to use the damned thing
saveChangelog ( $old = false, $directory = null ) get and save the revision number of the CHANGES file
setVersionStrings ( ) Set the version strings to use given the arguments
tagSource ( $directory = null, $version = null ) Label all of the source here with the new label given as an argument
test ( ) Do testing (development only)
updateSentinel ( ) Update the CHANGES file with the new version number
updateVersionFile ( $directory, $version_string ) Change the version file for the module in the directory specified to the version specified
upload ( ) Upload tarball to the FTP server

Описание методов

__construct() публичный Метод

Load the configuration
public __construct ( $options = [] )

__get() публичный Метод

public __get ( $property )

addWhupsVersion() публичный Метод

Add the new version to bugs.horde.org
public addWhupsVersion ( )

announce() публичный Метод

announce release to mailing lists.
public announce ( $doc_dir = null )

checkArguments() публичный Метод

Check the command-line arguments and set some internal defaults
public checkArguments ( )

checkOutFramework() публичный Метод

Checkout and install framework
public checkOutFramework ( $mod_version, $directory )

checkOutTag() публичный Метод

Check out the tag we've been given to work with and move it to the directory name given
public checkOutTag ( $mod_version, $directory, $module = null )

checkSetSystem() публичный Метод

Check the command-line arguments and set some internal defaults
public checkSetSystem ( )

cleanDirectories() публичный Метод

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

deleteDirectory() публичный Метод

Delete the directory given as an argument
public deleteDirectory ( $directory )

diff() публичный Метод

Make a diff of the two directories given as arguments
public diff ( )

getArguments() публичный Метод

Get all of the command-line arguments from the user
public getArguments ( )

makeTarball() публичный Метод

tar and gzip the directory given as an argument
public makeTarball ( )

print_usage() публичный Метод

Show people how to use the damned thing
public print_usage ( $message = null )

saveChangelog() публичный Метод

get and save the revision number of the CHANGES file
public saveChangelog ( $old = false, $directory = null )

setVersionStrings() публичный Метод

Set the version strings to use given the arguments
public setVersionStrings ( )

tagSource() публичный Метод

Label all of the source here with the new label given as an argument
public tagSource ( $directory = null, $version = null )

test() публичный Метод

Do testing (development only)
public test ( )

updateSentinel() публичный Метод

Update the CHANGES file with the new version number
public updateSentinel ( )

updateVersionFile() публичный Метод

Change the version file for the module in the directory specified to the version specified
public updateVersionFile ( $directory, $version_string )

upload() публичный Метод

Upload tarball to the FTP server
public upload ( )

Описание свойств

$_binaryDiffs защищенное свойство

The list of binary diffs.
protected array $_binaryDiffs
Результат array

$_changelogVersion защищенное свойство

Revision number of CHANGES file.
protected string $_changelogVersion
Результат string

$_directoryName защищенное свойство

Directory name of unpacked tarball.
protected string $_directoryName
Результат string

$_hordeVersionString защищенное свойство

Major version number of Horde compatible to this release.
protected string $_hordeVersionString
Результат string

$_latest защищенное свойство

Whether or not this is a final release version.
protected bool $_latest
Результат boolean

$_makeDiff защищенное свойство

Whether or not to create a patch file.
protected bool $_makeDiff
Результат boolean

$_newSourceVersionString защищенное свойство

Version number of next release.
protected string $_newSourceVersionString
Результат string

$_newSourceVersionStringPlain защищенное свойство

Version number of next release for docs/CHANGES.
protected string $_newSourceVersionStringPlain
Результат string

$_oldChangelogVersion защищенное свойство

Revision number of previous CHANGES file.
protected string $_oldChangelogVersion
Результат string

$_oldDirectoryName защищенное свойство

Directory name of unpacked previous tarball.
protected string $_oldDirectoryName
Результат string

$_oldHordeVersionString защищенное свойство

Major version number of Horde compatible to the previous release.
protected string $_oldHordeVersionString
Результат string

$_oldSourceVersionString защищенное свойство

Version number of previous release.
protected string $_oldSourceVersionString
Результат string

$_oldTagVersionString защищенное свойство

CVS tag of previous release.
protected string $_oldTagVersionString
Результат string

$_oldVersion защищенное свойство

Whether or not we have an old version to compare against.
protected bool $_oldVersion
Результат boolean

$_options защищенное свойство

Default options.
protected array $_options
Результат array

$_patchMD5 защищенное свойство

MD5 sum of the patch file.
protected string $_patchMD5
Результат string

$_patchName защищенное свойство

Filename of the gzip'ed patch file (without .gz extension).
protected string $_patchName
Результат string

$_sourceVersionString защищенное свойство

Version number of release.
protected string $_sourceVersionString
Результат string

$_tagVersionString защищенное свойство

CVS tag of release.
protected string $_tagVersionString
Результат string

$_tarballMD5 защищенное свойство

MD5 sum of the tarball.
protected string $_tarballMD5
Результат string

$_tarballName защищенное свойство

Filename of the tarball.
protected string $_tarballName
Результат string

$_ticketVersion защищенное свойство

Version string to use in Whups
protected string $_ticketVersion
Результат string

$_ticketVersionDesc защищенное свойство

Version description to use in Whups
protected string $_ticketVersionDesc
Результат string

$notes публичное свойство

May be refactored to use a setter for each property the release notes sets...
public array $notes
Результат array