| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Unfortunately, a static file can't really be used to serve the
connection - the host address is needed to link back to the server.
Only a light library is needed to handle the template file though,
and if more are needed in the future it should be a non-trivial
task to add them to the process.
By default I'm configuring this to work with drone.io, since that
is the CI that I personally will be using (most likely). It should
be non-trivial to configure other CI to handle the script as well.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
With the new process dependency, process handling has been added to
ensure that the ExpressJS server and MongoDB client connections get
closed up properly.
As noted in the Metadata file above the Branch interface, the schema is
definitely not finalized. Eventually metadata will be needed at the repo
level anyways, so reorganizing the document schema is high on the
priority list.
|
| | |
|
|
|
Initializes project with TypeScript, ExpressJS, and Badgen. Defines
initial (v1) request paths:
GET /bash
GET /v1/:org/:repo/:branch.svg
GET /v1/:org/:repo/:branch.html
GET /v1/:org/:repo/:branch/:commit.svg
GET /v1/:org/:repo/:branch/:commit.html
POST /v1/:org/:repo/:branch/:commit.html?token=&format=
Also sets up interfaces for defining multiple formats. Tarpaulin is
defined but not implemented. All requests (aside from GET /bash)
return 501 NOT IMPLEMENTED.
A global TOKEN is expected for POST request. This can and should be
adapted to assigning tokens per repository, though this may require
verification from the originating repository or administrative
designation.
|