Monday, 2025-05-05

frickleroh, wow, we are saved. for now. https://github.com/pypa/setuptools/issues/497606:20
*** elodille1 is now known as elodilles07:57
opendevreviewLukas Kranz proposed zuul/zuul-jobs master: Add limit-log-file-size role  https://review.opendev.org/c/zuul/zuul-jobs/+/94579508:17
opendevreviewLukas Kranz proposed zuul/zuul-jobs master: Add limit-log-file-size role  https://review.opendev.org/c/zuul/zuul-jobs/+/94579508:21
funginever the less, we need to figure out how to migrate pbr off those interfaces before the next attempt at removal15:42
mordredif they're wanting to walk away from ScriptWriter, we could just pull that class into pbr pretty easily15:49
JayFI'd suggest just asking them in an issue15:59
fungiyeah, also need to address the current bitrot in pbr's tests since the last patch we merged over 3 months ago16:02
dan_withHey, I was wondering I could talk to you about your branching strategies in your repos. Currently, I'm hashing that out with my team about our Genestack repo. Right now, people want to basically follow this: https://wiki.openstack.org/wiki/Branch_Model. However, this diagram doesn't show how/where dev work is being done. I'm assuming that that each OpenStack team does have dev and testing branches? I'm of the opinion that a dev branch 19:48
dan_withexist where people make PRs against a staging/testing branch that is CI tested. When everything passes on staging/testing branch, I would make a merge commit to main, then make a release candidate off of main. Additionally cherry picks would be back ported at that point to previous releases. I'm trying to short circuit arguments and it may help to hear how OpenStack teams are actually doing their entire repo workflow. Thanks. No rush on 19:48
dan_withan answer.19:48
JayFdan_with: no, we don't have dev or testing branches19:50
JayFmaster branch, every commit put to it must pass CI 19:50
JayFand CI includes integration testing19:50
JayFdan_with: workflow is basically: checkout master; create a branch if you want (not required); add a commit on that branch (usually exactly one); git review19:51
JayFwhen we get code review +2 twice, and workflow +1, it goes into a queue to be CI checked again then merged into master19:51
JayFwe create alternate branches at major release time, using tooling from https://opendev.org/openstack/releases19:52
JayFe.g. https://opendev.org/openstack/releases/src/branch/master/deliverables/dalmatian/ironic.yaml describes the creation of 4 releases and 3 stable/bugfix branches19:52
JayFif we have a backportable patch, we cherry pick from master to the latest stable, all the way back in chronological order, like a backport chain19:53
JayFI've never once seen an openstack project use a traditional "feature branch" style dev model, although I suspect it has happened ever in some project for some kinda major change, but  it's def abnormal19:53
JayFdan_with: sorry wasn't 100% sure what you were asking so I gave you the full brain dump; is that helpful?19:54
dan_withOk, so do you have the ability in this workflow to make a PR to master, but designate it as WIP? How do you flag/tag it for that versus "I'm ready for a review and CI testing"?19:54
dan_withThanks. That is helpful19:55
JayFso gerrit has an idea of "work in progress"19:56
dan_withAh Gerrit. We are using Git.19:56
JayFbut a lot of folks who work with gerrit ... well, I'll speak for me ... *I* don't really have an idea of using branches around my patchsets19:56
JayFI use `git review` to push the patchset to gerrit, and `git review -d` to download it again if it needs edits19:56
JayFif I push a change and don't want people to waste time reviewing it, there's a gerrit concept of WIP that is used rarely (mainly because it's newer) and many projects just use a self-vote of Workflow-1 as a symbol that it's not ready19:57
JayFif I have a real **branch** with multiple dependant commits, `git review -d [last patchset]` pulls the whole chain19:57
JayFdan_with: fwiw, gerrit is the code review at review.opendev.org; it's still git behind it19:58
JayFif you're using a pure push-to-master-using-git workflow, that's sorta antiquated by a lot of modern standards :/ 19:58
dan_withI see. okay thanks. I'll review Gerrit and see how that would change how we would approach this.19:59
JayFdan_with: https://docs.opendev.org/opendev/infra-manual/latest/sandbox.html may be useful?20:00
dan_withNice! thank you20:00
JayFbasically: throw away everything you think about PRs and github, gerrit looks at things a little differently but it leads to a lot of really nice outcomes (personal favorite: commit message as a code reviewable item)20:01
dan_withAh yeah, this is the way to go (Gerrit) for sure. On the sandbox, I guess I have to have a Gerrit user within Opendev?20:12
JayFyeah if you haven't gone thru that whole guide, it's useful if you're planning on contributing to opendev projects 20:16
JayFhttps://docs.opendev.org/opendev/infra-manual/latest/gettingstarted.html20:16
fungidan_with: one way to look at it is that we have an infinite number of "testing branches" like the github pull requests you're familiar with, and a continuous integration/project gating system called "zuul" which takes care to merge them to master once they've been positively reviewed, approved, and are passing all required test jobs20:57
dan_withgotcha20:58
fungidan_with: if you're just wanting to play around with opendev's gerrit then the infra-manual and sandbox repo are the way to go. if you're considering contributing to openstack on the other hand you'll want to start at the beginning of the openstack contributor guide which will walk you through some additional openstack-specific bits: https://docs.openstack.org/doc-contrib-guide/21:00
dan_withThanks21:01
JayFWhat /is/ the meta-reason for the ask?21:01
fungidan_with: oh, wait, wrong contributor guide... this one: https://docs.openstack.org/contributors/21:02
fungimy first link was to the docs contributing instructions not the general openstack contributing instructions21:02
fungii blame dodgy airplane wifi21:02
opendevreviewHarald JensÃ¥s proposed openstack/diskimage-builder master: Fix growvols multipath partition_delimiter detect  https://review.opendev.org/c/openstack/diskimage-builder/+/92407422:08

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