Sunday, 2019-03-24

openstackgerritOpenStack Proposal Bot proposed openstack/requirements master: Updated from generate-constraints  https://review.openstack.org/64156806:17
*** e0ne has joined #openstack-requirements11:21
*** dims has quit IRC11:30
*** e0ne has quit IRC11:32
*** dims has joined #openstack-requirements11:36
*** fried_rice is now known as efried13:29
*** oanson has quit IRC13:42
openstackgerritIan Wienand proposed openstack/requirements master: Replace openstack.org git:// URLs with https://  https://review.openstack.org/64710922:21
openstackgerritIan Wienand proposed openstack/requirements stable/newton: Replace openstack.org git:// URLs with https://  https://review.openstack.org/64711022:21
openstackgerritIan Wienand proposed openstack/requirements stable/ocata: Replace openstack.org git:// URLs with https://  https://review.openstack.org/64711122:21
openstackgerritIan Wienand proposed openstack/requirements stable/pike: Replace openstack.org git:// URLs with https://  https://review.openstack.org/64711222:21
openstackgerritIan Wienand proposed openstack/requirements stable/queens: Replace openstack.org git:// URLs with https://  https://review.openstack.org/64711322:21
openstackgerritIan Wienand proposed openstack/requirements stable/rocky: Replace openstack.org git:// URLs with https://  https://review.openstack.org/64711422:21
*** edmondsw has joined #openstack-requirements23:04
tonybprometheanfire: at some point I think I need you to teach me how to map which gentoo packages get used in which release23:17
prometheanfiretonyb: latest release is the only one really supported23:21
tonybprometheanfire: and what does green vs yellow mean? https://packages.gentoo.org/packages/dev-python/ldappool23:22
prometheanfirethe mapping is basically manual, I haven't written a python -> ebuild thing23:22
prometheanfirestable vs not marked stable23:22
prometheanfireI haven't marked openstack packages stable on arm64 as no one has tested23:22
tonybprometheanfire: and what if say stein said < 3.x and train said >= 3.x ?23:22
prometheanfirethen I'd have to have both around23:23
tonybprometheanfire: so if I installed I'd get the 'not marked stable' version?23:23
prometheanfireyou have to explicitly state you want to pull in a 'not marked stable version'23:23
prometheanfire/etc/portage/package.keywords/user23:23
prometheanfire~dev-db/sqlite-3.27.2 ~amd6423:24
tonybprometheanfire: okay good that measn I didn't tell a lie ;P23:24
prometheanfireif you needed both versions installed at the same time, not possible in python, depsolver would error out23:24
tonybprometheanfire: in the hypothetical example where would I look o see which version mapped to which release?   In the .ebuild for consumers?23:25
prometheanfireah, that's not done at all23:25
prometheanfireebuilds are standalone23:25
tonybOh23:25
prometheanfiredepsolver allows what depsolver allows23:26
prometheanfirehttps://github.com/gentoo/gentoo/blob/master/sys-auth/keystone/keystone-14.0.1.ebuild#L106-L10823:27
prometheanfirepull in those deps when ldap flag is turned on for the keystone package23:27
tonybokay so now turning on the ldap flag without the 'not marked stable version' gets ldappool==2.1.023:29
prometheanfirewhat I need to do is actually remove pike/queens23:29
prometheanfireyep, I'm marking ldappool 2.3.1 stable april 1323:29
prometheanfire1 month after I added it to the tree23:29
tonybprometheanfire: okay23:30
tonybso that's good23:30
tonybI still don'23:30
tonybt get the mutually exclusing versions thing23:30
prometheanfireare both versions to be installed at the same time?23:30
tonybNo23:30
tonyblet me try to rephrase23:31
tonybmy assumptions23:31
tonybyou have (at least) 2 series for openstack23:31
tonybsay queens and rocky23:31
tonybopenstack project_foo has library_bar < $x as a requirement23:32
tonybon queens23:32
tonybon rocky it has23:32
tonyb>= $x23:32
prometheanfirehow does it get from queens to rocky?23:33
tonybgo given that you 'support' both series you must have at least 2 versions of library_bar in the package repo/meta-data23:33
prometheanfireright23:33
tonybprometheanfire: just ignore that as it's a mess up in my scenario23:33
tonybso a) can I easily workout which packages depend on library_bar ;23:34
prometheanfirereverse dependency search?23:34
tonybb) dtermine if any of them have multiple series available ; and23:35
tonybc) for each series work out which version of library_bar they'll install23:35
prometheanfireequery g23:35
prometheanfire dep(g)raph              display a tree of all dependencies for PKG23:35
tonybprometheanfire: okay, I was hoping for a web thing so I don't need to have a gentoo VM23:36
tonybbut ....23:36
prometheanfireno such luck that I know of23:37
tonybI guess b and c would be to answered by noticing the project_foo has multiple ebuilds with differening majoj numbers and parsing the .ebuild ?23:37
prometheanfirethat assumes all use flags are enabled I think23:37
tonybright23:37
prometheanfireya23:37
prometheanfirerevdeps I made a hackish script you can use if you clone our repo (any distro will do)23:38
tonybI can cheat and just use the openstack tools to do the dependancy graph lookup23:38
prometheanfirecheck_rdeps() {23:39
prometheanfire  grep --include='*.ebuild' -r "${1}" ~/dev/gentoo/ebuilds/gentoo/ | grep -E '!|<' | filter_blockers23:39
prometheanfire}23:39
prometheanfireand filter_blockers looks like http://dpaste.com/2A2QGYP23:39
prometheanfirethat one I use a bunch to make sure I don't remove a lib that something depends on23:39
tonybokay cool23:40
prometheanfireI am about to remove the old openstacks though, since it's been more than long enough23:40
tonybprometheanfire: okay, this is all because of https://review.openstack.org/#/c/645018/23:41
tonybprometheanfire: which is a release that includes a minimum bump for ldappool which based on this discussion will 'break' gentoo consumers (until april 13th)23:42
tonybprometheanfire: when a consumer has ldap enabled and only accepets 'stable' packages23:43
tonybprometheanfire: it also includes the oslo.log minimum bump but that's less probelmatic23:43
prometheanfireit won't break because keystone 14.1.0 will not be stable before ldappool 2.3.1 will be23:44
prometheanfireand if I do somehow mark it stable I'll be yelled at REAL quick by various tools/people23:44
prometheanfiregenerally, nothing is marked stable without that 1 month period (baring sec bugs, etc)23:45
prometheanfireso for GENTOO, we are fine, other distros though...23:45
tonybokay23:45
tonybbut you're only fine because you already have the 2.3.1 ebuild23:45
tonybif you didn't you'd have to make one23:45
tonyband that's a thing we've said we souldn't force vendors to do23:46
prometheanfiretrue, I'd be making that at the same time as the keystone ebuild gets bumped, in which case they'd still go stable at the same time23:46
prometheanfireyep23:46
prometheanfireI agree that it violates the rules23:46
tonybokay23:47
tonybI guess we'll see what happens now23:47
prometheanfireya23:47
prometheanfireglance hasn't seen a release for rocky past it's first one (I'm sure it's not the only project)23:48
tonybfor f in deliverables/rocky/*.yaml ; do [ "$(grep version: $f | wc -l)" == 1 ] && echo $f ; done23:52
tonybin the releases repo prints quite a bit23:52
prometheanfireyep23:52
tonybThat's a rough guess there's probably a much better tool to do it right23:53
tonybprometheanfire: do you want to propose a stable/stein branch for requirements ?23:53
tonybpretty much everything as am rc1 but witht he constraints url stuff it doesn't actually matter as much23:54
tonybcycle-trailing may be a bit lumpy but I think they can fix that themselves in zuul23:55
prometheanfireya, it's on my list to check if everyone is branched yet23:55
prometheanfireand agreed, they should be used to fixing it at this point23:55

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!