git-trace

romele / git-trace public

62 commits · 1 branch · 1 tag · 1 contributor (top: Romele) · first commit 3d ago · last push 12m ago

src/ci.h

#ifndef GT_CI_H
#define GT_CI_H

#include "web.h"

/* `git-trace ci-run`: drain pending ci_runs serially.  Returns the
 * number of runs executed, -1 on DB error. */
int  ci_run_all(struct app_ctx *c);

/* /<o>/<n>/ci — run list; /<o>/<n>/ci/<id> — one run's log */
void view_ci(struct app_ctx *app, struct request *r,
             const char *repo_dir, int rk,
             const char *o, const char *n, const char *sub);

#endif