From patchwork Thu Apr 28 12:37:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 53314 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 56893385734E for ; Thu, 28 Apr 2022 12:37:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 56893385734E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1651149478; bh=r4X1D/+qQNrlsXsyZDDpsrSFJdPyhCkOnXOsw6K8FxQ=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=t0GEylBFAvzWN/0FDHB7f12y8lKqBZ9TWcGhWp66bvacpQrPEZYN+uR0KxKet6q6k xASHKC6OG97/x4MQPxf5pIgFblT0htp0AEkPA/OKbQI/N12HpTcdGnfNf4GBW1QqLt 6ZWWuPsPP35dYN9jvyhPZA9Z+B2doJ4a54/qwshE= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org 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 417913858405 for ; Thu, 28 Apr 2022 12:37:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 417913858405 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) 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 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=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Jonathan Wakely via Gcc-patches From: Jonathan Wakely Reply-To: Jonathan Wakely Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" 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.