[Buildbot-commits] [buildbot/buildbot] 8c205b: add GerritChangeFilter

GitHub noreply at github.com
Tue May 6 07:50:46 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/buildbot/buildbot
  Commit: 8c205b005d95a100d3ebfc2ec8620baecd0666b6
      https://github.com/buildbot/buildbot/commit/8c205b005d95a100d3ebfc2ec8620baecd0666b6
  Author: Pierre Tardy <pierre.tardy at intel.com>
  Date:   2014-02-25 (Tue, 25 Feb 2014)

  Changed paths:
    M master/buildbot/changes/filter.py
    M master/buildbot/changes/gerritchangesource.py
    M master/buildbot/test/unit/test_changes_gerritchangesource.py
    M master/docs/manual/cfg-changesources.rst

  Log Message:
  -----------
  add GerritChangeFilter

Its not very clear for people how to use gerritchangesource to filter
gerrit change events, and create builds.

add GerritChangeFilter, which is a simple general purpose filter, which
manage most of the changefilters needs

doc + tests

and some whitespace fixing in the doc.

Signed-off-by: Pierre Tardy <pierre.tardy at intel.com>


  Commit: fdda0cb357cf471d16f4ea78f3630e79caadbd89
      https://github.com/buildbot/buildbot/commit/fdda0cb357cf471d16f4ea78f3630e79caadbd89
  Author: Pierre Tardy <pierre.tardy at intel.com>
  Date:   2014-03-02 (Sun, 02 Mar 2014)

  Changed paths:
    M master/buildbot/changes/filter.py
    M master/buildbot/changes/gerritchangesource.py

  Log Message:
  -----------
  gerritfilterbranch: more factorization

This comes at the prize of a little bit of complexity

Signed-off-by: Pierre Tardy <pierre.tardy at intel.com>


  Commit: cb2b2ef23a6527a3cb874d907038e858a32298d4
      https://github.com/buildbot/buildbot/commit/cb2b2ef23a6527a3cb874d907038e858a32298d4
  Author: Pierre Tardy <pierre.tardy at intel.com>
  Date:   2014-03-02 (Sun, 02 Mar 2014)

  Changed paths:
    M master/buildbot/changes/gerritchangesource.py

  Log Message:
  -----------
  gerritchangesource: fix grouping for Nightly schedulers

for nightly and post-commit style schedulers,
you really need to have the branch to be the real gerrit branch
or the list of changes in the UI will be incorrect

This is a simple way of implementing it, probably by separating the
change grouping to the notion of change branch

Signed-off-by: Pierre Tardy <pierre.tardy at intel.com>


  Commit: 4164c6a41513ad08a2404747777e8f22d8f61348
      https://github.com/buildbot/buildbot/commit/4164c6a41513ad08a2404747777e8f22d8f61348
  Author: Pierre Tardy <pierre.tardy at intel.com>
  Date:   2014-03-02 (Sun, 02 Mar 2014)

  Changed paths:
    M master/buildbot/test/unit/test_changes_gerritchangesource.py

  Log Message:
  -----------
  gerritchangesource: test branch is branch for event type != changeset-created

and some cleanup of failUnless* API usage

Signed-off-by: Pierre Tardy <pierre.tardy at intel.com>


  Commit: 24f1b3540c295caef26e595d482822e40f91a5bf
      https://github.com/buildbot/buildbot/commit/24f1b3540c295caef26e595d482822e40f91a5bf
  Author: Pierre Tardy <tardyp at gmail.com>
  Date:   2014-05-06 (Tue, 06 May 2014)

  Changed paths:
    M master/buildbot/changes/filter.py
    M master/buildbot/changes/gerritchangesource.py
    M master/buildbot/test/unit/test_changes_gerritchangesource.py
    M master/docs/manual/cfg-changesources.rst

  Log Message:
  -----------
  Merge branch 'gerrit_change_filter' of github.com:tardyp/buildbot


Compare: https://github.com/buildbot/buildbot/compare/00b1ac6d3ba5...24f1b3540c29


More information about the Commits mailing list