summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Only schedule jobs when running_queue is set to trueliw/daemonise-read-configLars Wirzenius2014-02-242-13/+22
|
* Add time zone to status time stampLars Wirzenius2014-02-241-1/+1
|
* Assign job ids properlyLars Wirzenius2014-02-241-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 jobsLars Wirzenius2014-02-241-11/+28
|
* Implement stopping of jobs in WEBAPPLars Wirzenius2014-02-243-49/+123
|
* Implement /1.0/list-running-jobsLars Wirzenius2014-02-241-0/+21
|
* Fix JSON field name in testsLars Wirzenius2014-02-243-7/+10
|
* Show run-queue contents in HTML statusLars Wirzenius2014-02-241-21/+105
|
* Implement /1.0/job-updateLars Wirzenius2014-02-243-16/+94
|
* Make better use of transactionsLars Wirzenius2014-02-241-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 suchLars Wirzenius2014-02-242-11/+31
|
* Change get_lorries to return list of dictsLars Wirzenius2014-02-241-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 jobLars Wirzenius2014-02-242-11/+85
| | | | | This is far from functional yet. give-me-job always gives the same job.
* First step for /1.0/give-me-jobLars Wirzenius2014-02-242-0/+29
|
* Remove lorries from STATEDB if gone from CONFGITLars Wirzenius2014-02-213-3/+44
|
* Make /read-configuration populate STATEDB from .lorry filesLars Wirzenius2014-02-213-16/+135
|
* Remove liw-specific configuration from checkLars Wirzenius2014-02-211-8/+0
|
* Add yarn for no lorry-controller.confLars Wirzenius2014-02-204-2/+79
|
* Add lorries table to STATEDB, implement /1.0/list-queueLars Wirzenius2014-02-202-1/+23
| | | | The queue will, for now, always be empty, of course.
* Document the STATEDB running_queue table in ARCHLars Wirzenius2014-02-201-0/+11
|
* Fix lorry-controller.conf filenameLars Wirzenius2014-02-201-5/+10
| | | | | Also, reorder code so the actual reading is in a method, to make run() cleaner.
* Update implementatin plan with Kanban card numbersLars Wirzenius2014-02-201-7/+7
|
* Re-order implementation steps, re-estimate /read-configurationLars Wirzenius2014-02-201-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 fileLars Wirzenius2014-02-201-0/+20
|
* Add start of CONFGIT readingLars Wirzenius2014-02-201-0/+42
|
* Add missing prefixmap from exampleLars Wirzenius2014-02-051-1/+5
|
* Clarify configLars Wirzenius2014-02-051-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 prefixmapLars Wirzenius2014-02-041-1/+4
|
* Add a pointer to Lorry docs for .lorry filesLars Wirzenius2014-02-041-0/+3
|
* Replace README with one that describes LC configLars Wirzenius2014-02-041-4/+74
|
* Report disk free statusLars Wirzenius2014-02-044-3/+37
|
* Refactor for code clarity; fix race conditionLars Wirzenius2014-02-041-9/+10
| | | | | Better method names, clearer APIs, and also avoid a race condition by not querying STATEDB twice.
* Add /1.0/status-htmlLars Wirzenius2014-02-043-13/+47
|
* Re-instate --debug-portLars Wirzenius2014-01-301-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 Wirzenius2014-01-301-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-portRichard Maw2014-01-302-4/+6
| |
* | Remove pid/port filesLars Wirzenius2014-01-301-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 Wirzenius2014-01-302-15/+31
|\ \ | |/ | | | | liw/daemonise
| * Connect to ephemeral port when debuggingRichard Maw2014-01-302-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-secLars Wirzenius2014-01-301-1/+8
| |
* | Make StateDB.get_running_queue return actual booleansLars Wirzenius2014-01-301-2/+6
| |
* | Write out a static HTML status pageLars Wirzenius2014-01-303-4/+61
| |
* | Swap ' and " shell quoting to be safer against changesLars Wirzenius2014-01-301-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 valuesLars Wirzenius2014-01-303-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 itLars Wirzenius2014-01-298-0/+523
|
* Add new Lorry Controller requirements and architectureLars Wirzenius2014-01-291-0/+393
|
* Remove stuff to be obsoletedLars Wirzenius2014-01-297-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-controllerRichard Ipsum2013-12-166-13/+73
|
* Merge remote-tracking branch 'origin/liw/no-reload'Daniel Silverstone2013-03-051-13/+3
|\
| * Disable status page from automatically reloadingliw/no-reloadLars Wirzenius2013-02-271-13/+3
|/