Свойство | Type | Description | |
---|---|---|---|
$cache |
Méthode | Description | |
---|---|---|
generatePackage ( string $sha, string $baseDir, $outputFilename, DeploynautLogFile $log ) : boolean | Generate the package file, saving to the given location | |
getCache ( ) | ||
getIdentifier ( ) | Return a string that uniquely identifies this package generator. | |
getPackageFilename ( string $identifier, string $sha, string $repositoryDir, DeploynautLogFile $log ) : string | Generate or retrieve a package from the cache | |
setCache ( PackageCache $cache ) |
abstract public generatePackage ( string $sha, string $baseDir, $outputFilename, DeploynautLogFile $log ) : boolean | ||
$sha | string | |
$baseDir | string | string The base directory of the project, checked out from git. |
$outputFilename | string The filename to write to. | |
$log | DeploynautLogFile | |
Résultat | boolean | True on success |
abstract public getIdentifier ( ) |
public getPackageFilename ( string $identifier, string $sha, string $repositoryDir, DeploynautLogFile $log ) : string | ||
$identifier | string | A unique identifier for the generator; used to partition the cache |
$sha | string | The SHA of the commit to be deployed |
$repositoryDir | string | The directory where the repository resides |
$log | DeploynautLogFile | The log to write status output to, including package-generation commands |
Résultat | string |