[prev in list] [next in list] [prev in thread] [next in thread] 

List:       solr-dev
Subject:    Re: Building Ref Guide on branch_8x
From:       Ishan Chattopadhyaya <ichattopadhyaya () gmail ! com>
Date:       2020-07-28 1:25:26
Message-ID: CAHPRk5FnZk7+tn3rn6Guoet-r3oELi51LR44HS4FtERLQcC7hQ () mail ! gmail ! com
[Download RAW message or body]

I would say lets update branch_8_6 as well, so that if there's a subsequent
release (say 8.6.2), then someone else isn't tripped over due to this.

On Tue, Jul 28, 2020 at 4:19 AM Gus Heck <gus.heck@gmail.com> wrote:

> On master the asciidoctor version is specified in the gradle build, so I
> think only 8x needs an update.
> 
> On Mon, Jul 27, 2020 at 5:29 PM Houston Putman <houstonputman@gmail.com>
> wrote:
> 
> > Nah, 8x and master should be fine. Good find
> > 
> > On Mon, Jul 27, 2020 at 5:11 PM Gus Heck <gus.heck@gmail.com> wrote:
> > 
> > > Found it... there's another critical version not listed in the readme...
> > > when I did this upgrade it suddenly worked:
> > > 
> > > asciidoctor (1.5.6.2 < 2.0.10)
> > > 
> > > Will update README.adoc... won't bother with 8_6 branch though unless
> > > you want it.
> > > 
> > > 
> > > On Mon, Jul 27, 2020 at 4:57 PM Gus Heck <gus.heck@gmail.com> wrote:
> > > 
> > > > No dice updated to those versions, ran gem cleanup, still get the
> > > > error. Very odd.
> > > > 
> > > > build-site:
> > > > [java] Relative link points at id that doesn't exist in dest:
> > > > the-standard-query-parser.html#differences-between-lucenes-classic-query-parser-and-solrs-standard-query-parser
> > > >  [java]  ... source:
> > > > file:/Users/gus/projects/apache/lucene-solr/fork/ant8/lucene-solr/solr/build/solr-ref-guide/html-site/common-query-parameters.html
> > > >  [java] Relative link points at id that doesn't exist in dest:
> > > > #differences-between-lucenes-classic-query-parser-and-solrs-standard-query-parser
> > > >  [java]  ... source:
> > > > file:/Users/gus/projects/apache/lucene-solr/fork/ant8/lucene-solr/solr/build/solr-ref-guide/html-site/the-standard-query-parser.html
> > > >  [java] Processed 2672 links (1979 relative) to 3507 anchors in 263
> > > > files
> > > > [java] Total of 2 problems found
> > > > 
> > > > BUILD FAILED
> > > > /Users/gus/projects/apache/lucene-solr/fork/ant8/lucene-solr/solr/solr-ref-guide/build.xml:250:
> > > >  Java returned: 255
> > > > 
> > > > Total time: 13 seconds
> > > > NS2-MacBook-Pro:solr-ref-guide gus$ git fetch --all
> > > > Fetching origin
> > > > Fetching upstream
> > > > NS2-MacBook-Pro:solr-ref-guide gus$ git diff origin/branch_8_6
> > > > NS2-MacBook-Pro:solr-ref-guide gus$ git diff upstream/branch_8_6
> > > > NS2-MacBook-Pro:solr-ref-guide gus$ git status
> > > > On branch branch_8_6
> > > > Your branch is up to date with 'origin/branch_8_6'.
> > > > 
> > > > nothing to commit, working tree clean
> > > > 
> > > > On Mon, Jul 27, 2020 at 4:43 PM Houston Putman <houstonputman@gmail.com>
> > > > wrote:
> > > > 
> > > > > I can build on branch_8_6 without issue. And it looks like the
> > > > > offending line is the same on 8_6 and 8x.
> > > > > 
> > > > > I am using:
> > > > > 
> > > > > ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-darwin16]
> > > > > jekyll (3.5.0)
> > > > > jekyll-asciidoc (3.0.0)
> > > > > slim (4.1.0)
> > > > > tilt (2.0.10)
> > > > > concurrent-ruby (1.1.6)
> > > > > 
> > > > > 
> > > > > Might be the jekyll-asciidoc version?
> > > > > 
> > > > > - Houston
> > > > > 
> > > > > On Mon, Jul 27, 2020 at 2:44 PM Gus Heck <gus.heck@gmail.com> wrote:
> > > > > 
> > > > > > meh forgot that images get stripped... it shows 3 other places where
> > > > > > the same <<# syntax for an anchor is used...
> > > > > > 
> > > > > > On Mon, Jul 27, 2020 at 2:42 PM Gus Heck <gus.heck@gmail.com> wrote:
> > > > > > 
> > > > > > > I've verified all the versions for gems mentioned in README.adoc
> > > > > > > 
> > > > > > > * HTML version, using Jekyll:
> > > > > > > ** `Ruby` (v2.3 or higher)
> > > > > > > ** The following gems must be installed:
> > > > > > > *** `jekyll`: v3.5, not v4.x.
> > > > > > > Use `gem install jekyll --force --version 3.5.0` to force install of \
> > > > > > >                 v3.5.0.
> > > > > > > *** `jekyll-asciidoc`: v2.1 or higher; latest version (3.0.0) is fine.
> > > > > > > Use `gem install jekyll-asciidoc` to install.
> > > > > > > *** `slim`: v3.0 or higher; latest version (4.0.1) is fine.
> > > > > > > Use `gem install slim` to install.
> > > > > > > *** `tilt`: v1.0 or higher; latest version (2.0.10) is fine.
> > > > > > > Use `gem install tilt` to install.
> > > > > > > *** `concurrent-ruby`: v1.0 or higher; latest version (1.1.5) is fine.
> > > > > > > Use `gem install concurrent-ruby` to install.
> > > > > > > 
> > > > > > > ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-darwin16]
> > > > > > > jekyll (3.5.0)
> > > > > > > jekyll-asciidoc (2.1.1, 2.1.0)
> > > > > > > slim (3.0.9)
> > > > > > > tilt (2.0.9)
> > > > > > > concurrent-ruby (1.1.6)
> > > > > > > 
> > > > > > > Even so I seem to get this on 8x:
> > > > > > > 
> > > > > > > build-site:
> > > > > > > [java] Relative link points at id that doesn't exist in dest:
> > > > > > > the-standard-query-parser.html#differences-between-lucenes-classic-query-parser-and-solrs-standard-query-parser
> > > > > > >  [java]  ... source:
> > > > > > > file:/Users/gus/projects/apache/lucene-solr/fork/ant8/lucene-solr/solr/build/solr-ref-guide/html-site/common-query-parameters.html
> > > > > > >  [java] Relative link points at id that doesn't exist in dest:
> > > > > > > #differences-between-lucenes-classic-query-parser-and-solrs-standard-query-parser
> > > > > > >  [java]  ... source:
> > > > > > > file:/Users/gus/projects/apache/lucene-solr/fork/ant8/lucene-solr/solr/build/solr-ref-guide/html-site/the-standard-query-parser.html
> > > > > > >  [java] Processed 2674 links (1979 relative) to 3506 anchors in
> > > > > > > 263 files
> > > > > > > [java] Total of 2 problems found
> > > > > > > 
> > > > > > > This is easily fixed via the anchor syntax shown here:
> > > > > > > https://asciidoctor.org/docs/asciidoc-syntax-quick-reference/#links but
> > > > > > > I'm baffled as to why seemingly identical syntax fails in one place but \
> > > > > > > not the other (length limit issue? is this just me?)
> > > > > > > [image: Screen Shot 2020-07-27 at 2.33.47 PM.png]
> > > > > > > 
> > > > > > > --
> > > > > > > http://www.needhamsoftware.com (work)
> > > > > > > http://www.the111shift.com (play)
> > > > > > > 
> > > > > > 
> > > > > > 
> > > > > > --
> > > > > > http://www.needhamsoftware.com (work)
> > > > > > http://www.the111shift.com (play)
> > > > > > 
> > > > > 
> > > > 
> > > > --
> > > > http://www.needhamsoftware.com (work)
> > > > http://www.the111shift.com (play)
> > > > 
> > > 
> > > 
> > > --
> > > http://www.needhamsoftware.com (work)
> > > http://www.the111shift.com (play)
> > > 
> > 
> 
> --
> http://www.needhamsoftware.com (work)
> http://www.the111shift.com (play)
> 


[Attachment #3 (text/html)]

<div dir="ltr">I would say lets update branch_8_6 as well, so that if there&#39;s a \
subsequent release (say 8.6.2), then someone else isn&#39;t tripped over due to \
this.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, \
Jul 28, 2020 at 4:19 AM Gus Heck &lt;<a \
href="mailto:gus.heck@gmail.com">gus.heck@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">On \
master the asciidoctor version is specified in the gradle build, so I think only 8x \
needs an update.</div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Mon, Jul 27, 2020 at 5:29 PM Houston Putman &lt;<a \
href="mailto:houstonputman@gmail.com" target="_blank">houstonputman@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Nah, 8x \
and master should be fine. Good find</div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Mon, Jul 27, 2020 at 5:11 PM Gus Heck &lt;<a \
href="mailto:gus.heck@gmail.com" target="_blank">gus.heck@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Found \
it... there&#39;s another critical version not listed in the readme... when I did \
this upgrade it suddenly worked:  <div><br></div><div>asciidoctor (1.5.6.2 &lt; \
2.0.10)</div><div><br></div><div>Will update README.adoc... won&#39;t bother with 8_6 \
branch though unless you want it.</div><div><br></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 27, 2020 at 4:57 PM \
Gus Heck &lt;<a href="mailto:gus.heck@gmail.com" \
target="_blank">gus.heck@gmail.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr">No dice updated to those versions, \
ran gem cleanup, still get the error. Very odd.<div><br></div><div>build-site:<br>    \
[java] Relative link points at id that doesn&#39;t exist in dest: \
the-standard-query-parser.html#differences-between-lucenes-classic-query-parser-and-solrs-standard-query-parser<br> \
[java]   ... source: \
file:/Users/gus/projects/apache/lucene-solr/fork/ant8/lucene-solr/solr/build/solr-ref-guide/html-site/common-query-parameters.html<br> \
[java] Relative link points at id that doesn&#39;t exist in dest: \
#differences-between-lucenes-classic-query-parser-and-solrs-standard-query-parser<br> \
[java]   ... source: \
file:/Users/gus/projects/apache/lucene-solr/fork/ant8/lucene-solr/solr/build/solr-ref-guide/html-site/the-standard-query-parser.html<br> \
[java] Processed 2672 links (1979 relative) to 3507 anchors in 263 files<br>        \
[java] Total of 2 problems found<br><br>BUILD \
FAILED<br>/Users/gus/projects/apache/lucene-solr/fork/ant8/lucene-solr/solr/solr-ref-guide/build.xml:250: \
Java returned: 255<br><br>Total time: 13 seconds<br>NS2-MacBook-Pro:solr-ref-guide \
gus$ git fetch --all<br>Fetching origin<br>Fetching \
upstream<br>NS2-MacBook-Pro:solr-ref-guide gus$ git diff \
origin/branch_8_6<br>NS2-MacBook-Pro:solr-ref-guide gus$ git diff \
upstream/branch_8_6<br>NS2-MacBook-Pro:solr-ref-guide gus$ git status<br>On branch \
branch_8_6<br>Your branch is up to date with \
&#39;origin/branch_8_6&#39;.<br><br>nothing to commit, working tree \
clean<br></div></div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Mon, Jul 27, 2020 at 4:43 PM Houston Putman &lt;<a \
href="mailto:houstonputman@gmail.com" target="_blank">houstonputman@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I can \
build on branch_8_6 without issue. And it looks like the offending line is the same \
on 8_6 and 8x.<div><br>I am using:<br><br></div><blockquote style="margin:0px 0px 0px \
40px;border:medium none;padding:0px"><div><div>ruby 2.4.2p198 (2017-09-14 revision \
59899) [x86_64-darwin16]</div></div><div><div>jekyll \
(3.5.0)</div></div><div><div>jekyll-asciidoc (3.0.0)</div></div><div><div>slim \
(4.1.0)</div></div><div><div>tilt (2.0.10)</div></div><div><div>concurrent-ruby \
(1.1.6)</div></div></blockquote><div><div dir="ltr"><br>Might be the jekyll-asciidoc \
version?<br><br>- Houston</div></div></div><br><div class="gmail_quote"><div \
dir="ltr" class="gmail_attr">On Mon, Jul 27, 2020 at 2:44 PM Gus Heck &lt;<a \
href="mailto:gus.heck@gmail.com" target="_blank">gus.heck@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">meh \
forgot that images get stripped... it shows 3 other places where the same &lt;&lt;# \
syntax for an anchor is used...</div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Mon, Jul 27, 2020 at 2:42 PM Gus Heck &lt;<a \
href="mailto:gus.heck@gmail.com" target="_blank">gus.heck@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div \
dir="ltr"><div>I&#39;ve verified all the versions for gems mentioned in \
README.adoc</div><div dir="ltr"><br></div><div dir="ltr"><pre \
style="background-color:rgb(43,43,43);color:rgb(169,183,198);font-family:&quot;JetBrains \
Mono&quot;;font-size:9.8pt"><span style="color:rgb(204,120,50)">* </span>HTML \
version, using Jekyll:<br><span style="color:rgb(204,120,50)">** `</span><span \
style="background-color:rgb(60,63,65)">Ruby</span><span \
style="color:rgb(204,120,50)">` </span>(v2.3 or higher)<br><span \
style="color:rgb(204,120,50)">** </span>The following gems must be \
installed:<br><span style="color:rgb(204,120,50)">*** `</span><span \
style="background-color:rgb(60,63,65)">jekyll</span><span \
style="color:rgb(204,120,50)">`</span>: v3.5, not v4.x.<br>Use <span \
style="color:rgb(204,120,50)">`</span><span \
style="background-color:rgb(60,63,65)">gem install jekyll --force --version \
3.5.0</span><span style="color:rgb(204,120,50)">` </span>to force install of \
v3.5.0.<br><span style="color:rgb(204,120,50)">*** `</span><span \
style="background-color:rgb(60,63,65)">jekyll-asciidoc</span><span \
style="color:rgb(204,120,50)">`</span>: v2.1 or higher; latest version (3.0.0) is \
fine.<br>Use <span style="color:rgb(204,120,50)">`</span><span \
style="background-color:rgb(60,63,65)">gem install jekyll-asciidoc</span><span \
style="color:rgb(204,120,50)">` </span>to install.<br><span \
style="color:rgb(204,120,50)">*** `</span><span \
style="background-color:rgb(60,63,65)">slim</span><span \
style="color:rgb(204,120,50)">`</span>: v3.0 or higher; latest version (4.0.1) is \
fine.<br>Use <span style="color:rgb(204,120,50)">`</span><span \
style="background-color:rgb(60,63,65)">gem install slim</span><span \
style="color:rgb(204,120,50)">` </span>to install.<br><span \
style="color:rgb(204,120,50)">*** `</span><span \
style="background-color:rgb(60,63,65)">tilt</span><span \
style="color:rgb(204,120,50)">`</span>: v1.0 or higher; latest version (2.0.10) is \
fine.<br>Use <span style="color:rgb(204,120,50)">`</span><span \
style="background-color:rgb(60,63,65)">gem install tilt</span><span \
style="color:rgb(204,120,50)">` </span>to install.<br><span \
style="color:rgb(204,120,50)">*** `</span><span \
style="background-color:rgb(60,63,65)">concurrent-ruby</span><span \
style="color:rgb(204,120,50)">`</span>: v1.0 or higher; latest version (1.1.5) is \
fine.<br>Use <span style="color:rgb(204,120,50)">`</span><span \
style="background-color:rgb(60,63,65)">gem install concurrent-ruby</span><span \
style="color:rgb(204,120,50)">` </span>to install.<br></pre></div><div dir="ltr">ruby \
2.4.2p198 (2017-09-14 revision 59899) [x86_64-darwin16]<br></div><div \
dir="ltr">jekyll (3.5.0)<br></div><div dir="ltr">jekyll-asciidoc (2.1.1, \
2.1.0)<br></div><div dir="ltr">slim (3.0.9)<br></div><div dir="ltr">tilt \
(2.0.9)<br></div><div dir="ltr">concurrent-ruby (1.1.6)<br></div><div \
dir="ltr"><br></div><div>Even so I seem to get this on \
8x:</div><div><br></div><div>build-site:</div><div dir="ltr">        [java] Relative \
link points at id that doesn&#39;t exist in dest: \
the-standard-query-parser.html#differences-between-lucenes-classic-query-parser-and-solrs-standard-query-parser<br> \
[java]   ... source: \
file:/Users/gus/projects/apache/lucene-solr/fork/ant8/lucene-solr/solr/build/solr-ref-guide/html-site/common-query-parameters.html<br> \
[java] Relative link points at id that doesn&#39;t exist in dest: \
#differences-between-lucenes-classic-query-parser-and-solrs-standard-query-parser<br> \
[java]   ... source: \
file:/Users/gus/projects/apache/lucene-solr/fork/ant8/lucene-solr/solr/build/solr-ref-guide/html-site/the-standard-query-parser.html<br> \
[java] Processed 2674 links (1979 relative) to 3506 anchors in 263 files<br>        \
[java] Total of 2 problems found<br><br><div>This is easily fixed via the anchor \
syntax shown here:  <a \
href="https://asciidoctor.org/docs/asciidoc-syntax-quick-reference/#links" \
target="_blank">https://asciidoctor.org/docs/asciidoc-syntax-quick-reference/#links</a> \
but I&#39;m baffled as to why seemingly identical syntax fails in one place but not \
the other (length limit issue? is this just me?)</div><div><div><img alt="Screen Shot \
2020-07-27 at 2.33.47 PM.png" style="margin-right: \
0px;"><br></div></div></div><div><br></div>-- <br><div dir="ltr"><div \
dir="ltr"><div><a href="http://www.needhamsoftware.com" \
target="_blank">http://www.needhamsoftware.com</a>  (work)</div><div><a \
href="http://www.the111shift.com" target="_blank">http://www.the111shift.com</a>  \
(play)</div></div></div></div> </blockquote></div><br clear="all"><div><br></div>-- \
<br><div dir="ltr"><div dir="ltr"><div><a href="http://www.needhamsoftware.com" \
target="_blank">http://www.needhamsoftware.com</a>  (work)</div><div><a \
href="http://www.the111shift.com" target="_blank">http://www.the111shift.com</a>  \
(play)</div></div></div> </blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div \
dir="ltr"><div><a href="http://www.needhamsoftware.com" \
target="_blank">http://www.needhamsoftware.com</a>  (work)</div><div><a \
href="http://www.the111shift.com" target="_blank">http://www.the111shift.com</a>  \
(play)</div></div></div> </blockquote></div><br clear="all"><div><br></div>-- \
<br><div dir="ltr"><div dir="ltr"><div><a href="http://www.needhamsoftware.com" \
target="_blank">http://www.needhamsoftware.com</a>  (work)</div><div><a \
href="http://www.the111shift.com" target="_blank">http://www.the111shift.com</a>  \
(play)</div></div></div> </blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div \
dir="ltr"><div><a href="http://www.needhamsoftware.com" \
target="_blank">http://www.needhamsoftware.com</a>  (work)</div><div><a \
href="http://www.the111shift.com" target="_blank">http://www.the111shift.com</a>  \
(play)</div></div></div> </blockquote></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic