Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New implementation of Git #227

Merged
merged 331 commits into from Dec 3, 2017
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
331 commits
Select commit Hold shift + click to select a range
fa27607
Fixed Value.of_raw and the memory implementation of Git
dinosaure Sep 5, 2017
1ae9892
Change the internal Hashtbl of the memory back-end.
dinosaure Sep 5, 2017
3503e16
Break the recursion (return Cont) to avoid the stack overflow in a Ja…
dinosaure Sep 5, 2017
1a53058
Use a more abstract Lock
dinosaure Sep 5, 2017
36bc2c5
Use a Minimal interface of the Git repository
dinosaure Sep 5, 2017
072423d
Documentation
dinosaure Sep 5, 2017
13a6827
Indentation
dinosaure Sep 5, 2017
3b65ebc
Implementation of the Smart HTTP protocol
dinosaure Sep 5, 2017
15ef331
Add read_exn and write{,_s,_p} to match with the minimal interface
dinosaure Sep 5, 2017
968af05
Expose pp_error in the interface of Packed_refs
dinosaure Sep 11, 2017
0d2e8a9
Change the type of the ?locks argument of Ref.test_and_set
dinosaure Sep 11, 2017
b1a459f
Add read/write/test_and_set/remove function of the Ref module to matc…
dinosaure Sep 11, 2017
b6fe71d
Documentation
dinosaure Sep 11, 2017
a973be6
Delete the specialized implementation of some modules
dinosaure Sep 14, 2017
aa8878d
Move the interface of Ihash to the S module.
dinosaure Sep 14, 2017
edcaabb
Delete lock.mli and move the interface to the S module
dinosaure Sep 14, 2017
f1d3a5d
Delete fs.mli and move the interface to the mode S
dinosaure Sep 14, 2017
993fb20
Delete path.mli and move the interface to the module S
dinosaure Sep 14, 2017
48d8fc1
Move the Value.BUFFER interface to the S module
dinosaure Sep 14, 2017
3c856c5
Remove web.mli and move the interface to the S module
dinosaure Sep 14, 2017
7eaf25b
Move string_of_capability to to_string, capability_of_string to of_st…
dinosaure Sep 14, 2017
3a5a661
Add Log operation (and the logs module)
dinosaure Sep 14, 2017
0e2442c
Add forgotten credits (Romain Calascibetta) in the header
dinosaure Sep 14, 2017
c39a3c8
Add of_commits function.
dinosaure Sep 14, 2017
3d55f33
Silent the warning 45 when we use Farfadet
dinosaure Sep 14, 2017
ee9663d
Silent the warning 44 when we use some module-defined operators (like…
dinosaure Sep 14, 2017
aa5ba70
Fixed the warning 4 about the exhaustivity of the pattern-matching
dinosaure Sep 14, 2017
589d8aa
Delete 27 and 32 warnings (unused values including at top)
dinosaure Sep 14, 2017
1ee2350
Add wildcard in some pattern of record (avoid warning)
dinosaure Sep 14, 2017
339ca55
Use application instead (@@) (application operator) to avoid the warning
dinosaure Sep 14, 2017
c4196cc
Indentation (only comments)
dinosaure Sep 14, 2017
a05350d
Indentation (onlu code)
dinosaure Sep 14, 2017
f80a7de
Disambiguate some values (avoid warning)
dinosaure Sep 14, 2017
fe60fed
Delete useless parentheses
dinosaure Sep 14, 2017
9fe12ca
Implement abstract Inflator.to_result
dinosaure Sep 14, 2017
3093a43
Add some comments:
dinosaure Sep 14, 2017
15c89ec
Change the type of [*.Ref.list] which can not fail.
dinosaure Sep 14, 2017
18a229b
Add the notation [@warning "-37"] to avoid the warning about the unus…
dinosaure Sep 14, 2017
12ddefc
Update _tags (again to test, not suposed to use ocamlbuild in this pr…
dinosaure Sep 14, 2017
d520107
Change the intf of Blob.Decoder to allow the client to specify the si…
dinosaure Sep 19, 2017
6ea8b10
Remove the useless Helper.BaseBigstring module
dinosaure Sep 19, 2017
61bbd94
Move the warning -37 to the top-level (see #MPR7624 and #GPR1327)
dinosaure Sep 19, 2017
6badb63
Documentation
dinosaure Sep 19, 2017
316150f
Fixed Loose.exists (and return the value of is_file)
dinosaure Sep 19, 2017
e32e651
Close the file-descriptor of the loose object in any decoding computa…
dinosaure Sep 19, 2017
fa05d3f
Fixed bug insertion from aa5ba70
dinosaure Sep 19, 2017
9671580
Fixed bug about decompress/camlzip and the decoder
dinosaure Sep 19, 2017
8f82263
Fixed the application of an side-effect computation in OCaml
dinosaure Sep 19, 2017
313ca4b
Use a pre-allocate empty [Cstruct.t] instead the zlib buffer noticed …
dinosaure Sep 19, 2017
965d3fa
This patch does not matter, it's a mix between a other version of oca…
dinosaure Sep 19, 2017
36ad131
Optimized [Store.Loose.lookup_p]: use [Loose.exists] instead [Loose.l…
dinosaure Sep 19, 2017
7ef6084
Fixed bug about the name of the PACK file.
dinosaure Sep 19, 2017
22c29cf
Fixed the overlap buffer between the decoder and the I/O buffer.
dinosaure Sep 19, 2017
8ee8e04
Fixed the exhaustiveness of the pattern-matching.
dinosaure Sep 19, 2017
24a426e
Move Angstrom to the version 0.6
dinosaure Sep 19, 2017
f20367e
Log
dinosaure Sep 19, 2017
a779784
Change the interface of object_graph module to manipulate directly a …
dinosaure Sep 19, 2017
7bc68f5
Remove useless function (warning -32).
dinosaure Sep 19, 2017
3a9050d
Delete myocamlbuild.ml
dinosaure Sep 19, 2017
f7c393c
Delete forgetten 27 warning (unused value) in the smart.ml module
dinosaure Sep 19, 2017
d8c660b
Start to move to the new build-system (jbuilder)
dinosaure Sep 19, 2017
22f69c0
Move module implementation required by the Git library in the utils d…
dinosaure Sep 26, 2017
ccfd969
Delete useless _tags file
dinosaure Sep 26, 2017
aae36b6
Remove the global hidden hashtbl stores in the memory back-end
dinosaure Sep 26, 2017
a865aad
Add clear and reset function in the memory back-end and the file-syst…
dinosaure Sep 26, 2017
7759bb9
Rename clear function to clear_caches
dinosaure Sep 27, 2017
8f3ef5e
Add license about the implementation of Stack and Weaktbl
dinosaure Sep 27, 2017
7179f29
Moved implementations and removed linked files (from the @samoht's ad…
dinosaure Oct 2, 2017
a929c69
Git-dot uses the unix implementation of Git now
dinosaure Oct 2, 2017
ef0be63
Add the git-unix implementation
dinosaure Oct 2, 2017
4415904
Updated the git-top implementation to use the git-unix implementation
dinosaure Oct 2, 2017
9a781c6
Provided the length parser of the Git value and use it in the loose i…
dinosaure Oct 2, 2017
34b4bdb
Fixed the loose decoder (and commit all when we consume)
dinosaure Oct 2, 2017
9d4f2c5
Add the read_inflated and write_inflated in the store implementation
dinosaure Oct 2, 2017
e915f57
Add read_inflated/write_inflated as a common part for fs back-end and…
dinosaure Oct 2, 2017
230f411
Add unsafe accessors to the internal buffer and accessor to know how …
dinosaure Oct 2, 2017
ebb5ff9
Abstract body type (to allow bi-directionnal implementation of the We…
dinosaure Oct 2, 2017
013f056
Deleted the redundant implementation of the Smart protocol (by the HT…
dinosaure Oct 2, 2017
4c7837e
Add the sync_http implementation and provide the Capabilities module
dinosaure Oct 2, 2017
6ec7df8
Add the git-http implementation
dinosaure Oct 2, 2017
8404c60
Fixed the implementation of the Reference.write (ensure to have direc…
dinosaure Oct 2, 2017
904eec5
Design, a path does not have the prefix directories refs, we add it w…
dinosaure Oct 2, 2017
72b1db8
Add in the smart encoder/decoder some conveniences functions
dinosaure Oct 2, 2017
8789b0f
Changed global lock in the mem back-end and the fs back-end (one lock…
dinosaure Oct 2, 2017
1cbc4fd
Rewrited the implementation of contents and sanitize_filesystem with …
dinosaure Oct 2, 2017
27ec802
Delete the smart_http impl. from the Git interface
dinosaure Oct 2, 2017
fe58605
Delete the useless git.mllib file
dinosaure Oct 2, 2017
f57d95e
Rename the interface needed by the sync implementation CAPABILITIES (…
dinosaure Oct 2, 2017
4c25b5f
Add the first ogit-http-clone implementation
dinosaure Oct 2, 2017
3ea2fe5
Update the git.opam
dinosaure Oct 2, 2017
9ed7ab2
Fixed unused variable in git-dot
dinosaure Oct 2, 2017
a41b43c
Use cstruct instead string in the internal hashtbl of the memory back…
dinosaure Oct 2, 2017
975f7b6
Delete warnings dev. flags
dinosaure Oct 2, 2017
c499c51
Delete useless comment in sync_http.ml
dinosaure Oct 2, 2017
6ab03c6
Delete temporary file
dinosaure Oct 3, 2017
f894f91
Fixed bug found about CRC-32 implementation (digestc)
dinosaure Oct 11, 2017
223d262
Add exists function in the lazy implementation of the IDX file
dinosaure Oct 11, 2017
194aa60
Add the Key module in the signature and externalize the sequence type…
dinosaure Oct 11, 2017
01ffde4
Add the sub-module Pack as the abstraction to put a pack file in the …
dinosaure Oct 11, 2017
d5459b4
Add many function to know how many object has the current PACK file
dinosaure Oct 11, 2017
b4d8c6d
Add Pack.from implementation on the memory back-end
dinosaure Oct 11, 2017
8ce0fa8
Add Pack.from implementation on the file-system back-end
dinosaure Oct 11, 2017
40c151e
Delete useless indexes function on the file-system back-end
dinosaure Oct 11, 2017
09e2e77
Add pack_info and pack_engine module in the git library
dinosaure Oct 11, 2017
8206016
Use the Pack.from implementation of the store instead a local algorit…
dinosaure Oct 11, 2017
35b7654
Use the Pack.from implementation of the store instead a file-system d…
dinosaure Oct 11, 2017
becef46
Add the GC module (experimental)
dinosaure Oct 11, 2017
971a56d
Indentation and documentation
dinosaure Oct 11, 2017
20b00a1
Update the cmdliner of the ogit-http-clone and match with the new int…
dinosaure Oct 11, 2017
197aa81
Add fold function in all back-end (file-system and memory) from a com…
dinosaure Oct 12, 2017
2a81a0a
Revision module needs only the minimal interface now
dinosaure Oct 12, 2017
c71b30e
Sync module needs only the minimal interface now
dinosaure Oct 12, 2017
59e4773
Add the ls remote command in the Sync_http implementation
dinosaure Oct 12, 2017
8b0be6a
Add https argument in the Sync_http.{clone,ls} function
dinosaure Oct 13, 2017
f1c03ef
Fixed port argument in Sync_http.clone
dinosaure Oct 13, 2017
b09d9ac
Add ogit-cat-file and ogit-http-ls implementation
dinosaure Oct 13, 2017
b8e0d92
Add the Pack.make implementation in both back-end
dinosaure Oct 17, 2017
59b7aee
Import the ordering of the tree list from irmin and integrate it to t…
dinosaure Oct 17, 2017
9f5b904
Add jbuilder-ignore to miss old/not implemented packages
dinosaure Oct 19, 2017
7b3a02f
Replace conduit by cohttp-lwt package for git-unix package
dinosaure Oct 19, 2017
37aab49
Remove compiler-libs as package in git-top
dinosaure Oct 19, 2017
7fd9742
Explicit where opendir fails
dinosaure Oct 24, 2017
ccc14ba
Change multi_ack capabilities to multi_ack_detailed in the HTTP client
dinosaure Oct 24, 2017
d7d7d96
Add a pretty-printer for the Smart decoder
dinosaure Oct 24, 2017
d2d17f4
Improve the Smart decoder and remove redundant implementation between…
dinosaure Oct 24, 2017
0cf9fe4
Normalize the path of a reference
dinosaure Oct 24, 2017
2d46268
Add a note and put a LF character when we decoding a reference
dinosaure Oct 24, 2017
d75a31f
Add a log in the I/O functions in the Reference module
dinosaure Oct 24, 2017
a431964
Fixed the Store.Ref.graph_p function about absolute and relative path…
dinosaure Oct 24, 2017
f0b5992
Add Sync_http.fetch command
dinosaure Oct 24, 2017
c6dc27c
Fixed when the PACK file is empty
dinosaure Oct 24, 2017
2d02f69
Add log and a advertised_refs common type with the Smart decoder in t…
dinosaure Oct 24, 2017
6222437
Fixed warning in the Smart decoder
dinosaure Oct 24, 2017
227045b
Add a command tool to fetch a Git repository (HTTP way)
dinosaure Oct 24, 2017
ea2105d
Add digestif in the git opam file
dinosaure Oct 24, 2017
96b1018
Add {to,of}_cstruct and {to,of}_string on the Blob module
dinosaure Nov 2, 2017
370ba9e
Add accessors and [make] function on the Commit module
dinosaure Nov 2, 2017
02dc86f
Add Reference.equal_head_contents
dinosaure Nov 2, 2017
379afda
Add the kind type in the Tag module and a convenience maker function …
dinosaure Nov 2, 2017
76b426d
Add kind type in Value module, a pretty-printer of the kind and conve…
dinosaure Nov 2, 2017
e8d8324
Refactor the clone function by the fetch function and return the
dinosaure Nov 2, 2017
da54faa
Add a specialized version of git-http with cohttp-lwt-unix
dinosaure Nov 2, 2017
515af91
Refactor binaries with git-cohttp-lwt-unix
dinosaure Nov 2, 2017
91ea674
Add git-cohttp-lwt-unix.opam
dinosaure Nov 2, 2017
65a4977
Update git-unix to use git-cohttp-lwt-unix
dinosaure Nov 2, 2017
6d2827c
Add INDEX decoder implementation (not mli yet) and a loader from the …
dinosaure Nov 6, 2017
41701c5
Sanitize *.opam file
dinosaure Nov 6, 2017
2784fff
Provide the index pack module in the Git library
dinosaure Nov 14, 2017
db79a98
Fixed bug on the serialization of a value
dinosaure Nov 14, 2017
ac89dfb
Provided constraints to prove the equality of the Value.t between any
dinosaure Nov 14, 2017
d49e2c4
Add Reference.compare_head_contents
dinosaure Nov 14, 2017
215c0b4
Add Ref.exists function
dinosaure Nov 14, 2017
dca9582
Add the function read_inflated_without_header in the Raw implementati…
dinosaure Nov 14, 2017
4283012
Change the implementation of the read_inflated function to use
dinosaure Nov 14, 2017
1df9867
Add the HttpReportStatus decoder to unserialize the push action response
dinosaure Nov 14, 2017
5576fae
Add the push command on the HTTP Smart protocol
dinosaure Nov 14, 2017
0e40474
Fixed the GC implementation of make_stream and ask to provide an
dinosaure Nov 14, 2017
9c60227
Fixed the pretty-printer of the ring-buffer of the minienc encoder
dinosaure Nov 14, 2017
0b11c38
Ask as an external object of the PACK file if we not find it in the I…
dinosaure Nov 14, 2017
0cba26c
Add an easy update function to push on the cohttp implementation of t…
dinosaure Nov 14, 2017
1f78e6e
Delete useless interface of the binary git_dot.exe
dinosaure Nov 14, 2017
fa1a61a
Integrate the common test and the store test with the new API
dinosaure Nov 14, 2017
8222833
Typo/Indentation/Log
dinosaure Nov 14, 2017
49568a7
Fix the ownership on the deserialization of the a blob object
dinosaure Nov 25, 2017
b5c1792
Change the pretty-printer of the blob object
dinosaure Nov 25, 2017
e7651e3
Use Lwt.finalize instead a redundant code on the read operation on th…
dinosaure Nov 25, 2017
ff22b3d
Use Lwt.finalize instead a redundant code on the write_inflated opera…
dinosaure Nov 25, 2017
0d9f7bf
Use Helper.safe_encoder_to_file when we write a loose file
dinosaure Nov 25, 2017
b2e1b92
Uncomment the first step of the smart protocol
dinosaure Nov 25, 2017
76fe735
Better error message in sync_http module
dinosaure Nov 25, 2017
52615cf
Put log informations
dinosaure Nov 25, 2017
076dfc9
Fixed the eval function on the abstract Encoder
dinosaure Nov 25, 2017
492f241
Add a lock argument on the common interface of the store to protect I…
dinosaure Nov 25, 2017
48e3e27
Update the mem backend from 492f241a commit
dinosaure Nov 25, 2017
ec27e0c
Update the file-system backend from 492f241a
dinosaure Nov 25, 2017
778d76b
Fixed the Pack.from function (copy cstruct on the stream)
dinosaure Nov 25, 2017
fc2dcb9
Delete useless comment
dinosaure Nov 25, 2017
16e3277
Make a refs directory when we sanitize a repository
dinosaure Nov 25, 2017
78a477b
Replace t.root to t.dotgit when we reset a repository
dinosaure Nov 25, 2017
d3a8cd6
Clean indentation
dinosaure Nov 25, 2017
1a314b9
Externalize modules used to make the Git Unix store
dinosaure Nov 25, 2017
b20b2de
Fixed redirection computation (duplicate the body to not lost the con…
dinosaure Nov 25, 2017
cc24e69
Improve the cohttp implementation of the smart protocol
dinosaure Nov 25, 2017
ac1d986
Add a Sync interface
dinosaure Nov 25, 2017
8ceeaa4
Add an easy interface to use the Smart implementation on the TCP way …
dinosaure Nov 25, 2017
ef4d388
Add the binary ogit-http-fetch-all
dinosaure Nov 25, 2017
2f23928
Update tests
dinosaure Nov 25, 2017
265b923
Add lwt_lock implementation needed for the memory back-end
dinosaure Nov 26, 2017
35c0962
Add log information on I/O's loose file
dinosaure Nov 28, 2017
6b22e9b
Add the new implementation of git mirage
dinosaure Nov 28, 2017
53378a3
Use a better implementation (zith weaktbl) of the lock for the memory…
dinosaure Nov 28, 2017
ae583b8
Add test for the mirage implementation of git
dinosaure Nov 28, 2017
c342704
Lint code on test_store.ml
dinosaure Nov 28, 2017
8918c1b
Add a common convenience implementation of the TCP abstraction on a m…
dinosaure Nov 28, 2017
3b59adf
Make a random name for the git test repository
dinosaure Nov 28, 2017
159ac2b
Merge branch 'master' into ngit
dinosaure Nov 29, 2017
05daf44
Lint opam file
dinosaure Nov 29, 2017
dec1c33
Remove constraint on Farfadet
dinosaure Nov 29, 2017
b99db46
Add ocplib-endian in git.opam and src/git/jbuild
dinosaure Nov 29, 2017
88cb807
Update the encoder with the new version of faraday
dinosaure Nov 29, 2017
6dd5f3f
Add ocplib-endian.bigstring to compile the git project
dinosaure Nov 29, 2017
4d712f8
Remove the ogit binary to fix the compilation outside the box
dinosaure Nov 29, 2017
cdb5901
Move test files
dinosaure Nov 29, 2017
9cd3ddc
Avoid any warning when we compile tests
dinosaure Nov 29, 2017
44f1ce7
Delete useless comments
dinosaure Nov 29, 2017
7900d13
Update jbuild file to compile and test correctly
dinosaure Nov 29, 2017
a4d6291
Fixed constraints for git-dot and the ocaml version
dinosaure Nov 29, 2017
f0e42ef
Add the angstrom pin in .travis.yml
samoht Nov 30, 2017
373afc2
Use cohttp.1.0.0 insteqd cohttp.0.99.0 and use cohttp-mirage instead …
dinosaure Nov 30, 2017
aa96bea
Use decompress instead camlzip in the unix back-end of git
dinosaure Nov 30, 2017
743d130
Constraints uri to have Uri.empty
dinosaure Nov 30, 2017
804bcc3
Use cohttp-mirage instead mirage-http
dinosaure Nov 30, 2017
77ce6a4
Fixed compilation about exhaustive pattern-matching on the open ADT e…
dinosaure Nov 30, 2017
de89e12
Add cohttp-lwt as a dependent package of git-http
dinosaure Nov 30, 2017
8757056
Remove useless jbuild-ignore
dinosaure Nov 30, 2017
3bcef24
Fixed all zarnings about non exhaustive pattern-matching on exception…
dinosaure Nov 30, 2017
230d6fc
Match the weaktbl to the new interface f Hashtbl.S
dinosaure Nov 30, 2017
ddcd4ab
Merge branch 'ngit' of https://github.com/dinosaure/ocaml-git into ngit
dinosaure Nov 30, 2017
4b10af7
Pin all package in .travis.yml
dinosaure Nov 30, 2017
393d398
Pin all packages in appveyor.yml
dinosaure Nov 30, 2017
f357eb2
Add constraint on farfadet
dinosaure Nov 30, 2017
7ca37ee
Fixed warning about exhaustive pattern-matching on the git-tcp-unix p…
dinosaure Nov 30, 2017
1d3e3fe
Remove the buffer parameter and duplicated files
samoht Nov 30, 2017
6ef3cd5
Try to work-around the lack of support for the linking trick in jbuilder
samoht Nov 30, 2017
f01b31a
try to fix CI
samoht Nov 30, 2017
454e85f
Add missing dependency to the hex package
samoht Nov 30, 2017
fefbbdd
Add missing test dependencies to git
samoht Nov 30, 2017
9fae5f3
Fix test targets
samoht Nov 30, 2017
212b84f
support for -safe-string (and 4.06)
samoht Dec 1, 2017
c3054c3
fix typo in git-mirage test dependencies
samoht Dec 1, 2017
685f213
Test also the Git package on 4.06
samoht Dec 1, 2017
3cac91c
also test on 4.05
samoht Dec 1, 2017
f841842
Fix case of Git_unix.FS
samoht Dec 1, 2017
5d7f145
Workaround the lack of support for the linking trick in jbuilder
samoht Dec 1, 2017
176fb5b
Code cleanups
samoht Dec 1, 2017
762675d
More cleanups
samoht Dec 1, 2017
a69192c
pin a dev version of digestif
samoht Dec 1, 2017
69b069c
Fixed bug about fetch and the `Ready response from the negociation
dinosaure Dec 1, 2017
90f32ac
use my fork of digestif
samoht Dec 1, 2017
ae899d5
Fix build of git-http
samoht Dec 1, 2017
821df9a
add pin to my fork of digetif pin appveyor script
samoht Dec 1, 2017
c092c4f
shuffle some code around
samoht Dec 1, 2017
71f3a22
add dev version for farfadet to addveyor script
samoht Dec 2, 2017
7ef2bc0
Refactor the sync code, expose the easy functions by default for all …
samoht Dec 2, 2017
d6f15b0
Add git-mirage's sync module
samoht Dec 2, 2017
b14dad5
Fixed references on windows (fpath is pltform-dependant)
dinosaure Dec 2, 2017
efe862d
pin alcotest to see more error logs
samoht Dec 2, 2017
490f417
Add debug in git-mirage to spot the issue on github
samoht Dec 2, 2017
454288c
try to fix the git-mirage tests on windows
samoht Dec 2, 2017
f72250e
Try to gather more information from the windows CI
samoht Dec 3, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
34 changes: 34 additions & 0 deletions .ocamlinit
@@ -0,0 +1,34 @@
#use "topfind";;

#require "fpath";;
#require "cstruct";;
#require "fmt";;
#require "uri";;
#require "lwt";;
#require "logs";;
#require "astring";;
#require "hex";;
#require "lru";;
#require "rresult";;
#require "angstrom";;
#require "farfadet";;
#require "faraday";;
#require "ocamlgraph";;

#require "digestif.c";;
#require "camlzip";;
#require "lwt.unix";;
#require "compiler-libs.toplevel";;
#require "logs.fmt";;

#directory "_build/default/src/git/";;
#directory "_build/default/src/git-unix/";;
#directory "_build/default/src/git-top/";;

#load "git.cma";;
#load "git_unix.cma";;
#load "git_top.cma";;

let _ = Git_top.install_printers Git_top.printers;;

open Lwt.Infix;;
20 changes: 20 additions & 0 deletions git-cohttp-lwt-unix.opam
@@ -0,0 +1,20 @@
opam-version: "1.2"
maintainer: [ "thomas@gazagnaire.org"
"romain.calascibetta@gmail.com" ]
authors: "Thomas Gazagnaire"
license: "ISC"
homepage: "https://github.com/mirage/ocaml-git"
bug-reports: "https://github.com/mirage/ocaml-git/issues"
dev-repo: "https://github.com/mirage/ocaml-git.git"
doc: "https://mirage.github.io/ocaml-git/"

build: ["jbuilder" "build" "-p" name "-j" jobs]

depends: [
"jbuilder" {build}
"git"
"git-http"
"cohttp" {>= "0.99.0"}
"cohttp-lwt-unix" {>= "0.99.0"}
]
available: [ocaml-version >= "4.03.0"]
3 changes: 3 additions & 0 deletions git-dot.descr
@@ -0,0 +1,3 @@
Binary executable to produce a dot file of a Git repository

This program produces a dot file from a Git repository.
21 changes: 21 additions & 0 deletions git-dot.opam
@@ -0,0 +1,21 @@
opam-version: "1.2"
maintainer: [ "thomas@gazagnaire.org"
"romain.calascibetta@gmail.com" ]
authors: "Thomas Gazagnaire"
license: "ISC"
homepage: "https://github.com/mirage/ocaml-git"
bug-reports: "https://github.com/mirage/ocaml-git/issues"
dev-repo: "https://github.com/mirage/ocaml-git.git"
doc: "https://mirage.github.io/ocaml-git/"

build: [
["jbuilder" "subst" "-n" name] {pinned}
["jbuilder" "build" "-p" name "-j" jobs]
]

depends: [
"jbuilder" {build}
"git-unix"
]

available: [ocaml-version >= "4.03.0"]
11 changes: 6 additions & 5 deletions git-http.opam
@@ -1,5 +1,6 @@
opam-version: "1.2"
maintainer: "thomas@gazagnaire.org"
maintainer: [ "thomas@gazagnaire.org"
"romain.calascibetta@gmail.com" ]
authors: "Thomas Gazagnaire"
license: "ISC"
homepage: "https://github.com/mirage/ocaml-git"
Expand All @@ -10,8 +11,8 @@ doc: "https://mirage.github.io/ocaml-git/"
build: ["jbuilder" "build" "-p" name "-j" jobs]

depends: [
"jbuilder" {build}
"git" {>= "1.11.0"}
"cohttp-lwt" {>= "0.99.0"}
"jbuilder" {build}
"git"
"cohttp" {>= "0.99.0"}
]
available: [ocaml-version >= "4.02.3"]
available: [ocaml-version >= "4.03.0"]
1 change: 0 additions & 1 deletion git-mirage.descr

This file was deleted.

14 changes: 7 additions & 7 deletions git-mirage.opam
@@ -1,5 +1,6 @@
opam-version: "1.2"
maintainer: "thomas@gazagnaire.org"
maintainer: [ "thomas@gazagnaire.org"
"romain.calascibetta@gmail.com" ]
authors: "Thomas Gazagnaire"
license: "ISC"
homepage: "https://github.com/mirage/ocaml-git"
Expand All @@ -11,20 +12,19 @@ build: ["jbuilder" "build" "-p" name "-j" jobs]
build-test: ["jbuilder" "runtest" "test/git-mirage"]

depends: [
"jbuilder" {build}
"jbuilder" {build}
"mirage-http"
"mirage-flow-lwt"
"mirage-channel-lwt"
"mirage-fs-lwt"
"mirage-conduit" {>= "3.0.0"}
"result"
"git-http" {>= "1.11.0"}
"git" {>= "1.11.0"}
"git-http"
"git"
"alcotest" {test}
"mtime" {test & >= "1.0.0"}
"mirage-fs-unix" {test & >= "1.3.0"}
"nocrypto" {test & >= "0.5.4"}
"io-page" {test & >= "1.6.1"}
"io-pages" {test & >= "1.6.1"}
]

available: [ocaml-version >= "4.02.3"]
available: [ocaml-version >= "4.03.0"]
17 changes: 17 additions & 0 deletions git-tcp-unix.opam
@@ -0,0 +1,17 @@
opam-version: "1.2"
maintainer: [ "thomas@gazagnaire.org"
"romain.calascibetta@gmail.com" ]
authors: "Thomas Gazagnaire"
license: "ISC"
homepage: "https://github.com/mirage/ocaml-git"
bug-reports: "https://github.com/mirage/ocaml-git/issues"
dev-repo: "https://github.com/mirage/ocaml-git.git"
doc: "https://mirage.github.io/ocaml-git/"

build: ["jbuilder" "build" "-p" name "-j" jobs]

depends: [
"jbuilder" {build}
"git"
]
available: [ocaml-version >= "4.02.3"]
1 change: 1 addition & 0 deletions git-top.descr
@@ -0,0 +1 @@
Top-level of Git (unix back-end)
22 changes: 22 additions & 0 deletions git-top.opam
@@ -0,0 +1,22 @@
opam-version: "1.2"
maintainer: [ "thomas@gazagnaire.org"
"romain.calascibetta@gmail.com" ]
authors: "Thomas Gazagnaire"
license: "ISC"
homepage: "https://github.com/mirage/ocaml-git"
bug-reports: "https://github.com/mirage/ocaml-git/issues"
dev-repo: "https://github.com/mirage/ocaml-git.git"
doc: "https://mirage.github.io/ocaml-git/"

build: [
["jbuilder" "subst" "-n" name] {pinned}
["jbuilder" "build" "-p" name "-j" jobs]
]
build-test: ["jbuilder" "runtest" "test/git-unix"]

depends: [
"jbuilder" {build}
"git-unix"
]

available: [ocaml-version >= "4.02.3"]
18 changes: 8 additions & 10 deletions git-unix.opam
@@ -1,5 +1,6 @@
opam-version: "1.2"
maintainer: "thomas@gazagnaire.org"
maintainer: [ "thomas@gazagnaire.org"
"romain.calascibetta@gmail.com" ]
authors: "Thomas Gazagnaire"
license: "ISC"
homepage: "https://github.com/mirage/ocaml-git"
Expand All @@ -14,17 +15,14 @@ build: [
build-test: ["jbuilder" "runtest" "test/git-unix"]

depends: [
"jbuilder" {build}
"jbuilder" {build}
"cmdliner"
"logs"
"git-http" {>= "1.11.0"}
"conduit-lwt-unix" {>= "1.0.0"}
"cohttp-lwt-unix" {>= "0.99.0"}
"nocrypto" {>= "0.2.0"}
"mtime" {>= "1.0.0"}
"git-cohttp-lwt-unix"
"mtime" {>= "1.0.0"}
"base-unix"
"alcotest" {test}
"io-page" {test & >= "1.6.1"}
"alcotest" {test}
"nocrypto" {test & >= "0.5.4"}
"io-page" {test & >= "1.6.1"}
]

available: [ocaml-version >= "4.02.3"]
23 changes: 13 additions & 10 deletions git.opam
@@ -1,5 +1,6 @@
opam-version: "1.2"
maintainer: "thomas@gazagnaire.org"
maintainer: [ "thomas@gazagnaire.org"
"romain.calascibetta@gmail.com" ]
authors: "Thomas Gazagnaire"
license: "ISC"
homepage: "https://github.com/mirage/ocaml-git"
Expand All @@ -15,18 +16,20 @@ build-test: ["jbuilder" "build" "test/git"]

depends: [
"jbuilder" {build}
"mstruct" {>= "1.3.1"}
"ocamlgraph"
"uri" {>= "1.3.12"}
"lwt" {>= "2.4.7"}
"angstrom" {>= "0.7.0"}
"farfadet"
"faraday" {>= "0.5.0"}
"fpath" {>= "0.7.0"}
"digestif" {>= "0.4"}
"lru" {>= "0.2.0"}
"ocplib-endian"
"rresult"
"logs"
"fmt"
"hex"
"astring"
"ocplib-endian"
"decompress" {>= "0.6"}
"alcotest" {test}
"nocrypto" {test}
"mtime" {test & >= "1.0.0"}
"cstruct"
"ocamlgraph"
]
available: [ocaml-version >= "4.02.3"]
available: [ocaml-version >= "4.03.0"]
2 changes: 2 additions & 0 deletions jbuild-ignore
@@ -0,0 +1,2 @@
src/git-mirage/
src/git-unix/ogit/