Permalink
Commits on Apr 26, 2017
  1. Merge pull request #3150 from rjarry/canStartBuild-docs

    doc/customization: add example for BuilderConfig.canStartBuild
    tardyp committed on GitHub Apr 26, 2017
  2. doc/customization: add example for BuilderConfig.canStartBuild

    Add an example to execute remote commands on a worker in the
    BuilderConfig.canStartBuild callback function.
    
    Signed-off-by: Robin Jarry <robin.jarry@6wind.com>
    rjarry committed Apr 26, 2017
  3. Merge pull request #3125 from tardyp/build_status

    build status_string: store meaningful status at the end of the build
    tardyp committed on GitHub Apr 26, 2017
  4. Merge pull request #3140 from tardyp/janitor_db

    introduce logchunk deletion db API
    tardyp committed on GitHub Apr 26, 2017
  5. Merge pull request #3146 from tardyp/console_fix

    fix for console view when there are no changes but still builds with
    tardyp committed on GitHub Apr 26, 2017
  6. factorize display of changes between console and recent changes

    add a changedetails directive that can be reused by plugins
    
    tweak UI behaviour for better toggling of details
    tardyp committed Apr 26, 2017
Commits on Apr 24, 2017
  1. Merge pull request #3147 from Frodox/patch-2

    docs minor formating
    tardyp committed on GitHub Apr 24, 2017
  2. docs minor formating

    Frodox committed on GitHub Apr 24, 2017
  3. fix for console view when there are no changes but still builds with …

    …got_revision
    
    This emulate the behaviour of eight's tgrid
    tardyp committed Apr 24, 2017
  4. delete logchunks query optimization

    as suggested by skelly.
    
    The measured difference is not significative on sqlite on first run
    
    It does not change if I add indices on logchunk.logid or logs.type.
    
    for subsequent run however the difference is significative when the query it remains a lot of logchunks after deletion
    10s -> 2s
    
    tested raw query with one month retention:
    
    UPDATE logs
    set type = 'd'
    where logs.stepid in
    (select steps.id from steps
    where steps.started_at < 1490352516);
    DELETE from logchunks
    where logchunks.logid in
    (select logs.id from logs
    where logs.type = 'd');
    tardyp committed Apr 24, 2017
  5. Merge pull request #3133 from dragon512/win32-pid-fix

    add tweaks to allow buildbot to start and stop nicely on win32
    tardyp committed on GitHub Apr 24, 2017
  6. Merge pull request #3095 from MikeAlexeev/authz_bugfix

    fixed pattern-based authz check
    tardyp committed on GitHub Apr 24, 2017
  7. isort+autopep8 run

    MikeAlexeev committed Apr 24, 2017
Commits on Apr 21, 2017
  1. py3 compatibility and tw14 compatibility; also fixed comments in

    test
    MikeAlexeev committed Apr 21, 2017
  2. fixed typo and fixed py3 compatability (using assertRaisesRegex inste…

    …ad of
    
    assertRaisesRegexp)
    MikeAlexeev committed Apr 5, 2017
  3. fix for mysql/pgsql

    You can't specify target table 'logs' for update in FROM clause
    
    So we can't reuse the select query for delete and update
    tardyp committed Apr 21, 2017
  4. Add pid file when on win32

    Added pid file to start.py
    fixed stop.py to not error with posix error on win32
    dragon512 committed Apr 21, 2017
  5. fix compatibility with py3 and pgsql

    tardyp committed Apr 21, 2017
  6. docs for deleteOldLogChunks

    tardyp committed Apr 21, 2017
  7. Merge pull request #3138 from rjarry/pylintrc

    pylintrc: customize error messages
    tardyp committed on GitHub Apr 21, 2017
  8. introduce logchunk deletion db API

    The largest part of buildbot db is storing the logchunks.
    for the first version of the Janitor, we will be deleting only the old logchunks to keep as much metadata as possible
    
    build/steps/logs will be managed in a second step
    tardyp committed Apr 21, 2017
  9. increase coverage

    tardyp committed Apr 21, 2017
  10. pylintrc: customize error messages

    Default messages are displayed like this:
    
    ************* Module buildbot.worker.base
    E:110,41: Undefined variable 'string_types' (undefined-variable)
    E:114,33: Undefined variable 'string_types' (undefined-variable)
    
    This requires users to convert the module name to an actual python file
    to locate and fix the error.
    
    Change the default message template to something like this:
    
    ************* Module buildbot.worker.base
    buildbot/worker/base.py:110 Undefined variable 'string_types' [undefined-variable]
    buildbot/worker/base.py:114 Undefined variable 'string_types' [undefined-variable]
    
    See https://pylint.readthedocs.io/en/latest/user_guide/output.html for
    more details on message formatting.
    
    Signed-off-by: Robin Jarry <robin.jarry@6wind.com>
    rjarry committed Apr 21, 2017
  11. Merge pull request #3129 from tardyp/fixdockerfile

    Fix example customized dockerfile URL.
    tardyp committed on GitHub Apr 21, 2017
Commits on Apr 20, 2017
  1. provide configurable build summary automatic generation

    tardyp committed Apr 20, 2017