Eelco Dolstra
b54cfbf032
Merge branch 'master' into persona
...
Conflicts:
src/lib/Hydra/Helper/CatalystUtils.pm
src/root/layout.tt
src/root/topbar.tt
src/root/user.tt
2013-11-05 11:11:48 +01:00
Eelco Dolstra
a04c117eb6
Revert "Remove wacky "sysbuild" filtering"
...
This reverts commit 2d7e106d29
.
Unfortunately some jobsets still depend on this behaviour. They could
probably do something like "assert system == input.system; ..." but
changing them all is undesirable.
2013-11-01 18:30:36 +01:00
Eelco Dolstra
cbd56824a2
Use /etc/nix/machines
2013-10-30 11:21:23 +01:00
Eelco Dolstra
a919b503fb
Restore api/get-info
2013-10-29 19:53:23 +01:00
Shea Levy
5da3dcfd57
Make the outputs' outpaths available via the Build JSON API
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-10-29 14:41:48 -04:00
Shea Levy
4eef090a45
Flesh out the API a bit
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-10-29 13:54:11 -04:00
Shea Levy
b51b8cddf4
Add in missing needed join
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-10-25 14:06:52 -04:00
Shea Levy
8e82ba0093
Get rid of old ToJSON code path
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-10-25 11:09:11 -04:00
Shea Levy
a89096ec5e
Clean up root controller
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-10-25 11:09:11 -04:00
Shea Levy
5d3df69a0b
Cleanup build serialization
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-10-25 11:09:11 -04:00
Shea Levy
e04477003e
Cleanup eval serialization
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-10-25 11:09:11 -04:00
Shea Levy
917660442e
Add eager fetching of relations and enable that for jobset->jobsetinputs
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-10-25 11:09:11 -04:00
Shea Levy
ec6568f9b7
Fix jobset input handling in the API
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-10-25 11:09:06 -04:00
Shea Levy
04d8adaad3
Cleanup Jobset serialization
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-10-24 11:39:40 -04:00
Shea Levy
78dcd3e619
Cleanup Project model
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-10-24 11:39:40 -04:00
Shea Levy
ee8275cfdb
Start api cleanup with the User model
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-10-24 11:39:40 -04:00
Eelco Dolstra
f551de21f7
Fix creating jobsets in a RESTful way
2013-10-24 17:35:58 +02:00
Eelco Dolstra
c719bebcb4
Remove redundant newlines
2013-10-17 11:20:27 +02:00
Shea Levy
806af3fe68
Fix typos
...
I could've sworn I tested this...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-10-16 08:57:48 -04:00
Shea Levy
0db950931a
Merge remote-tracking branch 'upstream/who-broke-builds' into upstream-master
...
Include information about who changed the build status in notification
emails, and enable optional per-input notification of said committers.
Conflicts due to two branches modifying the database schema.
Signed-off-by: Shea Levy <shea@shealevy.com>
Conflicts:
src/lib/Hydra/Schema/Jobsets.pm
src/sql/upgrade-23.sql
2013-10-15 09:49:20 -04:00
Eelco Dolstra
2127d133cd
Add a dashboard
...
Currently the dashboard allows users to get a quick overview of the
status of jobs they're interested in, but more will be added,
e.g. viewing all your jobsets or all jobs of which you're a
maintainer.
2013-10-14 20:07:26 +02:00
Eelco Dolstra
09b5679ee7
Clean up the authorization code a bit
2013-10-14 18:01:04 +02:00
Eelco Dolstra
c4e39d4769
Add one-shot jobsets
...
There are jobsets that are evaluated only once, that is, after they've
been evaluated, they're disabled automatically. This is primarily
useful for doing releases: for instance, doing an evaluation with
"officialRelease" set to "true" should be done only once.
2013-10-11 12:01:52 +02:00
Shea Levy
26470f1656
Check all inputs for blame but only email selected inputs
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-10-08 14:47:24 -04:00
Shea Levy
804617f075
Email responsible authors if requested
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-10-08 13:24:49 -04:00
Shea Levy
f8b80c99c2
Include who-broke-the-build information in notification emails
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-10-08 13:24:49 -04:00
Shea Levy
272d9e235d
Remove unused assignment
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-10-08 13:24:49 -04:00
Shea Levy
2c90857689
getResponsibleAuthors: Respect checkResponsible
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-10-08 13:24:49 -04:00
Shea Levy
58ad3b4b6c
Enable setting checkresponsible in the edit jobset form
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-10-08 13:24:49 -04:00
Shea Levy
3e1f930928
Enable setting emailresponsible in the edit jobset form
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-10-08 13:24:49 -04:00
Shea Levy
3e4a4e3761
Propagate checkresponsible from JobsetInput to BuildInput
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-10-08 13:24:49 -04:00
Shea Levy
07157f8125
Update Schema classes
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-10-08 13:24:49 -04:00
Shea Levy
7913701d54
Factor a getResponsibleAuthors helper out of the HipChatNotification
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-10-08 13:24:49 -04:00
Eelco Dolstra
0ec03aa0f4
Handle builds with multiple outputs correctly in Hydra channels
2013-10-07 17:06:17 +02:00
Eelco Dolstra
5ccff14f6b
In Hydra channels, show only packages matching the user's system type
...
Fixes NixOS/nix#169 .
2013-10-07 14:53:27 +02:00
Eelco Dolstra
5294a0a8a0
Register restarted derivations as GC roots
2013-10-04 17:11:42 +02:00
Eelco Dolstra
052bab169d
Add a jobset eval action to restart all aborted/cancelled builds
2013-10-04 17:01:47 +02:00
Eelco Dolstra
85d51074b9
Jobset eval page: Show all aborted builds under the "aborted jobs" tab
...
Previously some might be included under the "new jobs" tab
2013-10-04 16:36:22 +02:00
Eelco Dolstra
aa49b128a8
Remove the "clone build" feature
2013-10-04 15:43:51 +02:00
Eelco Dolstra
7818bb75ed
Add an action to cancel all builds in a jobset eval
2013-10-04 15:40:43 +02:00
Eelco Dolstra
3e54f0a6ab
Fix an uninitialized value warning
2013-10-04 14:47:30 +02:00
Eelco Dolstra
550bf210fe
Use more flash messages
2013-10-03 19:54:22 +02:00
Eelco Dolstra
720c3892a3
Use delete instead of delete_all
...
DBIC's delete_all method fetches all rows separately, which is slow.
2013-10-03 19:42:44 +02:00
Eelco Dolstra
f32077b5e8
Simplify jobset cloning
...
We can just show the normal "edit jobset" page for the original jobset
and then do a PUT request to create a new jobset.
Also simplified updating the jobset inputs. We can just delete all of
them and recreate them from the user parameters. That's safe because
it's done in a transaction.
2013-10-03 19:28:25 +02:00
Eelco Dolstra
232f46c750
Use the REST API in the web interface for editing jobsets
2013-10-03 18:49:37 +02:00
Eelco Dolstra
851c3329d0
Implement DELETE for jobsets and use it in the web interface
2013-10-03 17:54:40 +02:00
Eelco Dolstra
ae13dd3e67
Use the REST API in the web interface for editing projects
2013-10-03 17:23:41 +02:00
Eelco Dolstra
8355dc57ee
Ensure proper encoding of error messages
2013-10-03 17:20:00 +02:00
Eelco Dolstra
ed132cf1fc
Remove obsolete JobStatus source
2013-10-03 15:05:53 +02:00
Eelco Dolstra
c7a039bd05
Remove the Errors page
...
The same info is readily available under the most recent jobset eval
page.
2013-10-03 15:00:28 +02:00