Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Support HTTP(S) proxies which don't require username and password | Sam Thursfield | 2014-11-24 | 1 | -10/+25 |
| | | | | | Previously the proxy.conf file had to contain 'username' and 'password' fields, which meant that it didn't work for some HTTP proxy setups. | ||||
* | Merge remote-tracking branch 'origin/baserock/liw/lc-list-failed-jobs' | Sam Thursfield | 2014-11-17 | 2 | -12/+36 |
|\ | | | | | | | | | Reviewed-By: Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> Reviewed-By: Sam Thursfield <sam.thursfield@codethink.co.uk> | ||||
| * | Add lists of failed, all jobs to lorry spec infobaserock/liw/lc-list-failed-jobs | Lars Wirzenius | 2014-09-09 | 2 | -12/+36 |
| | | | | | | | | This adds them to both the JSON and HTML outputs. | ||||
* | | Handle case when there is no disk usage info | Lars Wirzenius | 2014-10-22 | 1 | -1/+1 |
|/ | | | | | | | Use 0 instead. This was exposed by a test suite change: test suite creates a dummy job, but doesn't fill in all the fields. With this change, WEBAPP doesn't crash when it tries to report a job's information when not all fields are filled in. | ||||
* | Implement /1.0/remove-ghost-jobs | Lars Wirzenius | 2014-09-04 | 4 | -11/+100 |
| | |||||
* | Merge branch 'liw/move-error-msgs' | Lars Wirzenius | 2014-07-07 | 1 | -22/+34 |
|\ | | | | | | | | | Reviewed-by: Sam Thursfield Reviewed-by: Richard Maw | ||||
| * | Improve move-to-top/bottom API call error messagesliw/move-error-msgs | Lars Wirzenius | 2014-06-23 | 1 | -0/+12 |
| | | |||||
| * | Move shared code to a base class, less code duplication | Lars Wirzenius | 2014-06-23 | 1 | -22/+22 |
| | | |||||
* | | Also catch IOError | Richard Ipsum | 2014-06-23 | 1 | -1/+1 |
| | | | | | | | | | | Failure to remove the temp file due to full disk or other IO error is acceptable. | ||||
* | | Write static status HTML page via temporary file | Lars Wirzenius | 2014-06-23 | 1 | -1/+26 |
| | | | | | | | | This will avoid the file being truncated if the disk fills up. | ||||
* | | Forget "kill_job" flag for future runs of a lorryliw/anti-exterminate | Lars Wirzenius | 2014-06-23 | 3 | -17/+36 |
|/ | | | | | | | | | We do this by moving the "kill_job" column from the lorries table to the jobs table, renaming it to "kill" in the process. It makes no sense to have the flag to kill a specific job in the lorries table. This avoids the need to reset the flag, since it affects only a specific job, instead of all jobs of a lorry. | ||||
* | Fix job showerbaserock/richardipsum/fix_job_shower | Richard Ipsum | 2014-06-19 | 1 | -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 Wirzenius | 2014-05-22 | 2 | -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-optimisation | Lars Wirzenius | 2014-05-22 | 2 | -3/+22 |
| | | |||||
* | | Merge branch 'master' of ↵ | Lars Wirzenius | 2014-05-22 | 1 | -3/+3 |
|\ \ | | | | | | | | | | git://git.baserock.org/baserock/baserock/lorry-controller | ||||
| * | | Fix over-indentation in readconf.pybaserock/pedroalvarez/fix-readconf | Pedro Alvarez | 2014-05-21 | 1 | -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-links | Lars Wirzenius | 2014-05-09 | 1 | -1/+4 |
|/ | | | | The links won't work, so there's no point in having them. | ||||
* | Fix log message | Richard Ipsum | 2014-05-06 | 1 | -1/+1 |
| | | | | | Reviewed by: Lars Wirzenius | ||||
* | Update CONFGIT mirror more robustly | Lars Wirzenius | 2014-05-06 | 1 | -3/+23 |
| | | | | The sequence of git operations suggested by Daniel Silverstone. | ||||
* | Simplify code by using "with ... as ..." | Lars Wirzenius | 2014-04-22 | 1 | -2/+1 |
| | |||||
* | Proof code against whitespace in repo names | Lars Wirzenius | 2014-04-22 | 1 | -1/+1 |
| | |||||
* | Fix minor race condition in giving out jobs | Lars Wirzenius | 2014-04-22 | 1 | -4/+3 |
| | | | | | Do the check for whether we're allowed to give out jobs in the transaction. | ||||
* | Goodbye, Scotty, we will miss you | Lars Wirzenius | 2014-04-22 | 1 | -7/+0 |
| | |||||
* | Add a version table | Lars Wirzenius | 2014-04-22 | 1 | -0/+4 |
| | |||||
* | Use proper boolean constants | Lars Wirzenius | 2014-04-22 | 1 | -2/+2 |
| | |||||
* | Move exception class earlier in file | Lars Wirzenius | 2014-04-22 | 1 | -6/+6 |
| | | | | Suggested-by: Daniel Silverstone | ||||
* | Validate protocol field in lorry-controller.conf | Lars Wirzenius | 2014-04-22 | 1 | -0/+8 |
| | |||||
* | Clarify code by removing confusingly named method | Lars Wirzenius | 2014-04-22 | 1 | -8/+5 |
| | |||||
* | Rename variables for clarity | Lars Wirzenius | 2014-04-22 | 1 | -10/+9 |
| | |||||
* | Remove dead code, update FIXME comment | Lars Wirzenius | 2014-04-22 | 1 | -5/+4 |
| | |||||
* | Move new_gitano_command to a function; add LocalTroveGitanoCommand | Lars Wirzenius | 2014-04-22 | 5 | -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 Controller | Lars Wirzenius | 2014-04-15 | 22 | -0/+2425 |
| | |||||
* | Remove old Lorry Controller to make room for new one | Lars Wirzenius | 2014-04-10 | 4 | -766/+0 |
| | |||||
* | Fix the construction of https urls in confparseradamcoldrick/https-fix-rebase | Adam Coldrick | 2014-03-20 | 1 | -8/+4 |
| | |||||
* | Fix a typo bug that I somehow didn't notice when merging. | Adam Coldrick | 2014-03-12 | 1 | -1/+1 |
| | |||||
* | Update confparser to allow for requests using protocols other than ssh. | Adam Coldrick | 2014-03-06 | 1 | -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-controller | Richard Ipsum | 2013-12-16 | 4 | -7/+59 |
| | |||||
* | Disable status page from automatically reloadingliw/no-reload | Lars Wirzenius | 2013-02-27 | 1 | -13/+3 |
| | |||||
* | Fix so lorry files don't require source-HEAD if they use the default. | Joe Burmeister | 2012-11-14 | 1 | -0/+2 |
| | |||||
* | Remove spurious tuple-generating comma | Daniel Silverstone | 2012-10-30 | 1 | -1/+1 |
| | |||||
* | Fix up bugs in conf parsing | Daniel Silverstone | 2012-10-30 | 1 | -2/+4 |
| | |||||
* | Date/time and sorting | Daniel Silverstone | 2012-10-12 | 1 | -18/+31 |
| | |||||
* | More tweaks to HTML status reporting | Daniel Silverstone | 2012-10-11 | 3 | -8/+24 |
| | |||||
* | Support generating HTML status messages | Daniel Silverstone | 2012-10-11 | 3 | -1/+265 |
| | |||||
* | Support destroying dead lorries. Also fix up dry-run a bit more | Daniel Silverstone | 2012-10-10 | 1 | -1/+1 |
| | |||||
* | Purge dead troves | Daniel Silverstone | 2012-10-10 | 1 | -0/+15 |
| | |||||
* | Default last-ls-output should be a dict | Daniel Silverstone | 2012-10-10 | 1 | -1/+1 |
| | |||||
* | Support HEAD setting | Daniel Silverstone | 2012-10-09 | 1 | -8/+20 |
| | |||||
* | Support tarball config option replete with always/never/first support | Daniel Silverstone | 2012-10-08 | 2 | -6/+9 |
| | |||||
* | Cope with lorries changing uuid and being destroyed in the same run | Daniel Silverstone | 2012-10-08 | 1 | -3/+0 |
| |