Commit graph

116 commits

Author SHA1 Message Date
Robur Team
e91bd44cb8 Added tests for change_and_push and parallel modifications
Fixed last_modified (when running inside change_and_push),
and change_and_push.

Co-Authored-By: Reynir Björnsson <reynir@reynir.dk>
Co-Authored-By: Hannes Mehnert <hannes@mehnert.org>
2016-08-21 17:18:43 +02:00
b1e995532b add alcotest 2024-10-28 09:45:49 +01:00
f1c7403a7f minor nits to get tests running on FreeBSD 2024-10-26 17:34:04 +02:00
4f93219f1d Read staged files 2024-10-25 13:03:30 +02:00
65f850cf44 Refactor test/dune and add a failing test
The failing test shows how writes during a change_and_push are not
readable.
2024-10-25 11:47:35 +02:00
492f57f850 Merge pull request 'Partially fix tests' (!1) from fix-test into main
Reviewed-on: #1
2024-10-25 09:42:28 +00:00
23de401184 Remove broken (enabled_if ..) stanza 2024-10-25 11:40:21 +02:00
248a6cdde9 Partially fix tests
Since mgit is not a public executable it will not be present in $PATH -
so we must use %{exe:...} over %{bin:...}.

The fix is partial because the (enabled_if ...) stanza doesn't work
correctly for me at least.
2024-10-25 11:02:10 +02:00
0318c4c35a Merge pull request 'Prepare v0.0.5' (#36) from prepare-v0.0.5 into main
Reviewed-on: #36
2024-05-24 16:51:03 +00:00
768b498fef Prepare v0.0.5 2024-05-17 10:23:23 +02:00
8c941e2431 Merge pull request 'Stream in/out the PACK file' (#33) from lwt-pause-and-stream into main
Reviewed-on: #33
2024-05-17 07:37:56 +00:00
5652b5960d Merge pull request 'digest: return the raw digest, not hex encoded' (#35) from no-digest-hex into main
Reviewed-on: #35
2024-05-08 14:16:43 +00:00
105e35db9f digest: return the raw digest, not hex encoded 2024-05-07 12:42:12 +02:00
4ba5f909dd Merge pull request 'Prepare v0.0.4' (#34) from prepare-v0.0.4 into main
Reviewed-on: #34
2024-04-30 15:52:57 +00:00
085df79245 Prepare v0.0.4 2024-04-24 16:07:43 +02:00
1315580463 Stream in/out the PACK file 2024-02-22 13:41:56 +01:00
948dfd81ba Merge pull request 'Add few Lwt.pause to give an opportunity for other processes to run' (#32) from pause into main
Reviewed-on: #32
2024-02-12 09:30:23 +00:00
08a8a8a399 Merge pull request 'Add the compression level argument into to_octets' (#31) from level into main
Reviewed-on: #31
2024-02-11 21:46:18 +00:00
cbfba38063 minor tweaks 2024-02-11 22:44:58 +01:00
1264fdad0a Add the compression level argument into to_octets 2024-02-11 22:44:58 +01:00
0832c0fde9 Add few Lwt.pause to give an opportunity for other processes to run 2024-02-11 12:35:57 +01:00
033c6bb800 roburio -> robur-coop 2023-09-09 11:56:35 +02:00
0e6eab102f Merge pull request 'Add the branch accessor' (#30) from add-branch-accessor into main
Reviewed-on: https://git.robur.io/robur/git-kv/pulls/30
2023-03-16 11:12:55 +00:00
999e9d6968
Add the documentation about Git_kv.branch 2023-03-15 11:45:17 +01:00
a8ab45f2be
Add the branch accessor 2023-03-15 11:43:36 +01:00
73bdcba54b changes for 0.0.3 2022-12-16 17:17:16 +01:00
1b090c7e63 Merge pull request 'change_and_push: be able to specify author and message' (#28) from provide-author into main
Reviewed-on: https://git.robur.io/robur/git-kv/pulls/28
2022-12-16 16:15:41 +00:00
f5fa3857c1 change_and_push: be able to specify author and message 2022-12-15 13:29:19 +01:00
12261fc13a opam: requires mirage-clock 2.0.0 2022-12-14 17:25:03 +01:00
1f85d14271 opam: raise dune bound, add testing 2022-12-14 16:52:05 +01:00
3a721fd4cd opam: require git 3.10.0 (for Git.Reference.main) 2022-12-14 16:46:41 +01:00
19fdea8693 changes for 0.0.2 2022-12-14 16:45:53 +01:00
d27fd751e1 support for mirage-kv 6.0.0 (#27)
Reviewed-on: https://git.robur.io/robur/git-kv/pulls/27
2022-12-14 15:43:09 +00:00
eab6bf4e3c Merge pull request 'Delete unix transitive deps from our tests' (#25) from remove-transitive-unix-deps into main
Reviewed-on: https://git.robur.io/robur/git-kv/pulls/25
2022-12-02 14:48:26 +00:00
59fa969129 Delete unix transitive deps from our tests 2022-12-02 14:23:49 +01:00
fc2e17f4c2 Merge pull request 'minor refactorings and updates' (#24) from more into main
Reviewed-on: https://git.robur.io/robur/git-kv/pulls/24
2022-11-07 11:08:34 +00:00
ad55d4888e mgit: print error if change_and_push failed (as suggested by @reynir) 2022-11-05 17:01:33 +01:00
cb37018a84 avoid Result.get_ok, as suggested by @reynir, to preserve the error 2022-11-05 14:57:55 +01:00
45657fdf32 change_and_push may return an error, report it 2022-11-04 10:48:44 +01:00
8e14c13ddc use Git.Reference.main, avoid msgf binding only used once 2022-11-04 10:43:27 +01:00
8c7562ea16 avoid rresult, use result instead 2022-11-04 10:42:30 +01:00
6fdede7310 M-x whitespace-cleanup 2022-11-04 10:41:40 +01:00
57d7a3d3a9 Fill the OPAM file with the license 2022-11-03 14:58:10 +01:00
181b5328db Add LICENSE.md 2022-11-03 14:56:43 +01:00
495819c691 Use the GitHub mirror on OPAM metadata 2022-11-02 16:49:50 +01:00
d8972ff629 Prepare v0.0.1 2022-11-02 16:47:36 +01:00
cc70aeb3f1 Check if git-daemon exists and execute tests then 2022-11-02 15:46:53 +01:00
888605dd22 Fix the test with hxd's output 2022-11-01 17:03:32 +01:00
115f3a2f6b Use hxd.xxd instead of hexdump 2022-11-01 15:14:36 +01:00
50ce95b8bd Add conf-git as a dependency for tests 2022-11-01 14:57:22 +01:00