[
https://issues.apache.org/jira/browse/BEAM-4629?focusedWorklogId=127621&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-127621
]
ASF GitHub Bot logged work on BEAM-4629:
----------------------------------------
Author: ASF GitHub Bot
Created on: 26/Jul/18 01:29
Start Date: 26/Jul/18 01:29
Worklog Time Spent: 10m
Work Description: aaltay closed pull request #6069: [BEAM-4629] Output
the names of the files with missing/unknown licenses as part of the build
process.
URL: https://github.com/apache/beam/pull/6069
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/build.gradle b/build.gradle
index dfbb6033065..17ea8915dbc 100644
--- a/build.gradle
+++ b/build.gradle
@@ -15,7 +15,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
// See build_rules.gradle for documentation on default build tasks
// and properties that are enabled in addition to natures
// that can be applied to configure a project for certain common
@@ -147,8 +146,11 @@ rat {
exclusions.addAll(gitIgnoreExcludes)
}
- plainOutput = true
- xmlOutput = false
+ // Combining verbose with only XML output has each failing license logged.
+ // See https://github.com/eskatos/creadur-rat-gradle/issues/8 for further
details.
+ verbose = true
+ plainOutput = false
+ xmlOutput = true
htmlOutput = false
failOnError = true
excludes = exclusions
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 127621)
Time Spent: 0.5h (was: 20m)
> RAT failures are hard to debug
> ------------------------------
>
> Key: BEAM-4629
> URL: https://issues.apache.org/jira/browse/BEAM-4629
> Project: Beam
> Issue Type: Improvement
> Components: testing
> Reporter: Ahmet Altay
> Assignee: Luke Cwik
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> RAT failures produces an error with a reference to log file that is not
> accessible.
> For example:
> > Task :rat
> Build cache key for task ':rat' is 7a8f8655183c948a3f7a087e2f7c412b
> Caching disabled for task ':rat': Caching has not been enabled for the task
> Task ':rat' is not up-to-date because:
> No history is available.
> Rat TXT report:
> file:/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_GradleBuild@2/src/build/reports/rat/rat-report.txt
> This is not useful unless, the person has access to the jenkins VM. Tests
> should include a copy of the failed rat-report.txt.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)