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

Re: [PATCH] clone: Warn if clone lacks LICENSE or COPYING file

From
Stefan Beller <stefanbeller@gmail.com>
Date
Mar 22, 2015, 04:20 UTC
Message-ID
<550E430F.9010308@gmail.com>
In-Reply-To
<1426969262.3756.1.camel@kaarsemaker.net>
On 21.03.2015 13:21, Dennis Kaarsemaker wrote:
Show 10 quoted lines
> On za, 2015-03-21 at 14:06 -0400, David A. Wheeler wrote:
>> Warn cloners if there is no LICENSE* or COPYING* file that makes
>> the license clear.  This is a useful warning, because if there is
>> no license somewhere, then local copyright laws (which forbid many uses)
>> and terms of service apply - and the cloner may not be expecting that.
> 
> Please no, especially not without an option to switch this off. Git is
> not only used in open source settings, this would be highly annoying at
> $work, where no repo has (or needs) such a file.
> 

To spin this further it would be interesting to have a server advertisement during git clone which indicates if this setting is recommended to be set. Then hosting sites popular in the open source world such as github could enable this feature, and the client may enable this for the currently cloned repository (the user may have a global setting set to suppress this message though).

At $work the default of not advertising checking for such a feature would be set.

Previous: Dennis KaarsemakerNext: Junio C Hamano
Message 3 of 10 in “clone: Warn if clone lacks LICENSE or COPYING file”
  1. clone: Warn if clone lacks LICENSE or COPYING fileDavid A. Wheeler, Mar 21, 2015
  2. Dennis KaarsemakerMar 21, 2015
  3. Stefan BellerMar 22, 2015
  4. Junio C HamanoMar 22, 2015
  5. David A. WheelerMar 23, 2015
  6. Ævar Arnfjörð BjarmasonMar 23, 2015
  7. Ævar Arnfjörð BjarmasonMar 22, 2015
  8. David A. WheelerApr 3, 2015
  9. Junio C HamanoApr 3, 2015
  10. Kevin DMar 26, 2015

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.