Skip to content

Commit

Permalink
Merge pull request ocaml#11416 from samoht/github
Browse files Browse the repository at this point in the history
New release of ocaml-github, compatible with 4.06
  • Loading branch information
samoht authored Feb 15, 2018
2 parents 47fa2e0 + 99fb8e3 commit 0861361
Show file tree
Hide file tree
Showing 9 changed files with 194 additions and 0 deletions.
23 changes: 23 additions & 0 deletions packages/github-jsoo/github-jsoo.3.1.0/descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
GitHub APIv3 OCaml Library

[![Build Status](https://travis-ci.org/mirage/ocaml-github.svg)](https://travis-ci.org/mirage/ocaml-github)
[![docs](https://img.shields.io/badge/doc-online-blue.svg)](https://mirage.github.io/ocaml-github/)

This library provides an OCaml interface to the [GitHub
APIv3](https://developer.github.com/v3/) (JSON). It is compatible with
[MirageOS](https://mirage.io) and also compiles to pure JavaScript via
[js_of_ocaml](http://ocsigen.org/js_of_ocaml).

It is [not yet complete](#api-support-coverage) but
[lib/github.atd](https://github.com/mirage/ocaml-github/blob/master/lib/github.atd)
contains the data types that have been bound so far.

There are several tests and examples in
[lib_test](https://github.com/mirage/ocaml-github/tree/master/lib_test)
for small bits of
functionality. [jar](https://github.com/mirage/ocaml-github/tree/master/jar)
contains utility programs that use the [git jar](#git-jar) facility for
stored tokens.

If you are interested in easily using this library to listen for GitHub
web hook events, you should look at [dsheets/ocaml-github-hooks](https://github.com/dsheets/ocaml-github-hooks).
38 changes: 38 additions & 0 deletions packages/github-jsoo/github-jsoo.3.1.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
opam-version: "1.2"
maintainer: "sheets@alum.mit.edu"
authors: [
"Anil Madhavapeddy"
"David Sheets"
"Andy Ray"
"Jeff Hammerbacher"
"Thomas Gazagnaire"
"Rudi Grinberg"
"Qi Li"
"Jeremy Yallop"
"Dave Tucker"
]
homepage: "https://github.com/mirage/ocaml-github"
bug-reports: "https://github.com/mirage/ocaml-github/issues"
dev-repo: "https://github.com/mirage/ocaml-github.git"
doc: "https://mirage.github.io/ocaml-github/"

tags: [
"org:mirage"
"org:xapi-project"
"git"
]
build: [
["jbuilder" "subst"] {pinned}
["jbuilder" "build" "-p" name "-j" jobs]
]
build-test: [
["jbuilder" "runtest" "-p" name]
]
depends: [
"jbuilder" {build & >= "1.0+beta10"}
"cohttp" {>= "0.99.0"}
"cohttp-lwt-jsoo" {>= "0.99.0"}
"js_of_ocaml"
"github"
]
available: [ ocaml-version >= "4.03.0" ]
2 changes: 2 additions & 0 deletions packages/github-jsoo/github-jsoo.3.1.0/url
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
archive: "https://github.com/mirage/ocaml-github/releases/download/3.1.0/github-3.1.0.tbz"
checksum: "111940cd797b1a4c621be2a8077e706f"
23 changes: 23 additions & 0 deletions packages/github-unix/github-unix.3.1.0/descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
GitHub APIv3 OCaml Library

[![Build Status](https://travis-ci.org/mirage/ocaml-github.svg)](https://travis-ci.org/mirage/ocaml-github)
[![docs](https://img.shields.io/badge/doc-online-blue.svg)](https://mirage.github.io/ocaml-github/)

This library provides an OCaml interface to the [GitHub
APIv3](https://developer.github.com/v3/) (JSON). It is compatible with
[MirageOS](https://mirage.io) and also compiles to pure JavaScript via
[js_of_ocaml](http://ocsigen.org/js_of_ocaml).

It is [not yet complete](#api-support-coverage) but
[lib/github.atd](https://github.com/mirage/ocaml-github/blob/master/lib/github.atd)
contains the data types that have been bound so far.

There are several tests and examples in
[lib_test](https://github.com/mirage/ocaml-github/tree/master/lib_test)
for small bits of
functionality. [jar](https://github.com/mirage/ocaml-github/tree/master/jar)
contains utility programs that use the [git jar](#git-jar) facility for
stored tokens.

If you are interested in easily using this library to listen for GitHub
web hook events, you should look at [dsheets/ocaml-github-hooks](https://github.com/dsheets/ocaml-github-hooks).
40 changes: 40 additions & 0 deletions packages/github-unix/github-unix.3.1.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
opam-version: "1.2"
maintainer: "sheets@alum.mit.edu"
authors: [
"Anil Madhavapeddy"
"David Sheets"
"Andy Ray"
"Jeff Hammerbacher"
"Thomas Gazagnaire"
"Rudi Grinberg"
"Qi Li"
"Jeremy Yallop"
"Dave Tucker"
]
homepage: "https://github.com/mirage/ocaml-github"
bug-reports: "https://github.com/mirage/ocaml-github/issues"
dev-repo: "https://github.com/mirage/ocaml-github.git"
doc: "https://mirage.github.io/ocaml-github/"

tags: [
"org:mirage"
"org:xapi-project"
"git"
]
build: [
["jbuilder" "subst"] {pinned}
["jbuilder" "build" "-p" name "-j" jobs]
]
build-test: [
["jbuilder" "runtest" "-p" name]
]
depends: [
"jbuilder" {build & >= "1.0+beta10"}
"github"
"cohttp-lwt-unix"
"stringext"
"lambda-term"
"cmdliner" {>= "0.9.8"}
"base-unix"
]
available: [ ocaml-version >= "4.03.0" ]
2 changes: 2 additions & 0 deletions packages/github-unix/github-unix.3.1.0/url
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
archive: "https://github.com/mirage/ocaml-github/releases/download/3.1.0/github-3.1.0.tbz"
checksum: "111940cd797b1a4c621be2a8077e706f"
23 changes: 23 additions & 0 deletions packages/github/github.3.1.0/descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
GitHub APIv3 OCaml Library

[![Build Status](https://travis-ci.org/mirage/ocaml-github.svg)](https://travis-ci.org/mirage/ocaml-github)
[![docs](https://img.shields.io/badge/doc-online-blue.svg)](https://mirage.github.io/ocaml-github/)

This library provides an OCaml interface to the [GitHub
APIv3](https://developer.github.com/v3/) (JSON). It is compatible with
[MirageOS](https://mirage.io) and also compiles to pure JavaScript via
[js_of_ocaml](http://ocsigen.org/js_of_ocaml).

It is [not yet complete](#api-support-coverage) but
[lib/github.atd](https://github.com/mirage/ocaml-github/blob/master/lib/github.atd)
contains the data types that have been bound so far.

There are several tests and examples in
[lib_test](https://github.com/mirage/ocaml-github/tree/master/lib_test)
for small bits of
functionality. [jar](https://github.com/mirage/ocaml-github/tree/master/jar)
contains utility programs that use the [git jar](#git-jar) facility for
stored tokens.

If you are interested in easily using this library to listen for GitHub
web hook events, you should look at [dsheets/ocaml-github-hooks](https://github.com/dsheets/ocaml-github-hooks).
41 changes: 41 additions & 0 deletions packages/github/github.3.1.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
opam-version: "1.2"
maintainer: "sheets@alum.mit.edu"
authors: [
"Anil Madhavapeddy"
"David Sheets"
"Andy Ray"
"Jeff Hammerbacher"
"Thomas Gazagnaire"
"Rudi Grinberg"
"Qi Li"
"Jeremy Yallop"
"Dave Tucker"
]
homepage: "https://github.com/mirage/ocaml-github"
bug-reports: "https://github.com/mirage/ocaml-github/issues"
dev-repo: "https://github.com/mirage/ocaml-github.git"
doc: "https://mirage.github.io/ocaml-github/"

tags: [
"org:mirage"
"org:xapi-project"
"git"
]
build: [
["jbuilder" "subst"] {pinned}
["jbuilder" "build" "-p" name "-j" jobs]
]
build-test: [
["jbuilder" "runtest" "-p" name]
]
depends: [
"jbuilder" {build & >= "1.0+beta10"}
"uri" {>= "1.9.0"}
"cohttp" {>= "0.99.0"}
"cohttp-lwt" {>= "0.99"}
"lwt" {>= "2.4.4"}
"atdgen" {>= "1.10.0"}
"yojson" {>= "1.2.0"}
"stringext"
]
available: [ ocaml-version >= "4.03.0" ]
2 changes: 2 additions & 0 deletions packages/github/github.3.1.0/url
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
archive: "https://github.com/mirage/ocaml-github/releases/download/3.1.0/github-3.1.0.tbz"
checksum: "111940cd797b1a4c621be2a8077e706f"

0 comments on commit 0861361

Please sign in to comment.