Skip to content

Commit

Permalink
Removing state from GitHub Client
Browse files Browse the repository at this point in the history
The client was created once, with one API, and kept for all future invcations. So that if a changelog was created for one repo (A) and then for a repo (B), then B would use the API from A. Resulting in wrong issue information in B.
  • Loading branch information
tomasbjerre committed Jan 9, 2018
1 parent 7b3e064 commit 8ef76f5
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 92 deletions.
80 changes: 40 additions & 40 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Changelog for tomasbjerre git-changelog-lib.

## Next release
## 1.77
### Jira JENKINS-19994

**Closing RevWalk**
Expand All @@ -20,7 +20,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.76
### GitHub #59
### GitHub [#59](https://github.com/tomasbjerre/git-changelog-lib/pull/59) Adding support for Jira Issue Description

**Updating Doc after merge of**

Expand Down Expand Up @@ -66,7 +66,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.74
### GitHub [#58](https://github.com/tomasbjerre/pull-request-notifier-for-bitbucket/issues/58) [feature] trigger button: reply message *enhancement*
### GitHub [#58](https://github.com/tomasbjerre/git-changelog-lib/issues/58) Avoid using integrations if fetched information is not used in the template *enhancement*

**Avoid fetching from integrations if not used**

Expand Down Expand Up @@ -94,7 +94,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.72
### GitHub #51
### GitHub [#51](https://github.com/tomasbjerre/git-changelog-lib/issues/51) Error while trying to create the changelog file.

**Rewrite MediaWiki Client for Botuser**

Expand Down Expand Up @@ -125,7 +125,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.70
### GitHub #49
### GitHub [#49](https://github.com/tomasbjerre/git-changelog-lib/issues/49) Ability to grab the url from the git config. *enhancement*

**Gathering repo provider information**

Expand All @@ -144,7 +144,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.69
### GitHub #47
### GitHub [#47](https://github.com/tomasbjerre/git-changelog-lib/pull/47) Add ignoreCommitsOlderThan date limiting *enhancement*

**Adjustments after merge of**

Expand Down Expand Up @@ -193,7 +193,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.67
### GitHub #2
### GitHub [#2](https://github.com/tomasbjerre/git-changelog-lib/issues/2) GitHub Integration *enhancement*

**GitLab integration**

Expand All @@ -203,7 +203,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.66
### GitHub #42
### GitHub [#42](https://github.com/tomasbjerre/git-changelog-lib/issues/42) GitLab integration *enhancement*

**GitLab integration**

Expand All @@ -226,7 +226,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.64
### GitHub #40
### GitHub [#40](https://github.com/tomasbjerre/git-changelog-lib/pull/40) add jira issue type *enhancement*

**Adding issueType and labels attributes**

Expand Down Expand Up @@ -282,7 +282,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.61
### GitHub #38
### GitHub [#38](https://github.com/tomasbjerre/git-changelog-lib/issues/38) Relocate packages to avoid classpath issues *enhancement*

**Relocate packages to avoid classpath issues**

Expand All @@ -291,7 +291,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.60
### GitHub #38
### GitHub [#38](https://github.com/tomasbjerre/git-changelog-lib/issues/38) Relocate packages to avoid classpath issues *enhancement*

**Relocate packages to avoid classpath issues**

Expand All @@ -300,7 +300,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.59
### GitHub #38
### GitHub [#38](https://github.com/tomasbjerre/git-changelog-lib/issues/38) Relocate packages to avoid classpath issues *enhancement*

**Relocate packages to avoid classpath issues**

Expand All @@ -309,7 +309,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.58
### GitHub #36
### GitHub [#36](https://github.com/tomasbjerre/git-changelog-lib/issues/36) Annotated tags support *enhancement*

**Adding annotation to context of tag**

Expand All @@ -318,7 +318,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.57
### GitHub [#35](https://github.com/tomasbjerre/pull-request-notifier-for-bitbucket/issues/35) Encrypt authentication credentials *enhancement*
### GitHub [#35](https://github.com/tomasbjerre/git-changelog-lib/issues/35) Git Change log show only Merges or have Merge as its own Tag

**Adding merge boolean to commits**

Expand All @@ -327,7 +327,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.56
### GitHub #31
### GitHub [#31](https://github.com/tomasbjerre/git-changelog-lib/pull/31) issue key was missing in issue link

**Fixing testcases after merge of**

Expand All @@ -344,7 +344,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.55
### GitHub #30
### GitHub [#30](https://github.com/tomasbjerre/git-changelog-lib/issues/30) Getting full hash from Commit object *enhancement*

**Adding {{hashFull}} variable with full commit hash**

Expand All @@ -353,7 +353,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.54
### GitHub #28
### GitHub [#28](https://github.com/tomasbjerre/git-changelog-lib/issues/28) Crash when git repo has no master branch *bug*

**Allowing master branch to be absent**

Expand All @@ -379,7 +379,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.52
### GitHub #29
### GitHub [#29](https://github.com/tomasbjerre/git-changelog-lib/issues/29) Not, always, including merged in commits *bug*

**Correcting how to find diffing commits #**

Expand Down Expand Up @@ -415,7 +415,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.50
### GitHub #29
### GitHub [#29](https://github.com/tomasbjerre/git-changelog-lib/issues/29) Not, always, including merged in commits *bug*

**Including commits frmo merges**

Expand All @@ -424,7 +424,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.49
### GitHub #28
### GitHub [#28](https://github.com/tomasbjerre/git-changelog-lib/issues/28) Crash when git repo has no master branch *bug*

**Finding first commit in repo as parents of HEAD**

Expand Down Expand Up @@ -470,7 +470,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.45
### GitHub #26
### GitHub [#26](https://github.com/tomasbjerre/git-changelog-lib/issues/26) Excluded commits are included JENKINS-34156 *bug*

**Including correct commits + performance**

Expand Down Expand Up @@ -509,7 +509,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.42
### GitHub [#23](https://github.com/tomasbjerre/pull-request-notifier-for-bitbucket/issues/23) Add the ability to be notified for commits *enhancement*
### GitHub [#23](https://github.com/tomasbjerre/git-changelog-lib/issues/23) changelog is generating incorrect order of commits/Issues *bug*

**Parsing commits, oldest first**

Expand All @@ -519,7 +519,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.41
### GitHub [#23](https://github.com/tomasbjerre/pull-request-notifier-for-bitbucket/issues/23) Add the ability to be notified for commits *enhancement*
### GitHub [#23](https://github.com/tomasbjerre/git-changelog-lib/issues/23) changelog is generating incorrect order of commits/Issues *bug*

**Traversing commit tree by parents**

Expand All @@ -529,7 +529,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.40
### GitHub [#23](https://github.com/tomasbjerre/pull-request-notifier-for-bitbucket/issues/23) Add the ability to be notified for commits *enhancement*
### GitHub [#23](https://github.com/tomasbjerre/git-changelog-lib/issues/23) changelog is generating incorrect order of commits/Issues *bug*

**Adding feature to ignore tags by regexp**

Expand Down Expand Up @@ -557,7 +557,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.38
### GitHub #19
### GitHub [#19](https://github.com/tomasbjerre/git-changelog-lib/issues/19) Feature-request (or question): Issues by category *enhancement*

**Removing commits without issue, from tags**

Expand All @@ -566,7 +566,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.37
### GitHub #19
### GitHub [#19](https://github.com/tomasbjerre/git-changelog-lib/issues/19) Feature-request (or question): Issues by category *enhancement*

**Ignore commits without issue**

Expand All @@ -579,7 +579,7 @@ Changelog for tomasbjerre git-changelog-lib.
[a025adfc759313f](https://github.com/tomasbjerre/git-changelog-lib/commit/a025adfc759313f) Tomas Bjerre *2016-03-19 20:33:11*


### GitHub #21
### GitHub [#21](https://github.com/tomasbjerre/git-changelog-lib/issues/21) Commits can be listed multiple times *bug*

**Avoiding adding commit twice in same issue**

Expand Down Expand Up @@ -626,7 +626,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.34
### GitHub #18
### GitHub [#18](https://github.com/tomasbjerre/git-changelog-lib/pull/18) Migrate GitHub to RetroFit , add pagination and token support

**Logging error if error invoking GitHub API**

Expand All @@ -643,7 +643,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.33
### GitHub #10
### GitHub [#10](https://github.com/tomasbjerre/git-changelog-lib/issues/10) Authentication with GitHub *enhancement*

**Migrate GitHub REST-API to RetroFit library**

Expand All @@ -653,7 +653,7 @@ Changelog for tomasbjerre git-changelog-lib.
[d29029a38fad6a4](https://github.com/tomasbjerre/git-changelog-lib/commit/d29029a38fad6a4) Jonas Kalderstam *2016-03-15 00:12:45*


### GitHub #15
### GitHub [#15](https://github.com/tomasbjerre/git-changelog-lib/issues/15) Github, support pagination *enhancement*

**Migrate GitHub REST-API to RetroFit library**

Expand All @@ -663,7 +663,7 @@ Changelog for tomasbjerre git-changelog-lib.
[d29029a38fad6a4](https://github.com/tomasbjerre/git-changelog-lib/commit/d29029a38fad6a4) Jonas Kalderstam *2016-03-15 00:12:45*


### GitHub #18
### GitHub [#18](https://github.com/tomasbjerre/git-changelog-lib/pull/18) Migrate GitHub to RetroFit , add pagination and token support

**Introducing custom exceptions**

Expand All @@ -681,7 +681,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.32
### GitHub #16
### GitHub [#16](https://github.com/tomasbjerre/git-changelog-lib/issues/16) Commit not available in all issues mentioned in commit comment *bug*

**Supplying commit in each issue mentioned in message**

Expand Down Expand Up @@ -750,7 +750,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.26
### GitHub #13
### GitHub [#13](https://github.com/tomasbjerre/git-changelog-lib/issues/13) Performance *enhancement*

**Rewriting GitRepo to make it faster**

Expand All @@ -765,7 +765,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.25
### GitHub #13
### GitHub [#13](https://github.com/tomasbjerre/git-changelog-lib/issues/13) Performance *enhancement*

**Letting JGit determine new commits between refs**

Expand Down Expand Up @@ -859,7 +859,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.19
### GitHub #11
### GitHub [#11](https://github.com/tomasbjerre/git-changelog-lib/issues/11) Move command line to its own repo *enhancement*

**Removing command line code**

Expand Down Expand Up @@ -937,15 +937,15 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.12
### GitHub #2
### GitHub [#2](https://github.com/tomasbjerre/git-changelog-lib/issues/2) GitHub Integration *enhancement*

**Integrating with GitHub**


[45af766856ac703](https://github.com/tomasbjerre/git-changelog-lib/commit/45af766856ac703) Tomas Bjerre *2015-11-22 19:51:40*


### GitHub #3
### GitHub [#3](https://github.com/tomasbjerre/git-changelog-lib/issues/3) Jira Integration *enhancement*

**Integrating with Jira**

Expand Down Expand Up @@ -1048,7 +1048,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.4
### GitHub #7
### GitHub [#7](https://github.com/tomasbjerre/git-changelog-lib/issues/7) Add booleans to enable if statements *enhancement*

**Adding hasIssue hasLink to readme doc**

Expand All @@ -1070,7 +1070,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.3
### GitHub #7
### GitHub [#7](https://github.com/tomasbjerre/git-changelog-lib/issues/7) Add booleans to enable if statements *enhancement*

**Adding booleans to check if link and/or issue exists in issue**

Expand All @@ -1097,7 +1097,7 @@ Changelog for tomasbjerre git-changelog-lib.


## 1.2
### GitHub #4
### GitHub [#4](https://github.com/tomasbjerre/git-changelog-lib/issues/4) Mediawiki integration *enhancement*

**MediaWiki integration**

Expand Down

0 comments on commit 8ef76f5

Please sign in to comment.