Tuesday, 2019-10-01

*** jamesmcarthur has quit IRC00:08
*** mfuller has joined #openstack-doc00:11
*** donghao has joined #openstack-doc00:13
*** goldyfruit_ has joined #openstack-doc00:14
*** jamesmcarthur has joined #openstack-doc00:17
*** donghao has quit IRC00:17
*** mfuller has quit IRC00:19
*** jamesmcarthur has quit IRC00:31
*** jamesmcarthur has joined #openstack-doc00:32
*** jamesmcarthur has quit IRC01:14
*** jamesmcarthur has joined #openstack-doc01:17
*** ianychoi has quit IRC01:17
*** ianychoi has joined #openstack-doc01:18
*** jamesmcarthur has quit IRC01:22
*** jamesmcarthur has joined #openstack-doc01:40
*** jamesmcarthur has quit IRC02:06
*** jamesmcarthur has joined #openstack-doc02:07
*** donghao has joined #openstack-doc02:15
*** brinzhang has joined #openstack-doc02:19
*** donghao has quit IRC02:19
*** brinzhang_ has joined #openstack-doc02:24
*** brinzhang has quit IRC02:27
*** gmann_afk is now known as gmann03:33
*** ianychoi has quit IRC03:59
*** ianychoi has joined #openstack-doc04:00
*** donghao has joined #openstack-doc04:16
*** donghao has quit IRC04:22
*** jamesmcarthur has quit IRC04:31
*** jamesmcarthur has joined #openstack-doc04:33
*** pcaruana has joined #openstack-doc05:01
*** ianychoi has quit IRC05:03
*** ianychoi has joined #openstack-doc05:05
*** jamesmcarthur has quit IRC05:17
*** ianychoi has quit IRC05:27
*** ianychoi has joined #openstack-doc05:29
*** jamesmcarthur has joined #openstack-doc05:47
*** ianychoi has quit IRC06:00
*** ianychoi has joined #openstack-doc06:01
*** donghao has joined #openstack-doc06:19
*** jamesmcarthur has quit IRC06:20
*** donghao has quit IRC06:23
*** jamesmcarthur has joined #openstack-doc06:28
*** ianychoi has quit IRC06:40
*** ianychoi has joined #openstack-doc06:42
*** jamesmcarthur has quit IRC07:04
*** tesseract has joined #openstack-doc07:16
*** tosky has joined #openstack-doc07:16
*** kopecmartin|off is now known as kopecmartin07:24
*** rcernin has quit IRC08:02
*** rcernin has joined #openstack-doc08:03
*** brinzhang has joined #openstack-doc08:05
*** brinzhang_ has quit IRC08:08
*** alexmcleod has joined #openstack-doc08:16
*** brinzhang_ has joined #openstack-doc08:37
*** brinzhang_ has quit IRC08:38
*** brinzhang_ has joined #openstack-doc08:39
*** brinzhang has quit IRC08:40
*** jamesmcarthur has joined #openstack-doc09:01
*** jamesmcarthur has quit IRC09:06
*** donghao has joined #openstack-doc09:21
*** donghao has quit IRC09:26
*** brinzhang has joined #openstack-doc10:08
*** brinzhang_ has quit IRC10:12
*** donghao has joined #openstack-doc11:24
*** donghao has quit IRC11:28
asettleamotoki, I got your response to the castellan patch. Thanks for your response. I actually had done exactly that, but still failed on requirements. Let me update again, and hopefully I can replicate!12:10
*** ianychoi has quit IRC12:10
toskyhow do we move forward when there are issues with no known workarounds? I understand that for the sake of the goal the output does not need to be totally perfect, but still12:12
toskyright now, when doc/index contains some text followed by the TOC, the generated tex file swaps the order, as it puts the TOC on one page, and then the text in the next page12:13
*** ianychoi has joined #openstack-doc12:13
toskyyes, we could go for a separate index and it looks more related to the default sphinx theme, but still12:13
asettletosky, hhmm12:15
asettleGood question12:15
asettleI mean, as you say, not being part of the goal that's entirely up to you/the project to asses how you'd like to do that best.12:15
toskybut I'm pretty sure we can't be the only one with the same issue :)12:15
asettleFrom a goal-perspective, provided it's building, we consider that a success12:16
asettletosky, unlikely. Have you emailed to -discuss?12:16
asettleTends to be more traction that way than through here.12:16
asettleIf anything, amotoki might have seen something on his review rounds12:16
toskyI added it to the etherpad12:17
*** brinzhang_ has joined #openstack-doc12:21
*** brinzhang has quit IRC12:24
asettleamotoki, I rebased: https://review.opendev.org/#/c/684776/ But I was a little confused by your comment on the python minimums12:29
asettletosky, I'll send out an email to the list now asking if anyone has issues with no known workarounds to come forward. We can compile then, and collaborate.12:29
asettleBut as far as the goal is concerned, the "management" is complete once the pdf is building :)12:30
toskyack!12:31
toskyI guess we need to backport the patches to train, right? I have a couple of floating patches does to those workarounds12:31
amotokiasettle: hi, which point is unclear to you?12:32
asettleamotoki, I wasn't too sure what you meant exactly about the python versions: https://review.opendev.org/#/c/684776/10/doc/requirements.txt12:32
asettleI rebased to a previous version where I *had* created the doc/requirements file12:33
asettleSo this is old news12:33
asettleButttt, these python versions reflect exactly what's in the barbican setup: https://review.opendev.org/68396912:33
asettleSo I wasn't too sure what you were saying was wrong12:33
amotokiasettle: when I looked at https://review.opendev.org/#/c/684776/10/doc/requirements.txt, the minimum versions are 1.6.2 for py27 and 1.8.0 for py3. Is it intended? If so, it is better to explain why.12:35
*** brinzhang has joined #openstack-doc12:35
asettleamotoki, umm... not really, no12:38
asettleI don't know the repo particularly well, so this was fumbling at a guess12:38
asettleBad, I know12:39
*** brinzhang_ has quit IRC12:39
amotokiasettle: perhaps it was not detected during the review. it is a good chance to correct it. I think we can use sphinx>=1.8.0.12:40
asettleIs that not what I have here? :) https://review.opendev.org/#/c/684776/10/doc/requirements.txt12:41
asettleLine 212:41
AJaegerasettle: let'S remove those from test-requirements.txt, I left a comment12:45
asettleGot it :)12:45
asettleSubmitted12:46
amotokiasettle: I found some missing points in the patch set you just submitted. Let me update it.12:47
asettleamotoki, please do12:47
*** rcernin has quit IRC12:58
amotokiasettle: just pushed13:00
asettleLooking13:00
amotokiasettle: one open issue is remaining. if you look at TOC of the generated PDF, it looks a bit odd as the team tag is a separate top section.13:01
AJaegeramotoki: one small issue found, I'll push now as well ;)13:06
asettle\o/ pile on!13:07
asettleamotoki, that's something that should be left to the team, I think13:07
AJaeger;)13:07
asettleNot that I don't want to help, but I don't want to alter the way they do things past ensuring it's building13:08
asettleWhich, it was, except for the 'requirements' failure13:08
asettleThis is the one I'm really struggling with: https://review.opendev.org/#/c/685031/13:09
asettleIt should be rebased on top of: https://review.opendev.org/68570813:09
asettleBut even then, still failing13:09
AJaeger"sphinx-build: error: argument -b: expected one argument"13:11
asettleWhich one are we looking at now?13:11
asettleAh, the python one13:11
AJaeger"sphinx-build -W -b -d html " is wrong13:12
asettleSure, I'll fix that13:12
asettleBut that's not the issue13:12
AJaeger-W -b html -d doc/build/dirtrees13:12
asettleYep, adjusted, that's a typo from my part (I copied from the castellan one) but if you pull it down, you'll see it's failing on a completely different issue13:12
asettleAnd I'm pretty stuck :/13:13
AJaegerasettle: still wrong, see my comment13:13
asettleokau13:14
AJaegerasettle: looking at logs, it fails at exactly that line. There might be something else but that is needed first13:14
*** jawad_axd has joined #openstack-doc13:14
asettleAJaeger, building locally, it's always this error: "Warning, treated as error:13:15
asettleerror while formatting arguments for barbicanclient.client.Client: 'function' object has no attribute '__mro__'13:15
asettle"13:15
asettleI think stephenfin was able to replicate13:15
asettleWhich is why he pushed up: https://review.opendev.org/#/c/685708/13:15
AJaegerasettle: ah ;(13:16
asettleBut rebasing on top of his patch still fails13:16
*** donghao has joined #openstack-doc13:26
*** donghao has quit IRC13:31
amotokiasettle: scrolling back the irc log, I found tosky's mention "when doc/index contains some text followed by the TOC, the generated tex file swaps the order, as it puts the TOC on one page, and then the text in the next page"13:47
asettleAhuh13:47
amotokiasettle: tosky: I haven't understood what "TOC" actually means. Do you mean "toctree" by "TOC"?13:47
toskysorry - table of content13:47
amotokiIn my understanding, TOC from latex is different from toctree in sphinx13:48
toskytoctree is the implementation of a TOC13:48
amotokiI have no idea on how to control the place of TOC of PDF file via sphinx13:48
toskybut it's the sphinx theme which seems to define how the TOC is placed13:48
amotokiwe can have multiple toctree in a single RST file.13:48
amotokiso I think toctree is the way to declare which RST files are under a specific file.13:49
toskyyes, I noticed it at least in the main toctree13:49
amotokiso I think toctree does not control where TOC should be placed. It just specifies the tree of documentation in case of latex..... I guess this is one reason that sphinx provides toctree_only option in latex_documents.13:51
AJaegerasettle: did you rebase your change on 685708?13:51
AJaegerasettle: https://review.opendev.org/#/c/685031/ right now is not based on it13:52
toskyamotoki: that's where the theme plays a role; see https://review.opendev.org/#/c/679290/13:52
asettleAJaeger, uh, I did. But I forgot to push it up again. Hang on, let me do that again13:53
toskyin the preview site, there is a blurb of text "This is a client for OpenStack Sahara API. [...]" and the TOC ("Reference guide" etc)13:53
toskythehttps://99ad16ec33ecbdfdd033-11a2e186f8f6505f790122d590a395c2.ssl.cf5.rackcdn.com/679290/3/check/openstack-tox-docs/f9c8089/docs/13:53
toskyumpf13:53
toskyhttps://99ad16ec33ecbdfdd033-11a2e186f8f6505f790122d590a395c2.ssl.cf5.rackcdn.com/679290/3/check/openstack-tox-docs/f9c8089/docs/13:53
toskythe PDF doc is different (https://99ad16ec33ecbdfdd033-11a2e186f8f6505f790122d590a395c2.ssl.cf5.rackcdn.com/679290/3/check/openstack-tox-docs/f9c8089/pdf/doc-python-saharaclient.pdf)13:53
toskythat TOC is on page 3; the blurb of text is on page 513:53
asettleAJaeger, should be good now13:54
*** jawad_axd has quit IRC13:54
amotokitosky: The main contents in the top page will be converted into a cover text (just after TOC) in PDF...13:54
asettleUnless I did it backwards again13:54
asettleI did that last time :p13:54
asettleNope that's right13:55
AJaegerasettle: you did not base it on the other one as far as I see13:55
AJaegerasettle: shall I help?13:56
asettleAJaeger, uh, yeah, please13:56
asettleI don't remember having trouble rebasing before but here we are13:56
amotokitosky: I have no good idea to swap the order of them. I sometimes adjust the files a bit and13:56
amotokisometimes make some trick like https://review.opendev.org/#/c/679969/13:57
AJaegerasettle: done13:57
toskyamotoki: if this required a change in the sphinx theme/whatever drives the format of the generated tex file, would it be acceptable? Where should such change be added, inside openstackdocstheme?13:58
asettleAJaeger, what on earth did I do wrong? Very confused13:58
amotokitosky: in the last example, it has reasonable volume of contents in the top page. I created a overview page for PDF so that the page will appear in the TOC>13:58
AJaegerasettle: no idea13:58
asettleHmm confused. I'll look at it after my meeting. Sorry, and thanks AJaeger13:58
amotokitosky: if you need a change in the theme, I think openstackdocstheme would be a good place.13:58
amotokitosky: perhaps asettle, AJaeger and stephenfin know more about such policy.13:59
* asettle catches up13:59
-amotoki- wonders ianychoi knows more as he was an active contributor on PDF support14:00
AJaegerasettle: https://99b859c8323de3b165e8-5bc324e44eaaf1e289f167f2af496d5e.ssl.cf2.rackcdn.com/685031/7/check/openstack-tox-docs/4546930/pdf/doc-python-barbicanclient.pdf14:09
AJaegerso, works now...14:09
asettleOh awesome! thank you AJaeger :D14:09
asettleI must have botched the rebase the first time too14:09
* asettle facepalms14:09
AJaegerasettle: git review -d first-change;git review -x second-change ; git review14:10
*** mfuller has joined #openstack-doc14:16
asettleYep, that was it14:17
asettleI'm baffled now14:17
*** jamesmcarthur has joined #openstack-doc14:55
*** ianychoi has quit IRC15:20
*** ianychoi has joined #openstack-doc15:23
*** donghao has joined #openstack-doc15:28
*** tesseract has quit IRC15:33
*** donghao has quit IRC15:33
*** alexmcleod has quit IRC16:12
*** donghao has joined #openstack-doc17:29
*** donghao has quit IRC17:34
*** jamesmcarthur has quit IRC17:38
*** jamesmcarthur has joined #openstack-doc17:48
*** jamesmcarthur has quit IRC17:59
*** jamesmcarthur has joined #openstack-doc17:59
*** jamesmcarthur has quit IRC18:04
*** jamesmcarthur has joined #openstack-doc18:19
*** jamesmcarthur has quit IRC18:23
*** jamesmcarthur has joined #openstack-doc18:47
*** brinzhang_ has joined #openstack-doc18:51
*** brinzhang_ has quit IRC18:51
*** brinzhang_ has joined #openstack-doc18:51
*** brinzhang_ has quit IRC18:52
*** brinzhang_ has joined #openstack-doc18:52
*** brinzhang has quit IRC18:54
*** donghao has joined #openstack-doc19:32
*** donghao has quit IRC19:36
*** brinzhang has joined #openstack-doc19:54
*** brinzhang_ has quit IRC19:57
*** brinzhang_ has joined #openstack-doc20:02
*** brinzhang has quit IRC20:05
*** jamesmcarthur has quit IRC20:07
*** kopecmartin is now known as kopecmartin|off20:11
*** jamesmcarthur has joined #openstack-doc20:16
*** pcaruana has quit IRC20:33
*** openstackstatus has quit IRC21:32
*** donghao has joined #openstack-doc21:34
*** openstackstatus has joined #openstack-doc21:34
*** ChanServ sets mode: +v openstackstatus21:34
*** donghao has quit IRC21:38
*** jamesmcarthur has quit IRC22:48
*** tosky has quit IRC23:02
*** jamesmcarthur has joined #openstack-doc23:32
*** rcernin has joined #openstack-doc23:33
*** donghao has joined #openstack-doc23:36
*** donghao has quit IRC23:41

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