You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Steve Lawrence (Jira)" <ji...@apache.org> on 2020/11/20 16:44:00 UTC

[jira] [Reopened] (DAFFODIL-2430) ratCheck fails when run from the sbt console

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

Steve Lawrence reopened DAFFODIL-2430:
--------------------------------------

The mentioned commit removed various ".keep" files that prevented certain directories from being deleted. However, sonarcloud seems to require that each subproject has a "src/main" directory, and potentially others. We either need to figure how to make sonarcloud not care about this missing directories, or add back some of these .keep files back to prevent the sonarcloud scan from failing.

> ratCheck fails when run from the sbt console
> --------------------------------------------
>
>                 Key: DAFFODIL-2430
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2430
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Infrastructure
>            Reporter: Steve Lawrence
>            Assignee: Steve Lawrence
>            Priority: Major
>             Fix For: 3.1.0
>
>
> If you run the rat check using the sbt console, the ratCheck command fails with the following:
> {code:java}
> $ sbt
> sbt:daffodil> ratCheck
> [error] Unapproved licenses found: 1. See full report in .../daffodil.git/target/rat.txt
> [error] (ratCheck) org.musigma.sbt.rat.SbtRatCheck$UnapprovedLicenseException: Unapproved licenses
> [error] Total time: 2 s, completed Nov 4, 2020 11:07:15 AM
> {code}
> This happens because the sbt console generates a {{.bsp}} directory with unlicensed files in it, and the ratCheck finds these files and errors. The ratCheck command is supposed to ignore files listed in .gitingore, and .bsp is listed, so it should ignore this file. Need to figure out why it's not being ignored so that we can run ratCheck from the sbt console.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)