findutils-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Findutils-patches] [PATCH 2/2] maint: make copyright statements mor


From: James Youngman
Subject: Re: [Findutils-patches] [PATCH 2/2] maint: make copyright statements more consistent
Date: Tue, 5 Jan 2016 17:10:19 +0000

On Tue, Jan 5, 2016 at 1:23 AM, Bernhard Voelker
<address@hidden> wrote:
> Instead of growing lists of copyright year numbers with gaps,
> convert the sequence to a minimal containing range, e.g.:
>
>   -Copyright @copyright{} 1994, 1996, 1998, 2000-2001, 2003-2016 Free
>   -Software Foundation, Inc.
>   +Copyright @copyright{} 1994-2016 Free Software Foundation, Inc.
>
> This change will take effect the next time 'make update-copyright' is run.
>
> * cfg.mk (update-copyright-env): Add UPDATE_COPYRIGHT_FORCE=1
> to rejoin some split lines, and UPDATE_COPYRIGHT_USE_INTERVALS=2
> to make update-copyright use only one year range.

I don't think we should use UPDATE_COPYRIGHT_USE_INTERVALS=2 because
the GNU guidance prefers gaps to be preserved (from
http://www.gnu.org/prep/maintain/html_node/Copyright-Notices.html#Copyright-Notices):

> You can use a range (‘2008-2010’) instead of listing individual years (‘2008, 
> 2009, 2010’) if and only if: 1) every year in the range, inclusive, really is 
> a “copyrightable” year that would be listed individually; and 2) you make an 
> explicit statement in a README file about this usage.

Other than this, the change seems good to me with
UPDATE_COPYRIGHT_USE_INTERVALS=1.

>  cfg.mk | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/cfg.mk b/cfg.mk
> index ed873ad..37a07d0 100644
> --- a/cfg.mk
> +++ b/cfg.mk
> @@ -56,6 +56,11 @@ exclude_file_name_regexp--sc_texinfo_acronym = 
> doc/perm\.texi
>  # cases where neither argument is a string literal.
>  local-checks-to-skip += sc_prohibit_strcmp
>
> +# Use a minimal containing copyright year number range instead of a sequence
> +# with gaps.
> +update-copyright-env = \
> +  UPDATE_COPYRIGHT_FORCE=1 \
> +  UPDATE_COPYRIGHT_USE_INTERVALS=2
>
>  # NEWS hash.  We use this to detect unintended edits to bits of the NEWS file
>  # other than the most recent section.   If you do need to retrospectively 
> update
> --
> 2.1.4
>
>
> _______________________________________________
> Findutils-patches mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/findutils-patches



-- 
--
This email is intended solely for the use of its addressee, sender,
and any readers of a mailing list archive in which it happens to
appear.   If you have received this email in error, please say or type
three times, "I believe in the utility of email disclaimers," and then
reply to the author correcting any spellings (and, optionally, any
incorrect spellings), accompanying these with humorous jests about the
author's parentage.   If you are not the addressee, you are
nevertheless permitted to both copy and forward this email since
without such permissions email systems are unable to transmit email to
anybody, intended recipient or not.  To those still reading by this
point, the author would like to apologise for being unable to maintain
a consistent level of humour throughout this disclaimer.  Contents may
settle during transit.  Do not feed the animals.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]