From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by sourceware.org (Postfix) with ESMTP id 028B73857C4E for ; Thu, 16 Jul 2020 10:27:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 028B73857C4E Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-18-9iSulraeNoyOai21BbVKNQ-1; Thu, 16 Jul 2020 06:27:31 -0400 X-MC-Unique: 9iSulraeNoyOai21BbVKNQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 44DD98015F4; Thu, 16 Jul 2020 10:27:30 +0000 (UTC) Received: from localhost (unknown [10.33.37.45]) by smtp.corp.redhat.com (Postfix) with ESMTP id DC7AD108A2; Thu, 16 Jul 2020 10:27:26 +0000 (UTC) Date: Thu, 16 Jul 2020 11:27:26 +0100 From: Jonathan Wakely To: Dodji Seketeli Cc: Benjamin Kosnik , Ben Woodard , Chenxiong Qi , Giuliano Procida , Jan Engelhardt , Jessica Yu , Mark Wielaard , Matthias Klose , Matthias Maennich , Ondrej Oprala , Roland McGrath , Sinny Kumari , Slava Barinov , libabigail@sourceware.org Subject: Re: [PATCH 4/9 v2] Add replace-spdx-license.sh script Message-ID: <20200716102726.GY4137376@redhat.com> References: <87zh80lt38.fsf@redhat.com> <87d04wlsk8.fsf@redhat.com> MIME-Version: 1.0 In-Reply-To: <87d04wlsk8.fsf@redhat.com> X-Clacks-Overhead: GNU Terry Pratchett X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline X-Spam-Status: No, score=-10.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libabigail@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list of the Libabigail project List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jul 2020 10:27:37 -0000 On 15/07/20 17:13 +0200, Dodji Seketeli wrote: >This script is to replace an SPDX license ID by another one. >I.e, it's to perform an actual re-licensing of a given file. > >A way to use the script is this: > > replace-spdx-license.sh --from LGPL-3.0-or-later \ > --to "Apache-2.0 WITH LLVM-exception" \ > some-file-to-relicense.cc > > * relicensing-scripts/replace-spdx-license.sh: New script. > >Signed-off-by: Dodji Seketeli >Signed-off-by: Matthias Maennich Signed-off-by: Jonathan Wakely