<div dir="ltr">On Fri, Mar 1, 2013 at 2:29 AM, Glyph <span dir="ltr">&lt;<a href="mailto:glyph@twistedmatrix.com" target="_blank">glyph@twistedmatrix.com</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word">Jean-Paul recently closed a Lore ticket as invalid, and suggested we have a discussion about Lore&#39;s future direction.  This strikes me as a very good idea, and so I wrote a message which is a bit too long (for which I apologize) to kick that off.<div>
<br></div><div><div>I don&#39;t think these two paths (lore2sphinx and continuing to maintain lore) are necessarily mutually exclusive.  Also I think it implies something about the current state of affairs that isn&#39;t accurate - e.g. that the Twisted team has agreed that Sphinx will surely replace Lore and that we are making progress on that process of placement more than we are maintaining Lore itself.<br>
</div><div><br></div><div>Unfortunately, I think it will be clear to anyone following its progress that lore2sphinx is unmaintained and the sphinx migration effort is stalled.  Nobody has committed to &lt;<a href="https://bitbucket.org/khorn/lore2sphinx" target="_blank">https://bitbucket.org/khorn/lore2sphinx</a>&gt; in a year and a half, about the same amount of time that &lt;<a href="http://twistedmatrix.com/trac/browser/branches/sphinx-conversion-4500" target="_blank">http://twistedmatrix.com/trac/browser/branches/sphinx-conversion-4500</a>&gt; has been idle as well.  By contrast, &lt;<a href="http://twistedmatrix.com/trac/browser/trunk/twisted/lore" target="_blank">http://twistedmatrix.com/trac/browser/trunk/twisted/lore</a>&gt; has seen commits - albeit not many - within only a couple of weeks.  So, empirically, we&#39;re already maintaining lore and lore2sphinx is currently &quot;obsolete&quot;; really the question should be if we want to reverse that path.</div>
<div><br></div></div></div></blockquote><div><br></div><div style>Some what orthagonal to your point, but this is incorrect.  lore2sphinx was some time ago into &quot;lore2sphinx-ng&quot; and &quot;rstgen&quot;.</div><div style>
<br></div><div style><a href="https://bitbucket.org/khorn/lore2sphinx-ng">https://bitbucket.org/khorn/lore2sphinx-ng</a><br></div><div style><a href="https://bitbucket.org/khorn/rstgen">https://bitbucket.org/khorn/rstgen</a><br>
</div><div style><br></div><div style>This was initially done as an experiment in using a more explicit &quot;formatting model&quot; for the generation for the Sphinx docs (and somewhat due to _your_ prodding, Glyph), and so I didn&#39;t initially make a big announcement or anything.</div>
<div style><br></div><div style>Once it became apparent that it was actually going to work out better, I sent out some emails to those who had expressed interest in helping with the whole lore2sphinx project, though I don&#39;t believe I sent out anything to the twisted list in general, as I probably should have.  I&#39;ll point out that I can count people who have shown interest in moving this forward on one hand, though.</div>
<div style><br></div><div style><div>And I&#39;ve specifically mentioned that I had done said forking to you, Glyph, in IRC  ;)</div><div>(though it&#39;s IRC after all...who remembers what happens in IRC?)</div></div><div style>
<br></div><div style>I thought I had put a notice up in the readme file in the lore2sphinx repo, but as it isn&#39;t there, I presume I either forgot, or never got it merged, or something.</div><div style><br></div><div style>
So, totally my bad for not communicating better, but I have NOT given up on converting things from Lore into Sphinx.<br></div><div style>(Nor do I intend to.)</div><div style><br></div><div style>Thinking about it, I suppose I&#39;ve been somewhat reticent to do much communicating about any work I do on this, as what seems to happen is that it just gives everyone an excuse bring up some new objection to actually getting the conversion done.  I hadn&#39;t really realized this consciously until just now, though.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div>
<div></div><div>I also have no objection if someone wants to complete the lore2sphinx work, but if the lore2sphinx buildbot were to die tomorrow and go offline, I wouldn&#39;t be particularly anxious to spend a lot of resources to fix it.</div>
<div><br></div><div>My position on this was always that if someone wanted to improve the documentation, they were welcome to do so, and if they wanted to use Sphinx to do it, that&#39;s great too.  I just wasn&#39;t willing to tolerate any period where our toolchain was broken and we couldn&#39;t generate documentation for a release.  And a good thing we didn&#39;t, by the way!  If we had said &quot;go ahead, pull the trigger, whatever, it&#39;s OK to break trunk for a little while!&quot; we wouldn&#39;t have had any documentation toolchain for the last 2 years.</div>
<div><br></div></div></div></div></blockquote><div><br></div><div style>And since we didn&#39;t break the toolchain, I&#39;ve been in no particular hurry.  I&#39;ve accepted that this will take approximately a billion years.  So no rush.</div>
<div style><br></div><div style>On the other hand, I have at several points been willing to make the &quot;cutover&quot;, and for various different reasons, been told it wasn&#39;t happening until things were closer to &quot;perfect&quot; (for some value of &quot;perfect&quot;) than they were at the time.</div>
<div style><br></div><div style>The current output of the old lore2sphinx branch is functional, though has a few warts (mostly extraneous spaces in the output).  These warts were apparently enough to block adoption.</div>
<div><br></div><div style>It has been a pretty discouraging effort at times, I have to say, as I seem to garner agreement/support/buy-in/whatever for a particular course of action (e.g. getting 99% of the way there, and then fixing Sphinx markup manually, which was the original plan, way back when), and focusing my efforts in that direction.  Then when we&#39;re ready to proceed on that basis, had another task/challenge/set of requirements/whatever added to the work that needs to be done.  In fact I still think that if the Twisted community had actually wanted to, we could have switched over to Sphinx at the first PyCon Atlanta (2010?).</div>
<div style><br></div><div style>Anyway, I&#39;m not giving up.  If nothing else, I&#39;ll end up with a nice restructuredText-generating library.  And if Twisted never ends up adopting Sphinx as a doc tool, eventually I&#39;ll still be able to read the Twisted docs in a format that I can navigate and doesn&#39;t hurt my eyes to look at. :)</div>
<div style><br></div><div style>But I&#39;d really rather see Twisted adopt Sphinx, and get rid of Lore.</div><div style><br></div><div style>Help accepted.</div><div><br></div></div>--<div>Kevin Horn</div>
</div></div>