Commit graph

46 commits

Author SHA1 Message Date
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
Aleksey Kulikov
ef29257f2e feat(repository): add ability to set working directory 2021-08-09 15:55:42 +03:00
Aleksey Kulikov
b603a567b2 feat(repository): add ability to set head 2021-08-09 13:14:24 +03:00
Aleksey Kulikov
2477b4efd8 refactor: use libgit free() functions instead of calloc() 2021-08-05 20:07:00 +03:00
Aleksey Kulikov
9190ed2e0f feat(reference): add ability to create direct reference 2021-08-05 19:48:58 +03:00
Aleksey Kulikov
21001d170c test(repository): check if tmp directory exists and remove it before copying repo 2021-07-13 16:43:37 +03:00
Aleksey Kulikov
be680595bc test(repository): test against repo copied into tmp directory 2021-07-12 19:57:35 +03:00
Aleksey Kulikov
9acf3a8a9e feat(repository): add ability to set and get namespace 2021-07-09 15:38:15 +03:00
Aleksey Kulikov
4bd324a596 feat(repository): add base bindings and api 2021-07-08 20:24:58 +03:00