Tuesday, 2022-12-13

*** rlandy is now known as rlandy|out00:28
*** dviroel|rover|out is now known as dviroel|rover01:12
*** dviroel|rover is now known as dviroel|rover|out01:36
*** blarnath is now known as d34dh0r5303:37
*** blarnath is now known as d34dh0r5303:52
*** yadnesh|away is now known as yadnesh04:47
*** akekane is now known as abhishekk05:09
*** jpena|off is now known as jpena08:27
opendevreviewMerged openstack/project-config master: Flip jeepyb over to building Gerrit 3.6  https://review.opendev.org/c/openstack/project-config/+/86731409:41
*** rlandy|out is now known as rlandy11:17
*** dviroel|rover|out is now known as dviroel|rover11:18
*** frenzy_friday is now known as frenzy_friday|doc11:34
*** sfinucan is now known as stephenfin12:04
*** yadnesh is now known as yadnesh|away13:34
*** dasm|off is now known as dasm14:00
*** dulek_ is now known as dulek14:06
*** akekane is now known as abhishekk14:10
*** frenzy_friday|doc is now known as frenzy_friday14:57
sean-k-mooneyi assume a new verion fo gerrit rolled out recently15:03
fungisean-k-mooney: yes, it was announced maintenance for 20:00 utc yesterday15:04
fungiupgraded from gerrit 3.5.x to latest 3.6.x15:05
sean-k-mooneythat explaine the ugly +/- votes15:05
sean-k-mooneythe grouping of the +1becide codereview and addign it to the reviews names at the top is ux regression15:07
sean-k-mooneyi assume like the comments propagation that this is not configurable15:07
clarkbit isn't as far as I know15:09
sean-k-mooneyok that kind of sucks it makes it less clear at a glance if people i trust have reviewd a patch15:11
clarkbthere was upstream discussion about it briefly not too long ago but I didn't follow it too closely. As I've mentioned in #opendev yesterday we can't really drive customization of Gerrit like we did in the past. It was the major reason for us being stuck on ancient Gerrit for so long. If we want to improve things we need to do that upstream first. The good news is upstream is15:11
clarkbreceptive to the feedbacka nd if people write changes (of which I've written a few since we got to 3.2) they are often landed pretty quickly15:11
clarkbsean-k-mooney: you can hover the votes to see the details15:11
clarkband the comments list at the bottom of the page still lists them all when they were set15:11
sean-k-mooneyyep i know thats still a regression in ux15:11
sean-k-mooneyill adapt but its just kind of annoying15:12
clarkbsure, I'm just making sure people are aware that the info is still a vailable as that wasn't clear to some people yesterday15:12
clarkbit is a regression in useability not functionality15:12
clarkbif that makes sense15:12
sean-k-mooneyits also in the reviers section in the chagne info15:12
sean-k-mooneybut that just more noisy15:12
sean-k-mooneyoh ya the info is still there its just presented in a less clear way and form a usablity point of view hover based info is generally not good for acciblity in general15:13
fungimore generally, i do wish developers responsible for user interfaces realized that every minor "improvement" to a ui comes as significant cost to users whose workflows have vitrified around the extant state of that ui15:14
sean-k-mooneythey did add a tickbox to disable all keyboard shortcuts15:15
clarkbpart of the struggle here I think is that the majority of UX work is driven by google. This is beacuse they have two large gerrit installs (chrome and android) informing their needs and they are willing to put devs on it15:15
sean-k-mooneythats an improvement15:15
fungiand so "minor improvements" to a ui are generally a bad idea. making a noticeable change to a ui really needs substantial justification in terms of benefits that outweigh the substantial cost to users15:15
clarkbAnd until anyone else provides feedback thats the direction it goes15:15
clarkbsean-k-mooney: just 10 minutes ago thunderbird did things I didn't understand because I hit some keys when I thought focus was elsewhere. I didn't realize gerrit had that option now thats a good one15:16
fungiwell, ui developers really don't like to hear "please stop changing things" but for the most part users like software interfaces to remain stable and not constantly change15:16
clarkbalso gerrit highlights the current line in the diff view a bit better which makes it easier to see what your context is if using keyboard shortcuts to control stuff15:16
sean-k-mooneyctrl-a ctrl-d in screen is detach15:16
sean-k-mooneyin outlook its select all email and delete them15:16
sean-k-mooneyclarkb: actully i was looking for how to turn that off becasue it also kep the selection box when you change files15:17
fungii also really wish "web applications" didn't implement keybindings, or that browsers made it easy to completely disable them15:17
fungii have my own keybindings already, and don't want to have to deal with every single application developer's opinions on what my keypresses should mean15:18
sean-k-mooneyi dont actuly mind some of them but i do not use vim and i hate when vim keybinding are turned on on such apps and cant be trunned off15:18
clarkbsean-k-mooney: I don't think it is a selection box its just showing the current line. In the past there was a tiny cursor and that was often overlooked15:18
sean-k-mooneyits a box around the current line ya15:18
fungii use a browser extension which implements vim-like keybindings for navigation and control15:18
sean-k-mooneyi was looking to see if i could revert it back15:18
fungibecause i hate using a pointer any more than i can help15:19
sean-k-mooneyya so we both like non configurable keyboard shortcuts for different reasons15:20
sean-k-mooneyi dont object to them but i generally want to turn most of them off15:20
clarkbanyway upstream gerrit is receptive to ui feedback. They don't necessarily make every possible change based on the feedback. They are also receptive to changes. Now that we are running an almost completely up to date Gerrit we have the ability to push patches upstream first and deploy them when they land rathe than forking and getting stuck forever15:20
sean-k-mooneydo you know how i would file a bug or provide that feedback15:21
sean-k-mooneyim happy they added "diable all keyboard shortcuts" and "diable token highlighting on hover"15:21
clarkbyes, they use chrome's bug tracker, https://bugs.chromium.org/p/gerrit/issues/list?can=2, anyone with a google/gmail/whatever account can file there aiui.15:22
clarkbI'm happy to act as proxy for some of those, usually when they are less opinion based and objectively a problem15:22
clarkbits better for things with more nuance and opinion to have actual reporters involved to help capture those details15:23
clarkbthe other option is to send email to their mailing list to generate discussion/consensus around general direction15:23
clarkbthat might be good for higher level things like "don't make seemingly small changes every release as it impacts user workflows" and "Think about accessability with things like hovering for critical info"15:23
sean-k-mooneywhat ill proably do is reflect on it over the break and see how i feel in the new year15:24
clarkbin thunderbird 'p' jumps to the first email in a folder and 't' jumps to the next unread message?15:25
sean-k-mooneyi would have expecte p to be previous if anything15:25
sean-k-mooneyi used to use tunderbird as my primary emial client for years but have been using evolution since i goined redhat since we are usign google mail accounts15:26
fungiexample of my growing hate for keybindings in webapps. i have / configured to search for text in page but sites like github overload that and jump the cursor to their search input form. firefox also understands ctrl-f for search in page, but e.g. gitlab has mapped that to some scrolling feature and also overloads /, so my only option there is to click the drop-down menu in the browser15:29
fungiand choose search in page that way15:29
fungisomething as simple as searching for a pattern in page content or scrolling around a page shouldn't be up to the whims of every single site to decide for themselves15:30
fungiwhich is why i still just use console-based browsers a lot of the time, when i can get away with it15:31
sean-k-mooneyctrl-f is the default in most things for seach15:31
fungiwell, in windows and in software which copied windows norms15:31
fungilike f5 for refresh15:31
fungior ctrl-c/ctrl-v for cut and paste15:31
fungii didn't have those for years in x11, so am still not accustomed to them even today15:32
fungibut it seems lots of application developers have emulated microsoft's keybindings in order to ease transition for former windows users15:33
sean-k-mooneyi started using ctrl-insert and shift-insert for copy paste when i found out that worka across windows linux and mac pretty much everywhere15:33
sean-k-mooneythen i found out there was no insert key on a mac keyboard...15:33
fungii still miss the sun workstation keyboards i used for many years15:34
fungiwhere's my stop key?15:34
clarkbsun type 7 unix keyboards had their super fans when I was at university15:35
sean-k-mooneyi found out year later that the handme down pc  my uncel gave me when i was 6/7 was a second or third generation ibm pc15:35
sean-k-mooneyi was sad that i only knew that after it had been dumpted15:36
clarkbI'm typing on a model m that is older than some of my siblings :)15:36
fungimy early computers (not counting the altair and heathkit assemblies) were tandy/radio shack15:36
sean-k-mooneyi almost had an operturnity to learn about non windows pc when i was young but we only had that for 6 months before i got a windows 3.1 systme also being an handoff form a university15:37
fungithe first computer i had with a full text display with an original model trs-80 (before they started giving them model designations)15:37
sean-k-mooneyfor what its worth other then the ux thing the new version is working fine for me15:47
clarkbya 3.5 -> 3.6 is a fairly small delta I think. Especially when you consider that 3.5 eventually got its jgit and sshd versions updated15:50
clarkb3.7 is a much bigger gap and we'll likely need to spend a bit of time working out that upgrade15:50
*** JasonF is now known as JayF15:53
paladoxUnderhood there are big changes - more components in the UI use Lit (migrating from polymer).15:54
*** dviroel|rover is now known as dviroel|rover|lunch15:57
opendevreviewMerged openstack/project-config master: Scale iweb back to 25% of possible quota  https://review.opendev.org/c/openstack/project-config/+/86726116:13
*** dviroel|rover|lunch is now known as dviroel|rover16:50
opendevreviewAde Lee proposed openstack/project-config master: Add FIPS job for ubuntu  https://review.opendev.org/c/openstack/project-config/+/86711216:57
opendevreviewAde Lee proposed openstack/project-config master: Add FIPS job for ubuntu  https://review.opendev.org/c/openstack/project-config/+/86711217:15
ade_lee__clarkb, fungi please take a look at https://review.opendev.org/c/openstack/project-config/+/867112 and https://review.opendev.org/c/zuul/zuul-jobs/+/86688117:17
ade_lee__of course we'll the first to be merged before the other will pass - but you'll get a sense of the direction17:17
fungiralonsoh: on the tox v4 failures, it looks like neutron made their own tox plugin? those have to be rewritten for v4 since the plugin architecture has completely changed17:32
fungiralonsoh: also even if the default changes in ensure-tox, you can still override it in your jobs to tox<4 in order to stick with the last 3.x release17:32
ralonsohfungi, sorry, I need help on this: where in the Neutron CI are we implementing our own tox plugin?17:33
ralonsohcan you help me on this?17:33
fungiralonsoh: oh, actually it's a flake8 plugin sorry17:35
funginot a tox plugin17:35
fungiso looks like the error is about neutron not being installed into the pep8 testenv17:36
ralonsohseems that yes, because stevedore is not finding the modules17:36
*** jpena is now known as jpena|off17:36
fungilooks like usedevelop is true in the base testenv, so in theory it should be getting installed into all the ones that inherit from it (i don't see it overridden in any of them)17:40
ralonsohyes, we set it to True in the default env17:41
fungiralonsoh: i wonder if it needs editable-legacy17:41
fungihttps://tox.wiki/en/latest/faq.html#tox-4-packaging-changes17:41
fungi"The --develop CLI flag or the use_develop settings now enables editable installations via the PEP 660 mechanism rather than the legacy pip install -e behaviour. The old functionality can still be forced by setting the package setting for the run environment to editable-legacy."17:42
fungican't tell if that means that usedevelop will now only work for projects with a pyproject.toml by default17:43
ralonsohfungi, where the project (for example in py38) is being installed?17:44
ralonsohI'll check other projects17:44
fungii'm trying to work that out from the build logs myself, yeah17:47
fungiralonsoh: so here it is happening in tox v3: https://zuul.opendev.org/t/openstack/build/ea7e9b2cd36749a3848b3fd37fd8678a/log/job-output.txt#1236-123917:52
fungii don't see anything similar in the failing https://zuul.opendev.org/t/openstack/build/192d67d4367a46da828acb22de91f9a0/log/job-output.txt17:53
fungilike, no indication that it did a develop (editable) install at all17:53
ralonsohno, I see this17:54
ralonsoh2022-12-13 17:12:52.805033 | ubuntu-focal | Installing collected packages: packaging, pluggy, chardet, platformdirs, cachetools, tomli, pyproject-api, distlib, filelock, virtualenv, colorama, tox17:54
ralonsohbut nothing related to Neutron17:54
fungiif it happened like with v3 i'd expect to see something about it right after https://zuul.opendev.org/t/openstack/build/192d67d4367a46da828acb22de91f9a0/log/job-output.txt#137117:55
fungiclarkb: ^ have you observed that on any other tox v4 builds (editable installs simply not happening at all)17:55
clarkbfungi: usedevelop isn't a thing anymore I think?17:55
clarkbif you do a showconfig it will show things it is ignoring commented out17:55
clarkbI would start there and correct any of those items, and then debug any behavioral issues17:56
fungiclarkb: the breaking changes faq says it is but uses pep 660 methods (which might mean it only happens if there's a pyproject.toml) and suggests a editable-legacy option if you don't want that17:56
fungioh, or maybe i'm misreading that faq entry17:57
fungiit talks about "the use_develop settings"17:58
clarkbwhat target is being run?17:58
fungioh! there's an underscore now?17:58
clarkb# !!! unused: usedevelop is what showconfig shows by default17:58
fungimaybe usedevelop became use_develop?17:58
clarkbso it is definitely ignoring that17:58
fungineat!17:58
fungiralonsoh: ^ smoking gun17:58
clarkbbut also you need to show config with the exact env you want to run against17:59
ralonsohok I'll try in this patch "use_develop"17:59
clarkbralonsoh: you should run it locally17:59
ralonsohok17:59
clarkbI found that really helped in understanding this stuff17:59
fungithe example in this case was the pep8 target for openstack/neutron but it seems likely that not having neutron installed in any testenvs is going to also be at least part of the cause for unit test failures too18:00
fungiand now i have another meeting to get to18:00
ralonsohclarkb, fungi thanks! I'll check it locally18:00
clarkbya so if you've disabled regular install and use develop isn't set then it ma just not install your package18:00
fungiand yes, i have a feeling there are *tons* of projects relying on usedevelop=true in order to install their projects in at least some testenvs18:03
fungithe current tox docs still claim usedevelop is valid? https://tox.wiki/en/latest/config.html#usedevelop18:18
fungihow odd18:18
clarkbmay be a bug18:18
clarkbshowconfig definitely complains about it18:26
clarkb# !!! unused: use_develop it complains about this one too18:27
fungihow odd18:27
fungitox itself has usedevelop true in its own tox.ini file, and v4 is able to parse it there for some reason18:36
fungi$ tox --showconfig -e dev|grep develop18:36
fungiuse_develop = True18:36
fungiso maybe something else is conflicting with it in neutron18:37
fungithough tox also has a pyproject.toml18:37
clarkbthe docs talk about not using it with install command18:43
clarkbmaybe that is the problem?18:43
fungiyeah, i was wondering about that possibility myself18:45
fungithough it doesn't seem like neutron is doing that in their tox.ini file18:52
fungilooks like editable-legacy is only used with pyproject.toml using projects, or at least it's only checked in src/tox/tox_env/python/virtual_env/package/pyproject.py18:56
*** dasm is now known as dasm|off19:26
clarkbralonsoh isn't here anymore...21:35
clarkbanyway I did more digging because nova actually appears to be tox v4 compat but does use usedevelop21:36
clarkbin comparing the difference between nova's tox.ini and neutron's I've discovered that nova does not set skipsdist = True. COmmenting that out of neutron's tox.ini fixes the showconfig comment complaint about usedevelop21:36
JayFoh, that makes sense21:52
clarkbI pushed a new ps to https://review.opendev.org/867048 in order to test this more fully21:57
*** dviroel|rover is now known as dviroel|out21:58
opendevreviewMerged openstack/project-config master: Ensure NetworkManager doesn't override /etc/resolv.conf  https://review.opendev.org/c/openstack/project-config/+/86647521:59
clarkbI think it is actually running now so some sort of package install expectations around usedevelop and skipsdist (I don't understand why they would interfere like this as usedevelop should imply skipsdist?)21:59
clarkbyup pep8 is successful now after removing skipsdist22:03
funginot sure if JayF was being ironic, but it makes zero sensions to me that turning on skipsdist would make usedevelop invalid now22:26
JayFI viewed them as like, mutually exclusive options22:28
JayFeither "don't build an sdist" or "install in develop mode"22:28
JayFyou're right in that skipsdist=true is the behavior you get in usedevelop=true22:28
fungithey weren't in 3.x but maybe that's how it's different now22:28
JayFI'm saying that's how it's different now based on the observations; they're just considering it syntactically invalid to provide the extra "and no sdist"22:29
JayFbecause skipsdist=false in that config would be really, really weird, right?22:29
JayFskipsdist=false with usedevelop doesn't even make sense22:30
JayFso why should they allow it to be set to true?22:30
* JayF is not saying that's a good decision, or one he would've made, but at least I can reason out why they woulda done it22:30
clarkbI think skipsdist=True may be a proxy for "never install the project we just want a convenient virtualenv"22:30
clarkbthen separately usedevelop is pip install -e instead of pip install an sdist22:31
JayFthat's how I've always used it in the past22:31
clarkbskipsdist might be better named skipinstall22:31
JayFclarkb more tersely restated my understanding (me? verbose? never!)22:31
fungiyeah, i had previously treated skipsdist as "don't go to the additional step of building the sdist for no reason"22:33
*** rlandy is now known as rlandy|out22:43

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