Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-2430

ratCheck fails when run from the sbt console

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.1.0
    • Infrastructure
    • None

    Description

      If you run the rat check using the sbt console, the ratCheck command fails with the following:

      $ 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
      

      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.

      Attachments

        Activity

          People

            slawrence Steve Lawrence
            slawrence Steve Lawrence
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: