Commit graph

147 commits

Author SHA1 Message Date
7809c7e384 Merge pull request 'Add CHANGES.md entry for v0.1.2' (!11) from prepare-v0.1.2 into main
Reviewed-on: #11
2024-12-20 13:01:38 +00:00
52bef4f519 Add CHANGES.md entry for v0.1.2 2024-12-20 13:20:33 +01:00
aec833f991 Merge pull request 'last_modified: don't find_blob; find the commit!' (!10) from fix-last_modified into main
Reviewed-on: #10
Reviewed-by: dinosaure <romain.calascibetta@gmail.com>
2024-12-20 12:11:31 +00:00
d2a0e526da Remove an assert false, and silence warning 8 2024-12-19 15:05:48 +01:00
a6ebf32529 Merge pull request 'fix mgit rng initialization, add mgit mtime command' (!9) from mgit-mtime into main
Reviewed-on: #9
2024-12-19 13:30:01 +00:00
e342f8539a last_modified: don't find_blob; find the commit!
To get the last_modified timestamp we need the commit object not the
blob. This is closer to the old behavior.
2024-12-18 16:22:30 +01:00
64653f79d5 app/mgit: Add mtime command to list last_modified 2024-12-18 15:35:43 +01:00
e58a89c4f4 app/mgit: Initialize the RNG 2024-12-18 15:35:28 +01:00
f0259b04b5 add maintenance intent 2024-12-17 17:04:27 +01:00
c6a821f9ad Merge pull request 'Prepare for release v0.1.1' (!7) from prepare-v0.1.1 into main
Reviewed-on: #7
2024-11-28 13:45:17 +00:00
72b9d05aa5 Prepare for release v0.1.1 2024-11-28 14:44:45 +01:00
f5281fbcb1 Merge pull request 'Adjust Git_kv.commit to report staging status' (!8) from add-commit into main
Reviewed-on: #8
2024-11-28 12:48:37 +00:00
3276c90b08 Adjust Git_kv.commit to report staging status
The implementation is a bit too naïve and will report the commit dirty
even when there are no staged changes. It only detects if we're inside a
`change_and_push`.
2024-11-28 12:33:49 +01:00
60795e65e2 Merge pull request 'add function: commit : t -> Digestif.SHA1.t option' (!6) from add-commit into main
Reviewed-on: #6
Reviewed-by: dinosaure <romain.calascibetta@gmail.com>
2024-11-28 10:44:14 +00:00
992127f2bd Merge pull request 'of_octets: create ring buffer earlier to avoid missing data' (!5) from fix-of-octets into main
Reviewed-on: #5
Reviewed-by: Reynir Björnsson <reynir@reynir.dk>
Reviewed-by: dinosaure <romain.calascibetta@gmail.com>
2024-11-28 10:16:33 +00:00
56eceb1ef2 add function: commit : t -> Digestif.SHA1.t option 2024-11-27 19:45:56 +01:00
bcd49ccfcf of_octets: create ring buffer earlier to avoid missing data 2024-11-20 10:32:27 +01:00
bc190bd054 Merge pull request 'remove no longer used code' (!4) from minor into main
Reviewed-on: #4
Reviewed-by: dinosaure <romain.calascibetta@gmail.com>
2024-10-30 20:10:58 +00:00
3402bb2f7c remove no longer used code 2024-10-29 20:43:39 +01:00
708cd7d008 add a comment 2024-10-29 12:25:08 +01:00
93bcbe576d only use a single commit in rename 2024-10-29 12:24:24 +01:00
e2295fe0b3 Merge pull request 'Refactor test/dune and add a failing test' (!2) from batch-test into main
Reviewed-on: #2
Reviewed-by: dinosaure <romain.calascibetta@gmail.com>
Reviewed-by: Hannes Mehnert <hannes@mehnert.org>
2024-10-29 11:21:15 +00:00
0b330178e1 as suggested by @reynir @dinosaure, use a single Lwt_mutex.t 2024-10-29 11:51:55 +01:00
681e4f2367 Add expected EOF on cram tests (otherwise, tests fails on Archlinux) 2024-10-29 11:10:00 +01:00
3cae0f7765 Use Lwt_{condition,mutex} instead of lwt tasks to serialize change_and_push 2024-10-29 11:09:53 +01:00
1327cc4f94 add comment about the reset of the waiter 2024-10-29 10:51:46 +01:00
931c0481d7 add task a task b task c test, and a fix 2024-10-29 10:44:49 +01:00
9afb8e29e2 Document change_and_push_waiter details 2024-10-29 10:10:17 +01:00
750ec11b5f remove superfluous assignment, spotted by @dinosaure 2024-10-29 09:50:53 +01: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