You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Alexandre Rafalovitch <ar...@gmail.com> on 2020/09/02 01:59:39 UTC

master/gradle seems to expand JIRA IDs in documentation filepath references

Hi,
I am doing some work in a branch named after JIRA and gradle refuses
to build because explands a variable and then seems to expand the
SOLR-XYZ in the path with the Jira link:

Specifically:
*[Lucene Documentation](${project.luceneDocUrl}/index.html) in
solr/site.index.template.md (or maybe the .xsl version)
becomes:
<li><a href="file:/Users/arafalov/Projects/solr/working-branches/[SOLR-14792](https://issues.apache.org/jira/browse/SOLR-14792)-velocity/lucene/build/documentation//index.html">Lucene
Documentation</a></li>

The file path is:
/Users/arafalov/Projects/solr/working-branches/SOLR-14792-velocity/build....

This is undesirable expanded part:
[SOLR-14792](https://issues.apache.org/jira/browse/SOLR-14792)

This does not happen on master branch, as it does not have that
pattern in the URL.

I can work around it for now by doing
./gradlew check -x :solr:checkBrokenLinks , though I don't know how
much I am shortcuting this way.

Regards,
   Alex.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org