Package DE_EPAGES::Core::API::GitLogParser
The purpose of this module is to parse the output of the 'git log' command in order to filter out information required for the manual steps in the release process.
Example |
my $aGitLog = GetFileContentLines('git-log-p_6.17.41-6.17.42.txt'); my $aChangedAttributes = GetChangedAttributes($aGitLog); |
@EXPORT_OK |
Functions
GetChangedAttributes
Reads out the attributes which where added or removed in the lines of the given git diff.
Syntax |
$aChangedAttribute = GetChangedAttributes($aGitDiffLines); |
Input |
|
Return |
|
GetCommits
Reads in the lines from the "git log -p" command as returns a list of the individual commits
Syntax |
$aCommitStrings = GetCommits($aLinesOfGitDiff); |
Input |
|
Return |
|
GetJiraId
Reads out the JIRA id from a git commit message
Syntax |
$JiraId = GetJiraId($CommitMessage); |
Input |
|
Return |
|