openstackgerrit | OpenStack Proposal Bot proposed openstack/requirements master: Updated from generate-constraints https://review.openstack.org/641568 | 06:17 |
---|---|---|
*** e0ne has joined #openstack-requirements | 11:21 | |
*** dims has quit IRC | 11:30 | |
*** e0ne has quit IRC | 11:32 | |
*** dims has joined #openstack-requirements | 11:36 | |
*** fried_rice is now known as efried | 13:29 | |
*** oanson has quit IRC | 13:42 | |
openstackgerrit | Ian Wienand proposed openstack/requirements master: Replace openstack.org git:// URLs with https:// https://review.openstack.org/647109 | 22:21 |
openstackgerrit | Ian Wienand proposed openstack/requirements stable/newton: Replace openstack.org git:// URLs with https:// https://review.openstack.org/647110 | 22:21 |
openstackgerrit | Ian Wienand proposed openstack/requirements stable/ocata: Replace openstack.org git:// URLs with https:// https://review.openstack.org/647111 | 22:21 |
openstackgerrit | Ian Wienand proposed openstack/requirements stable/pike: Replace openstack.org git:// URLs with https:// https://review.openstack.org/647112 | 22:21 |
openstackgerrit | Ian Wienand proposed openstack/requirements stable/queens: Replace openstack.org git:// URLs with https:// https://review.openstack.org/647113 | 22:21 |
openstackgerrit | Ian Wienand proposed openstack/requirements stable/rocky: Replace openstack.org git:// URLs with https:// https://review.openstack.org/647114 | 22:21 |
*** edmondsw has joined #openstack-requirements | 23:04 | |
tonyb | prometheanfire: at some point I think I need you to teach me how to map which gentoo packages get used in which release | 23:17 |
prometheanfire | tonyb: latest release is the only one really supported | 23:21 |
tonyb | prometheanfire: and what does green vs yellow mean? https://packages.gentoo.org/packages/dev-python/ldappool | 23:22 |
prometheanfire | the mapping is basically manual, I haven't written a python -> ebuild thing | 23:22 |
prometheanfire | stable vs not marked stable | 23:22 |
prometheanfire | I haven't marked openstack packages stable on arm64 as no one has tested | 23:22 |
tonyb | prometheanfire: and what if say stein said < 3.x and train said >= 3.x ? | 23:22 |
prometheanfire | then I'd have to have both around | 23:23 |
tonyb | prometheanfire: so if I installed I'd get the 'not marked stable' version? | 23:23 |
prometheanfire | you have to explicitly state you want to pull in a 'not marked stable version' | 23:23 |
prometheanfire | /etc/portage/package.keywords/user | 23:23 |
prometheanfire | ~dev-db/sqlite-3.27.2 ~amd64 | 23:24 |
tonyb | prometheanfire: okay good that measn I didn't tell a lie ;P | 23:24 |
prometheanfire | if you needed both versions installed at the same time, not possible in python, depsolver would error out | 23:24 |
tonyb | prometheanfire: in the hypothetical example where would I look o see which version mapped to which release? In the .ebuild for consumers? | 23:25 |
prometheanfire | ah, that's not done at all | 23:25 |
prometheanfire | ebuilds are standalone | 23:25 |
tonyb | Oh | 23:25 |
prometheanfire | depsolver allows what depsolver allows | 23:26 |
prometheanfire | https://github.com/gentoo/gentoo/blob/master/sys-auth/keystone/keystone-14.0.1.ebuild#L106-L108 | 23:27 |
prometheanfire | pull in those deps when ldap flag is turned on for the keystone package | 23:27 |
tonyb | okay so now turning on the ldap flag without the 'not marked stable version' gets ldappool==2.1.0 | 23:29 |
prometheanfire | what I need to do is actually remove pike/queens | 23:29 |
prometheanfire | yep, I'm marking ldappool 2.3.1 stable april 13 | 23:29 |
prometheanfire | 1 month after I added it to the tree | 23:29 |
tonyb | prometheanfire: okay | 23:30 |
tonyb | so that's good | 23:30 |
tonyb | I still don' | 23:30 |
tonyb | t get the mutually exclusing versions thing | 23:30 |
prometheanfire | are both versions to be installed at the same time? | 23:30 |
tonyb | No | 23:30 |
tonyb | let me try to rephrase | 23:31 |
tonyb | my assumptions | 23:31 |
tonyb | you have (at least) 2 series for openstack | 23:31 |
tonyb | say queens and rocky | 23:31 |
tonyb | openstack project_foo has library_bar < $x as a requirement | 23:32 |
tonyb | on queens | 23:32 |
tonyb | on rocky it has | 23:32 |
tonyb | >= $x | 23:32 |
prometheanfire | how does it get from queens to rocky? | 23:33 |
tonyb | go given that you 'support' both series you must have at least 2 versions of library_bar in the package repo/meta-data | 23:33 |
prometheanfire | right | 23:33 |
tonyb | prometheanfire: just ignore that as it's a mess up in my scenario | 23:33 |
tonyb | so a) can I easily workout which packages depend on library_bar ; | 23:34 |
prometheanfire | reverse dependency search? | 23:34 |
tonyb | b) dtermine if any of them have multiple series available ; and | 23:35 |
tonyb | c) for each series work out which version of library_bar they'll install | 23:35 |
prometheanfire | equery g | 23:35 |
prometheanfire | dep(g)raph display a tree of all dependencies for PKG | 23:35 |
tonyb | prometheanfire: okay, I was hoping for a web thing so I don't need to have a gentoo VM | 23:36 |
tonyb | but .... | 23:36 |
prometheanfire | no such luck that I know of | 23:37 |
tonyb | I 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 |
prometheanfire | that assumes all use flags are enabled I think | 23:37 |
tonyb | right | 23:37 |
prometheanfire | ya | 23:37 |
prometheanfire | revdeps I made a hackish script you can use if you clone our repo (any distro will do) | 23:38 |
tonyb | I can cheat and just use the openstack tools to do the dependancy graph lookup | 23:38 |
prometheanfire | check_rdeps() { | 23:39 |
prometheanfire | grep --include='*.ebuild' -r "${1}" ~/dev/gentoo/ebuilds/gentoo/ | grep -E '!|<' | filter_blockers | 23:39 |
prometheanfire | } | 23:39 |
prometheanfire | and filter_blockers looks like http://dpaste.com/2A2QGYP | 23:39 |
prometheanfire | that one I use a bunch to make sure I don't remove a lib that something depends on | 23:39 |
tonyb | okay cool | 23:40 |
prometheanfire | I am about to remove the old openstacks though, since it's been more than long enough | 23:40 |
tonyb | prometheanfire: okay, this is all because of https://review.openstack.org/#/c/645018/ | 23:41 |
tonyb | prometheanfire: 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 |
tonyb | prometheanfire: when a consumer has ldap enabled and only accepets 'stable' packages | 23:43 |
tonyb | prometheanfire: it also includes the oslo.log minimum bump but that's less probelmatic | 23:43 |
prometheanfire | it won't break because keystone 14.1.0 will not be stable before ldappool 2.3.1 will be | 23:44 |
prometheanfire | and if I do somehow mark it stable I'll be yelled at REAL quick by various tools/people | 23:44 |
prometheanfire | generally, nothing is marked stable without that 1 month period (baring sec bugs, etc) | 23:45 |
prometheanfire | so for GENTOO, we are fine, other distros though... | 23:45 |
tonyb | okay | 23:45 |
tonyb | but you're only fine because you already have the 2.3.1 ebuild | 23:45 |
tonyb | if you didn't you'd have to make one | 23:45 |
tonyb | and that's a thing we've said we souldn't force vendors to do | 23:46 |
prometheanfire | true, 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 time | 23:46 |
prometheanfire | yep | 23:46 |
prometheanfire | I agree that it violates the rules | 23:46 |
tonyb | okay | 23:47 |
tonyb | I guess we'll see what happens now | 23:47 |
prometheanfire | ya | 23:47 |
prometheanfire | glance hasn't seen a release for rocky past it's first one (I'm sure it's not the only project) | 23:48 |
tonyb | for f in deliverables/rocky/*.yaml ; do [ "$(grep version: $f | wc -l)" == 1 ] && echo $f ; done | 23:52 |
tonyb | in the releases repo prints quite a bit | 23:52 |
prometheanfire | yep | 23:52 |
tonyb | That's a rough guess there's probably a much better tool to do it right | 23:53 |
tonyb | prometheanfire: do you want to propose a stable/stein branch for requirements ? | 23:53 |
tonyb | pretty much everything as am rc1 but witht he constraints url stuff it doesn't actually matter as much | 23:54 |
tonyb | cycle-trailing may be a bit lumpy but I think they can fix that themselves in zuul | 23:55 |
prometheanfire | ya, it's on my list to check if everyone is branched yet | 23:55 |
prometheanfire | and agreed, they should be used to fixing it at this point | 23:55 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!