Something went wrong. Try again.
My own corner of monopam
Something went wrong. Try again.
1.7 kB · 55 lines
at main
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556# This file is generated by dune, edit dune-project insteadopam-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 <thomas@gazagnaire.org>"]authors: ["Thomas Gazagnaire <thomas@gazagnaire.org>"]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)"]