[Buildbot-commits] [buildbot/buildbot] ecef1b: gerritchangesource: factorize to allow subclassing

noreply at github.com noreply at github.com
Fri Jul 8 23:43:08 UTC 2011


  Branch: refs/heads/master
  Home:   https://github.com/buildbot/buildbot

  Commit: ecef1b02ffb3c26928e0dba3928fbee522244504
      https://github.com/buildbot/buildbot/commit/ecef1b02ffb3c26928e0dba3928fbee522244504
  Author: Pierre Tardy <pierre.tardy at intel.com>
  Date:   2011-07-08 (Fri, 08 Jul 2011)

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

  Log Message:
  -----------
  gerritchangesource: factorize to allow subclassing

its not possible to customize what to do on gerrit events
We refactor a bit the code, in order to call different method of
the class for each event type.

Old behaviour is still working

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


  Commit: 8f95de90351be00f59df3caf4997830adfc72e2a
      https://github.com/buildbot/buildbot/commit/8f95de90351be00f59df3caf4997830adfc72e2a
  Author: Pierre Tardy <pierre.tardy at intel.com>
  Date:   2011-07-08 (Fri, 08 Jul 2011)

  Changed paths:
    M master/buildbot/steps/source/oldsource.py

  Log Message:
  -----------
  repo_source: added buildDownloadList method

This method can be overidden by config file,
so that the config file can query some databases
(like gerrit or bugzilla)
in order to find out dependancies for a particular change

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


Compare: https://github.com/buildbot/buildbot/compare/57d5ee1...8f95de9




More information about the Commits mailing list