summaryrefslogtreecommitdiff
path: root/lorrycontroller
Commit message (Collapse)AuthorAgeFilesLines
* Fix job showerbaserock/richardipsum/fix_job_showerRichard Ipsum2014-06-191-1/+1
| | | | | | | | | | If our job hasn't ended then our query for (started, ended) returns the start time and NULL for the end time. With sqlite3 NULL maps to None. time.gmtime(None) returns the current time, so instead of displaying nothing a job that hasn't ended will display the current time as its ended time.
* Merge branch 'baserock/liw/lc-list-all-jobs-optimisation'Lars Wirzenius2014-05-222-3/+22
|\ | | | | | | | | Reviewed-by: Sam Thursfield Reviewed-by: Daniel Silverstone
| * Make listjobs faster by getting all info in one querybaserock/liw/lc-list-all-jobs-optimisationLars Wirzenius2014-05-222-3/+22
| |
* | Merge branch 'master' of ↵Lars Wirzenius2014-05-221-3/+3
|\ \ | | | | | | | | | git://git.baserock.org/baserock/baserock/lorry-controller
| * | Fix over-indentation in readconf.pybaserock/pedroalvarez/fix-readconfPedro Alvarez2014-05-211-3/+3
| |/ | | | | | | | | | | The bottle.redirect method raises an HTTP Response. With the over-indentation it was being called inside a 'with' block, making the entire block fail.
* | Render static HTML page without linksbaserock/liw/lc-static-html-without-linksLars Wirzenius2014-05-091-1/+4
|/ | | | The links won't work, so there's no point in having them.
* Fix log messageRichard Ipsum2014-05-061-1/+1
| | | | | Reviewed by: Lars Wirzenius
* Update CONFGIT mirror more robustlyLars Wirzenius2014-05-061-3/+23
| | | | The sequence of git operations suggested by Daniel Silverstone.
* Simplify code by using "with ... as ..."Lars Wirzenius2014-04-221-2/+1
|
* Proof code against whitespace in repo namesLars Wirzenius2014-04-221-1/+1
|
* Fix minor race condition in giving out jobsLars Wirzenius2014-04-221-4/+3
| | | | | Do the check for whether we're allowed to give out jobs in the transaction.
* Goodbye, Scotty, we will miss youLars Wirzenius2014-04-221-7/+0
|
* Add a version tableLars Wirzenius2014-04-221-0/+4
|
* Use proper boolean constantsLars Wirzenius2014-04-221-2/+2
|
* Move exception class earlier in fileLars Wirzenius2014-04-221-6/+6
| | | | Suggested-by: Daniel Silverstone
* Validate protocol field in lorry-controller.confLars Wirzenius2014-04-221-0/+8
|
* Clarify code by removing confusingly named methodLars Wirzenius2014-04-221-8/+5
|
* Rename variables for clarityLars Wirzenius2014-04-221-10/+9
|
* Remove dead code, update FIXME commentLars Wirzenius2014-04-221-5/+4
|
* Move new_gitano_command to a function; add LocalTroveGitanoCommandLars Wirzenius2014-04-225-13/+32
| | | | | This clean up the code a bit, by not making LorryControllerRoute have less code in it that is unrelated to routing web requests.
* Add new Lorry ControllerLars Wirzenius2014-04-1522-0/+2425
|
* Remove old Lorry Controller to make room for new oneLars Wirzenius2014-04-104-766/+0
|
* Fix the construction of https urls in confparseradamcoldrick/https-fix-rebaseAdam Coldrick2014-03-201-8/+4
|
* Fix a typo bug that I somehow didn't notice when merging.Adam Coldrick2014-03-121-1/+1
|
* Update confparser to allow for requests using protocols other than ssh.Adam Coldrick2014-03-061-6/+51
| | | | | | | Add a method that constructs either an ssh command or an http GET request based on the access protocol of the trove. Make sure that when constructing lorries the url is in the correct form for a given protocol.
* Update copyright and license (Use GPL)liw/new-lorry-controllerRichard Ipsum2013-12-164-7/+59
|
* Disable status page from automatically reloadingliw/no-reloadLars Wirzenius2013-02-271-13/+3
|
* Fix so lorry files don't require source-HEAD if they use the default.Joe Burmeister2012-11-141-0/+2
|
* Remove spurious tuple-generating commaDaniel Silverstone2012-10-301-1/+1
|
* Fix up bugs in conf parsingDaniel Silverstone2012-10-301-2/+4
|
* Date/time and sortingDaniel Silverstone2012-10-121-18/+31
|
* More tweaks to HTML status reportingDaniel Silverstone2012-10-113-8/+24
|
* Support generating HTML status messagesDaniel Silverstone2012-10-113-1/+265
|
* Support destroying dead lorries. Also fix up dry-run a bit moreDaniel Silverstone2012-10-101-1/+1
|
* Purge dead trovesDaniel Silverstone2012-10-101-0/+15
|
* Default last-ls-output should be a dictDaniel Silverstone2012-10-101-1/+1
|
* Support HEAD settingDaniel Silverstone2012-10-091-8/+20
|
* Support tarball config option replete with always/never/first supportDaniel Silverstone2012-10-082-6/+9
|
* Cope with lorries changing uuid and being destroyed in the same runDaniel Silverstone2012-10-081-3/+0
|
* Support ignore glob patterns intead of only exact matchesDaniel Silverstone2012-10-041-2/+8
|
* Better logging levelsDaniel Silverstone2012-10-032-20/+26
|
* Beginnings of rework to remove serial and make behaviour better in generalDaniel Silverstone2012-10-032-7/+11
|
* Ensure trove access is batched and non-checkedDaniel Silverstone2012-10-031-1/+2
|
* Initial crack at trove supportDaniel Silverstone2012-10-022-5/+70
|
* Parse and validate trove config and maintain some stateDaniel Silverstone2012-10-022-1/+50
|
* Add dry-run capabilityDaniel Silverstone2012-10-021-1/+5
|
* Add a dry-run supportDaniel Silverstone2012-10-021-2/+5
|
* Running lorryDaniel Silverstone2012-10-021-0/+31
|
* Support due-time and decide what to run and whenDaniel Silverstone2012-10-021-0/+16
|
* Basic working state managerDaniel Silverstone2012-10-012-0/+38
|