[Buildbot-commits] [buildbot/buildbot] 391462: Extend make_master to optionally create the db obj...

GitHub noreply at github.com
Sat Jul 21 14:15:45 UTC 2012


  Branch: refs/heads/master
  Home:   https://github.com/buildbot/buildbot
  Commit: 39146231710d33dc67fef1cfd81efb26d2945b95
      https://github.com/buildbot/buildbot/commit/39146231710d33dc67fef1cfd81efb26d2945b95
  Author: Tom Prince <tom.prince at ualberta.net>
  Date:   2012-07-08 (Sun, 08 Jul 2012)

  Changed paths:
    M master/buildbot/test/fake/fakemaster.py

  Log Message:
  -----------
  Extend make_master to optionally create the db object, as well.


  Commit: 62f2a8de1c8a4ac194c06ecaba771734cf42fbde
      https://github.com/buildbot/buildbot/commit/62f2a8de1c8a4ac194c06ecaba771734cf42fbde
  Author: Tom Prince <tom.prince at ualberta.net>
  Date:   2012-07-08 (Sun, 08 Jul 2012)

  Changed paths:
    M master/buildbot/schedulers/base.py
    M master/buildbot/test/unit/test_schedulers_base.py
    A master/buildbot/test/unit/test_util_state.py
    A master/buildbot/util/state.py
    M master/docs/developer/utils.rst
    M master/docs/release-notes.rst

  Log Message:
  -----------
  Add StateMixin helper.

This class factors out the helpers used for accessing object state
in the database.


  Commit: 633926c9fd991701bfbb0be7a32e8b63745a1b46
      https://github.com/buildbot/buildbot/commit/633926c9fd991701bfbb0be7a32e8b63745a1b46
  Author: Tom Prince <tom.prince at ualberta.net>
  Date:   2012-07-08 (Sun, 08 Jul 2012)

  Changed paths:
    M master/buildbot/test/util/gpo.py

  Log Message:
  -----------
  Add a nice __repr__ to GetProcessOutputMixin.

This makes the test failure output more useful.


  Commit: b6e92b8abb0930cbe00c6737dc1854ff8e77c511
      https://github.com/buildbot/buildbot/commit/b6e92b8abb0930cbe00c6737dc1854ff8e77c511
  Author: Tom Prince <tom.prince at ualberta.net>
  Date:   2012-07-08 (Sun, 08 Jul 2012)

  Changed paths:
    M master/buildbot/test/util/gpo.py

  Log Message:
  -----------
  Fix typo in GetProccessOutputMixin failure.


  Commit: ef15fedc5dd5426677284265f8de3214fb9501f8
      https://github.com/buildbot/buildbot/commit/ef15fedc5dd5426677284265f8de3214fb9501f8
  Author: Tom Prince <tom.prince at ualberta.net>
  Date:   2012-07-09 (Mon, 09 Jul 2012)

  Changed paths:
    M master/buildbot/changes/gitpoller.py
    M master/buildbot/test/unit/test_changes_gitpoller.py
    M master/buildbot/test/util/changesource.py
    M master/docs/manual/cfg-changesources.rst
    M master/docs/release-notes.rst

  Log Message:
  -----------
  Rewrite gitpoller.

The original gitpoller had a number of issues:
- it supported a single branch
- it needed a seperate workdir for each poller.
- it was easily confused by changes to the underlying workdir.

The new gitpoller solves the above issues.
- state is stored in the db, rather than implicitly in the repo.
- the workdir is treated as a stateless cache.
- it was easily confused by changes to the underlying workdir.

Notes:
- Only a single gitpoller can usefully be pointed at a given repo with a single db.
  Otherwise, the db state will get confused.
- There is currently no support for migration from the old to new poller state.
- `git init` supports an argument for a directory to create starting with
  git 1.6.5. Since we depend on git 1.7 this isn't an issue.


  Commit: eab12f425a9dc0f1a3d13fe65415f17567be1469
      https://github.com/buildbot/buildbot/commit/eab12f425a9dc0f1a3d13fe65415f17567be1469
  Author: Tom Prince <tom.prince at ualberta.net>
  Date:   2012-07-09 (Mon, 09 Jul 2012)

  Changed paths:
    M master/buildbot/changes/changes.py
    A master/buildbot/changes/hgpoller.py
    M master/buildbot/clients/tryclient.py
    M master/buildbot/process/builder.py
    M master/buildbot/sourcestamp.py
    M master/buildbot/status/web/auth.py
    M master/buildbot/steps/source/bzr.py
    M master/buildbot/steps/source/mercurial.py
    M master/buildbot/steps/source/svn.py
    M master/buildbot/steps/vstudio.py
    A master/buildbot/test/unit/test_changes_hgpoller.py
    M master/buildbot/test/unit/test_process_builder.py
    M master/buildbot/test/unit/test_sourcestamp.py
    A master/buildbot/test/unit/test_status_web_auth_HTPasswdAprAuth.py
    A master/buildbot/test/unit/test_status_web_auth_HTPasswdAuth.py
    M master/buildbot/test/unit/test_steps_source_bzr.py
    M master/buildbot/test/unit/test_steps_source_mercurial.py
    M master/buildbot/test/unit/test_steps_source_svn.py
    M master/buildbot/test/unit/test_steps_vstudio.py
    M master/docs/manual/cfg-changesources.rst
    M master/docs/manual/cfg-statustargets.rst
    M master/docs/release-notes.rst

  Log Message:
  -----------
  Merge remote-tracking branch 'origin' into git-poller-rewrite

Conflicts:
	master/docs/release-notes.rst


  Commit: 130d8607cfa5423e199be154cfe6281da944dfbf
      https://github.com/buildbot/buildbot/commit/130d8607cfa5423e199be154cfe6281da944dfbf
  Author: Tom Prince <tom.prince at ualberta.net>
  Date:   2012-07-09 (Mon, 09 Jul 2012)

  Changed paths:
    M master/buildbot/test/unit/test_changes_gitpoller.py
    M master/buildbot/test/unit/test_changes_hgpoller.py
    M master/buildbot/test/unit/test_test_util_gpo.py
    M master/buildbot/test/util/gpo.py

  Log Message:
  -----------
  gpo: Test that getProcessOutput{,andValue} are called with the correct path.


  Commit: 085edd69c69568ca4f01ebdb2e8751c1cb8fdeef
      https://github.com/buildbot/buildbot/commit/085edd69c69568ca4f01ebdb2e8751c1cb8fdeef
  Author: Tom Prince <tom.prince at ualberta.net>
  Date:   2012-07-09 (Mon, 09 Jul 2012)

  Changed paths:
    M master/buildbot/test/unit/test_test_util_gpo.py
    M master/buildbot/test/util/gpo.py

  Log Message:
  -----------
  Don't allow arbitrary keywords in testing getProcessOuput.

If we need to pass other arguments, then we should be testing that those
arguments are passed correctly.


  Commit: 172620894a2b85eacf26c0e532c32a63c109ee83
      https://github.com/buildbot/buildbot/commit/172620894a2b85eacf26c0e532c32a63c109ee83
  Author: Tom Prince <tom.prince at ualberta.net>
  Date:   2012-07-21 (Sat, 21 Jul 2012)

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

  Log Message:
  -----------
  Fix `DirtyReactorError` caused by `PollingChangeSource` calling `callWhenRunning`.

trial has an unusual interaction with the reactor. The reactor is only running when
waiting for a deferred (and not a synchronous one). This avoids calling the real
`PollingChangeSource.startService` to avoid this.


  Commit: a315b0a6a349910c7a7287aa0a6a83c93edb4357
      https://github.com/buildbot/buildbot/commit/a315b0a6a349910c7a7287aa0a6a83c93edb4357
  Author: Tom Prince <tom.prince at ualberta.net>
  Date:   2012-07-21 (Sat, 21 Jul 2012)

  Changed paths:
    M master/buildbot/changes/gitpoller.py
    M master/buildbot/test/unit/test_changes_gitpoller.py

  Log Message:
  -----------
  Report repo not workdir when polling git.

Since we now default to using the same workdir for every poller,
it makes more sense to report the remote repository instead.


  Commit: a6a833647f2c3b12028c094f1bf9047a2d059535
      https://github.com/buildbot/buildbot/commit/a6a833647f2c3b12028c094f1bf9047a2d059535
  Author: Tom Prince <tom.prince at ualberta.net>
  Date:   2012-07-21 (Sat, 21 Jul 2012)

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

  Log Message:
  -----------
  Fix comment in GitPoller.


  Commit: 63454541b1c0fccd811c7d64b8c5f5af0eb8dcb6
      https://github.com/buildbot/buildbot/commit/63454541b1c0fccd811c7d64b8c5f5af0eb8dcb6
  Author: Tom Prince <tom.prince at ualberta.net>
  Date:   2012-07-21 (Sat, 21 Jul 2012)

  Changed paths:
    M master/buildbot/changes/gitpoller.py
    M master/buildbot/schedulers/base.py
    M master/buildbot/test/fake/fakemaster.py
    M master/buildbot/test/unit/test_changes_gitpoller.py
    M master/buildbot/test/unit/test_changes_hgpoller.py
    M master/buildbot/test/unit/test_schedulers_base.py
    M master/buildbot/test/unit/test_test_util_gpo.py
    A master/buildbot/test/unit/test_util_state.py
    M master/buildbot/test/util/changesource.py
    M master/buildbot/test/util/gpo.py
    A master/buildbot/util/state.py
    M master/docs/developer/utils.rst
    M master/docs/manual/cfg-changesources.rst
    M master/docs/release-notes.rst

  Log Message:
  -----------
  Merge remote-tracking branch 'github/git-poller-rewrite'

Conflicts:
	master/buildbot/schedulers/base.py


Compare: https://github.com/buildbot/buildbot/compare/a8422112fb1c...63454541b1c0


More information about the Commits mailing list