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 [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 7C78C3858405 for ; Thu, 28 Apr 2022 12:37:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7C78C3858405 Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-393-yCzoZBmLNYevBMVI1KwxAA-1; Thu, 28 Apr 2022 08:37:26 -0400 X-MC-Unique: yCzoZBmLNYevBMVI1KwxAA-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4ACFC3C33B23; Thu, 28 Apr 2022 12:37:26 +0000 (UTC) Received: from localhost (unknown [10.33.36.192]) by smtp.corp.redhat.com (Postfix) with ESMTP id 153FEC28127; Thu, 28 Apr 2022 12:37:25 +0000 (UTC) From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [PATCH] libstdc++: Update documentation about copyright and GPL notices in tests Date: Thu, 28 Apr 2022 13:37:25 +0100 Message-Id: <20220428123725.2354675-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-13.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=unavailable autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libstdc++@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++ mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2022 12:37:32 -0000 I intend to commit this patch soon. This isn't changing the policy, just adjusting the docs to match the current policy. I'm open to suggestions for better ways to phrase the second sentence, clarifying that our tests generally have nothing novel or "authored". -- >8 -- There is no need to require FSF copyright for tests that are just "self-evident" ways to check the API and behaviour of the library. This is consistent with tests for the compiler, which do not have copyright and licence notices either. libstdc++-v3/ChangeLog: * doc/xml/manual/test.xml: Remove requirement for copyright and GPL notice in tests. * doc/html/manual/test.html: Regenerate. --- libstdc++-v3/doc/html/manual/test.html | 8 ++++++-- libstdc++-v3/doc/xml/manual/test.xml | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/libstdc++-v3/doc/html/manual/test.html b/libstdc++-v3/doc/html/manual/test.html index ef56a305687..10ae4ed5e1b 100644 --- a/libstdc++-v3/doc/html/manual/test.html +++ b/libstdc++-v3/doc/html/manual/test.html @@ -371,8 +371,12 @@ cat 27_io/objects/char/3_xin.in | a.out

- All files are copyright the FSF, and GPL'd: this is very - important. The first copyright year should correspond to the date + Historically all test files were copyright the FSF, and GPL licensed. + We no longer require that, because most tests are uninteresting + and contain no "original authorship", and so would not be protected + by copyright anyway. + If you do want to add the FSF copyright notice and GPL licence text, + then the first copyright year should correspond to the date the file was checked in to version control. If a test is copied from an existing file it should retain the copyright years from the original file. diff --git a/libstdc++-v3/doc/xml/manual/test.xml b/libstdc++-v3/doc/xml/manual/test.xml index ee00b06e385..7bc6e339723 100644 --- a/libstdc++-v3/doc/xml/manual/test.xml +++ b/libstdc++-v3/doc/xml/manual/test.xml @@ -630,8 +630,12 @@ cat 27_io/objects/char/3_xin.in | a.out - All files are copyright the FSF, and GPL'd: this is very - important. The first copyright year should correspond to the date + Historically all test files were copyright the FSF, and GPL licensed. + We no longer require that, because most tests are uninteresting + and contain no "original authorship", and so would not be protected + by copyright anyway. + If you do want to add the FSF copyright notice and GPL licence text, + then the first copyright year should correspond to the date the file was checked in to version control. If a test is copied from an existing file it should retain the copyright years from the original file. -- 2.34.1