Tuesday, 2017-02-28

*** berendt has quit IRC00:02
*** jmccrory has quit IRC00:02
*** berendt has joined #ara00:06
*** jmccrory has joined #ara00:09
openstackgerritDavid Moreau Simard proposed openstack/ara master: Major UI Refactor  https://review.openstack.org/43811802:32
openstackgerritDavid Moreau Simard proposed openstack/ara master: Major UI Refactor  https://review.openstack.org/43811802:53
mnaserdmsimard https://gist.github.com/mnaser/5832b9278e7b7d91f51d6735a09de6ca03:07
mnaseri dont use twitter03:07
mnaserbut yeah :)03:07
dmsimardmnaser: wat03:08
dmsimardI gotta try that out03:08
mnaserhttps://twitter.com/dmsimard/status/83552582317627801703:08
mnaserthat will give you a json suitable based on the same structure03:08
mnasertraversing a directory03:08
dmsimardI'm notoriously bad at recursive functions, my brain is just not able to do them03:08
mnasersame03:08
mnaserbut it was a challenge :p03:09
dmsimardI'll definitely try it out03:09
mnaseryeah i tried it and it works so it should give you what you need03:09
mnaserat least the hard part of it :p03:09
dmsimardmnaser: have you seen the new UI btw ? http://46.231.133.111/index.html03:09
* mnaser looks03:09
mnaseroh man03:10
mnaserthis looks so much better03:10
mnaserand we can sort things!03:10
dmsimardand search too03:11
dmsimardthere's search tips on the left hand side03:11
dmsimardcan even do limited host fact searching03:11
* mnaser cant find search03:12
dmsimardit's at the top left of the table03:12
mnaseroooh03:12
mnaserof the table03:12
mnasernot the whole site03:12
dmsimardbut thanks for telling me you can't find it, I'll make sure it's obvious03:12
dmsimardmnaser: okay, trying the tree thing now03:45
dmsimardmnaser: it can't work that way :(03:49
mnaserdmsimard whats wrong?03:49
dmsimardmnaser: os.listdir(path) is a filesystem call, it seeks the list of dirs in that path03:49
dmsimardwhat we have in the database is a path, e.g, /home/jenkins/workspace/gate-openstack-ansible-os_magnum-ansible-func-ubuntu-xenial/tests/test.yml03:50
dmsimardcan't expect the webapp to be able to crawl /home/jenkins/workspace/gate-openstack-ansible-os_magnum-ansible-func-ubuntu-xenial/tests03:51
mnaseroooh03:51
mnaseri see03:51
mnasercant you generate the json blob when ara runs?03:51
dmsimardso for example, if you look at the files table in here: http://46.231.133.111/reports/index.html03:51
dmsimardthat's a list of file paths03:51
dmsimardand I was trying to reconstruct from that03:52
mnaseroh03:52
dmsimardmnaser: fwiw dpath got me part of the way there https://pypi.python.org/pypi/dpath/1.4.003:52
mnaseri get it now03:52
mnaseri see03:52
dmsimardbut dpath usage is sort of weird03:53
dmsimardLike I tried to iterate across the list of file paths, create new dpaths with dpath.util.new and then merge them together with dpath.util.merge03:53
dmsimardit seemed promising but in the end I couldn't get it to work03:54
dmsimardand you still have to traverse the dict afterwards to add in those extra attributes like icons and junk03:54
openstackgerritDavid Moreau Simard proposed openstack/ara master: Major UI Refactor  https://review.openstack.org/43811803:56
openstackgerritDavid Moreau Simard proposed openstack/ara master: Major UI Refactor  https://review.openstack.org/43811804:06
openstackgerritDavid Moreau Simard proposed openstack/ara master: Major UI Refactor  https://review.openstack.org/43811804:08
dmsimardmnaser: made the search box a bit more obvious :)04:09
dmsimardgood night o/04:09
*** gk-1wm-su has joined #ara05:43
*** gk-1wm-su has quit IRC05:55
*** karimb has joined #ara08:48
boxrick1dmsimard: Your new UI changes look good. I have made some comments on https://review.openstack.org/#/c/438118/17 which perhaps may help point out some issues.09:41
-openstackstatus- NOTICE: restarting gerrit to address performance problems13:03
*** ChanServ changes topic to "restarting gerrit to address performance problems"13:03
-openstackstatus- NOTICE: ok gerrit is back to normal13:32
*** ChanServ changes topic to "ok gerrit is back to normal"13:33
*** ChanServ changes topic to "ARA - Ansible Run Analysis: Making playbook runs easier to visualize, understand and troubleshoot | Git: https://github.com/openstack/ara - Docs: https://ara.readthedocs.io/en/latest/ - Latest version: 0.11.0: https://dmsimard.com/2017/02/13/announcing-the-ara-0.11-release/ | This channel is logged: http://eavesdrop.openstack.org/irclogs/%23ara/"13:39
-openstackstatus- NOTICE: gerrit is back to normal and I don't know how to use the openstackstaus bot13:39
dmsimardboxrick1: nice, I'll look at the review in a bit. Thanks!13:52
*** openstackgerrit has quit IRC14:03
dmsimardboxrick1: re: help tips taking room14:32
dmsimardhow would you feel about some sort of question mark icon that would pop over the help text instead ? It'd make it more concealed/free up space14:33
*** themurph has quit IRC14:40
*** tbielawa has joined #ara15:24
*** tbielawa has quit IRC15:25
*** tbielawa has joined #ara15:26
*** tbielawa has quit IRC15:28
*** tbielawa has joined #ara15:32
*** themurph has joined #ara15:40
*** themurph_ has joined #ara15:43
*** themurph has quit IRC15:45
*** openstackgerrit has joined #ara17:16
*** karimb has quit IRC17:28
*** karimb has joined #ara18:35
*** karimb has quit IRC18:35
*** tbielawa is now known as tbielawa|lunch19:37
dmsimardmnaser: I was trying to think outside the box for the folder tree view thing19:51
dmsimardanother option would be to use mock to mock actual file/path/dir objects19:51
dmsimardbut I threw up a little in my mouth19:51
*** tbielawa|lunch is now known as tbielawa20:37
*** tbielawa has quit IRC20:41
*** tbielawa has joined #ara20:42
*** tbielawa has quit IRC22:05

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