Friday, 2020-01-10

*** ricolin_ has joined #openstack-sdks01:50
*** ricolin_ has quit IRC03:18
*** ricolin has joined #openstack-sdks03:19
*** factor has quit IRC05:08
*** factor has joined #openstack-sdks05:08
*** goldyfruit has quit IRC05:30
*** goldyfruit has joined #openstack-sdks05:30
*** evrardjp has quit IRC05:33
*** evrardjp has joined #openstack-sdks05:34
*** jawad_axd has joined #openstack-sdks07:12
*** slaweq has joined #openstack-sdks07:18
*** gtema has joined #openstack-sdks07:50
*** tosky has joined #openstack-sdks08:12
*** factor has quit IRC08:50
*** factor has joined #openstack-sdks08:51
*** jpena|off is now known as jpena08:54
*** ralonsoh has joined #openstack-sdks08:56
*** jpich has joined #openstack-sdks09:02
*** dtantsur|afk is now known as dtantsur10:05
*** gtema_ has joined #openstack-sdks10:43
*** gtema has quit IRC10:46
openstackgerritVishakha Agarwal proposed openstack/python-openstackclient master: Adding options to user cli  https://review.opendev.org/69744411:17
*** sshnaidm is now known as sshnaidm|off11:52
*** jpena is now known as jpena|lunch12:01
*** enriquetaso has joined #openstack-sdks12:04
*** enriquetaso has quit IRC12:05
fricklermordred: dtroyer: can the osc4 feature branch be dropped? we do have v4 in master now, don't we?12:31
*** gtema has joined #openstack-sdks12:33
*** enriquetaso has joined #openstack-sdks12:33
*** gtema_ has quit IRC12:35
*** mgariepy has joined #openstack-sdks12:41
*** jpich has quit IRC12:41
*** jpich has joined #openstack-sdks12:41
*** jpena|lunch is now known as jpena12:57
*** gtema has quit IRC13:05
*** goldyfruit has quit IRC13:05
*** goldyfruit has joined #openstack-sdks13:06
*** gtema has joined #openstack-sdks13:38
*** umbSublime has quit IRC13:45
*** dtantsur is now known as dtantsur|brb14:27
*** jawad_axd has quit IRC14:36
*** jawad_axd has joined #openstack-sdks14:37
*** jawad_axd has quit IRC14:37
*** jawad_axd has joined #openstack-sdks14:41
*** jawad_axd has quit IRC14:45
*** dave-mccowan has joined #openstack-sdks15:07
dtroyerfrickler: yes it can15:14
*** vkmc has joined #openstack-sdks15:26
vkmchey all o/15:40
vkmcwe are working on implementing the plugin for osc for manila15:40
vkmcwondering if there are guidelines for creating documentation for it15:40
vkmcI've seen that the osc client has their own docs, which each of the commands that it's implemented15:40
mordredvkmc: if it's a new plugin, it would be *awesome* if we could base it on openstacksdk and get the manila support in sdk solid - for docs, that's a good question ... dtroyer?15:45
*** jpena is now known as jpena|brb15:45
vkmcmordred, yes, brand new plugin15:45
*** maaritamm has joined #openstack-sdks15:48
vkmcmaaritamm, o/15:49
vkmcmordred, dtroyer, so maaritamm (outreachy intern) is the main lead on the manila plugin development15:50
vkmcwe want to make sure we comply to any existing process that the community might have wrt to creating user docs for the client15:50
mordredyay outreachy intern! hi maaritamm15:50
maaritammo/15:51
maaritammhi to all :)15:51
mordredI'm honestly not sure what the osc plugin docs story is ... maybe dtroyer or dtantsur|brb knows?15:52
mordredor amotoki if he's around15:52
dtroyerI think the docs story has changed a bit recently, efried was doing a lot of work on autodoc at the end of last year, and I think that has affected the story for plugins, but I don't have that in my head at the moment15:53
vkmcwhen is is the weekly meeting for this team? maybe we can use some minutes to talk about this15:54
vkmcif that works for you15:54
amotokiI haven't caught up the recent change on autodoc in osc, but as long as neutronclient osc plugin I think the autogen of OSC plugin CLI still works15:55
dtroyervkmc: We haven't had weekly meetings in quite some time15:56
vkmcoh ok15:56
dtroyerPretty much everything happens here as needed15:56
vkmcok :)15:56
efriedvkmc: Plugin docs should live in the plugin. The python-openstackclient should be updated to pull them in via an autoprogram-cliff directive. Let me grab some links...15:57
vkmcefried++15:57
amotokivkmc: you can find an example OSC plugin document at https://opendev.org/openstack/python-neutronclient/src/branch/master/doc/source/cli/osc/v215:57
amotokivkmc: all OSC plguin CLI document is generated automatically15:58
vkmcperfect... yes, I assumed there was something to automatize the generation of docs but I wasn't sure15:58
vkmcamotoki, thanks for the sample15:58
*** jangutter has quit IRC15:59
amotokivkmc: I am going to bed soon. if you have questions, feel free to drop them in this channel.16:00
vkmcamotoki, will do, thanks again!16:00
mordreddtroyer: if you have a sec, there's a naming question in https://review.opendev.org/#/c/677857/ that we discussed, but it hasn't landed yet, so would love your ack on where we wound up16:03
*** jpich has quit IRC16:07
*** jpich has joined #openstack-sdks16:08
*** jawad_axd has joined #openstack-sdks16:08
*** dtantsur|brb is now known as dtantsur16:08
dtantsurvkmc: you can check what ironicclient is doing. currently we're hosting its docs as part of docs.o.o/python-ironicclient16:09
dtantsurlike https://docs.openstack.org/python-ironicclient/latest/cli/osc_plugin_cli.html16:09
*** jawad_axd has quit IRC16:13
vkmcdtantsur, perfect, I'll take a look at those too16:13
vkmcthanks!16:13
efriedvkmc: Okay, using octavia as an example:16:14
efried- Your plugin's setup.cfg needs to define entry_points for each subcommand in this spirit: https://opendev.org/openstack/python-octaviaclient/src/branch/master/setup.cfg#L2416:14
efried==> The left-hand side is the subcommand syntax, s/ /_/16:14
efried==> The right-hand side is the package:class that handles that.16:14
efriedI think that's just standard fare for plugin-ness. But the important point is that the docs will be generated from the argparse helps defined in the classes' get_parser overrides.16:14
efriedThen in python-openstackclient you need to:16:14
efried- Include your plugin in doc/requirements.txt, like: https://opendev.org/openstack/python-openstackclient/src/branch/master/doc/requirements.txt#L2716:14
efried- Set up a page with a title and any desired preamble text (preferably keep that minimal) with an autoprogram-cliff directive that references your entry point, like: https://opendev.org/openstack/python-openstackclient/raw/branch/master/doc/source/cli/plugin-commands/octavia.rst16:14
efried- Don't forget to add your new page ^ to the index https://opendev.org/openstack/python-openstackclient/raw/branch/master/doc/source/cli/plugin-commands/index.rst16:14
efriedI *think* that's it.16:14
efriedWhat would be really neat is if you could scribble this process into a doc of its own and publish it in python-openstackclient for future contributors...16:14
mordred++16:16
vkmcefried, yep, we definitely need to add this16:16
vkmcI can do that16:16
efriedthanks!16:16
vkmcthanks!16:16
johnsomvkmc You can also ping me if you have questions. I authored the docs setup for octaviaclient and ironicclient.16:17
johnsomWell, at least the auto generate bits16:18
vkmcjohnsom, oh nice, that would be helpful... in case we get stuck with anything there16:20
*** jpena|brb is now known as jpena16:22
efriedphew, thanks johnsom -- cause all I did was framework stuff, no real clue how the docs themselves work :P16:22
*** jawad_axd has joined #openstack-sdks16:44
*** jawad_axd has quit IRC16:49
*** jpich has quit IRC17:12
*** jawad_axd has joined #openstack-sdks17:20
*** jawad_axd has quit IRC17:25
*** dtantsur is now known as dtantsur|afk17:30
*** evrardjp has quit IRC17:33
*** evrardjp has joined #openstack-sdks17:34
openstackgerritSean McGinnis proposed openstack/python-openstackclient master: Raise hacking to more recent 2.0.0  https://review.opendev.org/70201917:43
openstackgerritSean McGinnis proposed openstack/python-openstackclient master: Stop testing python2  https://review.opendev.org/68659017:58
*** gtema has quit IRC17:58
*** gtema has joined #openstack-sdks17:59
smcginnismordred: Restored and updated your patch, but let me know if there were other conversations around that that I am not aware of. ^^18:01
*** gtema has quit IRC18:04
smcginnisdtroyer: Note that dropping py2 support requires a major version bump, so not sure if there are any other major-version-bumping-worthy changes in the works that we might want to get in along with that cycle goal change before doing an official release. ^18:06
dtroyersmcginnis: I don't have any waiting since we just did 4.0, there may be some that I have not seen yet.  But that likely needs some work on the openstackclient repo to match, I think I saw some stuff going on about that earlier this week (sorry I wasn't able to actually follow along with that)18:08
smcginnisI'm not aware either. Really just a heads up in case we had anything we were waiting on for an opportune time. ;)18:09
dtroyersure, thanks.  I have a vague memory that mriedem did run across one or two small things, not sure where to find that now18:10
smcginnisWe can see how many major versions we can get over the next cycle or two.18:11
smcginnisOh, I totally missed https://review.opendev.org/#/c/695427/. Oh well, still a couple little things needed per the cycle goal instructions.18:13
openstackgerritSean McGinnis proposed openstack/python-openstackclient master: Stop testing python2  https://review.opendev.org/68659018:14
openstackgerritSean McGinnis proposed openstack/python-openstackclient master: Stop testing python2  https://review.opendev.org/68659018:17
*** jpena is now known as jpena|off18:25
*** ralonsoh has quit IRC18:59
*** factor has quit IRC19:27
*** jawad_axd has joined #openstack-sdks20:15
*** jawad_axd has quit IRC20:20
openstackgerritSean McGinnis proposed openstack/python-openstackclient master: Raise flake8-import-order version to latest  https://review.opendev.org/70203620:23
*** jawad_axd has joined #openstack-sdks20:36
*** jawad_axd has quit IRC20:41
*** jawad_axd has joined #openstack-sdks20:57
*** enriquetaso has quit IRC20:58
*** jawad_axd has quit IRC21:01
KeithMnemonicsmcginnis: Thank you very much for helping get the stable openstackclient branches working. it is very appreciated21:36
smcginnisKeithMnemonic: No problem, thanks for getting a lot of that in place to start with.21:37
smcginnisHopefully we can get those stable branches cleaned up and jobs working again.21:37
smcginnisOnly a few outstanding patches, but most look like good fixes to get merged if we can.21:38
KeithMnemonici agree , it will be a much less stressful when just having to debug the code in the fix itself and not other external issues21:39
*** lastmikoi has quit IRC22:28
*** KeithMnemonic has quit IRC22:46
*** dave-mccowan has quit IRC22:48
*** lastmikoi has joined #openstack-sdks23:27
*** camelCaser has quit IRC23:52
*** camelCaser has joined #openstack-sdks23:53

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