Earlier  
Posted Nick Remark
#openstack-sdks - 2019-08-01
13:58:03 mordred 0.29.0
13:58:17 mordred Shrews: maybe try git fetch origin --tags ?
13:59:01 Shrews mordred: nope. what commit was the 0.27.0 tag?
13:59:36 mordred 41740827c4702e8fcaebdf6adf7a2d49a557ec14
13:59:46 mordred weird - I checked opendev.org/openstack/openstacksdk and it's there too
14:00:36 Shrews super weird that I do not have that commit id
14:00:41 openstackgerrit Monty Taylor proposed openstack/openstacksdk master: Protect imports in __init__ inside factory https://review.opendev.org/674039
14:00:41 openstackgerrit Monty Taylor proposed openstack/openstacksdk master: Add optional pre-commit config https://review.opendev.org/674040
14:01:48 Shrews wow
14:01:54 Shrews i don't even see it in a reclone
14:02:24 Shrews 'git tag' shows it, but not 'git log'
14:04:46 openstackgerrit Monty Taylor proposed openstack/openstacksdk master: Fix README example for cloud layer https://review.opendev.org/674041
14:04:58 mordred Shrews: that's SUPER weird
14:05:09 mordred Shrews: if you do "git show 0.27.0" does it show you the things?
14:05:11 Shrews oh. helps to be on the stein branch
14:05:17 mordred hahaha
14:08:22 mordred Shrews: none of us should
14:14:45 openstackgerrit Monty Taylor proposed openstack/openstacksdk master: Move the history lesson into the docs https://review.opendev.org/674045
14:39:36 mriedem dtroyer: i think we can abandon https://review.opendev.org/#/c/667264/ in favor of https://review.opendev.org/#/c/672577/ now
15:12:11 openstackgerrit Merged openstack/os-client-config master: Fix broken link to openstacksdk https://review.opendev.org/673603
16:00:06 edleafe Hear ye, hear ye! The API-SIG Office Hour will now come to order!
16:00:17 elmiko quick on the draw today edleafe
16:00:23 elmiko i was mid-sentence!
16:00:43 edleafe Finally! You've been quicker most of the last few weeks
16:00:55 elmiko haha, i dunno about that XD
16:01:16 elmiko i blame your robotic parts, you've been upgraded damint!
16:01:37 edleafe You think I type with my knee??
16:01:59 elmiko i have my suspicions, that's all i'm saying
16:02:27 elmiko haha
16:02:36 edleafe You can't hide from my laser eyes!!
16:02:55 elmiko SEE! it's not just the knee, RUN !!!
16:03:30 edleafe Oh, now I'm typing with my eyes, eh?
16:03:49 elmiko all i'm saying is that you /could/ be
16:04:12 edleafe Paranoid much?
16:04:41 elmiko hey just because i'm paranoid /doesn't/ mean they aren't after me
16:05:36 dtantsur \o
16:05:54 elmiko o/
16:06:19 dtantsur sorry, instincts
16:06:29 edleafe maybe switch to decaf?
16:06:34 elmiko haha
16:06:43 dtantsur may I shock you?
16:06:54 dtantsur I haven't drunk any coffee for more than a week!
16:06:59 elmiko wow
16:07:01 dtantsur kind of an experiment
16:07:35 elmiko trying to cut back on caffiene?
16:07:38 dtantsur yeah
16:07:41 edleafe dtantsur: https://www.youtube.com/watch?v=hd1ciPnTGKg
16:08:00 elmiko LOL edleafe
16:08:12 elmiko good luck dtantsur, hope the experiment is a success ;)
16:08:19 dtantsur :D
16:08:22 elmiko or at least produces good data
16:08:39 dtantsur do we actually have any API business for today?
16:09:00 edleafe wait, we do API stuff here?
16:09:35 dtantsur a legend tells that many centuries ago 4 sages met somewhere hear to discuss weird things about the universe
16:09:51 dtantsur then one sage decided he was sick of them, and everything went south
16:09:58 dtantsur true story
16:11:42 elmiko haha
16:11:46 dtantsur I don't mind not doing much in the near future, since we're planning a move for autumn (getting closer to gtema I guess :)
16:11:57 elmiko nice
16:12:03 gtema really? where to?
16:12:24 dtantsur gtema: Dusseldorf (RE distance from you, I think)
16:12:46 gtema yeah
16:13:02 gtema RH relocation?
16:13:10 dtantsur nope (I'm remotee), rather personal
16:13:18 gtema ok
16:16:27 dtantsur API related story: ironic is slowly (really slowly) starting a move to Flask. any tips and tricks are welcome!
16:16:56 gtema Flask for what? API serving?
16:17:22 elmiko i guess it depends on what kind of tips and tricks you are looking for, but my main tip is to use MethodView classes for routing
16:17:33 edleafe I don't see how using Flask would change the approach to API design
16:17:41 elmiko ++
16:17:56 gtema me too, was having nice experience with Blueprints
16:18:12 elmiko yeah, ++ to blueprints as well
16:18:38 elmiko i think the flask docs get you up and running quickly, but the @route decorator pattern is sub-optimal imo
16:19:05 gtema ++
16:19:29 dtantsur I'm not looking for anything specific, just a quick poll of opinions
16:20:12 gtema opinion - worth a try
16:20:49 dtantsur okay cool. next question: who could lend me a human cloning machine?
16:20:57 edleafe I love FLask, but only have a few simple apps that @route serves well
16:21:03 elmiko yeah, i'm ++ on flask. i love it
16:21:41 dtantsur same. and I don't like the wsme+pecan pair a lot
16:21:50 gtema I wish I had one - need it myself
16:21:57 elmiko yeah, i have very mixed feelings about pecan
16:22:03 gtema wrt to clone-maching
16:22:04 edleafe You could always use my insect cloning machine - just be sure to clean it well first
16:22:09 dtantsur lol
16:22:34 dtantsur my motivation to work on that is that I'm one of the two unfortunate people keeping wsme (barely) floating
16:23:14 edleafe I can give you a concrete block to help it sink faster!
16:25:23 dtantsur it does pretty good job sinking on its own :D
16:53:56 mordred dtantsur|afk: I also think kmalloc may have done something something flask something something over in keystone land - or at least started looking at it
16:54:09 kmalloc ohhai
16:54:18 kmalloc i'm here, let me read up.
16:54:57 mordred dtantsur|afk, gtema: I pushed up a couple of readme fixes - https://review.opendev.org/#/c/674045 and https://review.opendev.org/#/c/674041 if you get bored
16:55:12 gtema bored?????????
16:55:24 gtema there are not enough "?" signs on my keyboard
16:57:10 mordred gtema: :)
16:57:11 kmalloc dtantsur|afk, gtema: we moved 100% over to flask in Keystone from the home-brewed WSGI framework. We use blueprints and wired up a mechanism to auto-populate routes (now, we had another challenge, we also aimed for zero test changes to make the conversion, and mostly succeeded). I am really against @route, but you can directly call the underlying functions/methods to populate the routes. (I prefer explicit vs decorator
16:57:11 kmalloc magic in route/etc)
16:57:29 edleafe Take care everyone - gotta head out for a bit
17:00:22 gtema can we somewhen introduce something something like 'take this cloud configuration, but get a domain scoped token'? I am tired of doubling lots of my entries in clouds.yaml to differentiate between project and domain scope
17:01:13 gtema best would be that OSC knows itself which kind of token it need to obtain, but in the worst case "openstack --os-cloud my_cloud --scope domain user list"

Earlier   Later