Commit graph

131 commits

Author SHA1 Message Date
a20c5b064e KeyRemover: minor renaming of lambda variable 2018-07-21 23:23:45 +01:00
c75204c676 Mon.invert renamed to swap 2018-07-21 23:23:02 +01:00
3789afb824 KeyRemover.remove: refactor - rename GitTreeReader.stream as entries 2018-07-21 08:10:19 +01:00
660b74c965 jenkins: update jenkinsfile 2018-07-21 07:52:37 +01:00
3847cb52a2 Switchto using DEV versions of mon and conditional 2018-07-20 20:23:01 +01:00
3bfdcff11a Upgrade dependencies
* `maven-tiles` to 2.11
* `kemitix-tiles` to 0.9.0
* `maven-surefire-plugin` to 2.22.0
* `lombok` to 1.18.0
* `jgit` to 5.0.1.*
* `mockito` to 2.19.1
2018-07-20 20:19:51 +01:00
7f8dde5bd3 HeadWriter: refactored 2018-07-20 07:47:18 +01:00
058572ab91 HeadWriter: avoid the Law of Demeter 2018-07-20 07:36:58 +01:00
23b9caebf5 KeyRemoved.flatIfFound refactored to use conditional 2018-07-20 07:27:02 +01:00
0a24a399aa Upgrade mon to 0.11.0 2018-07-20 07:26:51 +01:00
297a952f43 InitGitDBRepo: refactored 2018-07-19 17:26:45 +01:00
a2c97b6170 Add conditional 0.5.0 2018-07-19 07:06:51 +01:00
2f68bd55d0 GitTreeReader.stream: refactor for readability 2018-07-11 07:10:49 +01:00
330e87b6a1 InitGitDBRepo.create: add missing javadoc @return 2018-07-10 22:56:27 +01:00
a9a6eeb01e Parameters are final 2018-07-10 22:56:14 +01:00
436a3e2501 LocalGitDBImpl.branch: rewrite without try/catch block 2018-07-10 22:52:16 +01:00
32027ef6e1 NamedRevBlob.blobAsString: rewrite without try/catch block 2018-07-10 22:22:20 +01:00
20e6ba3f84 KeyRemover.insertTree: rewrite without try/catch block 2018-07-10 22:19:51 +01:00
88bbfd428b InitGitDBRepo.create: rewrite to use new Result methods 2018-07-10 22:16:13 +01:00
d702968b94 Upgrade mon to 0.10.0 2018-07-10 22:11:05 +01:00
fd0109e490 GirDBRepo fix syntax error 2018-07-08 06:44:35 +01:00
723eecb27c README: Remove jenkins, codacy and jpeek badges - revert once available 2018-07-05 07:19:14 +01:00
2669a2e0ad README: add 2018-07-05 07:18:38 +01:00
f302cc9d39 Merge branch 'mon-070-result-no-exceptions' into 'master'
Use Mon's Result<T>

See merge request kemitix/gitdb!1
2018-06-30 20:16:27 +00:00
fd70dbacc3 GitDBTest clean up tests throwing exceptions 2018-06-30 21:08:12 +01:00
d1acd4a0dc HeadWriter returns Result<T> values 2018-06-30 21:05:38 +01:00
c4034a291f InitGitDBRepo return Result<T> values 2018-06-30 21:02:09 +01:00
ae852be86f CommitWriter and GitDBRepo return Result<T> values 2018-06-30 20:47:00 +01:00
9eff624a05 More classes return Result<T> values 2018-06-30 20:37:32 +01:00
98b81a44dc NamedRevBlob returns Result<T> values 2018-06-30 13:14:21 +01:00
2de83ba3bc Refactoring GitDBTest 2018-06-30 13:14:21 +01:00
f5483f419b GitDBBranch returns Result<T> values 2018-06-30 13:14:15 +01:00
193a0f380b GitDB returns Result<T> values 2018-06-30 13:11:52 +01:00
6a3687466f Upgrade mon to 0.7.0 2018-06-30 13:11:32 +01:00
63d0078be5 FormatVersion: make private final int fields static 2018-06-21 07:29:18 +01:00
a520b91bb9 Move constants from interface to a class 2018-06-21 07:25:46 +01:00
b10da3eac6 Remove redundant final in try-with-resources 2018-06-21 06:49:22 +01:00
b4e6cee636 Use try-with-resources for closables 2018-06-20 22:16:22 +01:00
32354fe8ea jenkins: more refactor environment checking and switch deploy branch 2018-06-20 19:00:48 +01:00
e395b54db4 Revert "Use correct sonarqube environment in jenkins"
This reverts commit 8765e83

(cherry picked from commit c86a5aa)
2018-06-18 17:03:07 +01:00
fe12c17a62 Use correct sonarqube environment in jenkins 2018-06-18 16:34:14 +01:00
88452071f8 Remove transactions - bare git repos don't support merging
May reconsider this at some point using a clone of the bare repo.
2018-06-16 12:34:29 +01:00
3b89df6589 Jenkins: only release branches protected from SNAPSHOT 2018-06-16 07:50:43 +01:00
27d7bbb6d3 When closing the transaction with no additional commits then the base GirDBBranch is returned 2018-06-15 21:46:48 +01:00
91d0f5817d Refactor: inline methods 2018-06-15 20:26:39 +01:00
8f044e6b77 Extract HeadWriter 2018-06-15 19:26:02 +01:00
9b8c4765ae Reduce method count for GitDBBranch 2018-06-15 19:20:34 +01:00
58daa2a6a6 Add missing javadoc and update parameter names and remove bp constructor 2018-06-15 19:13:31 +01:00
53596f4254 When start a named transaction in a transaction then a new transaction is created 2018-06-15 19:06:14 +01:00
c01936e55f When start an anonymous transaction in a transaction then a new transaction is created 2018-06-15 19:04:08 +01:00