[devel at bb.net] Review request for bug2340 branch ("slave"->"worker" renaming in master)

Vladimir Rutsky rutsky.vladimir at gmail.com
Mon Feb 15 10:25:38 UTC 2016


Hello!

I finished main parts of renaming in master and asking to review my changes.
Few more little changes are expected to land in that branch, but they can
be applied and after bug2340 branch merging.

Main goal of this branch is to rename all "slave" to "worker" in master 
part of
Buildbot (i.e. buildslave module and communication with it from master are
not touched). API that is available in eight branch is changed in backward
compatible way, API that were introduced in nine branch renamed without
providing fallback.
Buildbot should be completely function in bug2340 branch, changes in master
branch are merged into it.

Actual list of topics to take a look at available in PR description:
https://github.com/buildbot/buildbot/pull/1962

Review high-level API changes
-----

- [x] PR with high-level changes for review: 
https://github.com/buildbot/buildbot/pull/1961
(done by Dustin)

Review Database schema migration
-----

- [ ] 
https://github.com/buildbot/buildbot/blob/bug2340/master/buildbot/db/migrate/versions/045_worker_transition.py
https://github.com/buildbot/buildbot/blob/bug2340/master/buildbot/test/unit/test_db_migrate_versions_045_worker_transition.py
https://github.com/buildbot/buildbot/blob/bug2340/master/buildbot/db/model.py

      This also fixes http://trac.buildbot.net/ticket/3088.

Review old names fallback support
-----
- [ ] Methods for providing fallbacks implemented here: 
https://github.com/buildbot/buildbot/blob/bug2340/master/buildbot/worker_transition.py

       Tests for them: 
https://github.com/buildbot/buildbot/blob/bug2340/master/buildbot/test/unit/test_worker_transition.py

Review warnings catching helpers
-----

- [ ] Warnings catching helpers: 
https://github.com/buildbot/buildbot/blob/bug2340/master/buildbot/test/util/warnings.py

       Tests: 
https://github.com/buildbot/buildbot/blob/bug2340/master/buildbot/test/unit/test_test_util_warnings.py

Review fallbacks support in Plugins
-----

- [ ] 
https://github.com/buildbot/buildbot/blob/bug2340/master/buildbot/plugins/db.py#L365
https://github.com/buildbot/buildbot/blob/bug2340/master/buildbot/plugins/__init__.py#L42

       Tests: 
https://github.com/buildbot/buildbot/blob/bug2340/master/buildbot/test/unit/test_plugins.py#L284

Review fallback for properties
-----

- [ ] Take a look at 
https://github.com/buildbot/buildbot/blob/bug2340/master/buildbot/process/properties.py#L429 
and check usage of `_on_property_usage()` in this module.

       Tests: 
https://github.com/buildbot/buildbot/blob/bug2340/master/buildbot/test/unit/test_process_properties.py#L1521

Review raw diff
-----

- [ ] To get raw diff via git:

git clone https://github.com/buildbot/buildbot.git
cd buildbot
git fetch --all
git diff origin/master...origin/bug2340


Regards,

Vladimir Rutsky



More information about the devel mailing list