PHP 클래스 Horde_Release, horde

저자: Mike Hardy
저자: Jan Schneider ([email protected])
파일 보기 프로젝트 열기: horde/horde

공개 프로퍼티들

프로퍼티 타입 설명
$notes array May be refactored to use a setter for each property the release notes sets...

보호된 프로퍼티들

프로퍼티 타입 설명
$_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