From dev-return-3928-archive-asf-public=cust-asf.ponee.io@creadur.apache.org Wed Oct 30 20:07:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id DB5A8180654 for ; Wed, 30 Oct 2019 21:07:01 +0100 (CET) Received: (qmail 39770 invoked by uid 500); 30 Oct 2019 20:07:01 -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 39757 invoked by uid 99); 30 Oct 2019 20:07:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Oct 2019 20:07:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 93EBDE2DEB for ; Wed, 30 Oct 2019 20:07:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 1061778027F for ; Wed, 30 Oct 2019 20:07:00 +0000 (UTC) Date: Wed, 30 Oct 2019 20:07:00 +0000 (UTC) From: "Jarek Potiuk (Jira)" To: dev@creadur.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (RAT-259) Allow configuration of files to be scanned for CLI module 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-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16963377#comment-16963377 ] Jarek Potiuk commented on RAT-259: ---------------------------------- That's what we need :). > Allow configuration of files to be scanned for CLI module > --------------------------------------------------------- > > Key: RAT-259 > URL: https://issues.apache.org/jira/browse/RAT-259 > Project: Apache Rat > Issue Type: Improvement > Components: cli > Affects Versions: 0.13 > Reporter: Philipp Ottlinger > Assignee: Philipp Ottlinger > Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > After talks at ApacheCon 2019 in Berlin [~higrys][~potiuk] asked for a possibility to specify the files that need to be scanned. > This could be added as a new CLI option that specifies a file to read from. > Each line will contain one file that RAT scans with its default configuration (as the current CLI scan does). > Thus a possible run would be: > {code} > java -jar rat.jar -scan myfiles.txt > {code} > "-scan" will be an exclusive option, thus all other existing > exclusions options will not be allowed, when this option is used. > myfile.txt may contain comments (starting with "#") or empty lines, all else will be treated as files. -- This message was sent by Atlassian Jira (v8.3.4#803005)