*** jamielennox|away is now known as jamielennox | 01:07 | |
*** Qiming has joined #openstack-sdks | 01:09 | |
*** heyongli has joined #openstack-sdks | 01:40 | |
*** Yanyanhu has joined #openstack-sdks | 01:43 | |
*** Yanyan has joined #openstack-sdks | 01:43 | |
*** Yanyanhu has quit IRC | 01:47 | |
openstackgerrit | Dave Chen proposed openstack/python-openstackclient: Not use the deprecated argument https://review.openstack.org/188804 | 02:19 |
---|---|---|
*** Qiming has quit IRC | 02:34 | |
*** Qiming has joined #openstack-sdks | 02:35 | |
*** heyongli has quit IRC | 03:13 | |
*** heyongli has joined #openstack-sdks | 03:14 | |
*** heyongli has quit IRC | 03:27 | |
*** elarson has quit IRC | 03:27 | |
*** stevelle has quit IRC | 03:27 | |
*** elarson has joined #openstack-sdks | 03:28 | |
*** stevelle has joined #openstack-sdks | 03:28 | |
*** Qiming_ has joined #openstack-sdks | 04:00 | |
*** Qiming has quit IRC | 04:01 | |
*** Qiming__ has joined #openstack-sdks | 04:02 | |
*** Qiming_ has quit IRC | 04:05 | |
*** Qiming__ is now known as Qiming | 04:07 | |
*** Qiming_ has joined #openstack-sdks | 04:26 | |
*** Qiming__ has joined #openstack-sdks | 04:29 | |
*** Qiming has quit IRC | 04:30 | |
*** Qiming_ has quit IRC | 04:31 | |
*** abhide has joined #openstack-sdks | 05:53 | |
*** abhide has left #openstack-sdks | 05:53 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/python-openstackclient: Imported Translations from Transifex https://review.openstack.org/188672 | 06:01 |
*** Qiming__ is now known as Qiming | 06:04 | |
*** abhide has joined #openstack-sdks | 06:25 | |
*** tobe has joined #openstack-sdks | 06:45 | |
*** mordred has quit IRC | 06:46 | |
*** heyongli has joined #openstack-sdks | 06:50 | |
*** jaosorior has joined #openstack-sdks | 07:15 | |
*** abhide has quit IRC | 07:36 | |
*** dguerri` is now known as dguerri | 08:11 | |
*** karimb has joined #openstack-sdks | 08:13 | |
*** karimb has quit IRC | 08:16 | |
*** karimb has joined #openstack-sdks | 08:17 | |
*** aufi has joined #openstack-sdks | 08:28 | |
*** aufi has quit IRC | 08:40 | |
*** Yanyan has quit IRC | 09:57 | |
*** Qiming has quit IRC | 10:04 | |
*** boris-42 has joined #openstack-sdks | 10:04 | |
*** openstackgerrit has quit IRC | 10:09 | |
*** openstackgerrit has joined #openstack-sdks | 10:09 | |
*** thrash|wknd is now known as thrash | 11:10 | |
*** dguerri is now known as dguerri` | 11:19 | |
*** tobe has quit IRC | 11:26 | |
*** MaxV has joined #openstack-sdks | 11:54 | |
jaosorior | stevemar: ping | 12:33 |
*** trown|outttypeww is now known as trown | 12:34 | |
*** tristanC has joined #openstack-sdks | 12:38 | |
*** dguerri` is now known as dguerri | 12:46 | |
*** petertr7_away is now known as petertr7 | 12:47 | |
*** mordred has joined #openstack-sdks | 12:52 | |
*** zz_steveortiz is now known as steveortiz | 13:04 | |
*** heyongli has quit IRC | 13:07 | |
*** heyongli has joined #openstack-sdks | 13:08 | |
*** dguerri is now known as dguerri` | 13:12 | |
*** dguerri` is now known as dguerri | 13:24 | |
openstackgerrit | Juan Antonio Osorio Robles proposed openstack/python-openstackclient: Enable specifying domain for group and role commands https://review.openstack.org/189294 | 13:33 |
MaxV | hello there, I want to work on the python-openstackclient, but I do not find any documentation for how to setup a dev environment | 13:54 |
MaxV | I can complete that, but I need a little help for starting | 13:54 |
MaxV | I currently clone the git repo and add it to the PYTHONPATH | 13:55 |
MaxV | but I have an error which seems to appear if you do not use the setup.py install | 13:56 |
MaxV | Traceback (most recent call last): | 13:56 |
MaxV | File "./stack_init.py", line 13, in <module> | 13:56 |
MaxV | import openstackclient.common.clientmanager as clientmanager | 13:56 |
MaxV | File "/mnt/python-openstackclient/openstackclient/__init__.py", line 20, in <module> | 13:56 |
MaxV | __version__ = version_info.version_string() | 13:56 |
MaxV | File "/usr/local/lib/python2.7/dist-packages/pbr/version.py", line 457, in version_string | 13:56 |
MaxV | return self.semantic_version().brief_string() | 13:56 |
MaxV | File "/usr/local/lib/python2.7/dist-packages/pbr/version.py", line 452, in semantic_version | 13:56 |
MaxV | self._semantic = self._get_version_from_pkg_resources() | 13:56 |
MaxV | File "/usr/local/lib/python2.7/dist-packages/pbr/version.py", line 439, in _get_version_from_pkg_resources | 13:56 |
MaxV | result_string = packaging.get_version(self.package) | 13:56 |
MaxV | File "/usr/local/lib/python2.7/dist-packages/pbr/packaging.py", line 660, in get_version | 13:57 |
MaxV | raise Exception("Versioning for this project requires either an sdist" | 13:57 |
MaxV | Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. Are you sure that git is installed? | 13:57 |
MaxV | (I have git installed) | 13:57 |
*** notmars has joined #openstack-sdks | 14:02 | |
openstackgerrit | Juan Antonio Osorio Robles proposed openstack/python-openstackclient: Enable specifying domain for group and role commands https://review.openstack.org/189294 | 14:05 |
*** notmars_ has joined #openstack-sdks | 14:06 | |
*** notmars has quit IRC | 14:07 | |
*** notmars_ is now known as notmars | 14:07 | |
*** sigmavirus24_awa is now known as sigmavirus24 | 14:11 | |
jaosorior | MaxV: I think you'll keep getting that error if you don't use setup.py, since the version is gotten from pbr, which will actually set things up being called from that script | 14:14 |
MaxV | jaosorior: seems like a compilation time to my eyes :x | 14:15 |
jaosorior | MaxV: You'll probably encounter similar things in most of the openstack projects | 14:18 |
MaxV | jaosorior: ok, so I will use it like this, thx for the help | 14:19 |
*** pm90_ has joined #openstack-sdks | 14:22 | |
*** notmars has quit IRC | 14:22 | |
*** britthouser has quit IRC | 14:34 | |
*** britthouser has joined #openstack-sdks | 14:34 | |
*** Qiming has joined #openstack-sdks | 14:36 | |
*** jamielennox is now known as jamielennox|away | 14:38 | |
*** britthouser has quit IRC | 14:49 | |
*** britthou_ has joined #openstack-sdks | 14:49 | |
*** Qiming has quit IRC | 14:52 | |
*** Qiming has joined #openstack-sdks | 14:52 | |
*** petertr7 is now known as petertr7_away | 15:00 | |
*** petertr7_away is now known as petertr7 | 15:02 | |
*** karimb has quit IRC | 15:03 | |
*** steveortiz is now known as zz_steveortiz | 15:09 | |
MaxV | jaosorior: okay so I have made a setup.py install then a symbolic link to the /usr/local/lib/python2.7/dist-packages/openstackclient/ (it can be a virtualenv) directory so I can directly develop in my environment | 15:09 |
MaxV | jaosorior: do you think it could be a good idea to document this? | 15:09 |
dtroyer | MaxV: why are you symlinking into the python lib dirs? | 15:11 |
*** Qiming has quit IRC | 15:11 | |
MaxV | dtroyer: In order to develop and do not have to setup.py again | 15:11 |
MaxV | dtroyer: install* | 15:12 |
dtroyer | that's what 'pip install -e .' does | 15:12 |
dtroyer | in the checked-out repo | 15:12 |
MaxV | dtroyer: is it documented somewhere? | 15:12 |
dtroyer | in the pip docs, it's called an editable install | 15:13 |
dtroyer | and elsewhere I'm sure | 15:13 |
MaxV | dtroyer: don't you think it could be a good idea to explain this in the repo? | 15:13 |
dtroyer | in every repo in openstack? | 15:13 |
MaxV | dtroyer: not all repo need the same development environment | 15:14 |
MaxV | dtroyer: some project does not need to setup.py install in order to test them | 15:14 |
dtroyer | find an openstack project like that for me? | 15:14 |
openstackgerrit | Merged openstack/cliff: Add value format for list command https://review.openstack.org/182794 | 15:14 |
*** terrylhowe has joined #openstack-sdks | 15:18 | |
openstackgerrit | Merged openstack/cliff: Add some docs for list value formatter https://review.openstack.org/182825 | 15:18 |
MaxV | dtroyer: https://github.com/openstack/horizon/ | 15:19 |
dtroyer | so do you understand what is different about horizon? | 15:19 |
MaxV | dtroyer: I did not have dig a lot into the openstackclient code, but a lot of opensource project explain how to install the dev environment | 15:21 |
MaxV | dtroyer: which is not the case for some openstack project, so newbies (like me) must have to annoy other people to start coding stuff | 15:22 |
*** terrylhowe has quit IRC | 15:24 | |
dtroyer | there is a certain amount of learning about what it is you want to start coding on that is expected, and not all of the 100+ openstack repos are going to include that level of instruction. Using pip to do the setup os by far the most common pattern used in OpenStack projects (Horizon is a Django app and totally different in many ways.) | 15:26 |
dtroyer | Without knowing what you might have already read, working on OpenStack has a bit of a bar to meet in order to do anything useful. | 15:26 |
dtroyer | Things like https://wiki.openstack.org/wiki/How_To_Contribute and http://docs.openstack.org/developer/nova/devref/development.environment.html go into the details | 15:27 |
dtroyer | https://wiki.openstack.org/wiki/StartingPage might be useful | 15:28 |
dtroyer | so might https://wiki.openstack.org/wiki/Getting_Started | 15:28 |
MaxV | sorry but still no mention of pip install -e and there is no common pattern on how to install dev envs, maybe you are familiar with this but it is not obvious for everyone | 15:31 |
MaxV | but I understand that you do not really want this kind of documentation (elitism maybe) so I will stop here | 15:32 |
mordred | MaxV: it's not that we don't want it | 15:32 |
mordred | MaxV: it's that we need one copy of it and for projects to point to it -because we have 100s of repos and if we have 100 copies of the instructions, things would quickly go badly | 15:33 |
mordred | MaxV: so, I thnik we need a link to how to find the dev instructions for sure | 15:33 |
mordred | MaxV: http://docs.openstack.org/infra/manual/python.html is what you're looking for I believe | 15:34 |
mordred | those commands should work in every openstack repository | 15:34 |
MaxV | as long as every project has its requirements and its different patterns I though that some instructions to help new comers could have been interesting | 15:35 |
mordred | yah. so - there should not be different patterns | 15:36 |
mordred | we have a consistent interface in every repo for that exact reason | 15:36 |
mordred | I think we should add a link in the readme to the canonical instructions - becasue you're right - it's important to get good instructions to get started | 15:37 |
openstackgerrit | Monty Taylor proposed openstack/python-openstackclient: Include links to developer workflow documentation https://review.openstack.org/189343 | 15:40 |
mordred | MaxV: ^^ how's that? | 15:40 |
MaxV | mordred: as long as you are modifyin this, can you add the IRC channel? I had to ask this information too (maybe I missed an entry) | 15:42 |
mordred | MaxV: good call | 15:42 |
openstackgerrit | Monty Taylor proposed openstack/python-openstackclient: Include links to developer workflow documentation https://review.openstack.org/189343 | 15:43 |
MaxV | mordred: thx seems good | 15:44 |
mordred | \o/ | 15:46 |
mordred | MaxV: sorry you had issues getting started - totally not our intent | 15:47 |
*** petertr7 is now known as petertr7_away | 15:51 | |
*** karimb has joined #openstack-sdks | 15:58 | |
*** karimb has quit IRC | 15:59 | |
*** karmatronic has joined #openstack-sdks | 15:59 | |
mordred | dtroyer, Shrews: so - I've got a potentially crack-addled patch up to OCC that may warrant discussion | 16:03 |
mordred | dtroyer, Shrews: basically moving the defaults and vendor data into their own non-python repo so that other languages could also consume the data - but then using bower at tarball build time to copy the data into the occ tarball | 16:04 |
*** MaxV has quit IRC | 16:04 | |
*** bnemec has quit IRC | 16:45 | |
*** petertr7_away is now known as petertr7 | 16:46 | |
*** bnemec has joined #openstack-sdks | 16:46 | |
Shrews | mordred: yeah, i saw this wackiness yesterday, but haven't dug into it yet. my first thought was, if ksauth wants us, will such an approach be acceptable? | 16:51 |
mordred | well - it shouldnt make much of a difference to ksauth - in fact, it's consuming json files, so there's no additional external needs | 16:53 |
mordred | Shrews: taht said - ksauth explicitly does not want the vendor support matrix | 16:53 |
Shrews | *nod* | 16:54 |
mordred | however, that doesn't mean it's a good idea | 17:04 |
mordred | I can convince myself in both directions | 17:04 |
dtroyer | I'm hesitant to introduce yet another tool that isn't part of my particular toolset. Maybe the data files shouldn't be packaged in the library at all? | 17:24 |
dtroyer | is bower common enough outside the js world? | 17:25 |
mordred | nope. not at all | 17:27 |
mordred | we could also just do a manual copy/sync | 17:27 |
mordred | like we do for requirements files | 17:27 |
mordred | or, we could just say "hi, so you're a non-python project, feel free to get these json files from our git repo" | 17:27 |
*** trown is now known as trown|lunch | 17:29 | |
*** dguerri is now known as dguerri` | 17:31 | |
*** zz_steveortiz is now known as steveortiz | 17:36 | |
*** MaxV has joined #openstack-sdks | 17:37 | |
*** MaxV has quit IRC | 17:37 | |
*** abhide has joined #openstack-sdks | 17:49 | |
*** abhide has quit IRC | 17:50 | |
*** abhide has joined #openstack-sdks | 17:51 | |
*** abhide has left #openstack-sdks | 17:57 | |
*** openstackgerrit has quit IRC | 18:09 | |
*** openstackgerrit has joined #openstack-sdks | 18:09 | |
*** hitalia has joined #openstack-sdks | 18:24 | |
*** trown|lunch is now known as trown | 18:29 | |
openstackgerrit | Merged stackforge/python-openstacksdk: Refactor verify_create in proxy tests https://review.openstack.org/188842 | 19:07 |
openstackgerrit | Merged stackforge/python-openstacksdk: Move stray metric test under proper directory https://review.openstack.org/188844 | 19:07 |
openstackgerrit | Merged stackforge/python-openstacksdk: Added functional tests for subnet. https://review.openstack.org/188619 | 19:07 |
*** VeggieMeat_ has joined #openstack-sdks | 19:11 | |
*** steveortiz is now known as zz_steveortiz | 19:15 | |
*** VeggieMeat has quit IRC | 19:15 | |
*** dguerri` is now known as dguerri | 19:21 | |
*** hitalia has quit IRC | 19:40 | |
*** zz_steveortiz is now known as steveortiz | 20:04 | |
*** karmatronic has quit IRC | 20:22 | |
*** karmatronic has joined #openstack-sdks | 20:31 | |
*** hitalia has joined #openstack-sdks | 20:34 | |
*** karmatronic has quit IRC | 21:00 | |
*** abhide has joined #openstack-sdks | 21:01 | |
*** petertr7 is now known as petertr7_away | 21:11 | |
*** jose4183 has quit IRC | 21:15 | |
*** SpamapS has quit IRC | 21:22 | |
*** trown is now known as trown|outttypeww | 21:24 | |
openstackgerrit | Merged openstack/os-client-config: Some cleanup in the README.rst https://review.openstack.org/189014 | 21:29 |
*** steveortiz is now known as zz_steveortiz | 21:54 | |
*** SpamapS has joined #openstack-sdks | 21:55 | |
openstackgerrit | Merged openstack/python-openstackclient: Not use the deprecated argument https://review.openstack.org/188804 | 22:06 |
*** abhide has left #openstack-sdks | 22:31 | |
*** abhide has joined #openstack-sdks | 22:54 | |
*** jose4183 has joined #openstack-sdks | 22:59 | |
*** jose4183 has quit IRC | 23:05 | |
*** jose4183 has joined #openstack-sdks | 23:05 | |
*** nosleep77 has quit IRC | 23:22 | |
*** jose4183 has quit IRC | 23:28 | |
*** jaosorior has quit IRC | 23:31 | |
*** chlong has joined #openstack-sdks | 23:36 | |
*** Qiming has joined #openstack-sdks | 23:45 | |
*** Qiming has quit IRC | 23:57 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!