Liking cljdoc? Tell your friends :D

hive.connectors.digest.boundary

Effects for the digest: GitHub search, feed fetches, Slack, the state file, and secrets. Each fn does one effect and returns plain data.

Effects for the digest: GitHub search, feed fetches, Slack, the state
file, and secrets. Each fn does one effect and returns plain data.
raw docstring

clojars-artifact!clj

(clojars-artifact! group artifact)

Clojars' JSON for one artifact: latest version, downloads, dependencies.

Clojars' JSON for one artifact: latest version, downloads, dependencies.
sourceraw docstring

clojars-artifacts!clj

(clojars-artifacts! group)

Artifact names Clojars lists for group. Throws on an HTTP failure.

Artifact names Clojars lists for `group`. Throws on an HTTP failure.
sourceraw docstring

fetch-text!clj

(fetch-text! url)

GET url as a string. Throws on an HTTP failure.

GET `url` as a string. Throws on an HTTP failure.
sourceraw docstring

merged-prs!clj

(merged-prs! {:keys [org token]} {:keys [from to]})

Every pull request merged in org inside the window, as GitHub search hits. Throws on an HTTP failure, so a dead GitHub never reads as a quiet day.

Every pull request merged in `org` inside the window, as GitHub search
hits. Throws on an HTTP failure, so a dead GitHub never reads as a quiet
day.
sourceraw docstring

post!clj

(post! token channel text opts)

Post text to a Slack channel. Returns {:ok true :ts :channel} or {:ok false :error}; an exception becomes an :error value.

Post `text` to a Slack channel. Returns {:ok true :ts :channel} or
{:ok false :error}; an exception becomes an :error value.
sourceraw docstring

public-repos!clj

(public-repos! org)
(public-repos! org token)

{repo-name description} for every public repository of the GitHub org. token is optional; without one the unauthenticated rate limit applies.

{repo-name description} for every public repository of the GitHub `org`.
`token` is optional; without one the unauthenticated rate limit applies.
sourceraw docstring

read-stateclj

(read-state path)

The digest state map, {} when there is no file yet. A file that does not read as EDN throws: guessing {} would post the day twice.

The digest state map, {} when there is no file yet. A file that does not
read as EDN throws: guessing {} would post the day twice.
sourceraw docstring

secretclj

(secret {:keys [env command]})

Resolve a secret spec {:env NAME :command [argv]}: the env var when it is set, else the first line the command prints. The value is never logged. A command that fails, or is not installed (a container without gh), yields nil and the caller reports the secret missing or goes without it.

Resolve a secret spec {:env NAME :command [argv]}: the env var when it is
set, else the first line the command prints. The value is never logged.
A command that fails, or is not installed (a container without `gh`),
yields nil and the caller reports the secret missing or goes without it.
sourceraw docstring

write-state!clj

(write-state! path state)

Write the state map atomically (temp file, then rename). Returns it.

Write the state map atomically (temp file, then rename). Returns it.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close