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