Quantcast

[jira] [Updated] (LUCENE-7793) smokeTestRelease.py should run documentation-lint

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[jira] [Updated] (LUCENE-7793) smokeTestRelease.py should run documentation-lint

JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/LUCENE-7793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Rowe updated LUCENE-7793:
-------------------------------
    Attachment: LUCENE-7793.patch

The first patch failed when I ran it against the latest 6.5.1 RC2 because Lucene source dist doesn't have the helper scripts for {{documentation-lint}} that are under {{dev-tools/}}, which is not included:

{noformat}
-documentation-lint:
     [echo] checking for broken html...
    [jtidy] Checking for broken html (such as invalid tags)...
   [delete] Deleting directory /tmp/smoke_lucene_6.5.1_cd1f23c63abe03ae650c75ec8ccb37762806cc75/unpack/lucene-6.5.1/build/jtidy_tmp
     [echo] Checking for broken links...
     [exec] python3: can't open file '/tmp/smoke_lucene_6.5.1_cd1f23c63abe03ae650c75ec8ccb37762806cc75/unpack/dev-tools/scripts/checkJavadocLinks.py': [Errno 2] No such file or directory
{noformat}

This version of the patch only attempts to run {{documentation-lint}} when the project is Solr, which has {{dev-tools/}}.

I'm running this revised script now.

> smokeTestRelease.py should run documentation-lint
> -------------------------------------------------
>
>                 Key: LUCENE-7793
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7793
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Steve Rowe
>         Attachments: LUCENE-7793.patch, LUCENE-7793.patch
>
>
> {{smokeTestRelease.py}} runs {{ant validate}} on source releases, but this doesn't include the {{documentation-lint}} target, which is part of {{ant precommit}}.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...