*** berendt has quit IRC | 00:02 | |
*** jmccrory has quit IRC | 00:02 | |
*** berendt has joined #ara | 00:06 | |
*** jmccrory has joined #ara | 00:09 | |
openstackgerrit | David Moreau Simard proposed openstack/ara master: Major UI Refactor https://review.openstack.org/438118 | 02:32 |
---|---|---|
openstackgerrit | David Moreau Simard proposed openstack/ara master: Major UI Refactor https://review.openstack.org/438118 | 02:53 |
mnaser | dmsimard https://gist.github.com/mnaser/5832b9278e7b7d91f51d6735a09de6ca | 03:07 |
mnaser | i dont use twitter | 03:07 |
mnaser | but yeah :) | 03:07 |
dmsimard | mnaser: wat | 03:08 |
dmsimard | I gotta try that out | 03:08 |
mnaser | https://twitter.com/dmsimard/status/835525823176278017 | 03:08 |
mnaser | that will give you a json suitable based on the same structure | 03:08 |
mnaser | traversing a directory | 03:08 |
dmsimard | I'm notoriously bad at recursive functions, my brain is just not able to do them | 03:08 |
mnaser | same | 03:08 |
mnaser | but it was a challenge :p | 03:09 |
dmsimard | I'll definitely try it out | 03:09 |
mnaser | yeah i tried it and it works so it should give you what you need | 03:09 |
mnaser | at least the hard part of it :p | 03:09 |
dmsimard | mnaser: have you seen the new UI btw ? http://46.231.133.111/index.html | 03:09 |
* mnaser looks | 03:09 | |
mnaser | oh man | 03:10 |
mnaser | this looks so much better | 03:10 |
mnaser | and we can sort things! | 03:10 |
dmsimard | and search too | 03:11 |
dmsimard | there's search tips on the left hand side | 03:11 |
dmsimard | can even do limited host fact searching | 03:11 |
* mnaser cant find search | 03:12 | |
dmsimard | it's at the top left of the table | 03:12 |
mnaser | oooh | 03:12 |
mnaser | of the table | 03:12 |
mnaser | not the whole site | 03:12 |
dmsimard | but thanks for telling me you can't find it, I'll make sure it's obvious | 03:12 |
dmsimard | mnaser: okay, trying the tree thing now | 03:45 |
dmsimard | mnaser: it can't work that way :( | 03:49 |
mnaser | dmsimard whats wrong? | 03:49 |
dmsimard | mnaser: os.listdir(path) is a filesystem call, it seeks the list of dirs in that path | 03:49 |
dmsimard | what we have in the database is a path, e.g, /home/jenkins/workspace/gate-openstack-ansible-os_magnum-ansible-func-ubuntu-xenial/tests/test.yml | 03:50 |
dmsimard | can't expect the webapp to be able to crawl /home/jenkins/workspace/gate-openstack-ansible-os_magnum-ansible-func-ubuntu-xenial/tests | 03:51 |
mnaser | oooh | 03:51 |
mnaser | i see | 03:51 |
mnaser | cant you generate the json blob when ara runs? | 03:51 |
dmsimard | so for example, if you look at the files table in here: http://46.231.133.111/reports/index.html | 03:51 |
dmsimard | that's a list of file paths | 03:51 |
dmsimard | and I was trying to reconstruct from that | 03:52 |
mnaser | oh | 03:52 |
dmsimard | mnaser: fwiw dpath got me part of the way there https://pypi.python.org/pypi/dpath/1.4.0 | 03:52 |
mnaser | i get it now | 03:52 |
mnaser | i see | 03:52 |
dmsimard | but dpath usage is sort of weird | 03:53 |
dmsimard | Like 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.merge | 03:53 |
dmsimard | it seemed promising but in the end I couldn't get it to work | 03:54 |
dmsimard | and you still have to traverse the dict afterwards to add in those extra attributes like icons and junk | 03:54 |
openstackgerrit | David Moreau Simard proposed openstack/ara master: Major UI Refactor https://review.openstack.org/438118 | 03:56 |
openstackgerrit | David Moreau Simard proposed openstack/ara master: Major UI Refactor https://review.openstack.org/438118 | 04:06 |
openstackgerrit | David Moreau Simard proposed openstack/ara master: Major UI Refactor https://review.openstack.org/438118 | 04:08 |
dmsimard | mnaser: made the search box a bit more obvious :) | 04:09 |
dmsimard | good night o/ | 04:09 |
*** gk-1wm-su has joined #ara | 05:43 | |
*** gk-1wm-su has quit IRC | 05:55 | |
*** karimb has joined #ara | 08:48 | |
boxrick1 | dmsimard: 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 problems | 13:03 | |
*** ChanServ changes topic to "restarting gerrit to address performance problems" | 13:03 | |
-openstackstatus- NOTICE: ok gerrit is back to normal | 13: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 bot | 13:39 | |
dmsimard | boxrick1: nice, I'll look at the review in a bit. Thanks! | 13:52 |
*** openstackgerrit has quit IRC | 14:03 | |
dmsimard | boxrick1: re: help tips taking room | 14:32 |
dmsimard | how 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 space | 14:33 |
*** themurph has quit IRC | 14:40 | |
*** tbielawa has joined #ara | 15:24 | |
*** tbielawa has quit IRC | 15:25 | |
*** tbielawa has joined #ara | 15:26 | |
*** tbielawa has quit IRC | 15:28 | |
*** tbielawa has joined #ara | 15:32 | |
*** themurph has joined #ara | 15:40 | |
*** themurph_ has joined #ara | 15:43 | |
*** themurph has quit IRC | 15:45 | |
*** openstackgerrit has joined #ara | 17:16 | |
*** karimb has quit IRC | 17:28 | |
*** karimb has joined #ara | 18:35 | |
*** karimb has quit IRC | 18:35 | |
*** tbielawa is now known as tbielawa|lunch | 19:37 | |
dmsimard | mnaser: I was trying to think outside the box for the folder tree view thing | 19:51 |
dmsimard | another option would be to use mock to mock actual file/path/dir objects | 19:51 |
dmsimard | but I threw up a little in my mouth | 19:51 |
*** tbielawa|lunch is now known as tbielawa | 20:37 | |
*** tbielawa has quit IRC | 20:41 | |
*** tbielawa has joined #ara | 20:42 | |
*** tbielawa has quit IRC | 22:05 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!