Thursday, 2017-08-31

*** bobh has joined #openstack-sdks00:08
*** bobh has quit IRC00:14
*** bobh has joined #openstack-sdks00:21
*** salv-orlando has joined #openstack-sdks00:22
*** markvoelker_ has quit IRC00:27
*** markvoelker has joined #openstack-sdks00:28
*** markvoelker has quit IRC00:28
*** annegentle has joined #openstack-sdks00:33
*** markvoelker has joined #openstack-sdks00:44
*** markvoelker has quit IRC00:48
*** yuanying has joined #openstack-sdks01:00
*** yuanying_ has quit IRC01:04
*** yuanying_ has joined #openstack-sdks01:04
*** yuanying has quit IRC01:05
*** bobh has quit IRC01:18
*** shu-mutou-AWAY is now known as shu-mutou01:36
*** markvoelker has joined #openstack-sdks01:44
openstackgerritTingtingYu proposed openstack/python-openstacksdk master: Update mailmap for TingtingYu.  https://review.openstack.org/49712201:50
*** sdague has quit IRC01:56
*** annp has joined #openstack-sdks01:59
*** yuanying_ has quit IRC02:01
*** yuanying has joined #openstack-sdks02:04
*** markvoelker has quit IRC02:18
*** gtrxcb has joined #openstack-sdks02:54
*** markvoelker has joined #openstack-sdks03:15
*** markvoelker has quit IRC03:48
*** annegentle has quit IRC03:48
*** gouthamr has quit IRC03:49
*** salv-orlando has quit IRC04:37
*** markvoelker has joined #openstack-sdks04:45
*** salv-orlando has joined #openstack-sdks05:09
*** markvoelker has quit IRC05:19
*** seanhandley has joined #openstack-sdks05:19
*** markvoelker has joined #openstack-sdks05:24
*** markvoelker_ has joined #openstack-sdks05:25
*** markvoelker has quit IRC05:29
*** markvoelker_ has quit IRC05:48
*** fzdarsky|afk has joined #openstack-sdks05:55
*** fzdarsky|afk is now known as fzdarsky07:13
*** gtrxcb has quit IRC07:22
*** jpich has joined #openstack-sdks07:39
*** cdent has joined #openstack-sdks08:13
*** openstackgerrit has quit IRC08:17
*** cdent has quit IRC08:22
*** ralonsoh has joined #openstack-sdks08:23
*** e0ne has joined #openstack-sdks09:09
*** seanhandley has quit IRC09:37
*** sdague has joined #openstack-sdks09:38
*** shu-mutou is now known as shu-mutou-AWAY09:42
*** seanhandley has joined #openstack-sdks10:02
*** ralonsoh has quit IRC10:03
*** ralonsoh has joined #openstack-sdks10:04
*** ebbex has quit IRC10:10
*** jkilpatr has quit IRC10:41
*** salv-orlando has quit IRC11:00
*** jkilpatr has joined #openstack-sdks11:01
*** dave-mccowan has joined #openstack-sdks11:18
*** salv-orlando has joined #openstack-sdks11:36
*** efried_off is now known as efried11:50
*** ldl__ has joined #openstack-sdks12:02
ldl__hi12:02
ldl__ how are you12:02
*** jkilpatr has quit IRC12:03
*** jkilpatr has joined #openstack-sdks12:09
*** annp has quit IRC12:09
*** jkilpatr has quit IRC12:12
*** jkilpatr has joined #openstack-sdks12:12
ldl__I can not install the openstacksdk in my mac:12:15
ldl__https://ask.openstack.org/en/question/110000/error-no-available-formula-with-the-name-openstacksdk/12:15
ldl__Who can help me with this?12:15
*** jkilpatr has quit IRC12:17
*** bobh has joined #openstack-sdks12:18
*** bobh has quit IRC12:22
*** sdague has quit IRC12:23
*** annegentle has joined #openstack-sdks12:24
*** jkilpatr has joined #openstack-sdks12:30
*** sdague has joined #openstack-sdks12:37
*** hidekazu has joined #openstack-sdks12:44
*** ldl__ has quit IRC12:48
*** salv-orlando has quit IRC12:54
*** bobh has joined #openstack-sdks12:56
*** dave-mccowan has quit IRC12:57
*** annegentle has quit IRC13:06
edleafeelmiko: I won't be around for today's API-SIG meeting. And cdent is in the air for much of today, so I don't know if he'll make it either.13:06
*** dave-mcc_ has joined #openstack-sdks13:09
*** annegentle has joined #openstack-sdks13:16
*** gouthamr has joined #openstack-sdks13:17
elmikoedleafe: ack, i'll show up and see if we get any takers13:30
*** salv-orlando has joined #openstack-sdks13:33
*** rajathagasthya has joined #openstack-sdks13:48
*** cleong has joined #openstack-sdks13:57
*** marst has joined #openstack-sdks14:08
*** annegentle has quit IRC14:30
*** annegentle has joined #openstack-sdks14:51
*** ldl___ has joined #openstack-sdks15:01
*** hoangcx has quit IRC15:03
*** hoangcx has joined #openstack-sdks15:04
*** annegentle has quit IRC15:08
*** salv-orlando has quit IRC15:08
*** salv-orlando has joined #openstack-sdks15:21
*** annegentle has joined #openstack-sdks15:21
*** ralonsoh has quit IRC15:23
*** jeremyfreudberg has joined #openstack-sdks15:29
*** jeremyfreudberg has left #openstack-sdks15:29
*** salv-orlando has quit IRC15:35
*** iwonka has joined #openstack-sdks15:44
*** ldl___ has quit IRC15:46
*** e0ne has quit IRC15:47
iwonkahi guys, i'm an outreachy intern in sahara and as a part of my internship i've added new commands to openstack cli. the commands export some stuff to json, and there are doubts among sahara people whether the command that does it should print to stdout or take an argument with a name to write. thus question to you: what is the better option to do it?15:48
*** jeremyfreudberg has joined #openstack-sdks15:49
jeremyfreudbergto build on what iwonka said, we have some API in sahara which returns some json, and that json doesn't just represent the result, the json **is** the result that the user wants to keep. therefore when creating an OSC command to use this API we don't use any standard osc formatter to represent the output. so we are wondering if there are any best practices regarding write to stdout, write to file, etc, in OSC16:06
*** jpich has quit IRC16:17
elmikogood question, maybe dtroyer has a quick answer ^^16:18
elmikoi mean, you can always redirect stdout =)16:18
elmikobut having a --out option or something is nice also16:18
jeremyfreudbergelmiko, sounds a lot like what we had been going back and forth about in the sahara channel16:19
jeremyfreudbergif dtroyer could weigh in that would be nice, we know it's gonna break osc traditions no matter what we pick, so we just wanna make sure we do it right16:19
elmiko+116:20
dtroyerosc does have a -f json output format so we already have that, written to stdout.16:20
dtroyerIn this case, though, it doesn't sound like any other output formats make sense16:21
dtroyerif the user is expecting JSON always, jsut write it to stdout.  We do have a couple of comamnds that write output to files, like downloading objects or images16:21
dtroyerimage save —file <filename>16:22
dtroyer(oops, there's an image nmae/id on there too)16:22
dtroyerobject save [—file <filename>] <object-name-or-id>16:23
jeremyfreudbergah, dtroyer, very good examples16:24
dtroyerif you really want to have an option to specify a filename, I'd do it that way.  OSC users will be used to redirecting stdout for a lot of things though, including those save sommands if that's where they want the images to go16:24
dtroyerso to me, the inconsistency is in always outputting JSON, which isn't an issue if that is really the only thing the user wants to get out16:24
dtroyermake sure including '-f json' is handled without error though16:25
jeremyfreudbergdtroyer, if take_action returns None, that's ok right?16:26
dtroyeryes, although it may depend on what kind of command class you inherit from to begin with16:27
jeremyfreudbergosc_lib.command.command.Command16:28
dtroyerthere no return is expcted16:29
jeremyfreudbergcool16:30
jeremyfreudbergthanks for your help, i'll play around with it some... i'm leaning towards doing it like `openstack image save` with optional file that defaults to stdout16:30
dtroyerwhat is the command verb?16:31
jeremyfreudbergexport16:32
dtroyerok, I think that makes sense.  I wanted to make sure these semantics were not going to be surprising to users16:33
jeremyfreudbergcool cool16:34
jeremyfreudbergneed to go afk now, if you have any sudden change of heart feel free to jump on the sahara channel later16:34
jeremyfreudbergthanks a ton16:34
*** jeremyfreudberg has quit IRC16:34
*** salv-orlando has joined #openstack-sdks16:36
*** salv-orlando has quit IRC16:41
*** annegentle has quit IRC16:55
*** dave-mcc_ is now known as dave-mccowan17:01
*** fzdarsky is now known as fzdarsky|afk17:04
*** jkilpatr has quit IRC17:16
*** jkilpatr has joined #openstack-sdks17:29
*** salv-orlando has joined #openstack-sdks17:37
*** salv-orlando has quit IRC17:41
*** dave-mccowan has quit IRC18:07
*** iwonka has quit IRC18:08
*** dave-mccowan has joined #openstack-sdks18:14
*** iwonka has joined #openstack-sdks18:14
*** iwonka has quit IRC18:25
*** salv-orlando has joined #openstack-sdks18:38
*** salv-orlando has quit IRC18:43
*** annegentle has joined #openstack-sdks18:51
*** jkilpatr has quit IRC18:57
*** jkilpatr has joined #openstack-sdks18:57
*** salv-orlando has joined #openstack-sdks19:39
*** jkilpatr has quit IRC19:40
*** rajathagasthya has quit IRC19:43
*** salv-orlando has quit IRC19:43
*** e0ne has joined #openstack-sdks19:53
*** annegentle has quit IRC19:55
*** jkilpatr has joined #openstack-sdks20:03
*** rajathagasthya has joined #openstack-sdks20:09
*** annegentle has joined #openstack-sdks20:32
*** e0ne has quit IRC20:36
*** salv-orlando has joined #openstack-sdks20:39
*** salv-orlando has quit IRC20:45
*** cleong has quit IRC20:45
*** annegentle has quit IRC20:46
*** annegentle has joined #openstack-sdks20:52
*** annegentle has quit IRC21:07
*** dave-mccowan has quit IRC21:20
*** annegentle has joined #openstack-sdks21:34
*** salv-orlando has joined #openstack-sdks21:40
*** salv-orlando has quit IRC21:45
*** bobh has quit IRC21:59
*** gouthamr has quit IRC22:08
*** annegentle has quit IRC22:27
*** salv-orlando has joined #openstack-sdks22:29
*** annegentle has joined #openstack-sdks22:35
*** jgriffith has quit IRC22:43
*** jgriffith has joined #openstack-sdks22:44
*** salv-orlando has quit IRC23:01
*** salv-orlando has joined #openstack-sdks23:02
*** annegentle has quit IRC23:03
*** salv-orlando has quit IRC23:06
*** salv-orlando has joined #openstack-sdks23:06
*** rajathagasthya has quit IRC23:18
*** salv-orlando has quit IRC23:23
*** salv-orlando has joined #openstack-sdks23:23
*** salv-orlando has quit IRC23:28
*** salv-orlando has joined #openstack-sdks23:47
*** sdague has quit IRC23:54
*** marst has quit IRC23:57

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