[users at bb.net] util.Property vs buildbot.process.properties.Property
tardyp at gmail.com
Fri Aug 14 16:42:20 UTC 2020
Those are basically aliases that are guaranteed forward compatible.
Le ven. 14 août 2020 à 18:31, Povilas Kanapickas <povilas at radix.lt> a
> On 8/13/20 11:13 PM, Ryan Schmidt wrote:
> > What's the difference between util.Property and
> These two are the same.
> util.Property comes from the buildbot.util package which contains a
> bunch of miscellaneous stuff as entry points.
> buildbot.process.properties.Property is one of them.
> > 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:
> > 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?
> > _______________________________________________
> > users mailing list
> > users at buildbot.net
> > https://lists.buildbot.net/mailman/listinfo/users
> users mailing list
> users at buildbot.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users