| openstackgerrit | Li Yingjun proposed openstack/murano: Fix issue when using keystone v3 devstack https://review.openstack.org/261871 | 00:31 |
|---|---|---|
| *** sergmelikyan has joined #murano | 00:42 | |
| *** sergmelikyan has quit IRC | 00:52 | |
| *** sergmelikyan has joined #murano | 01:53 | |
| *** sergmelikyan has quit IRC | 01:58 | |
| *** zhurong has joined #murano | 02:01 | |
| openstackgerrit | hardik proposed openstack/murano-dashboard: Drop MANIFEST.in - it's not needed with PBR. https://review.openstack.org/261167 | 02:25 |
| openstackgerrit | hardik proposed openstack/murano-dashboard: Drop MANIFEST.in - it's not needed with PBR. https://review.openstack.org/261167 | 02:25 |
| *** zhurong has quit IRC | 03:24 | |
| *** zhurong has joined #murano | 03:25 | |
| *** lin_yang has joined #murano | 03:34 | |
| *** zhurong has quit IRC | 04:49 | |
| *** zhurong has joined #murano | 04:50 | |
| *** jasonsb has quit IRC | 05:07 | |
| *** jasonsb has joined #murano | 05:13 | |
| *** vahidh has joined #murano | 05:14 | |
| *** zhurong has quit IRC | 05:17 | |
| *** zhurong has joined #murano | 05:18 | |
| *** zhurong has quit IRC | 05:50 | |
| *** zhurong has joined #murano | 05:51 | |
| *** jasonsb has quit IRC | 05:58 | |
| *** jasonsb has joined #murano | 06:03 | |
| *** gangadhar has quit IRC | 06:33 | |
| openstackgerrit | OpenStack Proposal Bot proposed openstack/murano: Imported Translations from Zanata https://review.openstack.org/261797 | 06:33 |
| openstackgerrit | Ravi Shekhar Jethani proposed openstack/murano: Replace unicode with six.text_type https://review.openstack.org/261902 | 06:44 |
| *** vahidh has quit IRC | 07:10 | |
| *** vahidh has joined #murano | 07:28 | |
| *** vahidh_ has joined #murano | 07:32 | |
| *** vahidh has quit IRC | 07:34 | |
| *** vahidh_ has quit IRC | 07:45 | |
| *** zhurong has quit IRC | 07:50 | |
| *** zhurong has joined #murano | 07:52 | |
| *** tshtilma has joined #murano | 07:56 | |
| tshtilma | Hi All and happy holidays, please ,we need another +2 and workflow on this important bug fix https://review.openstack.org/#/c/260209/ for Liberty , thanks Stan for the quick fix | 07:58 |
| *** ashishb has joined #murano | 08:56 | |
| *** Nikolay_St has joined #murano | 09:09 | |
| openstackgerrit | Olivier Lemasle proposed openstack/murano: (WIP) Functional test for Berkshelf support https://review.openstack.org/248027 | 09:11 |
| *** zhurong has quit IRC | 09:17 | |
| *** zhurong has joined #murano | 09:18 | |
| *** zhurong has quit IRC | 09:23 | |
| *** lin_yang has quit IRC | 09:27 | |
| *** tobe has joined #murano | 09:33 | |
| *** enthurohini has joined #murano | 09:51 | |
| *** vgridnev has joined #murano | 10:04 | |
| *** vgridnev has quit IRC | 10:05 | |
| *** evgenyl has joined #murano | 10:12 | |
| *** vgridnev has joined #murano | 10:29 | |
| *** akuznetsova_ is now known as akuznetsova | 10:39 | |
| *** tobe has quit IRC | 11:01 | |
| openstackgerrit | Stan Lagun proposed openstack/murano: user_id column was widened to support domain users https://review.openstack.org/261959 | 11:07 |
| openstackgerrit | Stan Lagun proposed openstack/murano: Support for Cinder volumes was added https://review.openstack.org/257099 | 11:12 |
| *** vahidh has joined #murano | 11:24 | |
| *** vahidh has quit IRC | 11:29 | |
| openstackgerrit | Kirill Zaitsev proposed openstack/murano: WIP: python 3 support. Makes tests run. https://review.openstack.org/253045 | 11:39 |
| openstackgerrit | Merged openstack/murano: [Murano Docs] Describe app migrating to L https://review.openstack.org/256162 | 11:49 |
| openstackgerrit | Merged openstack/murano: [Murano Docs] Introduction to the User Guide https://review.openstack.org/261250 | 11:50 |
| evgenyl | Hi, I'm not sure if it's a correct channel to ask about YAQL, is there a way to write a query for a dict, which will not fail if for the dict key doesn't exist, currently I'm getting the next error http://paste.openstack.org/show/482757/ (using yaql from pypi) example of the query is '$.ram1 + 2' | 12:00 |
| evgenyl | ativelkov: StanLagun according to the contribution list, you may know the answer ^ :) | 12:04 |
| ativelkov | evgenyl: sure | 12:04 |
| ativelkov | evgenyl: just use $.get(ram1) | 12:05 |
| ativelkov | it has the same semantics as python's get: raturns a value if the key exist or null otherwise | 12:05 |
| evgenyl | ativelkov: that is awesome, thank you! | 12:06 |
| Nikolay_St | ativelkov: you were quicker :D | 12:06 |
| ativelkov | however, if you want to do $.ram1 + 2 it will be a bit trickier | 12:07 |
| evgenyl | ativelkov: hm, '$.get(ram1, 0) + 2' seems to work just fine. | 12:07 |
| ativelkov | well, yeah, if 0 is ok for you as the default | 12:08 |
| *** zhurong has joined #murano | 12:11 | |
| ativelkov | otherwise a coalesce() function of some other branching thingy may be of use | 12:13 |
| evgenyl | ativelkov: good to know, thanks. | 12:16 |
| ativelkov | for example you may have something like switch($.get(ram1) => $.ram1 + 2, true => 'key not found') | 12:17 |
| *** gangadhar has joined #murano | 12:20 | |
| *** ashishb has quit IRC | 12:25 | |
| StanLagun | evgenyl: another syntax is $dict[key, default] | 12:25 |
| ativelkov | Stanlagun: btw, I personally find this syntax very wrong, as this confuses dics with 2D arrays / matrices | 12:28 |
| StanLagun | ativelkov: you might be right | 12:30 |
| StanLagun | not that it is wrong but it does a little bit confusing | 12:31 |
| openstackgerrit | zhurong proposed openstack/murano: change the repo stackforge to openstack https://review.openstack.org/261983 | 12:32 |
| *** jasonsb has quit IRC | 12:33 | |
| evgenyl | ativelkov: I'm struggling with understanding of switch syntax, lets say I want to implement: default ram is 1024, if there is no such key, condition1 `if ram <= 2048: ram * 2`, condition 2 `if ram > 2048 and ram < 8192: ram`, default (none of above) 4096 | 12:37 |
| *** zhurong has quit IRC | 12:46 | |
| *** zhurong has joined #murano | 12:47 | |
| *** Nikolay_St has quit IRC | 12:51 | |
| StanLagun | $dict.get(ram, -1).selectCase($ >= 0 and $ <= 2048, $ > 2048 and $ < 8192).switchCase($ * 2, $, 4096) | 12:52 |
| *** openstackgerrit has quit IRC | 12:53 | |
| *** ducttape_ has joined #murano | 12:53 | |
| StanLagun | evgenyl: ^^^ | 12:56 |
| evgenyl | StanLagun: hm, what version of yaql is that? I'm getting `NoMethodRegisteredException: Unknown method "selectCase" for receiver 2000` | 12:57 |
| StanLagun | evgenyl: or $dict.get(ram, 4096).selectCase($ <= 2048, $ > 2048 and $ < 8192).switchCase($ * 2, $, 4096) | 12:57 |
| StanLagun | 1.0 | 12:57 |
| StanLagun | sorry, not like that | 12:58 |
| StanLagun | give me a minute | 12:58 |
| StanLagun | let(ram => $.get(ram, 4096)) -> selectCase($ram <= 2048, $ram > 2048 and $ram < 8192).switchCase(2 * $ram, $ram, 4096) | 13:03 |
| StanLagun | looks like I found a bug in switchCase. But expression above does work | 13:04 |
| *** openstackgerrit has joined #murano | 13:04 | |
| StanLagun | or with the switch function: let(ram => $.get(ram, 4096)) -> switch($ram <= 2048 => 2 * $ram, $ram > 2048 and $ram < 8192 => $ram, true => 4096) | 13:08 |
| evgenyl | StanLagun: yeah, this one work for me, thanks a lot! | 13:10 |
| ativelkov | StanLagun: what's the bug? | 13:12 |
| StanLagun | ativelkov: inside $foo.switchCase($) $ will mean the outer $, not the $foo | 13:14 |
| ativelkov | wow | 13:15 |
| ativelkov | that's bad | 13:15 |
| StanLagun | thats a minor bug | 13:15 |
| StanLagun | thats why it is switchCase(2 * $ram, $ram, 4096) and not switchCase(2 * $, $, 4096) | 13:16 |
| ativelkov | I got it | 13:16 |
| ativelkov | It's just a question of context ownership | 13:16 |
| openstackgerrit | Ravi Shekhar Jethani proposed openstack/murano: Replace unicode with six.text_type https://review.openstack.org/261902 | 13:16 |
| ativelkov | Is it true only for switch? | 13:16 |
| StanLagun | yes. Take a look at https://github.com/openstack/yaql/blob/master/yaql/standard_library/branching.py#L55 | 13:17 |
| StanLagun | it should be args[case](case) | 13:17 |
| openstackgerrit | zhurong proposed openstack/murano: change the repo stackforge to openstack and github to cgit https://review.openstack.org/261983 | 13:19 |
| StanLagun | ativelkov: this is not a bug at all since $ for switch_case mean the index of condition that was evaluated to true. So if it was switchCase(2 * $, $, 4096) $ would be 0 or 1, not $ram | 13:20 |
| StanLagun | I was wrong thinking it is a bug :) | 13:21 |
| *** ducttape_ has quit IRC | 13:22 | |
| *** zhurong has quit IRC | 13:49 | |
| *** ducttape_ has joined #murano | 13:50 | |
| *** ducttape_ has quit IRC | 13:56 | |
| *** ducttape_ has joined #murano | 14:01 | |
| *** ducttape_ has quit IRC | 14:05 | |
| *** sergmelikyan has joined #murano | 14:25 | |
| *** jasonsb has joined #murano | 14:38 | |
| *** tshtilma has quit IRC | 14:44 | |
| *** tshtilma has joined #murano | 14:45 | |
| *** Nikolay_St has joined #murano | 15:32 | |
| *** vgridnev has quit IRC | 15:50 | |
| *** tshtilma has quit IRC | 16:07 | |
| *** tshtilma has joined #murano | 16:16 | |
| *** tshtilma has quit IRC | 16:45 | |
| *** vgridnev has joined #murano | 17:28 | |
| *** sergmelikyan has quit IRC | 17:28 | |
| *** vkmc has joined #murano | 17:29 | |
| *** sergmelikyan has joined #murano | 17:30 | |
| *** sergmelikyan has quit IRC | 17:31 | |
| *** sergmelikyan has joined #murano | 17:34 | |
| *** vgridnev has quit IRC | 17:34 | |
| *** sergmelikyan has quit IRC | 17:37 | |
| *** alejandrito has joined #murano | 17:38 | |
| *** vgridnev has joined #murano | 17:40 | |
| *** vgridnev_ has joined #murano | 17:43 | |
| *** vgridnev has quit IRC | 17:45 | |
| *** alejandrito has quit IRC | 18:06 | |
| *** sergmelikyan has joined #murano | 18:07 | |
| *** vgridnev_ has quit IRC | 18:07 | |
| *** ashishb has joined #murano | 18:09 | |
| *** sergmelikyan has quit IRC | 18:11 | |
| *** vgridnev has joined #murano | 18:39 | |
| *** ashishb has quit IRC | 18:42 | |
| *** vgridnev has quit IRC | 18:50 | |
| *** vgridnev has joined #murano | 18:54 | |
| *** alejandrito has joined #murano | 18:55 | |
| *** zimboboyd has quit IRC | 19:06 | |
| *** zimboboyd has joined #murano | 19:07 | |
| *** sergmelikyan has joined #murano | 19:11 | |
| *** sergmelikyan has quit IRC | 19:16 | |
| *** sergmelikyan has joined #murano | 19:17 | |
| *** sergmelikyan has quit IRC | 19:51 | |
| *** sergmelikyan has joined #murano | 19:55 | |
| *** enthurohini has quit IRC | 20:21 | |
| openstackgerrit | Kirill Zaitsev proposed openstack/murano-dashboard: Adds i18n machinery similar to the one used in horizon https://review.openstack.org/262071 | 20:21 |
| *** kzaitsev_mb has joined #murano | 20:39 | |
| openstackgerrit | Stan Lagun proposed openstack/murano: user_id column was widened to support domain users https://review.openstack.org/261959 | 21:02 |
| *** sergmelikyan has quit IRC | 21:07 | |
| *** vahidh has joined #murano | 21:09 | |
| *** vahidh has quit IRC | 21:15 | |
| *** vgridnev has quit IRC | 21:24 | |
| *** vgridnev has joined #murano | 21:25 | |
| *** kzaitsev_mb has quit IRC | 21:27 | |
| *** kzaitsev_mb has joined #murano | 21:34 | |
| *** vkmc is now known as vkmc_afk | 22:02 | |
| openstackgerrit | Merged openstack/murano: change the repo stackforge to openstack and github to cgit https://review.openstack.org/261983 | 22:05 |
| openstackgerrit | Merged openstack/murano: [test-runner] Create new executer on each test case https://review.openstack.org/261531 | 22:06 |
| *** vgridnev has quit IRC | 22:09 | |
| *** vahidh has joined #murano | 22:18 | |
| *** alejandrito has quit IRC | 22:21 | |
| *** vkmc_afk is now known as vkmc | 22:32 | |
| *** vahidh has quit IRC | 22:39 | |
| *** kzaitsev1mb has joined #murano | 22:54 | |
| *** vahidh has joined #murano | 22:56 | |
| *** kzaitsev_mb has quit IRC | 22:57 | |
| *** kzaitsev1mb has quit IRC | 23:18 | |
| *** vahidh has quit IRC | 23:25 | |
| *** vahidh has joined #murano | 23:26 | |
| *** vahidh has quit IRC | 23:40 | |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!