Rishabh Patel created HDDS-14734:
------------------------------------

             Summary: Fix false positive spellcheck errors
                 Key: HDDS-14734
                 URL: https://issues.apache.org/jira/browse/HDDS-14734
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Rishabh Patel
            Assignee: Rishabh Patel


The spelling.sh script checks if the filenames are valid. 

When running the script manually in a dev environment, the script erroneously 
flags bad filenames due to the presence of unknown words in the path. 

The canonical path should not be validated. Only the path from the root of the 
project should be validated. 

 
{code:java}
Checking document content...
CSpell: Files checked: 655, Issues found: 0 in 0 files.

Checking file names...
File%2520Name:1:8       - Unknown word (rpatel)     -- 
/Users/rpatel/Github/ozone-site/docs
File%2520Name:2:8       - Unknown word (rpatel)     -- 
/Users/rpatel/Github/ozone-site/docs
File%2520Name:3:8       - Unknown word (rpatel)     -- 
/Users/rpatel/Github/ozone-site/docs
File%2520Name:4:8       - Unknown word (rpatel)     -- 
/Users/rpatel/Github/ozone-site/docs
File%2520Name:5:8       - Unknown word (rpatel)     -- 
/Users/rpatel/Github/ozone-site/docs
CSpell: Files checked: 1, Issues found: 5 in 1 file.

Spell check failed. See CONTRIBUTING.md for help fixing false positive spelling 
errors:
https://github.com/apache/ozone-site/blob/master/CONTRIBUTING.md#spelling

Process finished with exit code 1
 {code}
 

 

 

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to