2015-03-02 08:49:21 +01:00
|
|
|
acid
|
|
|
|
====
|
|
|
|
|
2015-09-27 02:11:38 +02:00
|
|
|
'acid' is A Continuous Integration Daemon. Currently under heavy development.
|
2015-03-08 09:41:10 +01:00
|
|
|
Right now I'm working on a demo JSON-RPC server that will serve as the basis for
|
|
|
|
the final daemon.
|
2015-03-02 08:49:21 +01:00
|
|
|
|
|
|
|
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 simple -- run some stuff on new git commits.
|
|
|
|
|
2015-09-27 02:11:38 +02:00
|
|
|
'acid' will provide a JSON-RPC 2.0 service for frontends over FastCGI, SCGI, or
|
2015-03-08 09:41:10 +01:00
|
|
|
WebSockets, as well as a webhook endpoint for notifications about new commits.
|
2015-03-09 23:32:01 +01:00
|
|
|
The daemon is supposed to be "firewalled" by a normal HTTP server and it will
|
|
|
|
not provide TLS support to secure the communications.
|
2015-03-02 08:49:21 +01:00
|
|
|
|
2015-09-27 02:11:38 +02:00
|
|
|
'acid' will be able to tell you about build results via e-mail and/or IRC.
|
2015-03-02 08:49:21 +01:00
|
|
|
|
|
|
|
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 it's written
|
|
|
|
in a somewhat clean manner. Feel free to contribute.
|
|
|
|
|
|
|
|
Building and Installing
|
|
|
|
-----------------------
|
2015-03-08 09:41:10 +01:00
|
|
|
Build dependencies: CMake, pkg-config, help2man, libmagic,
|
2015-09-27 02:11:38 +02:00
|
|
|
liberty (included), http-parser (included) +
|
2015-03-02 08:49:21 +01:00
|
|
|
Runtime dependencies: libev, Jansson
|
|
|
|
|
2018-06-24 00:21:32 +02:00
|
|
|
$ git clone --recursive https://git.janouch.name/p/acid.git
|
2015-09-27 02:10:19 +02:00
|
|
|
$ mkdir acid/build
|
|
|
|
$ cd acid/build
|
2015-03-02 08:49:21 +01:00
|
|
|
$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug
|
|
|
|
$ make
|
|
|
|
|
|
|
|
To install the application, you can do either the usual:
|
2015-09-27 02:11:38 +02:00
|
|
|
|
2015-03-02 08:49:21 +01:00
|
|
|
# make install
|
|
|
|
|
|
|
|
Or you can try telling CMake to make a package for you. For Debian it is:
|
2015-09-27 02:11:38 +02:00
|
|
|
|
2015-03-02 08:49:21 +01:00
|
|
|
$ cpack -G DEB
|
|
|
|
# dpkg -i acid-*.deb
|
|
|
|
|
2015-09-27 02:11:38 +02:00
|
|
|
Note that for versions of CMake before 2.8.9, you need to prefix `cpack` with
|
|
|
|
`fakeroot` or file ownership will end up wrong.
|
2015-03-02 08:49:21 +01:00
|
|
|
|
|
|
|
Usage
|
|
|
|
-----
|
|
|
|
TODO. The main application hasn't been written yet.
|
|
|
|
|
2015-05-07 20:28:24 +02:00
|
|
|
Contributing and Support
|
|
|
|
------------------------
|
2018-06-24 00:21:32 +02:00
|
|
|
Use https://git.janouch.name/p/acid to report any bugs, request features,
|
|
|
|
or submit pull requests. `git send-email` is tolerated. If you want to discuss
|
|
|
|
the project, feel free to join me at ircs://irc.janouch.name, channel #dev.
|
2015-05-07 20:28:24 +02:00
|
|
|
|
2018-06-24 00:21:32 +02:00
|
|
|
Bitcoin donations are accepted at: 12r5uEWEgcHC46xd64tt3hHt9EUvYYDHe9
|
2017-06-20 14:01:10 +02:00
|
|
|
|
2015-03-02 08:49:21 +01:00
|
|
|
License
|
|
|
|
-------
|
2018-06-24 00:21:10 +02:00
|
|
|
This software is released under the terms of the 0BSD license, the text of which
|
|
|
|
is included within the package along with the list of authors.
|