Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Only schedule jobs when running_queue is set to trueliw/daemonise-read-config | Lars Wirzenius | 2014-02-24 | 2 | -13/+22 |
| | |||||
* | Add time zone to status time stamp | Lars Wirzenius | 2014-02-24 | 1 | -1/+1 |
| | |||||
* | Assign job ids properly | Lars Wirzenius | 2014-02-24 | 1 | -1/+19 |
| | | | | | While 1 is a perfectly nice number, having every job get the same id is not entirely what is supposed to happen. | ||||
* | Add table of currently running jobs | Lars Wirzenius | 2014-02-24 | 1 | -11/+28 |
| | |||||
* | Implement stopping of jobs in WEBAPP | Lars Wirzenius | 2014-02-24 | 3 | -49/+123 |
| | |||||
* | Implement /1.0/list-running-jobs | Lars Wirzenius | 2014-02-24 | 1 | -0/+21 |
| | |||||
* | Fix JSON field name in tests | Lars Wirzenius | 2014-02-24 | 3 | -7/+10 |
| | |||||
* | Show run-queue contents in HTML status | Lars Wirzenius | 2014-02-24 | 1 | -21/+105 |
| | |||||
* | Implement /1.0/job-update | Lars Wirzenius | 2014-02-24 | 3 | -16/+94 |
| | |||||
* | Make better use of transactions | Lars Wirzenius | 2014-02-24 | 1 | -41/+60 |
| | | | | | It's no longer feasible to treat each STATEDB operation as an individual transaction, so we'll make it explicit. | ||||
* | Mark scheduled jobs as such | Lars Wirzenius | 2014-02-24 | 2 | -11/+31 |
| | |||||
* | Change get_lorries to return list of dicts | Lars Wirzenius | 2014-02-24 | 1 | -5/+17 |
| | | | | | | There's too many fields now, so returning a dict, instead of a tuple, for each list items reduces coupling with caller, and makes it easier to deal with changes in the future. | ||||
* | Add /1.0/lorry, make /1.0/give-me-job pick a job | Lars Wirzenius | 2014-02-24 | 2 | -11/+85 |
| | | | | | This is far from functional yet. give-me-job always gives the same job. | ||||
* | First step for /1.0/give-me-job | Lars Wirzenius | 2014-02-24 | 2 | -0/+29 |
| | |||||
* | Remove lorries from STATEDB if gone from CONFGIT | Lars Wirzenius | 2014-02-21 | 3 | -3/+44 |
| | |||||
* | Make /read-configuration populate STATEDB from .lorry files | Lars Wirzenius | 2014-02-21 | 3 | -16/+135 |
| | |||||
* | Remove liw-specific configuration from check | Lars Wirzenius | 2014-02-21 | 1 | -8/+0 |
| | |||||
* | Add yarn for no lorry-controller.conf | Lars Wirzenius | 2014-02-20 | 4 | -2/+79 |
| | |||||
* | Add lorries table to STATEDB, implement /1.0/list-queue | Lars Wirzenius | 2014-02-20 | 2 | -1/+23 |
| | | | | The queue will, for now, always be empty, of course. | ||||
* | Document the STATEDB running_queue table in ARCH | Lars Wirzenius | 2014-02-20 | 1 | -0/+11 |
| | |||||
* | Fix lorry-controller.conf filename | Lars Wirzenius | 2014-02-20 | 1 | -5/+10 |
| | | | | | Also, reorder code so the actual reading is in a method, to make run() cleaner. | ||||
* | Update implementatin plan with Kanban card numbers | Lars Wirzenius | 2014-02-20 | 1 | -7/+7 |
| | |||||
* | Re-order implementation steps, re-estimate /read-configuration | Lars Wirzenius | 2014-02-20 | 1 | -7/+7 |
| | | | | | I've had a stab at /read-configuration and it is trickier than I thought. So I'm upping the estimate. | ||||
* | Add test configuration file | Lars Wirzenius | 2014-02-20 | 1 | -0/+20 |
| | |||||
* | Add start of CONFGIT reading | Lars Wirzenius | 2014-02-20 | 1 | -0/+42 |
| | |||||
* | Add missing prefixmap from example | Lars Wirzenius | 2014-02-05 | 1 | -1/+5 |
| | |||||
* | Clarify config | Lars Wirzenius | 2014-02-05 | 1 | -11/+13 |
| | | | | | | Based on feedback from Daniel Silverstone. The config keys previously marked as "Lars doesn't understand" are now marked as ignored. Some other stuff was clarified. | ||||
* | Document prefixmap | Lars Wirzenius | 2014-02-04 | 1 | -1/+4 |
| | |||||
* | Add a pointer to Lorry docs for .lorry files | Lars Wirzenius | 2014-02-04 | 1 | -0/+3 |
| | |||||
* | Replace README with one that describes LC config | Lars Wirzenius | 2014-02-04 | 1 | -4/+74 |
| | |||||
* | Report disk free status | Lars Wirzenius | 2014-02-04 | 4 | -3/+37 |
| | |||||
* | Refactor for code clarity; fix race condition | Lars Wirzenius | 2014-02-04 | 1 | -9/+10 |
| | | | | | Better method names, clearer APIs, and also avoid a race condition by not querying STATEDB twice. | ||||
* | Add /1.0/status-html | Lars Wirzenius | 2014-02-04 | 3 | -13/+47 |
| | |||||
* | Re-instate --debug-port | Lars Wirzenius | 2014-01-30 | 1 | -24/+52 |
| | | | | | Running lorry-controller-webapp manually, to test it with a web browser, is easier when the port doesn't change, so --debug-port is useful. | ||||
* | Merge remote-tracking branch 'origin/richardmaw/ephemeral-port' into ↵ | Lars Wirzenius | 2014-01-30 | 1 | -3/+3 |
|\ | | | | | | | | | | | liw/daemonise Resolved a conflict and undid Richard's check changes so I can run check. | ||||
| * | Use fifo for synchronisatoin, rather that stat looprichardmaw/ephemeral-port | Richard Maw | 2014-01-30 | 2 | -4/+6 |
| | | |||||
* | | Remove pid/port files | Lars Wirzenius | 2014-01-30 | 1 | -0/+2 |
| | | | | | | | | | | This is a) cleaner and b) seems to make the test suite execute in 5 seconds instead of 10, for reasons I don't actually understand. | ||||
* | | Merge remote-tracking branch 'origin/richardmaw/ephemeral-port' into ↵ | Lars Wirzenius | 2014-01-30 | 2 | -15/+31 |
|\ \ | |/ | | | | | liw/daemonise | ||||
| * | Connect to ephemeral port when debugging | Richard Maw | 2014-01-30 | 2 | -15/+31 |
| | | | | | | | | | | Rather than use a random, possibly used port, have the server connect to an ephemeral port and report via a file, which port it connected to. | ||||
* | | Fix IMPLEMENTS bug for when timestamps are whole-sec | Lars Wirzenius | 2014-01-30 | 1 | -1/+8 |
| | | |||||
* | | Make StateDB.get_running_queue return actual booleans | Lars Wirzenius | 2014-01-30 | 1 | -2/+6 |
| | | |||||
* | | Write out a static HTML status page | Lars Wirzenius | 2014-01-30 | 3 | -4/+61 |
| | | |||||
* | | Swap ' and " shell quoting to be safer against changes | Lars Wirzenius | 2014-01-30 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | | With "" as the outer quotes, an accidental shell magic character may ruin everything for everybody. With '' as the outer quotes, that is much harder to achieve. Suggested-by: Richard Maw | ||||
* | | Use JSON values instead of Python values | Lars Wirzenius | 2014-01-30 | 3 | -8/+8 |
|/ | | | | | | | | In the "THEN response has ... set to ..." step, we now require JSON values instead of Python ones. This allows us to avoid having to use eval() in Python. Suggested-by: Richard Maw | ||||
* | Initial skeleton for WEBAPP and yarns for it | Lars Wirzenius | 2014-01-29 | 8 | -0/+523 |
| | |||||
* | Add new Lorry Controller requirements and architecture | Lars Wirzenius | 2014-01-29 | 1 | -0/+393 |
| | |||||
* | Remove stuff to be obsoleted | Lars Wirzenius | 2014-01-29 | 7 | -1048/+0 |
| | | | | | | | All of this deleted stuff belongs to the old Lorry Controller, which will be replaced pretty much wholesale. In order to have a clean source tree to work with, I'm deleting everything. If need be, I can restore some stuff later from the master branch. | ||||
* | Update copyright and license (Use GPL)liw/new-lorry-controller | Richard Ipsum | 2013-12-16 | 6 | -13/+73 |
| | |||||
* | Merge remote-tracking branch 'origin/liw/no-reload' | Daniel Silverstone | 2013-03-05 | 1 | -13/+3 |
|\ | |||||
| * | Disable status page from automatically reloadingliw/no-reload | Lars Wirzenius | 2013-02-27 | 1 | -13/+3 |
|/ |