git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH/RFC] Developer's Certificate of Origin: default to COPYING

From
RHRichard Hansen <rhansen@bbn.com>
Date
Sep 12, 2013, 22:11 UTC
Message-ID
<1379023862-29953-1-git-send-email-rhansen@bbn.com>

The "Developer's Certificate of Origin" refers to "the open source license indicated in the file", but there is no such indication in most files in the Git repository.

Update the text to indicate that the license in COPYING should be assumed if a file doesn't excplicitly indicate which license applies to the file.

The phrase "accompanies the file" was chosen to support different default licenses in different subdirectories (e.g., 2-clause BSD for vcs-svn/*, LGPL2.1+ for xdiff/*).

Signed-off-by: Richard Hansen <rhansen@bbn.com>
---
I'm bringing this up because, to this layman's eyes, it seems like a
potentially troublesome oversight.  IIUC, one of the purposes of the
Developer's Certificate of Origin is to make it easy for developers to
declare which license covers a contribution.  Requiring a license
declaration protects the project and its users from copyright
litigation.

What happens if the file(s) being modified do not indicate which license applies to the file? Is there no license? Does it default to the main project license in COPYING? This lack of clarity makes me a bit nervous (law is already too nondeterministic for my liking), so I'd like to see a change that makes it explicit.

Notes:
  * I am not a lawyer.  (Maybe a lawyer should be consulted?)
  * This change might not be necessary.
  * This change might be wrong.
  * I hope I'm not just wasting everyone's time by bringing this up.
 Documentation/SubmittingPatches | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/Documentation/SubmittingPatches b/Documentation/SubmittingPatches
index 7055576..c5ff744 100644
--- a/Documentation/SubmittingPatches
+++ b/Documentation/SubmittingPatches
@@ -227,13 +227,15 @@ the patch, which certifies that you wrote it or otherwise have
 the right to pass it on as a open-source patch.  The rules are
 pretty simple: if you can certify the below:
 
-        Developer's Certificate of Origin 1.1
+        Developer's Certificate of Origin 1.2
 
         By making a contribution to this project, I certify that:
 
         (a) The contribution was created in whole or in part by me and I
             have the right to submit it under the open source license
-            indicated in the file; or
+            indicated in the file (or, if no license is indicated in
+            the file, the license in COPYING that accompanies the
+            file); or
 
         (b) The contribution is based upon previous work that, to the best
             of my knowledge, is covered under an appropriate open source
@@ -241,7 +243,8 @@ pretty simple: if you can certify the below:
             work with modifications, whether created in whole or in part
             by me, under the same open source license (unless I am
             permitted to submit under a different license), as indicated
-            in the file; or
+            in the file (or, if no license is indicated in the file,
+            the license in COPYING that accompanies the file); or
 
         (c) The contribution was provided directly to me by some other
             person who certified (a), (b) or (c) and I have not modified
-- 
1.8.4
Next: Junio C Hamano
Message 1 of 7 in “Developer's Certificate of Origin: default to COPYING”
  1. Developer's Certificate of Origin: default to COPYINGRichard Hansen, Sep 12, 2013
  2. Junio C HamanoSep 12, 2013
  3. Linus TorvaldsSep 12, 2013
  4. Richard HansenSep 12, 2013
  5. Theodore Ts'oSep 12, 2013
  6. Linus TorvaldsSep 12, 2013
  7. W. Trevor KingSep 13, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.