Hydra, for Lix
Go to file
Shea Levy 002ac9ef63 Merge in the first bits of the API work
The catalyst-action-rest branch from shlevy/hydra was an exploration of
using Catalyst::Action::REST to create a JSON API for hydra. This commit
merges in the best bits from that experiment, with the goal that further
API endpoints can be added incrementally.

In addition to migrating more endpoints, there is potential for
improvement in what's already been done:
* The web interface can be updated to use the same non-GET endpoints as
  the JSON interface (using x-tunneled-method) instead of having a
  separate endpoint
* The web rendering should use the $c->stash->{resource} data structure
  where applicable rather than putting the same data in two places in
  the stash
* Which columns to render for each endpoint is a completely debatable
  question
* Hydra::Component::ToJSON should turn has_many relations that have
  strings as their primary keys into objects instead of arrays

Fixes NixOS/hydra#98

Signed-off-by: Shea Levy <shea@shealevy.com>
2013-07-02 14:00:46 -04:00
doc Add note on restarting builds that times out 2013-06-13 20:54:28 +02:00
src Merge in the first bits of the API work 2013-07-02 14:00:46 -04:00
tests Merge in the first bits of the API work 2013-07-02 14:00:46 -04:00
.gitignore Add some gitignores 2013-04-26 17:51:05 +02:00
bootstrap hydra: Simplify `bootstrap'. 2011-01-14 10:52:47 +00:00
configure.ac Add font for the captcha 2013-03-04 12:16:13 +01:00
COPYING hydra: revert license change 2010-03-29 14:16:46 +00:00
hydra-module.nix hydra-module.nix: update hydra-check-space for systemd 2013-04-11 10:48:07 +02:00
INSTALL hydra: use autoconf/-make 2010-09-30 14:29:15 +00:00
Makefile.am Build documentation last 2013-01-22 12:05:47 +01:00
release.nix Merge in the first bits of the API work 2013-07-02 14:00:46 -04:00
version hydra: fix tarball build, add pre suffix to tarballs 2010-09-30 15:02:42 +00:00