diff --git a/gradle.properties b/gradle.properties index 9843aa1..a6c53bc 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,7 +1,7 @@ # -#Wed Oct 16 22:16:00 CEST 2024 +#Wed Jan 15 14:18:26 CST 2025 description='Library for parsing report files from static code analysis' group=se.bjurr.gitchangelog sourceCompatibility=17 targetCompatibility=17 -version=2.4.1 +version=2.4.2 diff --git a/src/main/java/se/bjurr/gitchangelog/api/helpers/Helpers.java b/src/main/java/se/bjurr/gitchangelog/api/helpers/Helpers.java index 5eaf93b..de37905 100644 --- a/src/main/java/se/bjurr/gitchangelog/api/helpers/Helpers.java +++ b/src/main/java/se/bjurr/gitchangelog/api/helpers/Helpers.java @@ -32,6 +32,7 @@ import java.util.Map; import java.util.TreeMap; import java.util.stream.Collectors; +import se.bjurr.gitchangelog.api.model.Changelog; import se.bjurr.gitchangelog.api.model.Commit; import se.bjurr.gitchangelog.api.model.Issue; import se.bjurr.gitchangelog.api.model.Tag; @@ -237,6 +238,12 @@ public static Map> getAll() { (final Footer footer, final Options options) -> { return conditional(options, !footer.value.trim().isEmpty()); }); + + helpers.put( + "eachUrlPart", + (final Changelog changelog, final Options options) -> { + return each(options, changelog.getUrlParts()); + }); return helpers; } diff --git a/src/test/java/se/bjurr/gitchangelog/api/GitChangelogApiTest.testThatFirstVersionCanBeGenerated.approved.txt b/src/test/java/se/bjurr/gitchangelog/api/GitChangelogApiTest.testThatFirstVersionCanBeGenerated.approved.txt index a842dfd..aea5895 100644 --- a/src/test/java/se/bjurr/gitchangelog/api/GitChangelogApiTest.testThatFirstVersionCanBeGenerated.approved.txt +++ b/src/test/java/se/bjurr/gitchangelog/api/GitChangelogApiTest.testThatFirstVersionCanBeGenerated.approved.txt @@ -42,8 +42,8 @@ Changelog of {{repoName}}. ### Dependency updates {{#commits}} -{{#ifCommitType . type="feat"}} -{{#ifCommitScope . scope="utils"}} +{{#ifCommitType . type="chore"}} +{{#ifCommitScope . scope="deps"}} - {{{commitDescription .}}} ([{{subString hash 0 5}}](https://github.com/{{ownerName}}/{{repoName}}/commit/{{hash}}) {{authorName}}) {{#eachCommitRefs .}}{{#ifMatches . "^#[0-9]+"}} [{{.}}](https://github.com/{{ownerName}}/{{repoName}}/issues/{{subString . 1}}) {{/ifMatches}}{{/eachCommitRefs}} {{#eachCommitFixes .}}{{#ifMatches . "^#[0-9]+"}} [{{.}}](https://github.com/{{ownerName}}/{{repoName}}/issues/{{subString . 1}}) {{/ifMatches}}{{/eachCommitFixes}} {{/ifCommitScope}} {{/ifCommitType}} diff --git a/src/test/java/se/bjurr/gitchangelog/api/GitChangelogApiTest.testThatOnlyGithubIssuesCanBeParsed.approved.txt b/src/test/java/se/bjurr/gitchangelog/api/GitChangelogApiTest.testThatOnlyGithubIssuesCanBeParsed.approved.txt index db9aae1..cd536c7 100644 --- a/src/test/java/se/bjurr/gitchangelog/api/GitChangelogApiTest.testThatOnlyGithubIssuesCanBeParsed.approved.txt +++ b/src/test/java/se/bjurr/gitchangelog/api/GitChangelogApiTest.testThatOnlyGithubIssuesCanBeParsed.approved.txt @@ -42,8 +42,8 @@ Changelog of {{repoName}}. ### Dependency updates {{#commits}} -{{#ifCommitType . type="feat"}} -{{#ifCommitScope . scope="utils"}} +{{#ifCommitType . type="chore"}} +{{#ifCommitScope . scope="deps"}} - {{{commitDescription .}}} ([{{subString hash 0 5}}](https://github.com/{{ownerName}}/{{repoName}}/commit/{{hash}}) {{authorName}}) {{#eachCommitRefs .}}{{#ifMatches . "^#[0-9]+"}} [{{.}}](https://github.com/{{ownerName}}/{{repoName}}/issues/{{subString . 1}}) {{/ifMatches}}{{/eachCommitRefs}} {{#eachCommitFixes .}}{{#ifMatches . "^#[0-9]+"}} [{{.}}](https://github.com/{{ownerName}}/{{repoName}}/issues/{{subString . 1}}) {{/ifMatches}}{{/eachCommitFixes}} {{/ifCommitScope}} {{/ifCommitType}} diff --git a/src/test/java/se/bjurr/gitchangelog/api/GitChangelogApiTest.testThatOnlyJiraIssuesCanBeParsed.approved.txt b/src/test/java/se/bjurr/gitchangelog/api/GitChangelogApiTest.testThatOnlyJiraIssuesCanBeParsed.approved.txt index d5ea4a5..c2171fa 100644 --- a/src/test/java/se/bjurr/gitchangelog/api/GitChangelogApiTest.testThatOnlyJiraIssuesCanBeParsed.approved.txt +++ b/src/test/java/se/bjurr/gitchangelog/api/GitChangelogApiTest.testThatOnlyJiraIssuesCanBeParsed.approved.txt @@ -42,8 +42,8 @@ Changelog of {{repoName}}. ### Dependency updates {{#commits}} -{{#ifCommitType . type="feat"}} -{{#ifCommitScope . scope="utils"}} +{{#ifCommitType . type="chore"}} +{{#ifCommitScope . scope="deps"}} - {{{commitDescription .}}} ([{{subString hash 0 5}}](https://github.com/{{ownerName}}/{{repoName}}/commit/{{hash}}) {{authorName}}) {{#eachCommitRefs .}}{{#ifMatches . "^#[0-9]+"}} [{{.}}](https://github.com/{{ownerName}}/{{repoName}}/issues/{{subString . 1}}) {{/ifMatches}}{{/eachCommitRefs}} {{#eachCommitFixes .}}{{#ifMatches . "^#[0-9]+"}} [{{.}}](https://github.com/{{ownerName}}/{{repoName}}/issues/{{subString . 1}}) {{/ifMatches}}{{/eachCommitFixes}} {{/ifCommitScope}} {{/ifCommitType}} diff --git a/src/test/java/se/bjurr/gitchangelog/api/GitChangelogApiTest.testThatSecondVersionCanBeGenerated.approved.txt b/src/test/java/se/bjurr/gitchangelog/api/GitChangelogApiTest.testThatSecondVersionCanBeGenerated.approved.txt index ffb2428..71ba65c 100644 --- a/src/test/java/se/bjurr/gitchangelog/api/GitChangelogApiTest.testThatSecondVersionCanBeGenerated.approved.txt +++ b/src/test/java/se/bjurr/gitchangelog/api/GitChangelogApiTest.testThatSecondVersionCanBeGenerated.approved.txt @@ -42,8 +42,8 @@ Changelog of {{repoName}}. ### Dependency updates {{#commits}} -{{#ifCommitType . type="feat"}} -{{#ifCommitScope . scope="utils"}} +{{#ifCommitType . type="chore"}} +{{#ifCommitScope . scope="deps"}} - {{{commitDescription .}}} ([{{subString hash 0 5}}](https://github.com/{{ownerName}}/{{repoName}}/commit/{{hash}}) {{authorName}}) {{#eachCommitRefs .}}{{#ifMatches . "^#[0-9]+"}} [{{.}}](https://github.com/{{ownerName}}/{{repoName}}/issues/{{subString . 1}}) {{/ifMatches}}{{/eachCommitRefs}} {{#eachCommitFixes .}}{{#ifMatches . "^#[0-9]+"}} [{{.}}](https://github.com/{{ownerName}}/{{repoName}}/issues/{{subString . 1}}) {{/ifMatches}}{{/eachCommitFixes}} {{/ifCommitScope}} {{/ifCommitType}} diff --git a/src/test/java/se/bjurr/gitchangelog/api/TemplatesTest.java b/src/test/java/se/bjurr/gitchangelog/api/TemplatesTest.java index 962490d..b5ebcb6 100644 --- a/src/test/java/se/bjurr/gitchangelog/api/TemplatesTest.java +++ b/src/test/java/se/bjurr/gitchangelog/api/TemplatesTest.java @@ -124,6 +124,13 @@ public void testUrlParts() throws Exception { ApprovalsWrapper.verify(given); } + @Test + public void testEachUrlPart() throws Exception { + final GitChangelogApi given = + this.baseBuilder.withTemplatePath("templatetest/testEachUrlPart.mustache"); + ApprovalsWrapper.verify(given); + } + @Test public void testAuthorsCommits() throws Exception { final GitChangelogApi given = diff --git a/src/test/java/se/bjurr/gitchangelog/api/TemplatesTest.testEachUrlPart.approved.txt b/src/test/java/se/bjurr/gitchangelog/api/TemplatesTest.testEachUrlPart.approved.txt new file mode 100644 index 0000000..518d19e --- /dev/null +++ b/src/test/java/se/bjurr/gitchangelog/api/TemplatesTest.testEachUrlPart.approved.txt @@ -0,0 +1,3473 @@ +template: + +ownerName: {{ownerName}} +repoName: {{repoName}} +urlParts: {{urlParts}} +{{#eachUrlPart .}} +{{@index}}: {{.}} +{{/eachUrlPart}} + +--------------------------------------------- + +settings: + +{ + "fromRepo": ".", + "fromRevision": "0000000000000000000000000000000000000000", + "fromRevisionStrategy": "DEFAULT", + "toRevision": "test", + "toRevisionStrategy": "DEFAULT", + "ignoreTagsIfNameMatches": ".*tag-in-test-feature$", + "ignoreCommitsIfMessageMatches": "^\\[maven-release-plugin\\].*|^\\[Gradle Release Plugin\\].*|^Merge.*", + "untaggedName": "No tag", + "templatePath": "templatetest/testEachUrlPart.mustache", + "readableTagName": "/([^/]+?)$", + "dateFormat": "YYYY-MM-dd HH:mm:ss", + "noIssueName": "No issue supplied", + "timeZone": "UTC", + "removeIssueFromMessage": true, + "jiraEnabled": true, + "jiraServer": "https://jiraserver/jira", + "jiraIssuePattern": "\\b[a-zA-Z]([a-zA-Z]+)-([0-9]+)\\b", + "jiraUsername": "user", + "jiraPassword": "code", + "redmineEnabled": true, + "gitHubEnabled": true, + "gitHubApi": "https://api.github.com/repos/tomasbjerre/git-changelog-lib", + "gitHubIssuePattern": "#([0-9]+)", + "customIssues": [ + { + "type": "CUSTOM", + "name": "Incident", + "title": "${PATTERN_GROUP}", + "pattern": "INC[0-9]*", + "link": "http://inc/${PATTERN_GROUP}" + }, + { + "type": "CUSTOM", + "name": "CQ", + "title": "${PATTERN_GROUP_1}", + "pattern": "CQ([0-9]+)", + "link": "http://cq/${PATTERN_GROUP_1}" + }, + { + "type": "CUSTOM", + "name": "Bugs", + "title": "Mixed bugs", + "pattern": "#bug" + } + ], + "extendedVariables": {}, + "ignoreCommitsWithoutIssue": false, + "gitLabEnabled": true, + "gitLabProjectName": "tomasbjerre", + "useIntegrations": true, + "encoding": "UTF-8" +} + +--------------------------------------------- + +changelog: + +ownerName: tomasbjerre +repoName: git-changelog-lib +urlParts: [git-changelog-lib, tomasbjerre, git@github.com] +0: git-changelog-lib +1: tomasbjerre +2: git@github.com + + +--------------------------------------------- + +context: + +{ + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 18:40:51", + "commitTimeLong": 1459968051000, + "hash": "8371342ad0d887d", + "hashFull": "8371342ad0d887da7710af881a41e01c3e091ecb", + "merge": false, + "message": "Some stuff in test again" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 15:13:04", + "commitTimeLong": 1459955584000, + "hash": "090e7f4b11223c4", + "hashFull": "090e7f4b11223c49a302327c6e0c32822b4b1109", + "merge": false, + "message": "Some stuff in test-feature" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 15:12:12", + "commitTimeLong": 1459955532000, + "hash": "c5d37f5e964afd5", + "hashFull": "c5d37f5e964afd50194eb86dc4565ba4d46a8226", + "merge": false, + "message": "some stuff in test branch" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-03-19 20:32:32", + "commitTimeLong": 1458419552000, + "hash": "87c0d7288896171", + "hashFull": "87c0d72888961712d4d63dd6298c24c1133a6b51", + "merge": false, + "message": "Multiple issues" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-03-19 20:32:19", + "commitTimeLong": 1458419539000, + "hash": "20e333f8e108f77", + "hashFull": "20e333f8e108f77b9345516f2c407d9673b16ff8", + "merge": false, + "message": "More stuff tagged with twice" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "d50a3e332f9fcba", + "hashFull": "d50a3e332f9fcbabac24c2b411ef60b70970dea7", + "merge": false, + "message": "Adding stuff gh 12" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "cc0fbbd8bc63955", + "hashFull": "cc0fbbd8bc63955e4576e24feb481ab315efec31", + "merge": false, + "message": "Adding stuff with a jira" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "a9bd03b34b255ff", + "hashFull": "a9bd03b34b255fffc2a9bfe20932fd50a3d90af3", + "merge": false, + "message": "Adding cq stuff with CQ" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "5607ea23fa8aaf7", + "hashFull": "5607ea23fa8aaf7a94e1c2d285778eaea66c1c37", + "merge": false, + "message": "Adding stuff\n with gh again" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "3f62b35d1317311", + "hashFull": "3f62b35d131731126b15fa599acf409f997d3ea0", + "merge": false, + "message": "This is 1.0 tagged commit" + }, + { + "authorEmailAddress": "tomas.b@example.com", + "authorName": "T B", + "commitTime": "2016-02-15 16:30:25", + "commitTimeLong": 1455553825000, + "hash": "71d845c18924504", + "hashFull": "71d845c18924504097edc6b0c34a35cf242cc080", + "merge": false, + "message": "Adding stuff, no issue" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:12:02", + "commitTimeLong": 1455552722000, + "hash": "071a14f29020758", + "hashFull": "071a14f29020758bc46ac0a45e7cfc074c872850", + "merge": false, + "message": "Adding stuff with a jira" + }, + { + "authorEmailAddress": "tomas.b@example.com", + "authorName": "T B", + "commitTime": "2016-02-15 16:11:12", + "commitTimeLong": 1455552672000, + "hash": "326d4d01c0a9415", + "hashFull": "326d4d01c0a941538cea89f7391999066874738a", + "merge": false, + "message": "Adding stuff with gh 20" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:09:35", + "commitTimeLong": 1455552575000, + "hash": "7cd30508cecdc5b", + "hashFull": "7cd30508cecdc5b1303cb6e25fec343d5d57e1bb", + "merge": false, + "message": "Adding stuff without issue" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2015-11-12 05:29:31", + "commitTimeLong": 1447306171000, + "hash": "a1aa5ff5b625e63", + "hashFull": "a1aa5ff5b625e63aa5ad7b59367ec7f75658afb8", + "merge": false, + "message": "Initial commit" + } + ], + "tags": [ + { + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 18:40:51", + "commitTimeLong": 1459968051000, + "hash": "8371342ad0d887d", + "hashFull": "8371342ad0d887da7710af881a41e01c3e091ecb", + "merge": false, + "message": "Some stuff in test again" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 15:13:04", + "commitTimeLong": 1459955584000, + "hash": "090e7f4b11223c4", + "hashFull": "090e7f4b11223c49a302327c6e0c32822b4b1109", + "merge": false, + "message": "Some stuff in test-feature" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 15:12:12", + "commitTimeLong": 1459955532000, + "hash": "c5d37f5e964afd5", + "hashFull": "c5d37f5e964afd50194eb86dc4565ba4d46a8226", + "merge": false, + "message": "some stuff in test branch" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-03-19 20:32:32", + "commitTimeLong": 1458419552000, + "hash": "87c0d7288896171", + "hashFull": "87c0d72888961712d4d63dd6298c24c1133a6b51", + "merge": false, + "message": "Multiple issues" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-03-19 20:32:19", + "commitTimeLong": 1458419539000, + "hash": "20e333f8e108f77", + "hashFull": "20e333f8e108f77b9345516f2c407d9673b16ff8", + "merge": false, + "message": "More stuff tagged with twice" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "cc0fbbd8bc63955", + "hashFull": "cc0fbbd8bc63955e4576e24feb481ab315efec31", + "merge": false, + "message": "Adding stuff with a jira" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "5607ea23fa8aaf7", + "hashFull": "5607ea23fa8aaf7a94e1c2d285778eaea66c1c37", + "merge": false, + "message": "Adding stuff\n with gh again" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 18:40:51", + "commitTimeLong": 1459968051000, + "hash": "8371342ad0d887d", + "hashFull": "8371342ad0d887da7710af881a41e01c3e091ecb", + "merge": false, + "message": "Some stuff in test again" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 15:13:04", + "commitTimeLong": 1459955584000, + "hash": "090e7f4b11223c4", + "hashFull": "090e7f4b11223c49a302327c6e0c32822b4b1109", + "merge": false, + "message": "Some stuff in test-feature" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 15:12:12", + "commitTimeLong": 1459955532000, + "hash": "c5d37f5e964afd5", + "hashFull": "c5d37f5e964afd50194eb86dc4565ba4d46a8226", + "merge": false, + "message": "some stuff in test branch" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-03-19 20:32:32", + "commitTimeLong": 1458419552000, + "hash": "87c0d7288896171", + "hashFull": "87c0d72888961712d4d63dd6298c24c1133a6b51", + "merge": false, + "message": "Multiple issues" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-03-19 20:32:19", + "commitTimeLong": 1458419539000, + "hash": "20e333f8e108f77", + "hashFull": "20e333f8e108f77b9345516f2c407d9673b16ff8", + "merge": false, + "message": "More stuff tagged with twice" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "cc0fbbd8bc63955", + "hashFull": "cc0fbbd8bc63955e4576e24feb481ab315efec31", + "merge": false, + "message": "Adding stuff with a jira" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "5607ea23fa8aaf7", + "hashFull": "5607ea23fa8aaf7a94e1c2d285778eaea66c1c37", + "merge": false, + "message": "Adding stuff\n with gh again" + } + ], + "issues": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-03-19 20:32:19", + "commitTimeLong": 1458419539000, + "hash": "20e333f8e108f77", + "hashFull": "20e333f8e108f77b9345516f2c407d9673b16ff8", + "merge": false, + "message": "More stuff tagged with twice" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-03-19 20:32:19", + "commitTimeLong": 1458419539000, + "hash": "20e333f8e108f77", + "hashFull": "20e333f8e108f77b9345516f2c407d9673b16ff8", + "merge": false, + "message": "More stuff tagged with twice" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "Bugs", + "title": "Mixed bugs", + "hasTitle": true, + "issue": "#bug", + "hasIssue": true, + "link": "", + "hasLink": false, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "hasLabels": false, + "hasLinkedIssues": false, + "issueType": "CUSTOM", + "hasAdditionalFields": false, + "additionalFields": {} + }, + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-03-19 20:32:32", + "commitTimeLong": 1458419552000, + "hash": "87c0d7288896171", + "hashFull": "87c0d72888961712d4d63dd6298c24c1133a6b51", + "merge": false, + "message": "Multiple issues" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-03-19 20:32:32", + "commitTimeLong": 1458419552000, + "hash": "87c0d7288896171", + "hashFull": "87c0d72888961712d4d63dd6298c24c1133a6b51", + "merge": false, + "message": "Multiple issues" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "GitHub", + "title": "Parameterized Jenkins\u0027 job error", + "hasTitle": true, + "issue": "#20", + "hasIssue": true, + "link": "https://github.com/tomasbjerre/made-up-mocked-repo/issues/20", + "hasLink": true, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "labels": [ + "bug" + ], + "hasLabels": true, + "hasLinkedIssues": false, + "issueType": "GITHUB", + "linkedIssues": [], + "hasAdditionalFields": false, + "additionalFields": {} + }, + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-03-19 20:32:32", + "commitTimeLong": 1458419552000, + "hash": "87c0d7288896171", + "hashFull": "87c0d72888961712d4d63dd6298c24c1133a6b51", + "merge": false, + "message": "Multiple issues" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-03-19 20:32:32", + "commitTimeLong": 1458419552000, + "hash": "87c0d7288896171", + "hashFull": "87c0d72888961712d4d63dd6298c24c1133a6b51", + "merge": false, + "message": "Multiple issues" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "GitHub", + "title": "Enable configuration in per-repository hook screen", + "hasTitle": true, + "issue": "#25", + "hasIssue": true, + "link": "https://github.com/tomasbjerre/made-up-mocked-repo/issues/25", + "hasLink": true, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "labels": [ + "enhancement" + ], + "hasLabels": true, + "hasLinkedIssues": false, + "issueType": "GITHUB", + "linkedIssues": [], + "hasAdditionalFields": false, + "additionalFields": {} + }, + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "5607ea23fa8aaf7", + "hashFull": "5607ea23fa8aaf7a94e1c2d285778eaea66c1c37", + "merge": false, + "message": "Adding stuff\n with gh again" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "5607ea23fa8aaf7", + "hashFull": "5607ea23fa8aaf7a94e1c2d285778eaea66c1c37", + "merge": false, + "message": "Adding stuff\n with gh again" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "GitHub", + "title": "", + "hasTitle": false, + "issue": "#30", + "hasIssue": true, + "link": "", + "hasLink": false, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "labels": [], + "hasLabels": false, + "hasLinkedIssues": false, + "issueType": "GITHUB", + "linkedIssues": [], + "hasAdditionalFields": false, + "additionalFields": {} + }, + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "cc0fbbd8bc63955", + "hashFull": "cc0fbbd8bc63955e4576e24feb481ab315efec31", + "merge": false, + "message": "Adding stuff with a jira" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "cc0fbbd8bc63955", + "hashFull": "cc0fbbd8bc63955e4576e24feb481ab315efec31", + "merge": false, + "message": "Adding stuff with a jira" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "Jira", + "title": "Title of jira 1234", + "hasTitle": true, + "issue": "JIR-1234", + "hasIssue": true, + "link": "https://jiraserver/jira/browse/JIR-1234", + "hasLink": true, + "type": "Bug", + "hasType": true, + "hasDescription": true, + "description": "Description", + "labels": [ + "label1", + "label2" + ], + "hasLabels": true, + "hasLinkedIssues": false, + "issueType": "JIRA", + "linkedIssues": [], + "hasAdditionalFields": false, + "additionalFields": {} + }, + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 18:40:51", + "commitTimeLong": 1459968051000, + "hash": "8371342ad0d887d", + "hashFull": "8371342ad0d887da7710af881a41e01c3e091ecb", + "merge": false, + "message": "Some stuff in test again" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 15:13:04", + "commitTimeLong": 1459955584000, + "hash": "090e7f4b11223c4", + "hashFull": "090e7f4b11223c49a302327c6e0c32822b4b1109", + "merge": false, + "message": "Some stuff in test-feature" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 15:12:12", + "commitTimeLong": 1459955532000, + "hash": "c5d37f5e964afd5", + "hashFull": "c5d37f5e964afd50194eb86dc4565ba4d46a8226", + "merge": false, + "message": "some stuff in test branch" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 18:40:51", + "commitTimeLong": 1459968051000, + "hash": "8371342ad0d887d", + "hashFull": "8371342ad0d887da7710af881a41e01c3e091ecb", + "merge": false, + "message": "Some stuff in test again" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 15:13:04", + "commitTimeLong": 1459955584000, + "hash": "090e7f4b11223c4", + "hashFull": "090e7f4b11223c49a302327c6e0c32822b4b1109", + "merge": false, + "message": "Some stuff in test-feature" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 15:12:12", + "commitTimeLong": 1459955532000, + "hash": "c5d37f5e964afd5", + "hashFull": "c5d37f5e964afd50194eb86dc4565ba4d46a8226", + "merge": false, + "message": "some stuff in test branch" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "No issue supplied", + "title": "", + "hasTitle": false, + "issue": "", + "hasIssue": false, + "link": "", + "hasLink": false, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "hasLabels": false, + "hasLinkedIssues": false, + "issueType": "NOISSUE", + "hasAdditionalFields": false, + "additionalFields": {} + } + ], + "issueTypes": [ + { + "name": "Bugs", + "issues": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-03-19 20:32:19", + "commitTimeLong": 1458419539000, + "hash": "20e333f8e108f77", + "hashFull": "20e333f8e108f77b9345516f2c407d9673b16ff8", + "merge": false, + "message": "More stuff tagged with twice" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-03-19 20:32:19", + "commitTimeLong": 1458419539000, + "hash": "20e333f8e108f77", + "hashFull": "20e333f8e108f77b9345516f2c407d9673b16ff8", + "merge": false, + "message": "More stuff tagged with twice" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "Bugs", + "title": "Mixed bugs", + "hasTitle": true, + "issue": "#bug", + "hasIssue": true, + "link": "", + "hasLink": false, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "hasLabels": false, + "hasLinkedIssues": false, + "issueType": "CUSTOM", + "hasAdditionalFields": false, + "additionalFields": {} + } + ], + "type": "CUSTOM" + }, + { + "name": "GitHub", + "issues": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-03-19 20:32:32", + "commitTimeLong": 1458419552000, + "hash": "87c0d7288896171", + "hashFull": "87c0d72888961712d4d63dd6298c24c1133a6b51", + "merge": false, + "message": "Multiple issues" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-03-19 20:32:32", + "commitTimeLong": 1458419552000, + "hash": "87c0d7288896171", + "hashFull": "87c0d72888961712d4d63dd6298c24c1133a6b51", + "merge": false, + "message": "Multiple issues" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "GitHub", + "title": "Parameterized Jenkins\u0027 job error", + "hasTitle": true, + "issue": "#20", + "hasIssue": true, + "link": "https://github.com/tomasbjerre/made-up-mocked-repo/issues/20", + "hasLink": true, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "labels": [ + "bug" + ], + "hasLabels": true, + "hasLinkedIssues": false, + "issueType": "GITHUB", + "linkedIssues": [], + "hasAdditionalFields": false, + "additionalFields": {} + }, + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-03-19 20:32:32", + "commitTimeLong": 1458419552000, + "hash": "87c0d7288896171", + "hashFull": "87c0d72888961712d4d63dd6298c24c1133a6b51", + "merge": false, + "message": "Multiple issues" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-03-19 20:32:32", + "commitTimeLong": 1458419552000, + "hash": "87c0d7288896171", + "hashFull": "87c0d72888961712d4d63dd6298c24c1133a6b51", + "merge": false, + "message": "Multiple issues" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "GitHub", + "title": "Enable configuration in per-repository hook screen", + "hasTitle": true, + "issue": "#25", + "hasIssue": true, + "link": "https://github.com/tomasbjerre/made-up-mocked-repo/issues/25", + "hasLink": true, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "labels": [ + "enhancement" + ], + "hasLabels": true, + "hasLinkedIssues": false, + "issueType": "GITHUB", + "linkedIssues": [], + "hasAdditionalFields": false, + "additionalFields": {} + }, + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "5607ea23fa8aaf7", + "hashFull": "5607ea23fa8aaf7a94e1c2d285778eaea66c1c37", + "merge": false, + "message": "Adding stuff\n with gh again" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "5607ea23fa8aaf7", + "hashFull": "5607ea23fa8aaf7a94e1c2d285778eaea66c1c37", + "merge": false, + "message": "Adding stuff\n with gh again" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "GitHub", + "title": "", + "hasTitle": false, + "issue": "#30", + "hasIssue": true, + "link": "", + "hasLink": false, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "labels": [], + "hasLabels": false, + "hasLinkedIssues": false, + "issueType": "GITHUB", + "linkedIssues": [], + "hasAdditionalFields": false, + "additionalFields": {} + } + ], + "type": "GITHUB" + }, + { + "name": "Jira", + "issues": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "cc0fbbd8bc63955", + "hashFull": "cc0fbbd8bc63955e4576e24feb481ab315efec31", + "merge": false, + "message": "Adding stuff with a jira" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "cc0fbbd8bc63955", + "hashFull": "cc0fbbd8bc63955e4576e24feb481ab315efec31", + "merge": false, + "message": "Adding stuff with a jira" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "Jira", + "title": "Title of jira 1234", + "hasTitle": true, + "issue": "JIR-1234", + "hasIssue": true, + "link": "https://jiraserver/jira/browse/JIR-1234", + "hasLink": true, + "type": "Bug", + "hasType": true, + "hasDescription": true, + "description": "Description", + "labels": [ + "label1", + "label2" + ], + "hasLabels": true, + "hasLinkedIssues": false, + "issueType": "JIRA", + "linkedIssues": [], + "hasAdditionalFields": false, + "additionalFields": {} + } + ], + "type": "JIRA" + }, + { + "name": "No issue supplied", + "issues": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 18:40:51", + "commitTimeLong": 1459968051000, + "hash": "8371342ad0d887d", + "hashFull": "8371342ad0d887da7710af881a41e01c3e091ecb", + "merge": false, + "message": "Some stuff in test again" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 15:13:04", + "commitTimeLong": 1459955584000, + "hash": "090e7f4b11223c4", + "hashFull": "090e7f4b11223c49a302327c6e0c32822b4b1109", + "merge": false, + "message": "Some stuff in test-feature" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 15:12:12", + "commitTimeLong": 1459955532000, + "hash": "c5d37f5e964afd5", + "hashFull": "c5d37f5e964afd50194eb86dc4565ba4d46a8226", + "merge": false, + "message": "some stuff in test branch" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 18:40:51", + "commitTimeLong": 1459968051000, + "hash": "8371342ad0d887d", + "hashFull": "8371342ad0d887da7710af881a41e01c3e091ecb", + "merge": false, + "message": "Some stuff in test again" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 15:13:04", + "commitTimeLong": 1459955584000, + "hash": "090e7f4b11223c4", + "hashFull": "090e7f4b11223c49a302327c6e0c32822b4b1109", + "merge": false, + "message": "Some stuff in test-feature" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 15:12:12", + "commitTimeLong": 1459955532000, + "hash": "c5d37f5e964afd5", + "hashFull": "c5d37f5e964afd50194eb86dc4565ba4d46a8226", + "merge": false, + "message": "some stuff in test branch" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "No issue supplied", + "title": "", + "hasTitle": false, + "issue": "", + "hasIssue": false, + "link": "", + "hasLink": false, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "hasLabels": false, + "hasLinkedIssues": false, + "issueType": "NOISSUE", + "hasAdditionalFields": false, + "additionalFields": {} + } + ], + "type": "NOISSUE" + } + ], + "name": "test", + "tagTime": "2016-04-06 18:40:51", + "tagTimeLong": 1459968051000, + "hasTagTime": true + }, + { + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "a9bd03b34b255ff", + "hashFull": "a9bd03b34b255fffc2a9bfe20932fd50a3d90af3", + "merge": false, + "message": "Adding cq stuff with CQ" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "a9bd03b34b255ff", + "hashFull": "a9bd03b34b255fffc2a9bfe20932fd50a3d90af3", + "merge": false, + "message": "Adding cq stuff with CQ" + } + ], + "issues": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "a9bd03b34b255ff", + "hashFull": "a9bd03b34b255fffc2a9bfe20932fd50a3d90af3", + "merge": false, + "message": "Adding cq stuff with CQ" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "a9bd03b34b255ff", + "hashFull": "a9bd03b34b255fffc2a9bfe20932fd50a3d90af3", + "merge": false, + "message": "Adding cq stuff with CQ" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "CQ", + "title": "1234", + "hasTitle": true, + "issue": "CQ1234", + "hasIssue": true, + "link": "http://cq/1234", + "hasLink": true, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "hasLabels": false, + "hasLinkedIssues": false, + "issueType": "CUSTOM", + "hasAdditionalFields": false, + "additionalFields": {} + } + ], + "issueTypes": [ + { + "name": "CQ", + "issues": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "a9bd03b34b255ff", + "hashFull": "a9bd03b34b255fffc2a9bfe20932fd50a3d90af3", + "merge": false, + "message": "Adding cq stuff with CQ" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "a9bd03b34b255ff", + "hashFull": "a9bd03b34b255fffc2a9bfe20932fd50a3d90af3", + "merge": false, + "message": "Adding cq stuff with CQ" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "CQ", + "title": "1234", + "hasTitle": true, + "issue": "CQ1234", + "hasIssue": true, + "link": "http://cq/1234", + "hasLink": true, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "hasLabels": false, + "hasLinkedIssues": false, + "issueType": "CUSTOM", + "hasAdditionalFields": false, + "additionalFields": {} + } + ], + "type": "CUSTOM" + } + ], + "name": "test-lightweight-2", + "tagTime": "2016-02-15 16:30:35", + "tagTimeLong": 1455553835000, + "hasTagTime": true + }, + { + "annotation": "this is the tag for test-1.0\n", + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "d50a3e332f9fcba", + "hashFull": "d50a3e332f9fcbabac24c2b411ef60b70970dea7", + "merge": false, + "message": "Adding stuff gh 12" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "3f62b35d1317311", + "hashFull": "3f62b35d131731126b15fa599acf409f997d3ea0", + "merge": false, + "message": "This is 1.0 tagged commit" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:12:02", + "commitTimeLong": 1455552722000, + "hash": "071a14f29020758", + "hashFull": "071a14f29020758bc46ac0a45e7cfc074c872850", + "merge": false, + "message": "Adding stuff with a jira" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:09:35", + "commitTimeLong": 1455552575000, + "hash": "7cd30508cecdc5b", + "hashFull": "7cd30508cecdc5b1303cb6e25fec343d5d57e1bb", + "merge": false, + "message": "Adding stuff without issue" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + }, + { + "commits": [ + { + "authorEmailAddress": "tomas.b@example.com", + "authorName": "T B", + "commitTime": "2016-02-15 16:30:25", + "commitTimeLong": 1455553825000, + "hash": "71d845c18924504", + "hashFull": "71d845c18924504097edc6b0c34a35cf242cc080", + "merge": false, + "message": "Adding stuff, no issue" + }, + { + "authorEmailAddress": "tomas.b@example.com", + "authorName": "T B", + "commitTime": "2016-02-15 16:11:12", + "commitTimeLong": 1455552672000, + "hash": "326d4d01c0a9415", + "hashFull": "326d4d01c0a941538cea89f7391999066874738a", + "merge": false, + "message": "Adding stuff with gh 20" + } + ], + "authorName": "T B", + "authorEmail": "tomas.b@example.com" + } + ], + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "d50a3e332f9fcba", + "hashFull": "d50a3e332f9fcbabac24c2b411ef60b70970dea7", + "merge": false, + "message": "Adding stuff gh 12" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "3f62b35d1317311", + "hashFull": "3f62b35d131731126b15fa599acf409f997d3ea0", + "merge": false, + "message": "This is 1.0 tagged commit" + }, + { + "authorEmailAddress": "tomas.b@example.com", + "authorName": "T B", + "commitTime": "2016-02-15 16:30:25", + "commitTimeLong": 1455553825000, + "hash": "71d845c18924504", + "hashFull": "71d845c18924504097edc6b0c34a35cf242cc080", + "merge": false, + "message": "Adding stuff, no issue" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:12:02", + "commitTimeLong": 1455552722000, + "hash": "071a14f29020758", + "hashFull": "071a14f29020758bc46ac0a45e7cfc074c872850", + "merge": false, + "message": "Adding stuff with a jira" + }, + { + "authorEmailAddress": "tomas.b@example.com", + "authorName": "T B", + "commitTime": "2016-02-15 16:11:12", + "commitTimeLong": 1455552672000, + "hash": "326d4d01c0a9415", + "hashFull": "326d4d01c0a941538cea89f7391999066874738a", + "merge": false, + "message": "Adding stuff with gh 20" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:09:35", + "commitTimeLong": 1455552575000, + "hash": "7cd30508cecdc5b", + "hashFull": "7cd30508cecdc5b1303cb6e25fec343d5d57e1bb", + "merge": false, + "message": "Adding stuff without issue" + } + ], + "issues": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "d50a3e332f9fcba", + "hashFull": "d50a3e332f9fcbabac24c2b411ef60b70970dea7", + "merge": false, + "message": "Adding stuff gh 12" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "d50a3e332f9fcba", + "hashFull": "d50a3e332f9fcbabac24c2b411ef60b70970dea7", + "merge": false, + "message": "Adding stuff gh 12" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "GitHub", + "title": "Strange chars in PULL_REQUEST_URL", + "hasTitle": true, + "issue": "#12", + "hasIssue": true, + "link": "https://github.com/tomasbjerre/made-up-mocked-repo/issues/12", + "hasLink": true, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "labels": [], + "hasLabels": false, + "hasLinkedIssues": false, + "issueType": "GITHUB", + "linkedIssues": [], + "hasAdditionalFields": false, + "additionalFields": {} + }, + { + "commits": [ + { + "authorEmailAddress": "tomas.b@example.com", + "authorName": "T B", + "commitTime": "2016-02-15 16:11:12", + "commitTimeLong": 1455552672000, + "hash": "326d4d01c0a9415", + "hashFull": "326d4d01c0a941538cea89f7391999066874738a", + "merge": false, + "message": "Adding stuff with gh 20" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.b@example.com", + "authorName": "T B", + "commitTime": "2016-02-15 16:11:12", + "commitTimeLong": 1455552672000, + "hash": "326d4d01c0a9415", + "hashFull": "326d4d01c0a941538cea89f7391999066874738a", + "merge": false, + "message": "Adding stuff with gh 20" + } + ], + "authorName": "T B", + "authorEmail": "tomas.b@example.com" + } + ], + "name": "GitHub", + "title": "Parameterized Jenkins\u0027 job error", + "hasTitle": true, + "issue": "#20", + "hasIssue": true, + "link": "https://github.com/tomasbjerre/made-up-mocked-repo/issues/20", + "hasLink": true, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "labels": [ + "bug" + ], + "hasLabels": true, + "hasLinkedIssues": false, + "issueType": "GITHUB", + "linkedIssues": [], + "hasAdditionalFields": false, + "additionalFields": {} + }, + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:12:02", + "commitTimeLong": 1455552722000, + "hash": "071a14f29020758", + "hashFull": "071a14f29020758bc46ac0a45e7cfc074c872850", + "merge": false, + "message": "Adding stuff with a jira" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:12:02", + "commitTimeLong": 1455552722000, + "hash": "071a14f29020758", + "hashFull": "071a14f29020758bc46ac0a45e7cfc074c872850", + "merge": false, + "message": "Adding stuff with a jira" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "Jira", + "title": "The Title of jira 5262", + "hasTitle": true, + "issue": "JIR-5262", + "hasIssue": true, + "link": "https://jiraserver/jira/browse/JIR-5262", + "hasLink": true, + "type": "Bug", + "hasType": true, + "hasDescription": true, + "description": "Description", + "labels": [], + "hasLabels": false, + "hasLinkedIssues": true, + "issueType": "JIRA", + "linkedIssues": [ + "JIRSD-490", + "JIRSD-567" + ], + "hasAdditionalFields": false, + "additionalFields": {} + }, + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "3f62b35d1317311", + "hashFull": "3f62b35d131731126b15fa599acf409f997d3ea0", + "merge": false, + "message": "This is 1.0 tagged commit" + }, + { + "authorEmailAddress": "tomas.b@example.com", + "authorName": "T B", + "commitTime": "2016-02-15 16:30:25", + "commitTimeLong": 1455553825000, + "hash": "71d845c18924504", + "hashFull": "71d845c18924504097edc6b0c34a35cf242cc080", + "merge": false, + "message": "Adding stuff, no issue" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:09:35", + "commitTimeLong": 1455552575000, + "hash": "7cd30508cecdc5b", + "hashFull": "7cd30508cecdc5b1303cb6e25fec343d5d57e1bb", + "merge": false, + "message": "Adding stuff without issue" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "3f62b35d1317311", + "hashFull": "3f62b35d131731126b15fa599acf409f997d3ea0", + "merge": false, + "message": "This is 1.0 tagged commit" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:09:35", + "commitTimeLong": 1455552575000, + "hash": "7cd30508cecdc5b", + "hashFull": "7cd30508cecdc5b1303cb6e25fec343d5d57e1bb", + "merge": false, + "message": "Adding stuff without issue" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + }, + { + "commits": [ + { + "authorEmailAddress": "tomas.b@example.com", + "authorName": "T B", + "commitTime": "2016-02-15 16:30:25", + "commitTimeLong": 1455553825000, + "hash": "71d845c18924504", + "hashFull": "71d845c18924504097edc6b0c34a35cf242cc080", + "merge": false, + "message": "Adding stuff, no issue" + } + ], + "authorName": "T B", + "authorEmail": "tomas.b@example.com" + } + ], + "name": "No issue supplied", + "title": "", + "hasTitle": false, + "issue": "", + "hasIssue": false, + "link": "", + "hasLink": false, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "hasLabels": false, + "hasLinkedIssues": false, + "issueType": "NOISSUE", + "hasAdditionalFields": false, + "additionalFields": {} + } + ], + "issueTypes": [ + { + "name": "GitHub", + "issues": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "d50a3e332f9fcba", + "hashFull": "d50a3e332f9fcbabac24c2b411ef60b70970dea7", + "merge": false, + "message": "Adding stuff gh 12" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "d50a3e332f9fcba", + "hashFull": "d50a3e332f9fcbabac24c2b411ef60b70970dea7", + "merge": false, + "message": "Adding stuff gh 12" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "GitHub", + "title": "Strange chars in PULL_REQUEST_URL", + "hasTitle": true, + "issue": "#12", + "hasIssue": true, + "link": "https://github.com/tomasbjerre/made-up-mocked-repo/issues/12", + "hasLink": true, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "labels": [], + "hasLabels": false, + "hasLinkedIssues": false, + "issueType": "GITHUB", + "linkedIssues": [], + "hasAdditionalFields": false, + "additionalFields": {} + }, + { + "commits": [ + { + "authorEmailAddress": "tomas.b@example.com", + "authorName": "T B", + "commitTime": "2016-02-15 16:11:12", + "commitTimeLong": 1455552672000, + "hash": "326d4d01c0a9415", + "hashFull": "326d4d01c0a941538cea89f7391999066874738a", + "merge": false, + "message": "Adding stuff with gh 20" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.b@example.com", + "authorName": "T B", + "commitTime": "2016-02-15 16:11:12", + "commitTimeLong": 1455552672000, + "hash": "326d4d01c0a9415", + "hashFull": "326d4d01c0a941538cea89f7391999066874738a", + "merge": false, + "message": "Adding stuff with gh 20" + } + ], + "authorName": "T B", + "authorEmail": "tomas.b@example.com" + } + ], + "name": "GitHub", + "title": "Parameterized Jenkins\u0027 job error", + "hasTitle": true, + "issue": "#20", + "hasIssue": true, + "link": "https://github.com/tomasbjerre/made-up-mocked-repo/issues/20", + "hasLink": true, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "labels": [ + "bug" + ], + "hasLabels": true, + "hasLinkedIssues": false, + "issueType": "GITHUB", + "linkedIssues": [], + "hasAdditionalFields": false, + "additionalFields": {} + } + ], + "type": "GITHUB" + }, + { + "name": "Jira", + "issues": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:12:02", + "commitTimeLong": 1455552722000, + "hash": "071a14f29020758", + "hashFull": "071a14f29020758bc46ac0a45e7cfc074c872850", + "merge": false, + "message": "Adding stuff with a jira" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:12:02", + "commitTimeLong": 1455552722000, + "hash": "071a14f29020758", + "hashFull": "071a14f29020758bc46ac0a45e7cfc074c872850", + "merge": false, + "message": "Adding stuff with a jira" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "Jira", + "title": "The Title of jira 5262", + "hasTitle": true, + "issue": "JIR-5262", + "hasIssue": true, + "link": "https://jiraserver/jira/browse/JIR-5262", + "hasLink": true, + "type": "Bug", + "hasType": true, + "hasDescription": true, + "description": "Description", + "labels": [], + "hasLabels": false, + "hasLinkedIssues": true, + "issueType": "JIRA", + "linkedIssues": [ + "JIRSD-490", + "JIRSD-567" + ], + "hasAdditionalFields": false, + "additionalFields": {} + } + ], + "type": "JIRA" + }, + { + "name": "No issue supplied", + "issues": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "3f62b35d1317311", + "hashFull": "3f62b35d131731126b15fa599acf409f997d3ea0", + "merge": false, + "message": "This is 1.0 tagged commit" + }, + { + "authorEmailAddress": "tomas.b@example.com", + "authorName": "T B", + "commitTime": "2016-02-15 16:30:25", + "commitTimeLong": 1455553825000, + "hash": "71d845c18924504", + "hashFull": "71d845c18924504097edc6b0c34a35cf242cc080", + "merge": false, + "message": "Adding stuff, no issue" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:09:35", + "commitTimeLong": 1455552575000, + "hash": "7cd30508cecdc5b", + "hashFull": "7cd30508cecdc5b1303cb6e25fec343d5d57e1bb", + "merge": false, + "message": "Adding stuff without issue" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "3f62b35d1317311", + "hashFull": "3f62b35d131731126b15fa599acf409f997d3ea0", + "merge": false, + "message": "This is 1.0 tagged commit" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:09:35", + "commitTimeLong": 1455552575000, + "hash": "7cd30508cecdc5b", + "hashFull": "7cd30508cecdc5b1303cb6e25fec343d5d57e1bb", + "merge": false, + "message": "Adding stuff without issue" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + }, + { + "commits": [ + { + "authorEmailAddress": "tomas.b@example.com", + "authorName": "T B", + "commitTime": "2016-02-15 16:30:25", + "commitTimeLong": 1455553825000, + "hash": "71d845c18924504", + "hashFull": "71d845c18924504097edc6b0c34a35cf242cc080", + "merge": false, + "message": "Adding stuff, no issue" + } + ], + "authorName": "T B", + "authorEmail": "tomas.b@example.com" + } + ], + "name": "No issue supplied", + "title": "", + "hasTitle": false, + "issue": "", + "hasIssue": false, + "link": "", + "hasLink": false, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "hasLabels": false, + "hasLinkedIssues": false, + "issueType": "NOISSUE", + "hasAdditionalFields": false, + "additionalFields": {} + } + ], + "type": "NOISSUE" + } + ], + "name": "test-1.0", + "tagTime": "2016-02-15 16:30:35", + "tagTimeLong": 1455553835000, + "hasTagTime": true + }, + { + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2015-11-12 05:29:31", + "commitTimeLong": 1447306171000, + "hash": "a1aa5ff5b625e63", + "hashFull": "a1aa5ff5b625e63aa5ad7b59367ec7f75658afb8", + "merge": false, + "message": "Initial commit" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2015-11-12 05:29:31", + "commitTimeLong": 1447306171000, + "hash": "a1aa5ff5b625e63", + "hashFull": "a1aa5ff5b625e63aa5ad7b59367ec7f75658afb8", + "merge": false, + "message": "Initial commit" + } + ], + "issues": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2015-11-12 05:29:31", + "commitTimeLong": 1447306171000, + "hash": "a1aa5ff5b625e63", + "hashFull": "a1aa5ff5b625e63aa5ad7b59367ec7f75658afb8", + "merge": false, + "message": "Initial commit" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2015-11-12 05:29:31", + "commitTimeLong": 1447306171000, + "hash": "a1aa5ff5b625e63", + "hashFull": "a1aa5ff5b625e63aa5ad7b59367ec7f75658afb8", + "merge": false, + "message": "Initial commit" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "No issue supplied", + "title": "", + "hasTitle": false, + "issue": "", + "hasIssue": false, + "link": "", + "hasLink": false, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "hasLabels": false, + "hasLinkedIssues": false, + "issueType": "NOISSUE", + "hasAdditionalFields": false, + "additionalFields": {} + } + ], + "issueTypes": [ + { + "name": "No issue supplied", + "issues": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2015-11-12 05:29:31", + "commitTimeLong": 1447306171000, + "hash": "a1aa5ff5b625e63", + "hashFull": "a1aa5ff5b625e63aa5ad7b59367ec7f75658afb8", + "merge": false, + "message": "Initial commit" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2015-11-12 05:29:31", + "commitTimeLong": 1447306171000, + "hash": "a1aa5ff5b625e63", + "hashFull": "a1aa5ff5b625e63aa5ad7b59367ec7f75658afb8", + "merge": false, + "message": "Initial commit" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "No issue supplied", + "title": "", + "hasTitle": false, + "issue": "", + "hasIssue": false, + "link": "", + "hasLink": false, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "hasLabels": false, + "hasLinkedIssues": false, + "issueType": "NOISSUE", + "hasAdditionalFields": false, + "additionalFields": {} + } + ], + "type": "NOISSUE" + } + ], + "name": "0.0.1", + "tagTime": "2015-11-12 05:29:31", + "tagTimeLong": 1447306171000, + "hasTagTime": true + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 18:40:51", + "commitTimeLong": 1459968051000, + "hash": "8371342ad0d887d", + "hashFull": "8371342ad0d887da7710af881a41e01c3e091ecb", + "merge": false, + "message": "Some stuff in test again" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 15:13:04", + "commitTimeLong": 1459955584000, + "hash": "090e7f4b11223c4", + "hashFull": "090e7f4b11223c49a302327c6e0c32822b4b1109", + "merge": false, + "message": "Some stuff in test-feature" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 15:12:12", + "commitTimeLong": 1459955532000, + "hash": "c5d37f5e964afd5", + "hashFull": "c5d37f5e964afd50194eb86dc4565ba4d46a8226", + "merge": false, + "message": "some stuff in test branch" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-03-19 20:32:32", + "commitTimeLong": 1458419552000, + "hash": "87c0d7288896171", + "hashFull": "87c0d72888961712d4d63dd6298c24c1133a6b51", + "merge": false, + "message": "Multiple issues" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-03-19 20:32:19", + "commitTimeLong": 1458419539000, + "hash": "20e333f8e108f77", + "hashFull": "20e333f8e108f77b9345516f2c407d9673b16ff8", + "merge": false, + "message": "More stuff tagged with twice" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "d50a3e332f9fcba", + "hashFull": "d50a3e332f9fcbabac24c2b411ef60b70970dea7", + "merge": false, + "message": "Adding stuff gh 12" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "cc0fbbd8bc63955", + "hashFull": "cc0fbbd8bc63955e4576e24feb481ab315efec31", + "merge": false, + "message": "Adding stuff with a jira" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "a9bd03b34b255ff", + "hashFull": "a9bd03b34b255fffc2a9bfe20932fd50a3d90af3", + "merge": false, + "message": "Adding cq stuff with CQ" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "5607ea23fa8aaf7", + "hashFull": "5607ea23fa8aaf7a94e1c2d285778eaea66c1c37", + "merge": false, + "message": "Adding stuff\n with gh again" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "3f62b35d1317311", + "hashFull": "3f62b35d131731126b15fa599acf409f997d3ea0", + "merge": false, + "message": "This is 1.0 tagged commit" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:12:02", + "commitTimeLong": 1455552722000, + "hash": "071a14f29020758", + "hashFull": "071a14f29020758bc46ac0a45e7cfc074c872850", + "merge": false, + "message": "Adding stuff with a jira" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:09:35", + "commitTimeLong": 1455552575000, + "hash": "7cd30508cecdc5b", + "hashFull": "7cd30508cecdc5b1303cb6e25fec343d5d57e1bb", + "merge": false, + "message": "Adding stuff without issue" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2015-11-12 05:29:31", + "commitTimeLong": 1447306171000, + "hash": "a1aa5ff5b625e63", + "hashFull": "a1aa5ff5b625e63aa5ad7b59367ec7f75658afb8", + "merge": false, + "message": "Initial commit" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + }, + { + "commits": [ + { + "authorEmailAddress": "tomas.b@example.com", + "authorName": "T B", + "commitTime": "2016-02-15 16:30:25", + "commitTimeLong": 1455553825000, + "hash": "71d845c18924504", + "hashFull": "71d845c18924504097edc6b0c34a35cf242cc080", + "merge": false, + "message": "Adding stuff, no issue" + }, + { + "authorEmailAddress": "tomas.b@example.com", + "authorName": "T B", + "commitTime": "2016-02-15 16:11:12", + "commitTimeLong": 1455552672000, + "hash": "326d4d01c0a9415", + "hashFull": "326d4d01c0a941538cea89f7391999066874738a", + "merge": false, + "message": "Adding stuff with gh 20" + } + ], + "authorName": "T B", + "authorEmail": "tomas.b@example.com" + } + ], + "issues": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-03-19 20:32:19", + "commitTimeLong": 1458419539000, + "hash": "20e333f8e108f77", + "hashFull": "20e333f8e108f77b9345516f2c407d9673b16ff8", + "merge": false, + "message": "More stuff tagged with twice" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-03-19 20:32:19", + "commitTimeLong": 1458419539000, + "hash": "20e333f8e108f77", + "hashFull": "20e333f8e108f77b9345516f2c407d9673b16ff8", + "merge": false, + "message": "More stuff tagged with twice" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "Bugs", + "title": "Mixed bugs", + "hasTitle": true, + "issue": "#bug", + "hasIssue": true, + "link": "", + "hasLink": false, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "hasLabels": false, + "hasLinkedIssues": false, + "issueType": "CUSTOM", + "hasAdditionalFields": false, + "additionalFields": {} + }, + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "a9bd03b34b255ff", + "hashFull": "a9bd03b34b255fffc2a9bfe20932fd50a3d90af3", + "merge": false, + "message": "Adding cq stuff with CQ" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "a9bd03b34b255ff", + "hashFull": "a9bd03b34b255fffc2a9bfe20932fd50a3d90af3", + "merge": false, + "message": "Adding cq stuff with CQ" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "CQ", + "title": "1234", + "hasTitle": true, + "issue": "CQ1234", + "hasIssue": true, + "link": "http://cq/1234", + "hasLink": true, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "hasLabels": false, + "hasLinkedIssues": false, + "issueType": "CUSTOM", + "hasAdditionalFields": false, + "additionalFields": {} + }, + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "d50a3e332f9fcba", + "hashFull": "d50a3e332f9fcbabac24c2b411ef60b70970dea7", + "merge": false, + "message": "Adding stuff gh 12" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "d50a3e332f9fcba", + "hashFull": "d50a3e332f9fcbabac24c2b411ef60b70970dea7", + "merge": false, + "message": "Adding stuff gh 12" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "GitHub", + "title": "Strange chars in PULL_REQUEST_URL", + "hasTitle": true, + "issue": "#12", + "hasIssue": true, + "link": "https://github.com/tomasbjerre/made-up-mocked-repo/issues/12", + "hasLink": true, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "labels": [], + "hasLabels": false, + "hasLinkedIssues": false, + "issueType": "GITHUB", + "linkedIssues": [], + "hasAdditionalFields": false, + "additionalFields": {} + }, + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-03-19 20:32:32", + "commitTimeLong": 1458419552000, + "hash": "87c0d7288896171", + "hashFull": "87c0d72888961712d4d63dd6298c24c1133a6b51", + "merge": false, + "message": "Multiple issues" + }, + { + "authorEmailAddress": "tomas.b@example.com", + "authorName": "T B", + "commitTime": "2016-02-15 16:11:12", + "commitTimeLong": 1455552672000, + "hash": "326d4d01c0a9415", + "hashFull": "326d4d01c0a941538cea89f7391999066874738a", + "merge": false, + "message": "Adding stuff with gh 20" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-03-19 20:32:32", + "commitTimeLong": 1458419552000, + "hash": "87c0d7288896171", + "hashFull": "87c0d72888961712d4d63dd6298c24c1133a6b51", + "merge": false, + "message": "Multiple issues" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + }, + { + "commits": [ + { + "authorEmailAddress": "tomas.b@example.com", + "authorName": "T B", + "commitTime": "2016-02-15 16:11:12", + "commitTimeLong": 1455552672000, + "hash": "326d4d01c0a9415", + "hashFull": "326d4d01c0a941538cea89f7391999066874738a", + "merge": false, + "message": "Adding stuff with gh 20" + } + ], + "authorName": "T B", + "authorEmail": "tomas.b@example.com" + } + ], + "name": "GitHub", + "title": "Parameterized Jenkins\u0027 job error", + "hasTitle": true, + "issue": "#20", + "hasIssue": true, + "link": "https://github.com/tomasbjerre/made-up-mocked-repo/issues/20", + "hasLink": true, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "labels": [ + "bug" + ], + "hasLabels": true, + "hasLinkedIssues": false, + "issueType": "GITHUB", + "linkedIssues": [], + "hasAdditionalFields": false, + "additionalFields": {} + }, + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-03-19 20:32:32", + "commitTimeLong": 1458419552000, + "hash": "87c0d7288896171", + "hashFull": "87c0d72888961712d4d63dd6298c24c1133a6b51", + "merge": false, + "message": "Multiple issues" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-03-19 20:32:32", + "commitTimeLong": 1458419552000, + "hash": "87c0d7288896171", + "hashFull": "87c0d72888961712d4d63dd6298c24c1133a6b51", + "merge": false, + "message": "Multiple issues" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "GitHub", + "title": "Enable configuration in per-repository hook screen", + "hasTitle": true, + "issue": "#25", + "hasIssue": true, + "link": "https://github.com/tomasbjerre/made-up-mocked-repo/issues/25", + "hasLink": true, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "labels": [ + "enhancement" + ], + "hasLabels": true, + "hasLinkedIssues": false, + "issueType": "GITHUB", + "linkedIssues": [], + "hasAdditionalFields": false, + "additionalFields": {} + }, + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "5607ea23fa8aaf7", + "hashFull": "5607ea23fa8aaf7a94e1c2d285778eaea66c1c37", + "merge": false, + "message": "Adding stuff\n with gh again" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "5607ea23fa8aaf7", + "hashFull": "5607ea23fa8aaf7a94e1c2d285778eaea66c1c37", + "merge": false, + "message": "Adding stuff\n with gh again" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "GitHub", + "title": "", + "hasTitle": false, + "issue": "#30", + "hasIssue": true, + "link": "", + "hasLink": false, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "labels": [], + "hasLabels": false, + "hasLinkedIssues": false, + "issueType": "GITHUB", + "linkedIssues": [], + "hasAdditionalFields": false, + "additionalFields": {} + }, + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "cc0fbbd8bc63955", + "hashFull": "cc0fbbd8bc63955e4576e24feb481ab315efec31", + "merge": false, + "message": "Adding stuff with a jira" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "cc0fbbd8bc63955", + "hashFull": "cc0fbbd8bc63955e4576e24feb481ab315efec31", + "merge": false, + "message": "Adding stuff with a jira" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "Jira", + "title": "Title of jira 1234", + "hasTitle": true, + "issue": "JIR-1234", + "hasIssue": true, + "link": "https://jiraserver/jira/browse/JIR-1234", + "hasLink": true, + "type": "Bug", + "hasType": true, + "hasDescription": true, + "description": "Description", + "labels": [ + "label1", + "label2" + ], + "hasLabels": true, + "hasLinkedIssues": false, + "issueType": "JIRA", + "linkedIssues": [], + "hasAdditionalFields": false, + "additionalFields": {} + }, + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:12:02", + "commitTimeLong": 1455552722000, + "hash": "071a14f29020758", + "hashFull": "071a14f29020758bc46ac0a45e7cfc074c872850", + "merge": false, + "message": "Adding stuff with a jira" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:12:02", + "commitTimeLong": 1455552722000, + "hash": "071a14f29020758", + "hashFull": "071a14f29020758bc46ac0a45e7cfc074c872850", + "merge": false, + "message": "Adding stuff with a jira" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "Jira", + "title": "The Title of jira 5262", + "hasTitle": true, + "issue": "JIR-5262", + "hasIssue": true, + "link": "https://jiraserver/jira/browse/JIR-5262", + "hasLink": true, + "type": "Bug", + "hasType": true, + "hasDescription": true, + "description": "Description", + "labels": [], + "hasLabels": false, + "hasLinkedIssues": true, + "issueType": "JIRA", + "linkedIssues": [ + "JIRSD-490", + "JIRSD-567" + ], + "hasAdditionalFields": false, + "additionalFields": {} + }, + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 18:40:51", + "commitTimeLong": 1459968051000, + "hash": "8371342ad0d887d", + "hashFull": "8371342ad0d887da7710af881a41e01c3e091ecb", + "merge": false, + "message": "Some stuff in test again" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 15:13:04", + "commitTimeLong": 1459955584000, + "hash": "090e7f4b11223c4", + "hashFull": "090e7f4b11223c49a302327c6e0c32822b4b1109", + "merge": false, + "message": "Some stuff in test-feature" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 15:12:12", + "commitTimeLong": 1459955532000, + "hash": "c5d37f5e964afd5", + "hashFull": "c5d37f5e964afd50194eb86dc4565ba4d46a8226", + "merge": false, + "message": "some stuff in test branch" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "3f62b35d1317311", + "hashFull": "3f62b35d131731126b15fa599acf409f997d3ea0", + "merge": false, + "message": "This is 1.0 tagged commit" + }, + { + "authorEmailAddress": "tomas.b@example.com", + "authorName": "T B", + "commitTime": "2016-02-15 16:30:25", + "commitTimeLong": 1455553825000, + "hash": "71d845c18924504", + "hashFull": "71d845c18924504097edc6b0c34a35cf242cc080", + "merge": false, + "message": "Adding stuff, no issue" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:09:35", + "commitTimeLong": 1455552575000, + "hash": "7cd30508cecdc5b", + "hashFull": "7cd30508cecdc5b1303cb6e25fec343d5d57e1bb", + "merge": false, + "message": "Adding stuff without issue" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2015-11-12 05:29:31", + "commitTimeLong": 1447306171000, + "hash": "a1aa5ff5b625e63", + "hashFull": "a1aa5ff5b625e63aa5ad7b59367ec7f75658afb8", + "merge": false, + "message": "Initial commit" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 18:40:51", + "commitTimeLong": 1459968051000, + "hash": "8371342ad0d887d", + "hashFull": "8371342ad0d887da7710af881a41e01c3e091ecb", + "merge": false, + "message": "Some stuff in test again" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 15:13:04", + "commitTimeLong": 1459955584000, + "hash": "090e7f4b11223c4", + "hashFull": "090e7f4b11223c49a302327c6e0c32822b4b1109", + "merge": false, + "message": "Some stuff in test-feature" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 15:12:12", + "commitTimeLong": 1459955532000, + "hash": "c5d37f5e964afd5", + "hashFull": "c5d37f5e964afd50194eb86dc4565ba4d46a8226", + "merge": false, + "message": "some stuff in test branch" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "3f62b35d1317311", + "hashFull": "3f62b35d131731126b15fa599acf409f997d3ea0", + "merge": false, + "message": "This is 1.0 tagged commit" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:09:35", + "commitTimeLong": 1455552575000, + "hash": "7cd30508cecdc5b", + "hashFull": "7cd30508cecdc5b1303cb6e25fec343d5d57e1bb", + "merge": false, + "message": "Adding stuff without issue" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2015-11-12 05:29:31", + "commitTimeLong": 1447306171000, + "hash": "a1aa5ff5b625e63", + "hashFull": "a1aa5ff5b625e63aa5ad7b59367ec7f75658afb8", + "merge": false, + "message": "Initial commit" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + }, + { + "commits": [ + { + "authorEmailAddress": "tomas.b@example.com", + "authorName": "T B", + "commitTime": "2016-02-15 16:30:25", + "commitTimeLong": 1455553825000, + "hash": "71d845c18924504", + "hashFull": "71d845c18924504097edc6b0c34a35cf242cc080", + "merge": false, + "message": "Adding stuff, no issue" + } + ], + "authorName": "T B", + "authorEmail": "tomas.b@example.com" + } + ], + "name": "No issue supplied", + "title": "", + "hasTitle": false, + "issue": "", + "hasIssue": false, + "link": "", + "hasLink": false, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "hasLabels": false, + "hasLinkedIssues": false, + "issueType": "NOISSUE", + "hasAdditionalFields": false, + "additionalFields": {} + } + ], + "issueTypes": [ + { + "name": "Bugs", + "issues": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-03-19 20:32:19", + "commitTimeLong": 1458419539000, + "hash": "20e333f8e108f77", + "hashFull": "20e333f8e108f77b9345516f2c407d9673b16ff8", + "merge": false, + "message": "More stuff tagged with twice" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-03-19 20:32:19", + "commitTimeLong": 1458419539000, + "hash": "20e333f8e108f77", + "hashFull": "20e333f8e108f77b9345516f2c407d9673b16ff8", + "merge": false, + "message": "More stuff tagged with twice" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "Bugs", + "title": "Mixed bugs", + "hasTitle": true, + "issue": "#bug", + "hasIssue": true, + "link": "", + "hasLink": false, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "hasLabels": false, + "hasLinkedIssues": false, + "issueType": "CUSTOM", + "hasAdditionalFields": false, + "additionalFields": {} + } + ], + "type": "CUSTOM" + }, + { + "name": "CQ", + "issues": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "a9bd03b34b255ff", + "hashFull": "a9bd03b34b255fffc2a9bfe20932fd50a3d90af3", + "merge": false, + "message": "Adding cq stuff with CQ" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "a9bd03b34b255ff", + "hashFull": "a9bd03b34b255fffc2a9bfe20932fd50a3d90af3", + "merge": false, + "message": "Adding cq stuff with CQ" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "CQ", + "title": "1234", + "hasTitle": true, + "issue": "CQ1234", + "hasIssue": true, + "link": "http://cq/1234", + "hasLink": true, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "hasLabels": false, + "hasLinkedIssues": false, + "issueType": "CUSTOM", + "hasAdditionalFields": false, + "additionalFields": {} + } + ], + "type": "CUSTOM" + }, + { + "name": "GitHub", + "issues": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "d50a3e332f9fcba", + "hashFull": "d50a3e332f9fcbabac24c2b411ef60b70970dea7", + "merge": false, + "message": "Adding stuff gh 12" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "d50a3e332f9fcba", + "hashFull": "d50a3e332f9fcbabac24c2b411ef60b70970dea7", + "merge": false, + "message": "Adding stuff gh 12" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "GitHub", + "title": "Strange chars in PULL_REQUEST_URL", + "hasTitle": true, + "issue": "#12", + "hasIssue": true, + "link": "https://github.com/tomasbjerre/made-up-mocked-repo/issues/12", + "hasLink": true, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "labels": [], + "hasLabels": false, + "hasLinkedIssues": false, + "issueType": "GITHUB", + "linkedIssues": [], + "hasAdditionalFields": false, + "additionalFields": {} + }, + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-03-19 20:32:32", + "commitTimeLong": 1458419552000, + "hash": "87c0d7288896171", + "hashFull": "87c0d72888961712d4d63dd6298c24c1133a6b51", + "merge": false, + "message": "Multiple issues" + }, + { + "authorEmailAddress": "tomas.b@example.com", + "authorName": "T B", + "commitTime": "2016-02-15 16:11:12", + "commitTimeLong": 1455552672000, + "hash": "326d4d01c0a9415", + "hashFull": "326d4d01c0a941538cea89f7391999066874738a", + "merge": false, + "message": "Adding stuff with gh 20" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-03-19 20:32:32", + "commitTimeLong": 1458419552000, + "hash": "87c0d7288896171", + "hashFull": "87c0d72888961712d4d63dd6298c24c1133a6b51", + "merge": false, + "message": "Multiple issues" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + }, + { + "commits": [ + { + "authorEmailAddress": "tomas.b@example.com", + "authorName": "T B", + "commitTime": "2016-02-15 16:11:12", + "commitTimeLong": 1455552672000, + "hash": "326d4d01c0a9415", + "hashFull": "326d4d01c0a941538cea89f7391999066874738a", + "merge": false, + "message": "Adding stuff with gh 20" + } + ], + "authorName": "T B", + "authorEmail": "tomas.b@example.com" + } + ], + "name": "GitHub", + "title": "Parameterized Jenkins\u0027 job error", + "hasTitle": true, + "issue": "#20", + "hasIssue": true, + "link": "https://github.com/tomasbjerre/made-up-mocked-repo/issues/20", + "hasLink": true, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "labels": [ + "bug" + ], + "hasLabels": true, + "hasLinkedIssues": false, + "issueType": "GITHUB", + "linkedIssues": [], + "hasAdditionalFields": false, + "additionalFields": {} + }, + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-03-19 20:32:32", + "commitTimeLong": 1458419552000, + "hash": "87c0d7288896171", + "hashFull": "87c0d72888961712d4d63dd6298c24c1133a6b51", + "merge": false, + "message": "Multiple issues" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-03-19 20:32:32", + "commitTimeLong": 1458419552000, + "hash": "87c0d7288896171", + "hashFull": "87c0d72888961712d4d63dd6298c24c1133a6b51", + "merge": false, + "message": "Multiple issues" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "GitHub", + "title": "Enable configuration in per-repository hook screen", + "hasTitle": true, + "issue": "#25", + "hasIssue": true, + "link": "https://github.com/tomasbjerre/made-up-mocked-repo/issues/25", + "hasLink": true, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "labels": [ + "enhancement" + ], + "hasLabels": true, + "hasLinkedIssues": false, + "issueType": "GITHUB", + "linkedIssues": [], + "hasAdditionalFields": false, + "additionalFields": {} + }, + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "5607ea23fa8aaf7", + "hashFull": "5607ea23fa8aaf7a94e1c2d285778eaea66c1c37", + "merge": false, + "message": "Adding stuff\n with gh again" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "5607ea23fa8aaf7", + "hashFull": "5607ea23fa8aaf7a94e1c2d285778eaea66c1c37", + "merge": false, + "message": "Adding stuff\n with gh again" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "GitHub", + "title": "", + "hasTitle": false, + "issue": "#30", + "hasIssue": true, + "link": "", + "hasLink": false, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "labels": [], + "hasLabels": false, + "hasLinkedIssues": false, + "issueType": "GITHUB", + "linkedIssues": [], + "hasAdditionalFields": false, + "additionalFields": {} + } + ], + "type": "GITHUB" + }, + { + "name": "Jira", + "issues": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "cc0fbbd8bc63955", + "hashFull": "cc0fbbd8bc63955e4576e24feb481ab315efec31", + "merge": false, + "message": "Adding stuff with a jira" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "cc0fbbd8bc63955", + "hashFull": "cc0fbbd8bc63955e4576e24feb481ab315efec31", + "merge": false, + "message": "Adding stuff with a jira" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "Jira", + "title": "Title of jira 1234", + "hasTitle": true, + "issue": "JIR-1234", + "hasIssue": true, + "link": "https://jiraserver/jira/browse/JIR-1234", + "hasLink": true, + "type": "Bug", + "hasType": true, + "hasDescription": true, + "description": "Description", + "labels": [ + "label1", + "label2" + ], + "hasLabels": true, + "hasLinkedIssues": false, + "issueType": "JIRA", + "linkedIssues": [], + "hasAdditionalFields": false, + "additionalFields": {} + }, + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:12:02", + "commitTimeLong": 1455552722000, + "hash": "071a14f29020758", + "hashFull": "071a14f29020758bc46ac0a45e7cfc074c872850", + "merge": false, + "message": "Adding stuff with a jira" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:12:02", + "commitTimeLong": 1455552722000, + "hash": "071a14f29020758", + "hashFull": "071a14f29020758bc46ac0a45e7cfc074c872850", + "merge": false, + "message": "Adding stuff with a jira" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + } + ], + "name": "Jira", + "title": "The Title of jira 5262", + "hasTitle": true, + "issue": "JIR-5262", + "hasIssue": true, + "link": "https://jiraserver/jira/browse/JIR-5262", + "hasLink": true, + "type": "Bug", + "hasType": true, + "hasDescription": true, + "description": "Description", + "labels": [], + "hasLabels": false, + "hasLinkedIssues": true, + "issueType": "JIRA", + "linkedIssues": [ + "JIRSD-490", + "JIRSD-567" + ], + "hasAdditionalFields": false, + "additionalFields": {} + } + ], + "type": "JIRA" + }, + { + "name": "No issue supplied", + "issues": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 18:40:51", + "commitTimeLong": 1459968051000, + "hash": "8371342ad0d887d", + "hashFull": "8371342ad0d887da7710af881a41e01c3e091ecb", + "merge": false, + "message": "Some stuff in test again" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 15:13:04", + "commitTimeLong": 1459955584000, + "hash": "090e7f4b11223c4", + "hashFull": "090e7f4b11223c49a302327c6e0c32822b4b1109", + "merge": false, + "message": "Some stuff in test-feature" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 15:12:12", + "commitTimeLong": 1459955532000, + "hash": "c5d37f5e964afd5", + "hashFull": "c5d37f5e964afd50194eb86dc4565ba4d46a8226", + "merge": false, + "message": "some stuff in test branch" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "3f62b35d1317311", + "hashFull": "3f62b35d131731126b15fa599acf409f997d3ea0", + "merge": false, + "message": "This is 1.0 tagged commit" + }, + { + "authorEmailAddress": "tomas.b@example.com", + "authorName": "T B", + "commitTime": "2016-02-15 16:30:25", + "commitTimeLong": 1455553825000, + "hash": "71d845c18924504", + "hashFull": "71d845c18924504097edc6b0c34a35cf242cc080", + "merge": false, + "message": "Adding stuff, no issue" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:09:35", + "commitTimeLong": 1455552575000, + "hash": "7cd30508cecdc5b", + "hashFull": "7cd30508cecdc5b1303cb6e25fec343d5d57e1bb", + "merge": false, + "message": "Adding stuff without issue" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2015-11-12 05:29:31", + "commitTimeLong": 1447306171000, + "hash": "a1aa5ff5b625e63", + "hashFull": "a1aa5ff5b625e63aa5ad7b59367ec7f75658afb8", + "merge": false, + "message": "Initial commit" + } + ], + "authors": [ + { + "commits": [ + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 18:40:51", + "commitTimeLong": 1459968051000, + "hash": "8371342ad0d887d", + "hashFull": "8371342ad0d887da7710af881a41e01c3e091ecb", + "merge": false, + "message": "Some stuff in test again" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 15:13:04", + "commitTimeLong": 1459955584000, + "hash": "090e7f4b11223c4", + "hashFull": "090e7f4b11223c49a302327c6e0c32822b4b1109", + "merge": false, + "message": "Some stuff in test-feature" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-04-06 15:12:12", + "commitTimeLong": 1459955532000, + "hash": "c5d37f5e964afd5", + "hashFull": "c5d37f5e964afd50194eb86dc4565ba4d46a8226", + "merge": false, + "message": "some stuff in test branch" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:30:35", + "commitTimeLong": 1455553835000, + "hash": "3f62b35d1317311", + "hashFull": "3f62b35d131731126b15fa599acf409f997d3ea0", + "merge": false, + "message": "This is 1.0 tagged commit" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2016-02-15 16:09:35", + "commitTimeLong": 1455552575000, + "hash": "7cd30508cecdc5b", + "hashFull": "7cd30508cecdc5b1303cb6e25fec343d5d57e1bb", + "merge": false, + "message": "Adding stuff without issue" + }, + { + "authorEmailAddress": "tomas.bjerre85@gmail.com", + "authorName": "Tomas Bjerre", + "commitTime": "2015-11-12 05:29:31", + "commitTimeLong": 1447306171000, + "hash": "a1aa5ff5b625e63", + "hashFull": "a1aa5ff5b625e63aa5ad7b59367ec7f75658afb8", + "merge": false, + "message": "Initial commit" + } + ], + "authorName": "Tomas Bjerre", + "authorEmail": "tomas.bjerre85@gmail.com" + }, + { + "commits": [ + { + "authorEmailAddress": "tomas.b@example.com", + "authorName": "T B", + "commitTime": "2016-02-15 16:30:25", + "commitTimeLong": 1455553825000, + "hash": "71d845c18924504", + "hashFull": "71d845c18924504097edc6b0c34a35cf242cc080", + "merge": false, + "message": "Adding stuff, no issue" + } + ], + "authorName": "T B", + "authorEmail": "tomas.b@example.com" + } + ], + "name": "No issue supplied", + "title": "", + "hasTitle": false, + "issue": "", + "hasIssue": false, + "link": "", + "hasLink": false, + "type": "", + "hasType": false, + "hasDescription": false, + "description": "", + "hasLabels": false, + "hasLinkedIssues": false, + "issueType": "NOISSUE", + "hasAdditionalFields": false, + "additionalFields": {} + } + ], + "type": "NOISSUE" + } + ], + "ownerName": "tomasbjerre", + "repoName": "git-changelog-lib", + "urlParts": [ + "git-changelog-lib", + "tomasbjerre", + "git@github.com" + ] +} \ No newline at end of file diff --git a/src/test/java/se/bjurr/gitchangelog/api/TemplatesTest.testOnlyLastTag.approved.txt b/src/test/java/se/bjurr/gitchangelog/api/TemplatesTest.testOnlyLastTag.approved.txt index d3de8a5..302a051 100644 --- a/src/test/java/se/bjurr/gitchangelog/api/TemplatesTest.testOnlyLastTag.approved.txt +++ b/src/test/java/se/bjurr/gitchangelog/api/TemplatesTest.testOnlyLastTag.approved.txt @@ -37,8 +37,8 @@ template: ### Dependency updates {{#commits}} -{{#ifCommitType . type="feat"}} -{{#ifCommitScope . scope="utils"}} +{{#ifCommitType . type="chore"}} +{{#ifCommitScope . scope="deps"}} - {{{commitDescription .}}} ([{{subString hash 0 5}}](https://github.com/{{ownerName}}/{{repoName}}/commit/{{hash}}) {{authorName}}) {{#eachCommitRefs .}}{{#ifMatches . "^#[0-9]+"}} [{{.}}](https://github.com/{{ownerName}}/{{repoName}}/issues/{{subString . 1}}) {{/ifMatches}}{{/eachCommitRefs}} {{#eachCommitFixes .}}{{#ifMatches . "^#[0-9]+"}} [{{.}}](https://github.com/{{ownerName}}/{{repoName}}/issues/{{subString . 1}}) {{/ifMatches}}{{/eachCommitFixes}} {{/ifCommitScope}} {{/ifCommitType}} diff --git a/src/test/resources/templatetest/testEachUrlPart.mustache b/src/test/resources/templatetest/testEachUrlPart.mustache new file mode 100644 index 0000000..d4fe6ed --- /dev/null +++ b/src/test/resources/templatetest/testEachUrlPart.mustache @@ -0,0 +1,6 @@ +ownerName: {{ownerName}} +repoName: {{repoName}} +urlParts: {{urlParts}} +{{#eachUrlPart .}} +{{@index}}: {{.}} +{{/eachUrlPart}} \ No newline at end of file