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
Duy Nguyen <pclouds@gmail.com>
Date
Mar 22, 2015, 09:45 UTC
Message-ID
<CACsJy8DxUjfJ8DZ4g5bspeHARCVs9nwt9fC4wySUy0rtsCL++A@mail.gmail.com>
In-Reply-To
<E1YZTZI-0002QE-3r@rmm6prod02.runbox.com>
On Sun, Mar 22, 2015 at 7:16 AM, David A. Wheeler <dwheeler@dwheeler.com> wrote:
Show 7 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".

Perhaps make this a hook and maybe install by default on new clones, e.g. templates/hooks--post-checkout.sample?

-- 
Duy
Previous: Johannes Sixt
Message 3 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.