Monday, 2015-01-19

*** britthouser has quit IRC01:10
*** britthouser has joined #openstack-sdks01:22
*** britthouser has joined #openstack-sdks01:23
*** pm90_ has joined #openstack-sdks02:44
*** HenryG has joined #openstack-sdks02:44
*** pm90_ has quit IRC02:46
*** pm90_ has joined #openstack-sdks02:47
*** pm90_ has quit IRC03:53
*** pm90_ has joined #openstack-sdks04:13
*** tellesnobrega_ has joined #openstack-sdks04:16
*** tellesnobrega_ has quit IRC04:24
*** pm90_ has quit IRC04:35
*** briancurtin has quit IRC04:52
*** stevemar has joined #openstack-sdks05:51
openstackgerritOpenStack Proposal Bot proposed openstack/python-openstackclient: Imported Translations from Transifex  https://review.openstack.org/14804506:14
*** stevemar has quit IRC06:44
*** Miouge has joined #openstack-sdks07:05
*** chlong has quit IRC07:10
*** Krast has joined #openstack-sdks07:47
*** Krast has quit IRC07:47
*** jamielennox is now known as jamielennox|away08:34
openstackgerritVladimir Eremin proposed openstack/python-openstackclient: live migration on random host  https://review.openstack.org/14745311:04
openstackgerritVladimir Eremin proposed openstack/python-openstackclient: live migration on random host  https://review.openstack.org/14745311:11
*** Miouge has quit IRC14:28
*** pm90_ has joined #openstack-sdks14:35
*** pm90_ has quit IRC14:35
*** pm90_ has joined #openstack-sdks14:36
*** briancurtin has joined #openstack-sdks15:02
*** briancurtin has quit IRC15:04
*** briancurtin has joined #openstack-sdks15:04
*** briancurtin has joined #openstack-sdks15:04
*** sigmavirus24_awa is now known as sigmavirus2415:08
*** pm90_ has quit IRC15:13
*** britthouser has quit IRC15:20
*** britthou_ has joined #openstack-sdks15:20
*** britthou_ has quit IRC15:24
*** stevemar has joined #openstack-sdks15:24
*** bknudson has joined #openstack-sdks15:29
*** tellesnobrega has quit IRC15:52
*** pm90_ has joined #openstack-sdks15:54
*** pm90__ has joined #openstack-sdks15:59
*** pm90_ has quit IRC16:02
*** pm90__ has quit IRC16:04
*** tellesnobrega has joined #openstack-sdks16:06
*** etoews has joined #openstack-sdks16:38
openstackgerritDean Troyer proposed openstack/python-openstackclient: Create 1.0.2 release notes  https://review.openstack.org/14740216:42
*** pm90_ has joined #openstack-sdks16:43
*** pm90_ has quit IRC16:44
*** pm90_ has joined #openstack-sdks16:45
openstackgerritMerged openstack/python-openstackclient: Imported Translations from Transifex  https://review.openstack.org/14804516:54
openstackgerritDean Troyer proposed openstack/python-openstackclient: Fix doc building errors  https://review.openstack.org/14804917:15
*** etoews has quit IRC17:46
*** etoews has joined #openstack-sdks17:46
*** sigmavirus24 is now known as sigmavirus24_awa17:50
openstackgerritMerged openstack/python-openstackclient: Add version url config workaround  https://review.openstack.org/14568118:08
stevemardtroyer, 1 sec with the doc building errors... saw a few more18:09
*** tellesnobrega_ has joined #openstack-sdks18:10
dtroyerstevemar: there's a bunch more, but OK.18:10
*** pm90_ has quit IRC18:11
openstackgerritSteve Martinelli proposed openstack/python-openstackclient: Fix doc building errors  https://review.openstack.org/14804918:12
stevemardtroyer, yeah theres a bug with the way it creates APIs for instances (clientmanager.py)18:12
stevemardtroyer, but otherwise, like your changes to aggregate, the docs for server were also missing the .. program:: attribute18:13
dtroyerthe 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 one18:16
*** pm90_ has joined #openstack-sdks18:24
*** pm90__ has joined #openstack-sdks18:24
*** pm90_ has quit IRC18:29
*** pm90__ has quit IRC18:29
stevemardtroyer, yeah, i think it's a sphinx bug with no fix18:30
*** pm90_ has joined #openstack-sdks18:30
*** bknudson has quit IRC18:36
*** openstackgerrit has quit IRC18:37
*** openstackgerrit has joined #openstack-sdks18:37
*** sigmavirus24_awa is now known as sigmavirus2418:51
sigmavirus24stevemar: tell me more18:56
* sigmavirus24 likes sphinx bugs18:56
openstackgerritMerged openstack/python-openstackclient: Fix doc building errors  https://review.openstack.org/14804919:22
*** etoews has quit IRC19:33
*** tellesnobrega_ has quit IRC19:41
*** tellesnobrega_ has joined #openstack-sdks19:54
openstackgerritMerged openstack/python-openstackclient: Create 1.0.2 release notes  https://review.openstack.org/14740220:15
*** bknudson has joined #openstack-sdks20:16
*** ayoung has joined #openstack-sdks20:20
*** bknudson has quit IRC20:20
stevemarsigmavirus24, hey, went to lunch, let me pull up the error, and what i suspect is the bug20:20
sigmavirus24stevemar: cool20:20
sigmavirus24also, how's SAT?20:21
*** bknudson has joined #openstack-sdks20:21
stevemarsigmavirus24, it's pretty good, loving the weather and food :)20:21
stevemarsigmavirus24, here's the error we're seeing: http://paste.openstack.org/show/158959/20:21
stevemarsigmavirus24, i suspect it's got something to do with this: http://stackoverflow.com/questions/17610807/problems-with-autodoc-and-explicitly-specified-instance-attributes20:22
sigmavirus24stevemar: yep that looks about right20:24
stevemarsigmavirus24, i'm hoping there is some sort of workaround, but i'm not motivated enough to care :)20:26
stevemarsince it's just a warning and the docs still build20:26
sigmavirus24heh20:27
sigmavirus24stevemar: sounded like autoinstancemember or something like that in the stackoverflow question20:27
sigmavirus24"Using .. autoinstanceattribute:: aclass.Aclass.a does work (tested with Sphinx 1.1.3 and 1.2b1). "20:27
*** etoews has joined #openstack-sdks20:29
stevemarsigmavirus24, right, i remember seeing that, but the way we create the api docs is by running tox -e docs, and that creates the APIs20:37
stevemarso i can't change the generated APIs right, i need to do something to the actual .py file so that it knows to create autoinstanceattribute20:37
*** tellesnobrega_ has quit IRC20:42
sigmavirus24hm20:43
sigmavirus24can you link me an example real quick (like the py file it generates them from)?20:43
stevemarsigmavirus24, sure20:48
stevemarsigmavirus24, https://github.com/openstack/python-openstackclient/blob/master/openstackclient/common/clientmanager.py20:48
stevemaryou can clone/checkout the latest of python-openstackclient and run tox -e docs, you'll see the errors20:49
dtroyerstevemar: 1.0.2 is on the loose…20:50
stevemardtroyer, YAY!20:50
stevemardtroyer, now to see if this works... https://review.openstack.org/#/c/148361/21:01
*** tellesnobrega_ has joined #openstack-sdks21:16
stevemarand ... https://review.openstack.org/#/c/148365/1/functions-common21:18
sigmavirus24stevemar: I'm not looking to figure out wtf pbr does with build_sphinx =P21:38
sigmavirus24wish me luck ;)21:38
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Implement resources for the CDN service  https://review.openstack.org/14837022:06
sigmavirus24stevemar: 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 ClientManager22:17
sigmavirus24oh stevemar it's probably https://github.com/openstack/python-openstackclient/blob/master/openstackclient/common/clientmanager.py#L192..L19822:18
sigmavirus24yeah that's trying to do attribute access and I wouldn't be surprised if that's the problem22:18
stevemarsigmavirus24, yep - those are the lines22:22
stevemarsigmavirus24, i was hoping there was a workaround for those few lines of the code there... but i dunno22:23
stevemarmaybe ClientManger needs compute/volume/etc properties ...22:25
dtroyerif we have to go static on those properties it breaks plugins for additional client APIs22:26
*** etoews has quit IRC22:26
dtroyereverything except Identity is implemented using the plugin mehcansim even if it is in the repo22:26
stevemardtroyer, i'm at the keystone meetup and you were just given full credit for introducing functional tests for osc22:27
stevemarppffffttt22:27
dtroyer|o|22:27
stevemardammit stanek!22:27
sigmavirus24stevemar: lol22:34
stevemari just can't catch a break22:34
sigmavirus24dtroyer: 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
sigmavirus24Do we need to doc those plugins as part of client manager?22:35
dtroyersigmavirus24: I'm new enough to autodoc/Sphinx that I'm sure I don't know the right way to do this…22:38
sigmavirus24dtroyer: I think I've done something like this on one of my projects but I need to double check22:38
sigmavirus24oh 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
sigmavirus24I guess the question is: do you want volume, compute, etc. documented on the ClientManager or not22:40
dtroyerThe clients in the OSC repo should be documented, is there a way to trigger that without actually adding the attributes statically?22:43
sigmavirus24dtroyer: no clue22:44
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Better exception in Auth plugins  https://review.openstack.org/14837722:57
stevemarany idea why the RST isn't being formatted here: https://pypi.python.org/pypi/python-openstackclient/22:59
*** briancurtin has quit IRC23:00
*** chlong has joined #openstack-sdks23:10
*** tellesnobrega_ has quit IRC23:12
*** tellesnobrega_ has joined #openstack-sdks23:17
*** jamielennox|away is now known as jamielennox23:21
*** briancurtin has joined #openstack-sdks23:22
briancurtinstevemar: 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.py23:46
stevemarbriancurtin, that was what I initially thought, but it looks good, https://github.com/openstack/python-openstackclient/blob/master/setup.cfg#L4-L523:48
briancurtinstevemar: 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 work23:50
stevemarbriancurtin, i think sigmavirus24 answered something similar http://stackoverflow.com/questions/16367770/my-rst-readme-is-not-formatted-on-pypi-python-org23:53
stevemarlooks like pypi only uses docutils 0.8... maybe?23:53
openstackgerritDean Troyer proposed openstack/python-openstackclient: Begin low-level API for Image v1 and v2  https://review.openstack.org/13006623:56

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