Saturday, 2019-06-01

*** irclogbot_3 has quit IRC00:02
*** altlogbot_2 has quit IRC00:05
*** altlogbot_2 has joined #ara00:05
*** irclogbot_1 has joined #ara00:06
*** youam has joined #ara09:35
youamI need to select the Playbook ID while using ARA's cli. right now, this:   ara stats list -c "Playbook ID" --column Host -f json   only works after monkey-patching   Field('Playbook ID', 'playbook.id'),  into LIST_FIELDS in cli/stats.py. what's the correct approach to do this?09:38
youam(ara version 0.16.4, if that matters)09:40
*** jparrill has joined #ara13:32
*** jparrill has quit IRC13:48
*** gvincent has quit IRC15:07
*** ktibi has joined #ara15:36
*** ktibi_ has joined #ara15:44
*** ktibi has quit IRC15:47
*** ktibi_ has quit IRC17:40
dmsimardyouam: what is the use case ? would the new API help ? https://ara.readthedocs.io/en/feature-1.0/api-usage.html#example-api-usage17:57
*** altlogbot_2 has quit IRC18:02
*** altlogbot_2 has joined #ara18:02
youamdmsimard: remember the "overview table" feature i spoke about three or four weeks back? this is https://gitlab.youam.com/snippets/119:54
youamdmsimard: at first glance, your linked python api should work, and be way faster than what i've hacked in shell19:56
youamor rather, it should be possible to rewrite my shell script in python and make it use the new api, and then be way faster. obviously, your example script and my hack do different things19:57

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