Return-Path: X-Original-To: apmail-creadur-dev-archive@www.apache.org Delivered-To: apmail-creadur-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 442C3188AB for ; Sat, 23 May 2015 20:47:17 +0000 (UTC) Received: (qmail 98737 invoked by uid 500); 23 May 2015 20:47:17 -0000 Delivered-To: apmail-creadur-dev-archive@creadur.apache.org Received: (qmail 98698 invoked by uid 500); 23 May 2015 20:47:17 -0000 Mailing-List: contact dev-help@creadur.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@creadur.apache.org Delivered-To: mailing list dev@creadur.apache.org Received: (qmail 98685 invoked by uid 99); 23 May 2015 20:47:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 May 2015 20:47:17 +0000 Date: Sat, 23 May 2015 20:47:17 +0000 (UTC) From: "Philipp Ottlinger (JIRA)" To: dev@creadur.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (RAT-202) If no unapproved files are found report should not contain text to show their contents MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/RAT-202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Philipp Ottlinger updated RAT-202: ---------------------------------- Description: h2. Motivation At the moment each report contains: {code} Files with unapproved licenses: .... Printing headers for text files without a valid license header... {code} This should only appear if there are files without valid licenses. h2. Result [Example project|https://github.com/ottlinger/creadur-rat-examples/tree/master/RAT-202] working locally with 0.12-SNAPSHOT shows: h3. Report with errors {code} ***************************************************** Summary ------- Generated at: 2015-05-23T22:38:59+02:00 Notes: 1 Binaries: 0 Archives: 0 Standards: 4 Apache Licensed: 1 Generated Documents: 0 JavaDocs are generated, thus a license header is optional. Generated files do not require license headers. 1 Unknown Licenses ***************************************************** Files with unapproved licenses: foo.txt ***************************************************** ***************************************************** Files with Apache License headers will be marked AL Binary files (which do not require any license headers) will be marked B Compressed archives will be marked A Notices, licenses etc. will be marked N N README.txt AL pom.xml MITG2 GPLMIT.txt MIT MITLIC.txt !????? foo.txt ***************************************************** Printing headers for text files without a valid license header... ===================================================== == File: foo.txt ===================================================== Contains no valid license - what a shame :-( {code} h3. Report without any RAT errors {code} ***************************************************** Summary ------- Generated at: 2015-05-23T22:36:42+02:00 Notes: 1 Binaries: 0 Archives: 0 Standards: 3 Apache Licensed: 1 Generated Documents: 0 JavaDocs are generated, thus a license header is optional. Generated files do not require license headers. 0 Unknown Licenses ***************************************************** Files with Apache License headers will be marked AL Binary files (which do not require any license headers) will be marked B Compressed archives will be marked A Notices, licenses etc. will be marked N N README.txt AL pom.xml MITG2 GPLMIT.txt MIT MITLIC.txt ***************************************************** {code} was: At the moment each report contains: {code} Files with unapproved licenses: .... Printing headers for text files without a valid license header... {code} This should only appear if there are files without valid licenses. > If no unapproved files are found report should not contain text to show their contents > -------------------------------------------------------------------------------------- > > Key: RAT-202 > URL: https://issues.apache.org/jira/browse/RAT-202 > Project: Apache Rat > Issue Type: Improvement > Affects Versions: 0.11 > Reporter: Philipp Ottlinger > Assignee: Philipp Ottlinger > Priority: Minor > > h2. Motivation > At the moment each report contains: > {code} > Files with unapproved licenses: > .... > Printing headers for text files without a valid license header... > {code} > This should only appear if there are files without valid licenses. > h2. Result > [Example project|https://github.com/ottlinger/creadur-rat-examples/tree/master/RAT-202] working locally with 0.12-SNAPSHOT shows: > h3. Report with errors > {code} > ***************************************************** > Summary > ------- > Generated at: 2015-05-23T22:38:59+02:00 > Notes: 1 > Binaries: 0 > Archives: 0 > Standards: 4 > Apache Licensed: 1 > Generated Documents: 0 > JavaDocs are generated, thus a license header is optional. > Generated files do not require license headers. > 1 Unknown Licenses > ***************************************************** > Files with unapproved licenses: > foo.txt > ***************************************************** > ***************************************************** > Files with Apache License headers will be marked AL > Binary files (which do not require any license headers) will be marked B > Compressed archives will be marked A > Notices, licenses etc. will be marked N > N README.txt > AL pom.xml > MITG2 GPLMIT.txt > MIT MITLIC.txt > !????? foo.txt > > ***************************************************** > Printing headers for text files without a valid license header... > > ===================================================== > == File: foo.txt > ===================================================== > Contains no valid license - what a shame :-( > {code} > h3. Report without any RAT errors > {code} > ***************************************************** > Summary > ------- > Generated at: 2015-05-23T22:36:42+02:00 > Notes: 1 > Binaries: 0 > Archives: 0 > Standards: 3 > Apache Licensed: 1 > Generated Documents: 0 > JavaDocs are generated, thus a license header is optional. > Generated files do not require license headers. > 0 Unknown Licenses > ***************************************************** > Files with Apache License headers will be marked AL > Binary files (which do not require any license headers) will be marked B > Compressed archives will be marked A > Notices, licenses etc. will be marked N > N README.txt > AL pom.xml > MITG2 GPLMIT.txt > MIT MITLIC.txt > > ***************************************************** > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)