From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by sourceware.org (Postfix) with ESMTP id 476FC384B13C for ; Thu, 24 Sep 2020 10:12:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 476FC384B13C 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-501-SuoFSzkCNEGkz4QRdX7MtA-1; Thu, 24 Sep 2020 06:12:32 -0400 X-MC-Unique: SuoFSzkCNEGkz4QRdX7MtA-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0C4E356BE2 for ; Thu, 24 Sep 2020 10:12:32 +0000 (UTC) Received: from localhost (unknown [10.33.36.46]) by smtp.corp.redhat.com (Postfix) with ESMTP id A90527882D; Thu, 24 Sep 2020 10:12:28 +0000 (UTC) Date: Thu, 24 Sep 2020 11:12:27 +0100 From: Jonathan Wakely To: Dodji Seketeli Cc: libabigail@sourceware.org Subject: Re: [PATCH 5/9 v2] Add helper files to perform the re-licensing Message-ID: <20200924101227.GA918393@redhat.com> References: <87zh80lt38.fsf@redhat.com> <878sfklsih.fsf@redhat.com> <20200716103259.GZ4137376@redhat.com> <874kq7jup5.fsf@redhat.com> MIME-Version: 1.0 In-Reply-To: <874kq7jup5.fsf@redhat.com> X-Clacks-Overhead: GNU Terry Pratchett X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 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=-9.1 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_H5, RCVD_IN_MSPIKE_WL, 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, 24 Sep 2020 10:12:38 -0000 On 16/07/20 18:22 +0200, Dodji Seketeli wrote: >Jonathan Wakely writes: > >[...] > >>>+++ b/relicensing-scripts/do-relicensing.sh >>>@@ -0,0 +1,6 @@ >>>+#!/bin/sh >>>+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception >>>+# Author: Dodji Seketeli >>>+ >>>+#This does the actual re-licensing >>>+for file in `cat relicensing-scripts/files-with-lgpl-licenses.txt`; do ./relicensing-scripts/replace-spdx-license.sh --from "LGPL-3.0-or-later" --to "Apache-2.0 WITH LLVM-exception" $file; done >> >> The 'cat' uses files-with-lgpl-licenses.txt but the new file is files-with-lgplv3.txt >> >> The file also contains comments and a blank line. >> >> Maybe something like: >> >> grep '^\.' relicensing-scripts/files-with-lgplv3.txt | while read file >> do >> ./relicensing-scripts/replace-spdx-license.sh --from "LGPL-3.0-or-later" --to "Apache-2.0 WITH LLVM-exception" "$file" >> done > >Fixed and applied, thanks. It's going to show up in the v3 set of >patches. Until then you can see this in the relicensing branch that can >be browsed at >https://sourceware.org/git/?p=libabigail.git;a=shortlog;h=refs/heads/relicensing. Signed-off-by: Jonathan Wakely