Monday, 2015-12-28

openstackgerritLi Yingjun proposed openstack/murano: Fix issue when using keystone v3 devstack  https://review.openstack.org/26187100:31
*** sergmelikyan has joined #murano00:42
*** sergmelikyan has quit IRC00:52
*** sergmelikyan has joined #murano01:53
*** sergmelikyan has quit IRC01:58
*** zhurong has joined #murano02:01
openstackgerrithardik proposed openstack/murano-dashboard: Drop MANIFEST.in - it's not needed with PBR.  https://review.openstack.org/26116702:25
openstackgerrithardik proposed openstack/murano-dashboard: Drop MANIFEST.in - it's not needed with PBR.  https://review.openstack.org/26116702:25
*** zhurong has quit IRC03:24
*** zhurong has joined #murano03:25
*** lin_yang has joined #murano03:34
*** zhurong has quit IRC04:49
*** zhurong has joined #murano04:50
*** jasonsb has quit IRC05:07
*** jasonsb has joined #murano05:13
*** vahidh has joined #murano05:14
*** zhurong has quit IRC05:17
*** zhurong has joined #murano05:18
*** zhurong has quit IRC05:50
*** zhurong has joined #murano05:51
*** jasonsb has quit IRC05:58
*** jasonsb has joined #murano06:03
*** gangadhar has quit IRC06:33
openstackgerritOpenStack Proposal Bot proposed openstack/murano: Imported Translations from Zanata  https://review.openstack.org/26179706:33
openstackgerritRavi Shekhar Jethani proposed openstack/murano: Replace unicode with six.text_type  https://review.openstack.org/26190206:44
*** vahidh has quit IRC07:10
*** vahidh has joined #murano07:28
*** vahidh_ has joined #murano07:32
*** vahidh has quit IRC07:34
*** vahidh_ has quit IRC07:45
*** zhurong has quit IRC07:50
*** zhurong has joined #murano07:52
*** tshtilma has joined #murano07:56
tshtilmaHi 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 fix07:58
*** ashishb has joined #murano08:56
*** Nikolay_St has joined #murano09:09
openstackgerritOlivier Lemasle proposed openstack/murano: (WIP) Functional test for Berkshelf support  https://review.openstack.org/24802709:11
*** zhurong has quit IRC09:17
*** zhurong has joined #murano09:18
*** zhurong has quit IRC09:23
*** lin_yang has quit IRC09:27
*** tobe has joined #murano09:33
*** enthurohini has joined #murano09:51
*** vgridnev has joined #murano10:04
*** vgridnev has quit IRC10:05
*** evgenyl has joined #murano10:12
*** vgridnev has joined #murano10:29
*** akuznetsova_ is now known as akuznetsova10:39
*** tobe has quit IRC11:01
openstackgerritStan Lagun proposed openstack/murano: user_id column was widened to support domain users  https://review.openstack.org/26195911:07
openstackgerritStan Lagun proposed openstack/murano: Support for Cinder volumes was added  https://review.openstack.org/25709911:12
*** vahidh has joined #murano11:24
*** vahidh has quit IRC11:29
openstackgerritKirill Zaitsev proposed openstack/murano: WIP: python 3 support. Makes tests run.  https://review.openstack.org/25304511:39
openstackgerritMerged openstack/murano: [Murano Docs] Describe app migrating to L  https://review.openstack.org/25616211:49
openstackgerritMerged openstack/murano: [Murano Docs] Introduction to the User Guide  https://review.openstack.org/26125011:50
evgenylHi, 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
evgenylativelkov: StanLagun according to the contribution list, you may know the answer ^ :)12:04
ativelkovevgenyl: sure12:04
ativelkovevgenyl: just use $.get(ram1)12:05
ativelkovit has the same semantics as python's get: raturns a value if the key exist or null otherwise12:05
evgenylativelkov: that is awesome, thank you!12:06
Nikolay_Stativelkov: you were quicker :D12:06
ativelkovhowever, if you want to do $.ram1 + 2 it will be a bit trickier12:07
evgenylativelkov: hm, '$.get(ram1, 0) + 2' seems to work just fine.12:07
ativelkovwell, yeah, if 0 is ok for you as the default12:08
*** zhurong has joined #murano12:11
ativelkovotherwise a coalesce() function of some other branching thingy may be of use12:13
evgenylativelkov: good to know, thanks.12:16
ativelkovfor example you may have something like switch($.get(ram1) => $.ram1 + 2, true => 'key not found')12:17
*** gangadhar has joined #murano12:20
*** ashishb has quit IRC12:25
StanLagunevgenyl: another syntax is $dict[key, default]12:25
ativelkovStanlagun: btw, I personally find this syntax very wrong, as this confuses dics with 2D arrays / matrices12:28
StanLagunativelkov: you might be right12:30
StanLagunnot that it is wrong but it does a little bit confusing12:31
openstackgerritzhurong proposed openstack/murano: change the repo stackforge to openstack  https://review.openstack.org/26198312:32
*** jasonsb has quit IRC12:33
evgenylativelkov: 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) 409612:37
*** zhurong has quit IRC12:46
*** zhurong has joined #murano12:47
*** Nikolay_St has quit IRC12:51
StanLagun$dict.get(ram, -1).selectCase($ >= 0 and $ <= 2048, $ > 2048 and $ < 8192).switchCase($ * 2, $, 4096)12:52
*** openstackgerrit has quit IRC12:53
*** ducttape_ has joined #murano12:53
StanLagunevgenyl: ^^^12:56
evgenylStanLagun: hm, what version of yaql is that? I'm getting `NoMethodRegisteredException: Unknown method "selectCase" for receiver 2000`12:57
StanLagunevgenyl: or $dict.get(ram, 4096).selectCase($ <= 2048, $ > 2048 and $ < 8192).switchCase($ * 2, $, 4096)12:57
StanLagun1.012:57
StanLagunsorry, not like that12:58
StanLagungive me a minute12:58
StanLagunlet(ram => $.get(ram, 4096)) -> selectCase($ram <= 2048, $ram > 2048 and $ram < 8192).switchCase(2 * $ram, $ram, 4096)13:03
StanLagunlooks like I found a bug in switchCase. But expression above does work13:04
*** openstackgerrit has joined #murano13:04
StanLagunor with the switch function: let(ram => $.get(ram, 4096)) -> switch($ram <= 2048 => 2 * $ram, $ram > 2048 and $ram < 8192 => $ram, true => 4096)13:08
evgenylStanLagun: yeah, this one work for me, thanks a lot!13:10
ativelkovStanLagun: what's the bug?13:12
StanLagunativelkov: inside $foo.switchCase($) $ will mean the outer $, not the $foo13:14
ativelkovwow13:15
ativelkovthat's bad13:15
StanLagunthats a minor bug13:15
StanLagunthats why it is switchCase(2 * $ram, $ram, 4096) and not switchCase(2 * $, $, 4096)13:16
ativelkovI got it13:16
ativelkovIt's just a question of context ownership13:16
openstackgerritRavi Shekhar Jethani proposed openstack/murano: Replace unicode with six.text_type  https://review.openstack.org/26190213:16
ativelkovIs it true only for switch?13:16
StanLagunyes. Take a look at https://github.com/openstack/yaql/blob/master/yaql/standard_library/branching.py#L5513:17
StanLagunit should be args[case](case)13:17
openstackgerritzhurong proposed openstack/murano: change the repo stackforge to openstack and github to cgit  https://review.openstack.org/26198313:19
StanLagunativelkov: 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 $ram13:20
StanLagunI was wrong thinking it is a bug :)13:21
*** ducttape_ has quit IRC13:22
*** zhurong has quit IRC13:49
*** ducttape_ has joined #murano13:50
*** ducttape_ has quit IRC13:56
*** ducttape_ has joined #murano14:01
*** ducttape_ has quit IRC14:05
*** sergmelikyan has joined #murano14:25
*** jasonsb has joined #murano14:38
*** tshtilma has quit IRC14:44
*** tshtilma has joined #murano14:45
*** Nikolay_St has joined #murano15:32
*** vgridnev has quit IRC15:50
*** tshtilma has quit IRC16:07
*** tshtilma has joined #murano16:16
*** tshtilma has quit IRC16:45
*** vgridnev has joined #murano17:28
*** sergmelikyan has quit IRC17:28
*** vkmc has joined #murano17:29
*** sergmelikyan has joined #murano17:30
*** sergmelikyan has quit IRC17:31
*** sergmelikyan has joined #murano17:34
*** vgridnev has quit IRC17:34
*** sergmelikyan has quit IRC17:37
*** alejandrito has joined #murano17:38
*** vgridnev has joined #murano17:40
*** vgridnev_ has joined #murano17:43
*** vgridnev has quit IRC17:45
*** alejandrito has quit IRC18:06
*** sergmelikyan has joined #murano18:07
*** vgridnev_ has quit IRC18:07
*** ashishb has joined #murano18:09
*** sergmelikyan has quit IRC18:11
*** vgridnev has joined #murano18:39
*** ashishb has quit IRC18:42
*** vgridnev has quit IRC18:50
*** vgridnev has joined #murano18:54
*** alejandrito has joined #murano18:55
*** zimboboyd has quit IRC19:06
*** zimboboyd has joined #murano19:07
*** sergmelikyan has joined #murano19:11
*** sergmelikyan has quit IRC19:16
*** sergmelikyan has joined #murano19:17
*** sergmelikyan has quit IRC19:51
*** sergmelikyan has joined #murano19:55
*** enthurohini has quit IRC20:21
openstackgerritKirill Zaitsev proposed openstack/murano-dashboard: Adds i18n machinery similar to the one used in horizon  https://review.openstack.org/26207120:21
*** kzaitsev_mb has joined #murano20:39
openstackgerritStan Lagun proposed openstack/murano: user_id column was widened to support domain users  https://review.openstack.org/26195921:02
*** sergmelikyan has quit IRC21:07
*** vahidh has joined #murano21:09
*** vahidh has quit IRC21:15
*** vgridnev has quit IRC21:24
*** vgridnev has joined #murano21:25
*** kzaitsev_mb has quit IRC21:27
*** kzaitsev_mb has joined #murano21:34
*** vkmc is now known as vkmc_afk22:02
openstackgerritMerged openstack/murano: change the repo stackforge to openstack and github to cgit  https://review.openstack.org/26198322:05
openstackgerritMerged openstack/murano: [test-runner] Create new executer on each test case  https://review.openstack.org/26153122:06
*** vgridnev has quit IRC22:09
*** vahidh has joined #murano22:18
*** alejandrito has quit IRC22:21
*** vkmc_afk is now known as vkmc22:32
*** vahidh has quit IRC22:39
*** kzaitsev1mb has joined #murano22:54
*** vahidh has joined #murano22:56
*** kzaitsev_mb has quit IRC22:57
*** kzaitsev1mb has quit IRC23:18
*** vahidh has quit IRC23:25
*** vahidh has joined #murano23:26
*** vahidh has quit IRC23:40

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