# This file is generated by dune, edit dune-project instead opam-version: "2.0" synopsis: "GitHub GraphQL and REST client whose answers are kept in a cas store" description: """ Github_query sends GraphQL queries to GitHub and keeps every answer in a cas-store, keyed by the canonical query text, its variables and the principal asking. It selects GitHub's rate limit with every query and strips it from the stored answer, paces every process sharing a store and a token on one budget, honours Retry-After and X-RateLimit-Reset, retries server errors with bounded exponential backoff, halves aliased batches that exceed GitHub's resource limits, and probes many repositories a query for their latest activity. Its REST client follows Link header pagination and revalidates stored pages with their ETag, on the same store and budgets.""" maintainer: ["Thomas Gazagnaire "] authors: ["Thomas Gazagnaire "] license: "ISC" tags: ["org:blacksun" "network-programming" "http" "area:10003051"] homepage: "https://tangled.org/gazagnaire.org/ocaml-github-query" bug-reports: "https://tangled.org/gazagnaire.org/ocaml-github-query/issues" depends: [ "dune" {>= "3.21"} "hermetic" "ocaml" {>= "5.2"} "cas-store" "cas" "cas-eio" "nox-json" "eio" "requests" "requests-eio" "ptime" "fmt" "logs" "alcotest" {with-test} "alcobar" {with-test} "mdx" {with-test} "odoc" {with-doc} ] build: [ ["dune" "subst"] {dev} [ "dune" "build" "-p" name "-j" jobs "@install" "@runtest" {with-test} "@doc" {with-doc} ] ] dev-repo: "git+https://tangled.org/gazagnaire.org/ocaml-github-query" x-maintenance-intent: ["(latest)"]