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

Re: [PATCH] clone: Warn if LICENSE or COPYING file lacking and !clone.skiplicensecheck

From
Johannes Sixt <j6t@kdbg.org>
Date
Mar 22, 2015, 08:23 UTC
Message-ID
<550E7C05.4060603@kdbg.org>
In-Reply-To
<E1YZTZI-0002QE-3r@rmm6prod02.runbox.com>
Am 22.03.2015 um 01:16 schrieb David A. Wheeler:
Show 14 quoted lines
> 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.
> Many projects accidentally omit a license, so this is common enough to note.
>
> You can disable this warning by setting "clone.skiplicensecheck" to "true".
>
> For more info on the issue, feel free to see:
> http://choosealicense.com/no-license/
> http://www.wired.com/2013/07/github-licenses/
> https://twitter.com/stephenrwalli/status/247597785069789184
>
> Signed-off-by: David A. Wheeler <dwheeler@dwheeler.com>

The opt-out works only when placed in the system-wide or user configuration. That places a maintenance burden on *ALL* existing installations that do not want the warning.

If you really want to hard-code such a policy decision into Git, then make it an opt-in so that members of the license squad can enable it.

I don't need it.
-- Hannes
Previous: David A. WheelerNext: Duy Nguyen
Message 2 of 3 in “clone: Warn if LICENSE or COPYING file lacking and !clone.skiplicensecheck”
  1. clone: Warn if LICENSE or COPYING file lacking and !clone.skiplicensecheckDavid A. Wheeler, Mar 22, 2015
  2. Johannes SixtMar 22, 2015
  3. Duy NguyenMar 22, 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.