public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] libstdc++: Update documentation about copyright and GPL notices in tests
@ 2022-04-28 12:37 Jonathan Wakely
  2022-04-28 16:44 ` Koning, Paul
  0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Wakely @ 2022-04-28 12:37 UTC (permalink / raw)
  To: libstdc++, 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</pre></dd><dt><span class="term"><code c
     directory and file name, given the organization as previously
     described.
    </p><p>
-    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</programlisting>
    </para>
 
    <para>
-    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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-05-06 13:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-28 12:37 [PATCH] libstdc++: Update documentation about copyright and GPL notices in tests Jonathan Wakely
2022-04-28 16:44 ` Koning, Paul
2022-04-28 17:02   ` Jonathan Wakely
2022-05-06 13:44     ` Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).