A shell for running JSON-RPC 2.0 queries
Go to file
Přemysl Eric Janouch 333efdc70f
CMakeLists.txt: fix variable name
2018-06-24 00:15:53 +02:00
cmake Fix FindLibMagic.cmake 2016-01-16 06:37:56 +01:00
http-parser@1b79abab34 Bump liberty and http-parser 2017-06-20 14:04:40 +02:00
liberty@1dcd259d05 Bump liberty and http-parser 2017-06-20 14:04:40 +02:00
.gitignore Initial commit 2015-03-02 19:14:37 +01:00
.gitmodules Steady progress 2015-03-08 09:41:10 +01:00
.travis.yml Travis CI: brevify notifications 2017-02-03 22:38:56 +01:00
CMakeLists.txt CMakeLists.txt: fix variable name 2018-06-24 00:15:53 +02:00
LICENSE Fix and update LICENSE 2017-02-03 22:43:09 +01:00
README.adoc Update README 2017-06-20 14:01:10 +02:00
config.h.in Initial commit 2015-03-02 19:14:37 +01:00
demo-json-rpc-server.c Fix teardown 2017-06-20 14:01:23 +02:00

README.adoc

acid

acid is A Continuous Integration Daemon. Currently under heavy development. Right now Im working on a demo JSON-RPC server that will serve as the basis for the final daemon.

The aim of this project is to provide a dumbed-down alternative to Travis CI. I find it way too complex to set up and run in a local setting, while the basic gist of it is actually very simplerun some stuff on new git commits.

acid will provide a JSON-RPC 2.0 service for frontends over FastCGI, SCGI, or WebSockets, as well as a webhook endpoint for notifications about new commits. The daemon is supposed to be "firewalled" by a normal HTTP server and it will not provide TLS support to secure the communications.

acid will be able to tell you about build results via e-mail and/or IRC.

Builds will only be supported on the same machine as the daemon. Eventually I might be able to add support for fully replicable builds using Docker.

With this being my own project, of course it is written in event-looped C99 where everything is stuffed into just a few files. At least I hope its written in a somewhat clean manner. Feel free to contribute.

Building and Installing

Build dependencies: CMake, pkg-config, help2man, libmagic, liberty (included), http-parser (included)
Runtime dependencies: libev, Jansson

$ git clone --recursive https://github.com/pjanouch/acid.git
$ mkdir acid/build
$ cd acid/build
$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug
$ make

To install the application, you can do either the usual:

# make install

Or you can try telling CMake to make a package for you. For Debian it is:

$ cpack -G DEB
# dpkg -i acid-*.deb

Note that for versions of CMake before 2.8.9, you need to prefix cpack with fakeroot or file ownership will end up wrong.

Usage

TODO. The main application hasnt been written yet.

Contributing and Support

Use this projects GitHub to report any bugs, request features, or submit pull requests. If you want to discuss this project, or maybe just hang out with the developer, feel free to join me at irc://irc.janouch.name, channel #dev.

Bitcoin donations: 12r5uEWEgcHC46xd64tt3hHt9EUvYYDHe9

License

acid is written by Přemysl Janouch <p.janouch@gmail.com>.

You may use the software under the terms of the ISC license, the text of which is included within the package, or, at your option, you may relicense the work under the MIT or the Modified BSD License, as listed at the following site: