Commit graph

253 commits

Author SHA1 Message Date
f2ee721ec4 Refactoring - change API for creating GitDBBranch 2018-06-13 21:10:12 +01:00
8aabdf8be3 Rename GitDBLocal as LocalGitDB 2018-06-13 20:50:05 +01:00
837032b205 Extract InitGitDBRepo.create() 2018-06-13 20:49:12 +01:00
2246513bee Refactoring - push jgit from GitDB class 2018-06-13 20:33:59 +01:00
36d968335e When removing a key that does not exist then the GitDbBranch is returned 2018-06-13 18:25:22 +01:00
5576b12c83 Upgrade planned tests 2018-06-13 18:17:54 +01:00
700be4386f Remove out-of-date commented-out tests 2018-06-13 18:14:01 +01:00
fad31a9db8 When getting a key that does exist then the value is returned inside an Optional 2018-06-13 18:12:36 +01:00
b816f235af Remove assertions that belong in other tests 2018-06-13 18:11:48 +01:00
02b5ba34bc When putting a key/value pair then a GitDbBranch is returned 2018-06-13 18:07:12 +01:00
265bd61a11 When getting a key that does not exist then return an empty Optional 2018-06-07 22:25:47 +01:00
a0fc7c28c5 When select a valid branch then a GitDbBranch is returned 2018-06-07 22:17:46 +01:00
897f9e1bc4 Update references to gitlab 2018-06-06 22:12:27 +01:00
5c1822546e Refactoring 2018-06-03 22:18:03 +01:00
048f610cf4 Rewrite check for valid bare repo 2018-06-03 11:13:01 +01:00
11575f53e7 When select a branch that doesn't exist then an empty Optional is returned 2018-06-03 11:13:01 +01:00
79a5818242 Refactoring and add headers and javadoc 2018-06-03 11:13:01 +01:00
418bfeaee9 When opening a repo in a dir that is not a bare repo then an exception is thrown 2018-06-02 11:27:54 +01:00
d39af20fdf GitDB: add javadoc 2018-06-02 11:11:15 +01:00
c99e801a69 When opening a repo in a dir that is a bare repo then GitDb is returned 2018-06-02 11:08:25 +01:00
b75f228dd7 When opening a repo in a dir that doesn't exist then an exception is thrown 2018-06-02 11:05:07 +01:00
0c00a57ddb When opening a repo in a dir that is a file then an exception is thrown 2018-06-02 11:04:13 +01:00
4895350c6b Improve error message for GitDbRepoNotFoundException 2018-06-02 10:59:52 +01:00
18e9d51248 When opening a repo in a dir that is not a bare repo then an exception is thrown 2018-06-01 23:34:40 +01:00
e1e94c7770 When init in {non-}empty dir then an {exception thrown,repo created}
* When initialising a repo in a non-empty dir then an exception is thrown
* When initialising a repo in a empty dir then a bare repo is created
2018-06-01 23:16:45 +01:00
fbab2f27cc Add initRepo_whenDirIsFile test 2018-06-01 20:35:31 +01:00
51dcf05c5d Fix test clause - dir does not exist 2018-06-01 07:09:48 +01:00
7d5b7e314c pom: configure pitest to work with junit 5 2018-06-01 07:05:42 +01:00
743c5d3405 Disable codacy until token added 2018-05-31 23:46:09 +01:00
5f9588b175 Add javadoc 2018-05-31 23:41:10 +01:00
1098cd2e21 Delete commented code
Leave working examples of using Git
2018-05-31 23:41:03 +01:00
5ffdb0f895 Add LICENSE.txt 2018-05-31 23:33:08 +01:00
5762bf7667 pom: disable pmd-strict
Law of Demeter rule doesn't support fluent APIs or Streams.
2018-05-31 23:29:50 +01:00
19b936a067 Clarify call to InitCommand 2018-05-31 23:29:26 +01:00
fa9481704a temp comment out classes not referred to in unit tests 2018-05-31 23:29:15 +01:00
f6aeb1fbb6 pom: make surefire work with junit 5 2018-05-31 23:16:51 +01:00
e609ed0bdb pom: add kemitix maven-tiles and checkstyle-ruleset 2018-05-31 22:47:35 +01:00
4f8850095b mvnw: add maven wrapper for maven 3.5.3 2018-05-31 22:46:22 +01:00
5ae04720d0 Add Jenkinsfile 2018-05-31 20:51:57 +01:00
a88763958c Start redefining GitDB interface with a new test plan 2018-05-31 20:45:49 +01:00
fe81c6a67a pom: upgrade assertj to 3.10.0 2018-05-31 20:44:43 +01:00
5db7c3882f pom: specify mon version as property 2018-05-31 20:44:43 +01:00
c841393263 Rewrite repo creation 2018-05-31 20:44:43 +01:00
04d7acc06c Remove getRepository() and make save() only work with String 2018-05-31 20:44:43 +01:00
ab174f5eeb Author has a name and an email 2018-05-31 20:44:43 +01:00
5c3a319b19 saveDocumentGivesSavedValue:wq 2018-05-12 18:50:43 +01:00
1b2d540078 Add stub interface 2018-05-12 18:44:11 +01:00
e29f08c4f9 Reimplement in Java 2018-05-12 15:57:41 +01:00
9d4ea21111 Add mon 0.4.0 dependency 2018-05-11 23:39:45 +01:00
c8cf933a33 Initialise DB 2018-05-11 19:54:32 +01:00