Commit graph

58 commits

Author SHA1 Message Date
Aleksey Kulikov
d231164775
feat(repository): add ability to compare objects (#55)
Add naive objects comparison based on repository path. Use with caution,
previously loaded into memory index, odb, etc. might be different.
2022-05-10 19:57:24 +03:00
Aleksey Kulikov
4e55d0f06c
refactor(repository)!: use Finalizer to automatically free allocated memory (#51)
BREAKING CHANGE: Return value of identity getter changed from Map<String, String> to Identity
2022-05-02 15:33:31 +03:00
Aleksey Kulikov
a3213a88a2
refactor!: use Finalizer to automatically free allocated memory for objects (#48)
BREAKING CHANGE: signature change for remote and repository callbacks during repository clone operation.
2022-04-28 11:04:48 +03:00
Aleksey Kulikov
7b57c41253
test: improve coverage (#44) 2022-01-26 16:11:38 +03:00
Aleksey Kulikov
bad5e20581
refactor(repository)!: move descendantOf() method into Commit (#43) 2022-01-26 11:27:35 +03:00
Aleksey Kulikov
570c696269
refactor(merge)!: move merge related methods into Merge class (#41) 2022-01-25 18:53:04 +03:00
Aleksey Kulikov
e7c18c35e2
refactor(repository)!: remove excessive aliases (#40)
BREAKING CHANGE: instead of removed aliases, API methods from relevant
classes should be called (e.g. Commit.create, Reference.lookup, etc.)
2022-01-25 17:25:15 +03:00
Aleksey Kulikov
3e1ece4e6f
feat(tag)!: add bindings and API methods (#36)
- add binding and API method for git_tag_create_lightweight
- add API method that returns tag target type

BREAKING CHANGE: add specific methods `createAnnotated` and `createLightweight`.
2022-01-24 16:42:08 +03:00
Aleksey Kulikov
59cf7174f6 refactor: compose paths using path package 2021-12-31 12:00:04 +03:00
Aleksey Kulikov
c516119397 style: clean up tests names 2021-12-23 15:29:28 +03:00
Aleksey Kulikov
e6bfdc5a85
feat(blob): add more bindings and API methods (#21) 2021-12-20 18:02:53 +03:00
Aleksey Kulikov
7148fbf194 style: stricter linting 2021-12-17 11:20:17 +03:00
Aleksey Kulikov
a71bb14b86
test: fix tests failing on windows 2021-10-29 10:59:30 +03:00
Aleksey Kulikov
0e329bd2b1 test: fix tests failing in ci 2021-10-27 20:59:50 +03:00
Aleksey Kulikov
7f0cd86e72 test: remove checks for messages of throws
Platform specific messages for throws is different, so checking that test
throws proper type should be enough
2021-10-27 16:44:04 +03:00
Aleksey Kulikov
7b14ee6b9b style: avoid lines longer than 80 characters 2021-10-22 17:13:42 +03:00
Aleksey Kulikov
a806d0a312 style: sort imports alphabetically 2021-10-22 15:10:04 +03:00
Aleksey Kulikov
127849519d test: add more tests for throws and their messages 2021-10-19 17:16:39 +03:00
Aleksey Kulikov
d6eae1e9ed test: improve coverage 2021-10-15 17:37:38 +03:00
Aleksey Kulikov
1972c6d1ab refactor!: use Oid instead of String for arguments 2021-10-13 15:31:20 +03:00
Aleksey Kulikov
cfa5268af2 style: use "map/where" instead of "for" loop 2021-10-12 14:56:56 +03:00
Aleksey Kulikov
3a0fa75929 feat(repository)!: add more aliases for api methods
BREAKING CHANGE: Make repository entry point for most operations
2021-10-11 20:06:36 +03:00
Aleksey Kulikov
03e2922517 style: remove unnecessary imports 2021-10-08 18:34:58 +03:00
Aleksey Kulikov
0ed5e7c797 feat(graph): add bindings and api 2021-10-06 11:36:38 +03:00
Aleksey Kulikov
5f7fdf4bd3 refactor!: use named arguments if there is more than one 2021-09-30 18:04:36 +03:00
Aleksey Kulikov
ec80ad3dd4 feat(attr): add bindings and api 2021-09-30 13:53:58 +03:00
Aleksey Kulikov
ec8ff24e89 test(repository): divide groups into different files 2021-09-24 12:17:05 +03:00
Aleksey Kulikov
466f960c7b refactor: extract repo setup for tests 2021-09-23 16:35:05 +03:00
Aleksey Kulikov
3b883c49e3 feat(signature): add bindings and api for default signature 2021-09-21 15:28:58 +03:00
Aleksey Kulikov
72107dea60 test(stash): move tests to separate file 2021-09-21 14:46:00 +03:00
Aleksey Kulikov
3cb55817ad feat(stash): add bindings and api 2021-09-21 13:18:11 +03:00
Aleksey Kulikov
7b8dfcc1af feat(config): add api for config entry 2021-09-20 15:52:04 +03:00
Aleksey Kulikov
7618f944c0 refactor!: return sets of git type flags instead of integers 2021-09-10 20:22:02 +03:00
Aleksey Kulikov
1f2d00b177 feat(repository): add ability to check status of repo and single file 2021-09-07 19:08:28 +03:00
Aleksey Kulikov
56713da648 fix(tag): tag can point to any type of git object 2021-09-04 13:52:29 +03:00
Aleksey Kulikov
fb69de66d2 refactor: pass sha hex string instead of Oid as argument 2021-09-04 12:21:42 +03:00
Aleksey Kulikov
2cf974c624 feat(repository): add ability to lookup different types of git objects with [] 2021-09-04 12:04:28 +03:00
Aleksey Kulikov
da3bda077a refactor: use classes instead of enums for git types 2021-09-03 18:19:44 +03:00
Aleksey Kulikov
0cdaa6f8f4 feat(tag): add bindings and api 2021-09-03 12:13:23 +03:00
Aleksey Kulikov
f0803298c8 feat(blob): add bindings and api 2021-09-02 18:03:41 +03:00
Aleksey Kulikov
84ee4be945 feat(tree): add bindings and api 2021-09-02 11:58:14 +03:00
Aleksey Kulikov
ce9384cac9 feat(revparse): add bindings and api 2021-09-01 16:53:40 +03:00
Aleksey Kulikov
3b13646b1b feat(repository): add api method for revparse_single 2021-09-01 10:43:08 +03:00
Aleksey Kulikov
2e0486c641 feat(revwalk): add bindings and api 2021-08-31 18:21:25 +03:00
Aleksey Kulikov
747996b40c refactor: use ffi Arena for resource management 2021-08-25 18:33:17 +03:00
Aleksey Kulikov
696d55bb3a feat(repository): add ability to initialize repository 2021-08-21 15:36:42 +03:00
Aleksey Kulikov
543ebff223 feat(repository): add ability to discover repository from sub directories 2021-08-21 14:56:23 +03:00
Aleksey Kulikov
da8494d3e2 refactor(config): simplify api methods names 2021-08-21 11:25:06 +03:00
Aleksey Kulikov
594aca6474 feat(repository): add ability to get repository config 2021-08-12 20:00:25 +03:00
Aleksey Kulikov
5feb12fdaa refactor!: change api entry points 2021-08-11 17:02:32 +03:00