Data storage functionality
Data storage functionality
(build-exists? s sid)
Checks efficiently if the build exists. This is cheaper than trying to fetch it
and checking if the result is nil
.
Checks efficiently if the build exists. This is cheaper than trying to fetch it and checking if the result is `nil`.
(find-build-metadata s sid)
Reads the build metadata given the build coordinates (required to build the path)
Reads the build metadata given the build coordinates (required to build the path)
(find-build-results s sid)
Reads the build results given the build coordinates
Reads the build results given the build coordinates
(find-legacy-params s sid)
Loads parameters on the given level. This does not automatically include the parameters of higher levels.
Loads parameters on the given level. This does not automatically include the parameters of higher levels.
(find-repo s [cust-id id])
Reads the repo, as part of the customer object's projects
Reads the repo, as part of the customer object's projects
(list-builds s sid)
Lists the ids of the builds for given repo sid
Lists the ids of the builds for given repo sid
(patch-build-results st sid f & args)
Finds the build result with given sid, then applies f
to it with arguments
and saves the return value back into the result.
Finds the build result with given sid, then applies `f` to it with arguments and saves the return value back into the result.
(save-legacy-params s sid p)
Stores build parameters. This can be done on customer, project or repo level.
The sid
is a vector that determines on which level the information is stored.
Stores build parameters. This can be done on customer, project or repo level. The `sid` is a vector that determines on which level the information is stored.
(save-repo s {:keys [customer-id id] :as r})
Saves the repository by updating the customer it belongs to
Saves the repository by updating the customer it belongs to
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close