[users at bb.net] util.Property vs buildbot.process.properties.Property

Ryan Schmidt buildbot at ryandesign.com
Thu Aug 13 20:13:29 UTC 2020


What's the difference between util.Property and buildbot.process.properties.Property?

Most of the documentation suggests using util.Property but on this page when describing set_properties it shows an example using just Property and mentions that it is an instance of buildbot.process.properties.Property:

http://docs.buildbot.net/latest/manual/configuration/steps/trigger.html?highlight=set_properties#trigger

This suggests to me that we should be (and in our current 0.8 configuration we are) using "from buildbot.process.properties import Property" and referring to it as "Property" when using it in "set_properties". We also have "from buildbot.plugins import util" and use "util.Property" in our other build steps. Do we really need to be making that distinction or should we (in our new 2.8.2 configuration) be using "util.Property" everywhere?



More information about the users mailing list