Friday, 2023-12-22

opendevreviewMatthew Thode proposed openstack/diskimage-builder master: gentoo: don't uninstall packages that aren't installed  https://review.opendev.org/c/openstack/diskimage-builder/+/90423600:07
opendevreviewMatthew Thode proposed openstack/diskimage-builder master: gentoo: don't uninstall packages that aren't installed  https://review.opendev.org/c/openstack/diskimage-builder/+/90423600:08
opendevreviewSteve Baker proposed openstack/diskimage-builder master: Add san support to growvols  https://review.opendev.org/c/openstack/diskimage-builder/+/90326500:39
opendevreviewMatthew Thode proposed openstack/diskimage-builder master: gentoo: don't uninstall packages that aren't installed  https://review.opendev.org/c/openstack/diskimage-builder/+/90423601:25
opendevreviewMatthew Thode proposed openstack/diskimage-builder master: DNM: gentoo: don't uninstall packages that aren't installed  https://review.opendev.org/c/openstack/diskimage-builder/+/90423603:51
opendevreviewMatthew Thode proposed openstack/diskimage-builder master: DNM: gentoo: don't uninstall packages that aren't installed  https://review.opendev.org/c/openstack/diskimage-builder/+/90423603:56
opendevreviewJeremy Stanley proposed opendev/engagement master: Fix configuration for tox v4  https://review.opendev.org/c/opendev/engagement/+/90428614:12
opendevreviewJeremy Stanley proposed opendev/engagement master: Handle HTTP responses in raw form  https://review.opendev.org/c/opendev/engagement/+/90428714:12
opendevreviewJeremy Stanley proposed opendev/engagement master: Only paginate queries by integer values  https://review.opendev.org/c/opendev/engagement/+/90428814:12
opendevreviewJeremy Stanley proposed opendev/engagement master: Loop over all namespaces for committers/reviewers  https://review.opendev.org/c/opendev/engagement/+/90428914:12
opendevreviewJeremy Stanley proposed opendev/engagement master: Loop over all namespaces for committers/reviewers  https://review.opendev.org/c/opendev/engagement/+/90428914:35
opendevreviewJeremy Stanley proposed opendev/engagement master: Loop over all namespaces for committers/reviewers  https://review.opendev.org/c/opendev/engagement/+/90428915:01
opendevreviewJeremy Stanley proposed opendev/engagement master: Fix configuration for tox v4  https://review.opendev.org/c/opendev/engagement/+/90428615:22
opendevreviewJeremy Stanley proposed opendev/engagement master: Handle HTTP responses in raw form  https://review.opendev.org/c/opendev/engagement/+/90428715:22
opendevreviewJeremy Stanley proposed opendev/engagement master: Only paginate queries by integer values  https://review.opendev.org/c/opendev/engagement/+/90428815:22
opendevreviewJeremy Stanley proposed opendev/engagement master: Loop over all namespaces for committers/reviewers  https://review.opendev.org/c/opendev/engagement/+/90428915:22
opendevreviewMerged opendev/engagement master: Fix configuration for tox v4  https://review.opendev.org/c/opendev/engagement/+/90428615:41
opendevreviewMerged opendev/engagement master: Handle HTTP responses in raw form  https://review.opendev.org/c/opendev/engagement/+/90428715:43
opendevreviewMerged opendev/engagement master: Only paginate queries by integer values  https://review.opendev.org/c/opendev/engagement/+/90428815:44
fungii'm disappearing for a bit to find lunch, should be back before 19z17:39
clarkbI apparently failed to do a proper squash of the gitea change yesterday when I was updating things arg17:48
clarkbI guess that goes to show my brain isn't fully working yet. I'll get that sorted out today and re recycle the held node17:49
clarkb(I tend to make edits at the very end of my stacks and then "squash" back into the appropriate stack location. Problem is I didn't remove the newly generated changeid so I got a new change)17:51
opendevreviewClark Boylan proposed opendev/system-config master: Update gitea to 1.21.3  https://review.opendev.org/c/opendev/system-config/+/89767918:29
opendevreviewClark Boylan proposed opendev/system-config master: DNM intentional gitea failure to hold a node  https://review.opendev.org/c/opendev/system-config/+/84818118:29
clarkbok that should sort out my screw up with the gitea stack18:30
opendevreviewMerged opendev/engagement master: Loop over all namespaces for committers/reviewers  https://review.opendev.org/c/opendev/engagement/+/90428919:10
fricklerfungi: question on https://review.opendev.org/c/opendev/engagement/+/90428719:12
fungiaha, good catch. i'll fix that, though i haven't really tried response recording/replay since the very early days of working on that project. i thought it was going to be a good idea to record api responses and then replay them for rapid testing, but it turned out to be tricky to instrument19:17
fungiit probably needs something like pickle to actually record the raw response from requests.get() now19:19
fungior a stand-in class that has its own text attribute and store it there19:20
opendevreviewJeremy Stanley proposed opendev/engagement master: Record raw responses  https://review.opendev.org/c/opendev/engagement/+/90429819:21
opendevreviewMatthew Thode proposed openstack/diskimage-builder master: DNM: gentoo: don't uninstall packages that aren't installed  https://review.opendev.org/c/openstack/diskimage-builder/+/90423619:26
prometheanfirecould I get a second look at this bash?  from what I can see it should be right but isn't, "if searched for package is 'not' not installed (is installed)..."21:27
prometheanfirehttps://review.opendev.org/c/openstack/diskimage-builder/+/904236/9/diskimage_builder/elements/gentoo/bin/install-packages#13521:27
prometheanfirewe can see that the package shows as not installed but the check doesn't seem to catch it21:28
prometheanfirehttps://zuul.opendev.org/t/openstack/build/f77e67ef70914afc836ce5179d5678b3/log/nodepool/builds/test-image-d5786af040e64927b55d5cd1cc796093.log#271421:28
Clark[m]https://158.69.67.24:3081/opendev/system-config is the new held node for the fixed up gitea stack21:30
Clark[m]prometheanfire: does the ! Need to be part of a test command?21:40
prometheanfireClark[m]: `emerge --search "^${PKG}$" | grep -q 'Not Installed'` returns 0 if package is not installed21:43
prometheanfireif ! success (package not installed) == if package not installed21:44
prometheanfirebah21:45
prometheanfireif ! success (package not installed) == if package not not installed == if package installed21:45
prometheanfireif package installed add to the filtered uninstall list21:45
prometheanfirethat should be the logic21:46
prometheanfirecould be simplified down to `$(emerge --search "^${PKG}$" | grep -q 'Not Installed') || CLEANED_PKGS+=("${PKG}")`21:47
prometheanfirethis returns 'not uninstalling cloud-init'  PKG=cloud-init; ! $(emerge --search "^${PKG}$" | grep -q 'Not Installed') && echo "uninstalling $PKG" || echo "not uninstalling $PKG"21:47
prometheanfirelocally, cloud-init is not installed21:48
Clark[m]Ya I was just asking if syntactically you need the ! Inside [ because sh vs bash or something 21:50
prometheanfireI've tried it with and without the subshell, I don't think [ is actually required but worth trying21:51
Clark[m]My read of the job log was that the negation wasn't happening as expected causing it to try and remove a package that is already not installed so wondered if something with the negation was at fault21:51
prometheanfireya, could be, I'll add [], it does look like it needs to be inside the brackets21:52
opendevreviewMatthew Thode proposed openstack/diskimage-builder master: DNM: gentoo: don't uninstall packages that aren't installed  https://review.opendev.org/c/openstack/diskimage-builder/+/90423621:58
NeilHanlondumb question, maybe ... can I Depends-On a change in a different project & different branch? Or, is this just not necessary23:11
Clark[m]NeilHanlon: you can depends on changes on different branches. This can be useful for testing upgrade path updates for example23:27

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