*** britthouser has quit IRC | 01:10 | |
*** britthouser has joined #openstack-sdks | 01:22 | |
*** britthouser has joined #openstack-sdks | 01:23 | |
*** pm90_ has joined #openstack-sdks | 02:44 | |
*** HenryG has joined #openstack-sdks | 02:44 | |
*** pm90_ has quit IRC | 02:46 | |
*** pm90_ has joined #openstack-sdks | 02:47 | |
*** pm90_ has quit IRC | 03:53 | |
*** pm90_ has joined #openstack-sdks | 04:13 | |
*** tellesnobrega_ has joined #openstack-sdks | 04:16 | |
*** tellesnobrega_ has quit IRC | 04:24 | |
*** pm90_ has quit IRC | 04:35 | |
*** briancurtin has quit IRC | 04:52 | |
*** stevemar has joined #openstack-sdks | 05:51 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/python-openstackclient: Imported Translations from Transifex https://review.openstack.org/148045 | 06:14 |
---|---|---|
*** stevemar has quit IRC | 06:44 | |
*** Miouge has joined #openstack-sdks | 07:05 | |
*** chlong has quit IRC | 07:10 | |
*** Krast has joined #openstack-sdks | 07:47 | |
*** Krast has quit IRC | 07:47 | |
*** jamielennox is now known as jamielennox|away | 08:34 | |
openstackgerrit | Vladimir Eremin proposed openstack/python-openstackclient: live migration on random host https://review.openstack.org/147453 | 11:04 |
openstackgerrit | Vladimir Eremin proposed openstack/python-openstackclient: live migration on random host https://review.openstack.org/147453 | 11:11 |
*** Miouge has quit IRC | 14:28 | |
*** pm90_ has joined #openstack-sdks | 14:35 | |
*** pm90_ has quit IRC | 14:35 | |
*** pm90_ has joined #openstack-sdks | 14:36 | |
*** briancurtin has joined #openstack-sdks | 15:02 | |
*** briancurtin has quit IRC | 15:04 | |
*** briancurtin has joined #openstack-sdks | 15:04 | |
*** briancurtin has joined #openstack-sdks | 15:04 | |
*** sigmavirus24_awa is now known as sigmavirus24 | 15:08 | |
*** pm90_ has quit IRC | 15:13 | |
*** britthouser has quit IRC | 15:20 | |
*** britthou_ has joined #openstack-sdks | 15:20 | |
*** britthou_ has quit IRC | 15:24 | |
*** stevemar has joined #openstack-sdks | 15:24 | |
*** bknudson has joined #openstack-sdks | 15:29 | |
*** tellesnobrega has quit IRC | 15:52 | |
*** pm90_ has joined #openstack-sdks | 15:54 | |
*** pm90__ has joined #openstack-sdks | 15:59 | |
*** pm90_ has quit IRC | 16:02 | |
*** pm90__ has quit IRC | 16:04 | |
*** tellesnobrega has joined #openstack-sdks | 16:06 | |
*** etoews has joined #openstack-sdks | 16:38 | |
openstackgerrit | Dean Troyer proposed openstack/python-openstackclient: Create 1.0.2 release notes https://review.openstack.org/147402 | 16:42 |
*** pm90_ has joined #openstack-sdks | 16:43 | |
*** pm90_ has quit IRC | 16:44 | |
*** pm90_ has joined #openstack-sdks | 16:45 | |
openstackgerrit | Merged openstack/python-openstackclient: Imported Translations from Transifex https://review.openstack.org/148045 | 16:54 |
openstackgerrit | Dean Troyer proposed openstack/python-openstackclient: Fix doc building errors https://review.openstack.org/148049 | 17:15 |
*** etoews has quit IRC | 17:46 | |
*** etoews has joined #openstack-sdks | 17:46 | |
*** sigmavirus24 is now known as sigmavirus24_awa | 17:50 | |
openstackgerrit | Merged openstack/python-openstackclient: Add version url config workaround https://review.openstack.org/145681 | 18:08 |
stevemar | dtroyer, 1 sec with the doc building errors... saw a few more | 18:09 |
*** tellesnobrega_ has joined #openstack-sdks | 18:10 | |
dtroyer | stevemar: there's a bunch more, but OK. | 18:10 |
*** pm90_ has quit IRC | 18:11 | |
openstackgerrit | Steve Martinelli proposed openstack/python-openstackclient: Fix doc building errors https://review.openstack.org/148049 | 18:12 |
stevemar | dtroyer, yeah theres a bug with the way it creates APIs for instances (clientmanager.py) | 18:12 |
stevemar | dtroyer, but otherwise, like your changes to aggregate, the docs for server were also missing the .. program:: attribute | 18:13 |
dtroyer | the clientmanager bits I think are caused by the compute/volume/etc attributes not being initialized in the class declaration, but added dynamically. not sure how to get around that one | 18:16 |
*** pm90_ has joined #openstack-sdks | 18:24 | |
*** pm90__ has joined #openstack-sdks | 18:24 | |
*** pm90_ has quit IRC | 18:29 | |
*** pm90__ has quit IRC | 18:29 | |
stevemar | dtroyer, yeah, i think it's a sphinx bug with no fix | 18:30 |
*** pm90_ has joined #openstack-sdks | 18:30 | |
*** bknudson has quit IRC | 18:36 | |
*** openstackgerrit has quit IRC | 18:37 | |
*** openstackgerrit has joined #openstack-sdks | 18:37 | |
*** sigmavirus24_awa is now known as sigmavirus24 | 18:51 | |
sigmavirus24 | stevemar: tell me more | 18:56 |
* sigmavirus24 likes sphinx bugs | 18:56 | |
openstackgerrit | Merged openstack/python-openstackclient: Fix doc building errors https://review.openstack.org/148049 | 19:22 |
*** etoews has quit IRC | 19:33 | |
*** tellesnobrega_ has quit IRC | 19:41 | |
*** tellesnobrega_ has joined #openstack-sdks | 19:54 | |
openstackgerrit | Merged openstack/python-openstackclient: Create 1.0.2 release notes https://review.openstack.org/147402 | 20:15 |
*** bknudson has joined #openstack-sdks | 20:16 | |
*** ayoung has joined #openstack-sdks | 20:20 | |
*** bknudson has quit IRC | 20:20 | |
stevemar | sigmavirus24, hey, went to lunch, let me pull up the error, and what i suspect is the bug | 20:20 |
sigmavirus24 | stevemar: cool | 20:20 |
sigmavirus24 | also, how's SAT? | 20:21 |
*** bknudson has joined #openstack-sdks | 20:21 | |
stevemar | sigmavirus24, it's pretty good, loving the weather and food :) | 20:21 |
stevemar | sigmavirus24, here's the error we're seeing: http://paste.openstack.org/show/158959/ | 20:21 |
stevemar | sigmavirus24, i suspect it's got something to do with this: http://stackoverflow.com/questions/17610807/problems-with-autodoc-and-explicitly-specified-instance-attributes | 20:22 |
sigmavirus24 | stevemar: yep that looks about right | 20:24 |
stevemar | sigmavirus24, i'm hoping there is some sort of workaround, but i'm not motivated enough to care :) | 20:26 |
stevemar | since it's just a warning and the docs still build | 20:26 |
sigmavirus24 | heh | 20:27 |
sigmavirus24 | stevemar: sounded like autoinstancemember or something like that in the stackoverflow question | 20:27 |
sigmavirus24 | "Using .. autoinstanceattribute:: aclass.Aclass.a does work (tested with Sphinx 1.1.3 and 1.2b1). " | 20:27 |
*** etoews has joined #openstack-sdks | 20:29 | |
stevemar | sigmavirus24, right, i remember seeing that, but the way we create the api docs is by running tox -e docs, and that creates the APIs | 20:37 |
stevemar | so i can't change the generated APIs right, i need to do something to the actual .py file so that it knows to create autoinstanceattribute | 20:37 |
*** tellesnobrega_ has quit IRC | 20:42 | |
sigmavirus24 | hm | 20:43 |
sigmavirus24 | can you link me an example real quick (like the py file it generates them from)? | 20:43 |
stevemar | sigmavirus24, sure | 20:48 |
stevemar | sigmavirus24, https://github.com/openstack/python-openstackclient/blob/master/openstackclient/common/clientmanager.py | 20:48 |
stevemar | you can clone/checkout the latest of python-openstackclient and run tox -e docs, you'll see the errors | 20:49 |
dtroyer | stevemar: 1.0.2 is on the loose… | 20:50 |
stevemar | dtroyer, YAY! | 20:50 |
stevemar | dtroyer, now to see if this works... https://review.openstack.org/#/c/148361/ | 21:01 |
*** tellesnobrega_ has joined #openstack-sdks | 21:16 | |
stevemar | and ... https://review.openstack.org/#/c/148365/1/functions-common | 21:18 |
sigmavirus24 | stevemar: I'm not looking to figure out wtf pbr does with build_sphinx =P | 21:38 |
sigmavirus24 | wish me luck ;) | 21:38 |
openstackgerrit | Brian Curtin proposed stackforge/python-openstacksdk: Implement resources for the CDN service https://review.openstack.org/148370 | 22:06 |
sigmavirus24 | stevemar: so I think it's related to the warning at the top here http://sphinx-doc.org/ext/autodoc.html but I can't figure out where it's getting those attributes for ClientManager | 22:17 |
sigmavirus24 | oh stevemar it's probably https://github.com/openstack/python-openstackclient/blob/master/openstackclient/common/clientmanager.py#L192..L198 | 22:18 |
sigmavirus24 | yeah that's trying to do attribute access and I wouldn't be surprised if that's the problem | 22:18 |
stevemar | sigmavirus24, yep - those are the lines | 22:22 |
stevemar | sigmavirus24, i was hoping there was a workaround for those few lines of the code there... but i dunno | 22:23 |
stevemar | maybe ClientManger needs compute/volume/etc properties ... | 22:25 |
dtroyer | if we have to go static on those properties it breaks plugins for additional client APIs | 22:26 |
*** etoews has quit IRC | 22:26 | |
dtroyer | everything except Identity is implemented using the plugin mehcansim even if it is in the repo | 22:26 |
stevemar | dtroyer, i'm at the keystone meetup and you were just given full credit for introducing functional tests for osc | 22:27 |
stevemar | ppffffttt | 22:27 |
dtroyer | |o| | 22:27 |
stevemar | dammit stanek! | 22:27 |
sigmavirus24 | stevemar: lol | 22:34 |
stevemar | i just can't catch a break | 22:34 |
sigmavirus24 | dtroyer: so I think there's some env variable that is set when sphinx is generating stuff. perhaps guard that logic and check for that var? | 22:34 |
sigmavirus24 | Do we need to doc those plugins as part of client manager? | 22:35 |
dtroyer | sigmavirus24: I'm new enough to autodoc/Sphinx that I'm sure I don't know the right way to do this… | 22:38 |
sigmavirus24 | dtroyer: I think I've done something like this on one of my projects but I need to double check | 22:38 |
sigmavirus24 | oh you can set it in docs/conf.py, e.g., os.environ['my_super_special_env_var'] = 'some value', and then say if os.environ.get('my_super_special_env_var') == 'some value': return None or something (exit early) | 22:40 |
sigmavirus24 | I guess the question is: do you want volume, compute, etc. documented on the ClientManager or not | 22:40 |
dtroyer | The clients in the OSC repo should be documented, is there a way to trigger that without actually adding the attributes statically? | 22:43 |
sigmavirus24 | dtroyer: no clue | 22:44 |
openstackgerrit | Brian Curtin proposed stackforge/python-openstacksdk: Better exception in Auth plugins https://review.openstack.org/148377 | 22:57 |
stevemar | any idea why the RST isn't being formatted here: https://pypi.python.org/pypi/python-openstackclient/ | 22:59 |
*** briancurtin has quit IRC | 23:00 | |
*** chlong has joined #openstack-sdks | 23:10 | |
*** tellesnobrega_ has quit IRC | 23:12 | |
*** tellesnobrega_ has joined #openstack-sdks | 23:17 | |
*** jamielennox|away is now known as jamielennox | 23:21 | |
*** briancurtin has joined #openstack-sdks | 23:22 | |
briancurtin | stevemar: my guess is that description-file (from setup.cfg) isn't attempted to be rendered. the few rendered PyPI pages I've checked do their work inside setup.py | 23:46 |
stevemar | briancurtin, that was what I initially thought, but it looks good, https://github.com/openstack/python-openstackclient/blob/master/setup.cfg#L4-L5 | 23:48 |
briancurtin | stevemar: i'm wondering if pypi is even attempting to render it from that location, though. putting the text into long_description in setup.py (like https://github.com/kennethreitz/requests/blob/master/setup.py) gets it to work | 23:50 |
stevemar | briancurtin, i think sigmavirus24 answered something similar http://stackoverflow.com/questions/16367770/my-rst-readme-is-not-formatted-on-pypi-python-org | 23:53 |
stevemar | looks like pypi only uses docutils 0.8... maybe? | 23:53 |
openstackgerrit | Dean Troyer proposed openstack/python-openstackclient: Begin low-level API for Image v1 and v2 https://review.openstack.org/130066 | 23:56 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!