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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.9.0.0
    • Fix Version/s: 0.9.0.0
    • Component/s: build
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: