Commit graph

196 commits

Author SHA1 Message Date
Aleksey Kulikov
48e2240c73
feat(revwalk): add ability to limit number of commits to walk (#65) 2022-06-09 17:15:55 +03:00
Aleksey Kulikov
c35d336a56
feat: add ability to get and set libgit2 global options (#59) 2022-05-24 16:07:57 +03:00
Aleksey Kulikov
faddaa52e2
feat(reset): add ability to remove entries in index (#57) 2022-05-18 15:49:08 +03:00
Aleksey Kulikov
16c42b9b2d
feat(repository): add ability to compare Identity objects (#56) 2022-05-10 20:50:52 +03:00
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
bad40bdb61
feat: add ability to compare objects (#54) 2022-05-10 16:18:55 +03:00
Aleksey Kulikov
e9e70cfc62
refactor(git_types): use enums (#53)
Use Dart's new feature "Enhanced enums with members".
2022-05-05 13:12:47 +03:00
Aleksey Kulikov
984b44d992
refactor: move named arguments to front of tests (#52)
Use Dart's new feature "Named args everywhere"
2022-05-04 16:55:40 +03:00
Aleksey Kulikov
0d78a99b55 test: rename markers to keep empty folders 2022-05-04 14:24:58 +03:00
Aleksey Kulikov
eacbea8f19 docs: add examples
closes #6
2022-05-03 21:03:03 +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
aef440e345
refactor(remote)!: add RemoteReference class (#50)
BREAKING CHANGE: Return value of ls(...) changed from List<Map<String, Object?>> to List<RemoteReference>
2022-04-29 15:24:05 +03:00
Aleksey Kulikov
6d1ccd5c12
refactor(merge)!: add MergeAnalysis class containing analysis result and merge preference (#49)
BREAKING CHANGE: Return value of Merge.analysis(...) changed from List<Object> to MergeAnalysis.
2022-04-28 18:00:18 +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
94c40f9a94
test: disable repository owner verification for tests (#47) 2022-04-13 14:02:26 +03:00
Aleksey Kulikov
2eb50dec69 style: stricter linting 2022-02-23 11:05:14 +03:00
Aleksey Kulikov
d0f7746a01
refactor(revparse)!: add ability to get different git objects based on spec (#46) 2022-02-19 12:42:19 +03:00
Aleksey Kulikov
d901d2e13f
feat: upgrade libgit2 to 1.4.0 (#45) 2022-02-16 16:57:52 +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
9918ab0905
refactor(checkout)!: move checkout related methods into Checkout class (#42) 2022-01-25 20:16:46 +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
432abffa89
feat(patch): add binding and API method for git_patch_line_stats (#39) 2022-01-25 16:34:27 +03:00
Aleksey Kulikov
06cc0230c7 chore: remove unnecessary hooks from test repos 2022-01-25 16:00:59 +03:00
Aleksey Kulikov
0844f03387
feat(patch)!: divide Patch.create() into specific methods (#38)
BREAKING CHANGE: remove patch generation methods from Blob class
2022-01-25 15:58:06 +03:00
Aleksey Kulikov
08cbe8a17f
refactor!: use class names instead of aliases from Repository in tests (#37)
BREAKING CHANGE: move API methods related to diffing into Diff class
2022-01-25 12:05:34 +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
f7dde69de3
feat(checkout)!: add ability to checkout commit (#35) 2022-01-21 17:10:41 +03:00
Aleksey Kulikov
6fe24dcb65
feat(index): add ability to create diff between two indexes (#34) 2022-01-14 18:44:14 +03:00
Aleksey Kulikov
cc78e7945f
feat(index): add binding and API method for git_index_new (#33) 2022-01-14 15:08:45 +03:00
Aleksey Kulikov
02ac220d46
feat(tag): add binding and API method for git_tag_target_id (#32) 2022-01-13 14:51:23 +03:00
Aleksey Kulikov
6bdf133f06 test(credentials): use https instead of git
Github removed support of the unauthenticated git protocol.
2022-01-11 18:36:41 +03:00
Aleksey Kulikov
d86617d58b test: fix tests failing on windows 2021-12-31 12:39:57 +03:00
Aleksey Kulikov
59cf7174f6 refactor: compose paths using path package 2021-12-31 12:00:04 +03:00
Aleksey Kulikov
f2e78daa42 refactor: remove unnecessary directory existence check 2021-12-31 10:15:12 +03:00
Aleksey Kulikov
c516119397 style: clean up tests names 2021-12-23 15:29:28 +03:00
Aleksey Kulikov
f1b84efc81
feat(revwalk): add more bindings and API methods (#31) 2021-12-23 13:08:51 +03:00
Aleksey Kulikov
74a20a9cf2
feat(commit): add binding and API method for git_revert (#30) 2021-12-23 11:40:29 +03:00
Aleksey Kulikov
fda5173e7f
feat(reflog): add more bindings and API methods (#29) 2021-12-23 10:58:44 +03:00
Aleksey Kulikov
ff2dd8b408
feat(reference): add more bindings and API methods (#28) 2021-12-22 19:53:38 +03:00
Aleksey Kulikov
fb4694cf06
feat(rebase)!: add more bindings and API methods (#27) 2021-12-22 19:20:16 +03:00
Aleksey Kulikov
fe570a6990
feat(annotated)!: add more bindings and API methods (#26) 2021-12-22 17:41:34 +03:00
Aleksey Kulikov
50a6087a5b
feat(packbuilder): add more bindings and API methods (#25) 2021-12-21 18:28:44 +03:00
Aleksey Kulikov
9791b6324c
feat(merge)!: add more bindings and API methods (#24) 2021-12-21 17:11:41 +03:00
Aleksey Kulikov
561986ebfd
feat(diff): add binding and API method for git_diff_tree_to_workdir_with_index (#23) 2021-12-21 12:34:52 +03:00
Aleksey Kulikov
5740831bb9
feat(commit): add more bindings and API methods (#22) 2021-12-20 20:42:16 +03:00
Aleksey Kulikov
e6bfdc5a85
feat(blob): add more bindings and API methods (#21) 2021-12-20 18:02:53 +03:00
Aleksey Kulikov
39a71811cb
feat(blame): add binding and api method for git_blame_buffer (#20) 2021-12-20 15:03:31 +03:00
Aleksey Kulikov
7148fbf194 style: stricter linting 2021-12-17 11:20:17 +03:00