Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-2797

Release artifact expects a git repository for the release audit tool (RAT)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 0.9.0.0
    • 0.9.0.0
    • build
    • None

    Description

      When running gradle on the RC0 for 0.9, we get an error because the build expects to find a git repo here:

      	line 68 of build.gradle: def repo = Grgit.open(project.file('.'))
      

      and we get this error message:

      	FAILURE: Build failed with an exception.
      
      	* Where:
      	Build file 'kafka-0.9.0.0-src/build.gradle' line: 68
      
      	* What went wrong:
      	A problem occurred evaluating root project 'kafka-0.9.0.0-src'.
      	> repository not found: kafka-0.9.0.0-src
      
      

      The definitions for rat make sense when working on a git branch, but not for the release artifact. One way around this is to disable rat by commenting out the corresponding lines, but that isn't what the README file says.

      Attachments

        Activity

          People

            ewencp Ewen Cheslack-Postava
            fpj Flavio Paiva Junqueira
            Gwen Shapira Gwen Shapira
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: