Friday, 2025-05-23

-@gerrit:opendev.org- Zuul merged on behalf of Simon Westphahl: [zuul/zuul] 950510: Allow enqueing multiple items for different images https://review.opendev.org/c/zuul/zuul/+/95051006:40
@aureliojargas:matrix.orgHey guys, GitHub is getting really pushy on telling us to use rulesets instead of "classic" branch protection.12:07
@aureliojargas:matrix.orgI did some tests here and branches added to rulesets do not appear as protected branches do Zuul.12:08
@aureliojargas:matrix.orgAm I doing something wrong or Zuul does not support rulesets? I haven't found anything in the docs about it.12:08
@aureliojargas:matrix.org* I did some tests here and branches added to rulesets do not appear as protected branches to Zuul.12:09
@clarkb:matrix.orgdoing a quick read of some docs I think classic branch protection is explicitly set per branch and zuul currently knows how to ask the api for lists of those protections so it can update its internal state. Rulesets are more nebulous and apply globbing matches to branch names to apply their rules. So rather than check if branch foo is protected or unprotected you need to get all the rulesets then get all the branches then internally apply the same matching to determine branch state15:57
@clarkb:matrix.orgI dont' think zuul is doing any of that today15:57
@fungicide:matrix.organd i have doubts github has an open source python library for interpreting its rulesets15:59

Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!