[Buildbot-commits] [buildbot/buildbot] 381a20: Change semantics of `put` method for LRUCache obje...

GitHub noreply at github.com
Thu Apr 17 22:41:17 UTC 2014


  Branch: refs/heads/nine
  Home:   https://github.com/buildbot/buildbot
  Commit: 381a2020b071aa91470c7cb1bbbdc09575414402
      https://github.com/buildbot/buildbot/commit/381a2020b071aa91470c7cb1bbbdc09575414402
  Author: Andrew Gallagher <agallagher at fb.com>
  Date:   2014-04-07 (Mon, 07 Apr 2014)

  Changed paths:
    M master/buildbot/test/fake/fakemaster.py
    M master/buildbot/test/unit/test_util_lru.py
    M master/buildbot/util/lru.py
    M master/docs/developer/utils.rst

  Log Message:
  -----------
  Change semantics of `put` method for LRUCache objects

This changes the `LRUCache.put` method to provide a general
way to insert an object into the cache.  Previously,
`LRUCache.put` wasn't sufficient for this as it appeared to only
behave as a "touch" method (e.g. if the item wasn't already
in the cache, it was a noop).

This is useful to provide a way to "seed" the various caches.
In a number of locations we construct items and put them in
the DB, only to immediately load them back.  We already have
caches around these DB accesses to avoid multiple "gets"
actually hitting the DB, but we can avoid the initial "get"
missing in many cases by seeding the associated cache when
we put the item into the DB.

An example of this is chrdicts and the chrdict cache, where
it's common to call `addChange` followed by `getChange`.
This results in two DB accesses when it really only needs to
be one.


  Commit: 1ead2bfda4242050910a62d6647734aa974c4788
      https://github.com/buildbot/buildbot/commit/1ead2bfda4242050910a62d6647734aa974c4788
  Author: Ludovic Chabant <ludovic at chabant.com>
  Date:   2014-04-08 (Tue, 08 Apr 2014)

  Changed paths:
    M master/buildbot/steps/mswin.py
    M master/docs/manual/cfg-buildsteps.rst

  Log Message:
  -----------
  Add more parameters to the Robocopy step on Windows.


  Commit: f154ad16b70da3b7a23227d677c26c3d77f4fcc5
      https://github.com/buildbot/buildbot/commit/f154ad16b70da3b7a23227d677c26c3d77f4fcc5
  Author: Ludovic Chabant <ludovic at chabant.com>
  Date:   2014-04-08 (Tue, 08 Apr 2014)

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

  Log Message:
  -----------
  Added more tests for Robocopy.


  Commit: 271c1df0111e5453f3d7247d3df4bcd2786b6437
      https://github.com/buildbot/buildbot/commit/271c1df0111e5453f3d7247d3df4bcd2786b6437
  Author: Dustin J. Mitchell <dustin at buildbot.net>
  Date:   2014-04-08 (Tue, 08 Apr 2014)

  Changed paths:
    M master/buildbot/test/fake/fakemaster.py
    M master/buildbot/test/unit/test_util_lru.py
    M master/buildbot/util/lru.py
    M master/docs/developer/utils.rst

  Log Message:
  -----------
  Merge andrewjcg/buildbot:cache_set (PR #1125)


  Commit: d3364bff14663a422a7bc4a5a6cdede14645cc56
      https://github.com/buildbot/buildbot/commit/d3364bff14663a422a7bc4a5a6cdede14645cc56
  Author: Dustin J. Mitchell <dustin at buildbot.net>
  Date:   2014-04-09 (Wed, 09 Apr 2014)

  Changed paths:
    M master/buildbot/steps/mswin.py
    M master/buildbot/test/unit/test_steps_mswin.py
    M master/docs/manual/cfg-buildsteps.rst

  Log Message:
  -----------
  Merge ludovicchabant/buildbot:mswinsteps (PR #1129)

+autopep8, pyflakes


  Commit: b66cc92ee5a7ec0e923c7ab2055a38d07ac3515c
      https://github.com/buildbot/buildbot/commit/b66cc92ee5a7ec0e923c7ab2055a38d07ac3515c
  Author: Ed Morley <emorley at mozilla.com>
  Date:   2014-04-11 (Fri, 11 Apr 2014)

  Changed paths:
    M slave/buildslave/runprocess.py

  Log Message:
  -----------
  For timeouts include the command being run in the failure string


  Commit: a96d7685392d9d8d95bc90fabc4250533d4b5604
      https://github.com/buildbot/buildbot/commit/a96d7685392d9d8d95bc90fabc4250533d4b5604
  Author: Dan Kegel <dank at oblong.com>
  Date:   2014-04-11 (Fri, 11 Apr 2014)

  Changed paths:
    M master/docs/manual/cfg-statustargets.rst

  Log Message:
  -----------
  Remove duplicate in doc for 'all' email status mode.


  Commit: 5c11ec8afef2f8ac1dca1ff3001f3a3973990af4
      https://github.com/buildbot/buildbot/commit/5c11ec8afef2f8ac1dca1ff3001f3a3973990af4
  Author: Alexis La Goutte <alexis.lagoutte at gmail.com>
  Date:   2014-04-13 (Sun, 13 Apr 2014)

  Changed paths:
    A master/docs/examples/git_gerrit.cfg
    M master/docs/manual/cfg-changesources.rst

  Log Message:
  -----------
  Add a master git+Gerrit configuration sample


  Commit: cf4c10c2372db16290c2bd1ab86d4a14227d5f13
      https://github.com/buildbot/buildbot/commit/cf4c10c2372db16290c2bd1ab86d4a14227d5f13
  Author: Dustin J. Mitchell <dustin at buildbot.net>
  Date:   2014-04-14 (Mon, 14 Apr 2014)

  Changed paths:
    M master/buildbot/status/buildset.py
    M master/buildbot/test/unit/test_status_buildset.py

  Log Message:
  -----------
  ensure that summaryUnsubscribe succeeds

`summaryUnsubscribe` shoud be callable even if `summarySubscribe` hasn't
been called.  Fixes #2756.


  Commit: b1b07eb9038cb89c873924e8375ddc07ca6f091e
      https://github.com/buildbot/buildbot/commit/b1b07eb9038cb89c873924e8375ddc07ca6f091e
  Author: Richard O'Grady <rjogrady at google.com>
  Date:   2014-04-14 (Mon, 14 Apr 2014)

  Changed paths:
    M master/buildbot/steps/source/repo.py
    M master/buildbot/test/unit/test_steps_source_repo.py

  Log Message:
  -----------
  Support for --depth flag to repo init.

This allows checking out a shallow clone with reduced history.


  Commit: 26239f2c9c69ff249a5c563e3235d1759bce9226
      https://github.com/buildbot/buildbot/commit/26239f2c9c69ff249a5c563e3235d1759bce9226
  Author: Samuel de Medeiros Queiroz <samuel at samuel.ms>
  Date:   2014-04-15 (Tue, 15 Apr 2014)

  Changed paths:
    M master/buildbot/test/unit/test_master.py
    M master/buildbot/test/unit/test_scripts_create_master.py
    M master/buildbot/test/unit/test_scripts_upgrade_master.py

  Log Message:
  -----------
  (fixes #2754)


  Commit: 5dcce787171f0d043cf295823728cdb021169227
      https://github.com/buildbot/buildbot/commit/5dcce787171f0d043cf295823728cdb021169227
  Author: Samuel de Medeiros Queiroz <samuel at samuel.ms>
  Date:   2014-04-15 (Tue, 15 Apr 2014)

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

  Log Message:
  -----------
  (fixes #2754)


  Commit: c34a301362143297957ca47bd54a999125d76a2c
      https://github.com/buildbot/buildbot/commit/c34a301362143297957ca47bd54a999125d76a2c
  Author: Dustin J. Mitchell <dustin at buildbot.net>
  Date:   2014-04-16 (Wed, 16 Apr 2014)

  Changed paths:
    M master/buildbot/test/unit/test_master.py
    M master/buildbot/test/unit/test_scripts_create_master.py
    M master/buildbot/test/unit/test_scripts_upgrade_master.py

  Log Message:
  -----------
  Merge samuelmz/buildbot:fixes#2754 (PR #1134)


  Commit: aceb573d0ffefecf0fa527f05c21d5095bc13799
      https://github.com/buildbot/buildbot/commit/aceb573d0ffefecf0fa527f05c21d5095bc13799
  Author: Dustin J. Mitchell <dustin at buildbot.net>
  Date:   2014-04-16 (Wed, 16 Apr 2014)

  Changed paths:
    M slave/buildslave/runprocess.py

  Log Message:
  -----------
  Merge edmorley/buildbot:master (PR #1130)


  Commit: 7d8113d801b5f50f961fe1cba9785f3976932f07
      https://github.com/buildbot/buildbot/commit/7d8113d801b5f50f961fe1cba9785f3976932f07
  Author: Dustin J. Mitchell <dustin at buildbot.net>
  Date:   2014-04-16 (Wed, 16 Apr 2014)

  Changed paths:
    M master/docs/manual/cfg-statustargets.rst

  Log Message:
  -----------
  Merge dankegel/buildbot-x:master (PR #1131)


  Commit: c094fdca25d55d1808687d5610f87a66a318f56d
      https://github.com/buildbot/buildbot/commit/c094fdca25d55d1808687d5610f87a66a318f56d
  Author: Dustin J. Mitchell <dustin at buildbot.net>
  Date:   2014-04-16 (Wed, 16 Apr 2014)

  Changed paths:
    A master/docs/examples/git_gerrit.cfg
    M master/docs/manual/cfg-changesources.rst

  Log Message:
  -----------
  Merge alagoutte/buildbot:add_git_gerrit_example (PR #1132)


  Commit: 0ebdc735897c87e7fb4c49dc58e65e599c67338c
      https://github.com/buildbot/buildbot/commit/0ebdc735897c87e7fb4c49dc58e65e599c67338c
  Author: Richard O'Grady <rjogrady at google.com>
  Date:   2014-04-17 (Thu, 17 Apr 2014)

  Changed paths:
    M master/docs/manual/cfg-buildsteps.rst
    M master/docs/relnotes/index.rst

  Log Message:
  -----------
  Update docs and release notes for Repo --depth


  Commit: a6dd226c5b2140dc80d7ef6dac6c5974570823c0
      https://github.com/buildbot/buildbot/commit/a6dd226c5b2140dc80d7ef6dac6c5974570823c0
  Author: Dustin J. Mitchell <dustin at buildbot.net>
  Date:   2014-04-17 (Thu, 17 Apr 2014)

  Changed paths:
    M master/buildbot/steps/source/repo.py
    M master/buildbot/test/unit/test_steps_source_repo.py
    M master/docs/manual/cfg-buildsteps.rst
    M master/docs/relnotes/index.rst

  Log Message:
  -----------
  Merge rjogrady/buildbot:master (PR #1133)


  Commit: 80f6744fa8b505f30e6c1d386f0df52c05b69550
      https://github.com/buildbot/buildbot/commit/80f6744fa8b505f30e6c1d386f0df52c05b69550
  Author: Dustin J. Mitchell <dustin at buildbot.net>
  Date:   2014-04-17 (Thu, 17 Apr 2014)

  Changed paths:
    M master/buildbot/steps/source/repo.py
    M master/buildbot/test/unit/test_steps_source_repo.py

  Log Message:
  -----------
  rename repoDepth to just plain depth, and add a test for it


  Commit: 67e8d08f741c9cd99d84e7092b6575d919cae726
      https://github.com/buildbot/buildbot/commit/67e8d08f741c9cd99d84e7092b6575d919cae726
  Author: Dustin J. Mitchell <dustin at buildbot.net>
  Date:   2014-04-17 (Thu, 17 Apr 2014)

  Changed paths:
    M master/buildbot/status/buildset.py
    M master/buildbot/steps/mswin.py
    M master/buildbot/steps/source/repo.py
    M master/buildbot/test/fake/fakemaster.py
    M master/buildbot/test/unit/test_master.py
    M master/buildbot/test/unit/test_scripts_create_master.py
    M master/buildbot/test/unit/test_scripts_upgrade_master.py
    M master/buildbot/test/unit/test_status_buildset.py
    M master/buildbot/test/unit/test_steps_mswin.py
    M master/buildbot/test/unit/test_steps_source_repo.py
    M master/buildbot/test/unit/test_util_lru.py
    M master/buildbot/util/lru.py
    M master/docs/developer/utils.rst
    A master/docs/examples/git_gerrit.cfg
    M master/docs/manual/cfg-buildsteps.rst
    M master/docs/manual/cfg-changesources.rst
    M master/docs/manual/cfg-statustargets.rst
    M master/docs/relnotes/index.rst
    M slave/buildslave/runprocess.py

  Log Message:
  -----------
  Merge branch 'master' into nine

Conflicts:
	master/buildbot/test/unit/test_master.py


  Commit: 0a2ffe57ce928a6ed49a97fe1b649658d8d112cb
      https://github.com/buildbot/buildbot/commit/0a2ffe57ce928a6ed49a97fe1b649658d8d112cb
  Author: Dustin J. Mitchell <dustin at buildbot.net>
  Date:   2014-04-17 (Thu, 17 Apr 2014)

  Changed paths:
    M master/buildbot/test/unit/test_schedulers_basic.py
    M master/buildbot/test/unit/test_www_auth.py
    M master/buildbot/test/unit/test_www_config.py

  Log Message:
  -----------
  replace vacuuous mock.assert_called with mock.assert_called_with()


Compare: https://github.com/buildbot/buildbot/compare/d246b5411ec7...0a2ffe57ce92


More information about the Commits mailing list