Package DE_EPAGES::Installer::API::GitPatchBuilder
this module generates the whole patch for a new epages release starting with version specific changes, adding Jira Tasks version control branching cartridge patch building language pack patch building patch package building
Functions
- addCartridgePmToGit
- addPatchFolderToGit
- checkoutTargetBranch
- commitChangesToBranch
- exportGitReleaseFolders
- new
- printMessage
addCartridgePmToGit
add Cartridge.pm to CommitBranch
Syntax |
$self->addCartridgePmToGit($CartridgePath, $CommitBranch) |
Input |
|
addPatchFolderToGit
add all files under ../Patch_Version to CommitBranch
Syntax |
$self->addPatchFolderToGit($CommitBranch, $PatchFolder) |
Input |
|
checkoutTargetBranch
create the given $TargetBranch from the current branch
Syntax |
$self->checkoutTargetBranch($TargetBranch); |
Input |
|
commitChangesToBranch
commit Cartridge.pm and patch files to CommitBranch
Syntax |
$self->commitChangesToBranch($CommitBranch, $OldVersion) |
Input |
|
exportGitReleaseFolders
export two versions of one cartridge, one tagged with old release and one tagged with the new release tag to different folders
Syntax |
$self->exportGitReleaseFolders($OldDir, $NewDir, $ReleaseOld, $ReleaseNew, $CommitBranch); |
Input |
|
new
Creates a new GitPatchBuilder object, responsible for building patch files for each cartridge and commit changes
Syntax |
$GitPatchBuilder = DE_EPAGES::Installer::API::GitPatchBuilder->new( 'verbose' => 0, ); |
Input |
|
Return |
|
printMessage
print message if verbose is true
Syntax |
$self->printMessage('message to test'); |
Input |
|