Tuesday, 2026-06-23

*** bauzas7 is now known as bauzas01:54
opendevreviewDr. Jens Harbott proposed openstack/project-config master: Drop x/neutron-interconnection from zuul  https://review.opendev.org/c/openstack/project-config/+/99439205:42
*** vhari_ is now known as vhari10:28
opendevreviewMerged openstack/project-config master: Drop x/neutron-interconnection from zuul  https://review.opendev.org/c/openstack/project-config/+/99439210:51
opendevreviewMerged openstack/openstack-zuul-jobs master: Drop unneeded ansible-version pins  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/99417313:25
*** ykarel_ is now known as ykarel13:26
opendevreviewDr. Jens Harbott proposed openstack/openstack-zuul-jobs master: Drop openstack-python3-train-jobs-neutron template  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/99418813:39
opendevreviewMerged openstack/openstack-zuul-jobs master: Add openstack-tox-py315 job  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/99277113:55
opendevreviewMerged openstack/openstack-zuul-jobs master: Add openstack-python3-next-jobs template  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/99333714:15
stephenfinclarkb: fungi: Are either of you aware of any automated tooling for messing with .zuul.yaml files?15:26
stephenfinI'm trying to automate the addition of that new openstack-python3-next-jobs template to all Oslo/SDK deliverables, but it seems ruamel won't roundtrip exactly if formatting isn't consistent (i.e. we indent list items in one place but not another)15:26
stephenfinMy plan is just add a style-only commit beforehand that makes that formatting consistent, but I'm wondering if there's a better way that isn't using sed/awk :D15:27
fungistephenfin: pyyaml or ruaml-yaml is probably your best bet15:30
clarkbthere is a tool in zuul/zuul-jobs that populates jobs for various platforms15:30
clarkbthat is probably a good reference and I think it uses ruamel15:30
fungiyeah, i expect tha choice was mainly to preserve inline comments15:30
clarkbtools/update-test-platforms.py15:30
* stephenfin looks15:41
stephenfinOkay, that aligns with what I was doing, only most/all of these repos are not running yamllint so that's why we see the indentation changes15:46
stephenfin...which suggests my idea of fixing those in a precursor commit probably makes sense so15:46
fungii have a recipe for a pyyaml writer subclass/override so that it emits formatting compatible with yamllint, if you need something like that15:47
fungithough pyyaml won't preserve comments, so you may not want to go that route15:47
stephenfinwe probably need to keep comments so I think ruamel is my answer15:50
fungithe main issue i run into with pyyaml writer vs pylint is that they disagree on how much to indent array elements15:52
fungimaybe ruaml has something to make that easier15:53
clarkbI think there is an open bug against ruamel for the indentation issues15:57
clarkbI don't think the answer there is to break the indentation globally15:57
clarkbI'm noticing more and more people are pushing changes that mix up formatting changes with modifying the code for semantic reasons15:59
clarkbIt is now to the point where the burden is high enough that I feel I needt o styart -1'ing all of these changes15:59
clarkbI don't think it is appropriate for people to apply their personal formatting rules on existing code bases15:59
clarkbif you want to start things with your tools thats fine I'll follow along. But I really don't think it is appropriate that I have to constantly ask people to stop making these changes16:00
fungii think a lot of people have their editor/ide set up to auto-reformat any file they touch16:02
fungiwhich is an antisocial configuration for participating in an open source project's code review workflow16:03
opendevreviewMerged openstack/project-config master: sunbeam: retire all single charm repositories  https://review.opendev.org/c/openstack/project-config/+/90366616:23

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