Those are basically aliases that are guaranteed forward compatible. Le ven. 14 août 2020 à 18:31, Povilas Kanapickas <povi...@radix.lt> a écrit :
> Hi, > > On 8/13/20 11:13 PM, Ryan Schmidt wrote: > > What's the difference between util.Property and > buildbot.process.properties.Property? > > 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. > > Cheers, > Povilas > > > 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? > > > > _______________________________________________ > > users mailing list > > users@buildbot.net > > https://lists.buildbot.net/mailman/listinfo/users > > > _______________________________________________ > users mailing list > users@buildbot.net > https://lists.buildbot.net/mailman/listinfo/users >
_______________________________________________ users mailing list users@buildbot.net https://lists.buildbot.net/mailman/listinfo/users