Commit graph

112 commits

Author SHA1 Message Date
dependabot[bot]
cbdec2e363
Bump lombok from 1.16.20 to 1.18.2
Bumps [lombok](https://github.com/rzwitserloot/lombok) from 1.16.20 to 1.18.2.
- [Release notes](https://github.com/rzwitserloot/lombok/releases)
- [Changelog](https://github.com/rzwitserloot/lombok/blob/master/doc/changelog.markdown)
- [Commits](https://github.com/rzwitserloot/lombok/compare/v1.16.20...v1.18.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-08-24 05:35:20 +00: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
cdd35e8008 When get key/value in a transaction then the value is returned 2018-06-15 18:58:53 +01:00
c506802224 When get format version in transaction then the version is the same 2018-06-15 18:53:50 +01:00
791f82e16f When removing a key in a transaction then the transaction branch no longer finds it 2018-06-15 18:48:42 +01:00
cd700c0130 When removing a key in a transaction then the original GitDbBRanch still finds it 2018-06-15 18:45:26 +01:00
0e5d5d4a31 When putting an existing key/value pair then the original GitDbBranch finds the original value 2018-06-15 18:41:09 +01:00
1a65fb9123 When starting an anonymous transaction then transaction starts on the same commit 2018-06-15 18:38:34 +01:00
71bb51c729 When starting an anonymous transaction then original branch is unchanged 2018-06-15 18:34:10 +01:00
53e1fd394b Refactor GitTreeReader 2018-06-15 18:20:05 +01:00
dc932d8b1d Simplify a test 2018-06-15 17:54:47 +01:00
55bf71eb69 Transaction: When putting a new key/value pair then the original GitDbBranch can't find it 2018-06-15 14:49:49 +01:00
002429e978 Move helped test methods 2018-06-15 14:49:03 +01:00
9c6c2bc247 Rename UnnamedTransaction as GitDBTransactionImpl 2018-06-15 14:48:43 +01:00
bd4306bbc0 When starting an anonymous transaction then a GitDbTransaction is returned 2018-06-15 14:37:36 +01:00
57e39d71ad When starting a named transaction then GitDbTransaction is returned 2018-06-15 14:36:55 +01:00
07bdac4b29 Refactoring test to use random string supplier 2018-06-15 12:55:48 +01:00
00bfa35460 When getting the format version it matches expected 2018-06-15 12:48:55 +01:00
111527f570 When removing a key that does exist then the updated GitDbBranch can't find it 2018-06-15 11:41:44 +01:00
ac53b4679a When removing a key that does exist then original GitDbBranch can still find it 2018-06-15 11:41:00 +01:00
2305c0ed1b Extract NamedRevBlob to top level class 2018-06-15 10:07:23 +01:00