[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] install: add -C option to install file only when necessary
From: |
Eric Blake |
Subject: |
Re: [PATCH] install: add -C option to install file only when necessary |
Date: |
Wed, 18 Feb 2009 06:11:55 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.6.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Jim Meyering on 2/17/2009 11:41 PM:
> Eric Blake <address@hidden> wrote:
>> OK for this followup, necessary on cygwin and a no-op for most other
>> platforms?
Pushed.
>> Also, some of the files created by the patch are listed as
>> copyright 2008 (when they were first started), rather than 2009 (when they
>> were
>> published).
>
> Sure. Thanks!
>
> We could use a git hook that verifies copyright dates.
> If you'd like to fix them, then please do.
I used git log to find the first commit this year, then using this list:
$ grep -L 2009 `git diff --stat 1ead0.. | head -n -1 | cut -d\| -s -f1`
I came up with the following patch, also applied. I didn't touch files
where the author date was last year, or files that didn't have a copyright
to begin with, so the above command still turns out a sizable list of
files. Some of those files, like tests/test-lib.sh or HACKING, probably
deserve a copyright notice.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkmcCRoACgkQ84KuGfSFAYDJ2gCguaUEyQ+sPzgZJD0RfcmGIxqt
cfUAoNQ9C21vqU/pgW9dRdWPSeyg/frN
=sM4I
-----END PGP SIGNATURE-----
>From 86cef85b3671ed0a14a444eef3b6cb07fa26ee64 Mon Sep 17 00:00:00 2001
From: Eric Blake <address@hidden>
Date: Wed, 18 Feb 2009 06:07:30 -0700
Subject: [PATCH] add missing copyright dates
* NEWS: Add 2009 to copyright.
* README: Likewise.
* README-hacking: Likewise.
* TODO: Likewise.
* doc/Makefile.am: Likewise.
* m4/prereq.m4: Likewise.
* src/nl.c: Likewise.
* src/seq.c: Likewise.
* tests/cp/cp-i: Likewise.
* tests/install/install-C: Likewise.
* tests/install/install-C-root: Likewise.
* tests/install/install-C-selinux: Likewise.
* tests/misc/seq: Likewise.
* tests/mv/mv-n: Likewise.
---
NEWS | 3 +--
README | 3 +--
README-hacking | 2 +-
TODO | 2 +-
doc/Makefile.am | 2 +-
m4/prereq.m4 | 4 ++--
src/nl.c | 2 +-
src/seq.c | 2 +-
tests/cp/cp-i | 2 +-
tests/install/install-C | 2 +-
tests/install/install-C-root | 2 +-
tests/install/install-C-selinux | 2 +-
tests/misc/seq | 2 +-
tests/mv/mv-n | 2 +-
14 files changed, 15 insertions(+), 17 deletions(-)
diff --git a/NEWS b/NEWS
index 4f80813..90bd442 100644
--- a/NEWS
+++ b/NEWS
@@ -2370,8 +2370,7 @@ packages, see ./old/*/NEWS.
========================================================================
-Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software
-Foundation, Inc.
+Copyright (C) 2001-2009 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2 or
diff --git a/README b/README
index 58aec01..9e082a3 100644
--- a/README
+++ b/README
@@ -227,8 +227,7 @@ the address on the last line of --help output.
========================================================================
-Copyright (C) 1998, 2002, 2003, 2004, 2005, 2006 Free Software
-Foundation, Inc.
+Copyright (C) 1998, 2002-2009 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2 or
diff --git a/README-hacking b/README-hacking
index 7a8b4c4..433ef41 100644
--- a/README-hacking
+++ b/README-hacking
@@ -68,7 +68,7 @@ Enjoy!
-----
-Copyright (C) 2002-2008 Free Software Foundation, Inc.
+Copyright (C) 2002-2009 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/TODO b/TODO
index c630548..9b776a4 100644
--- a/TODO
+++ b/TODO
@@ -176,7 +176,7 @@ pr's use of nstrftime can make it malloc a very large (up
to SIZE_MAX) buffer
-----
-Copyright (C) 2002-2008 Free Software Foundation, Inc.
+Copyright (C) 2002-2009 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/doc/Makefile.am b/doc/Makefile.am
index f6f98af..89f72ce 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,6 +1,6 @@
# Make coreutils documentation. -*-Makefile-*-
-# Copyright (C) 1995-1998, 2001-2008 Free Software Foundation, Inc.
+# Copyright (C) 1995-1998, 2001-2009 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/m4/prereq.m4 b/m4/prereq.m4
index 536070e..3022da4 100644
--- a/m4/prereq.m4
+++ b/m4/prereq.m4
@@ -1,4 +1,4 @@
-#serial 75
+#serial 76
dnl We use gl_ for non Autoconf macros.
m4_pattern_forbid([^gl_[ABCDEFGHIJKLMNOPQRSTUVXYZ]])dnl
@@ -7,7 +7,7 @@ m4_pattern_forbid([^gl_[ABCDEFGHIJKLMNOPQRSTUVXYZ]])dnl
# directory of the coreutils package.
-# Copyright (C) 1998, 2000, 2001, 2003-2008 Free Software Foundation, Inc.
+# Copyright (C) 1998, 2000, 2001, 2003-2009 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/src/nl.c b/src/nl.c
index 578a7aa..56d5a39 100644
--- a/src/nl.c
+++ b/src/nl.c
@@ -1,5 +1,5 @@
/* nl -- number lines of files
- Copyright (C) 89, 92, 1995-2008 Free Software Foundation, Inc.
+ Copyright (C) 89, 92, 1995-2009 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/src/seq.c b/src/seq.c
index ecc72f0..cc9c73a 100644
--- a/src/seq.c
+++ b/src/seq.c
@@ -1,5 +1,5 @@
/* seq - print sequence of numbers to standard output.
- Copyright (C) 1994-2008 Free Software Foundation, Inc.
+ Copyright (C) 1994-2009 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/tests/cp/cp-i b/tests/cp/cp-i
index 36bb758..67f8a56 100755
--- a/tests/cp/cp-i
+++ b/tests/cp/cp-i
@@ -1,7 +1,7 @@
#!/bin/sh
# Test whether cp -i prompts in the right place.
-# Copyright (C) 2006-2008 Free Software Foundation, Inc.
+# Copyright (C) 2006-2009 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/install/install-C b/tests/install/install-C
index 129286d..2cddaff 100755
--- a/tests/install/install-C
+++ b/tests/install/install-C
@@ -1,7 +1,7 @@
#!/bin/sh
# Ensure "install -C" works. (basic tests)
-# Copyright (C) 2008 Free Software Foundation, Inc.
+# Copyright (C) 2008-2009 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/install/install-C-root b/tests/install/install-C-root
index 1a07dbe..df2843d 100755
--- a/tests/install/install-C-root
+++ b/tests/install/install-C-root
@@ -1,7 +1,7 @@
#!/bin/sh
# Ensure "install -C" compares owner and group.
-# Copyright (C) 2008 Free Software Foundation, Inc.
+# Copyright (C) 2008-2009 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/install/install-C-selinux b/tests/install/install-C-selinux
index d1d9540..a91d8bb 100755
--- a/tests/install/install-C-selinux
+++ b/tests/install/install-C-selinux
@@ -1,7 +1,7 @@
#!/bin/sh
# Ensure "install -C" compares SELinux context.
-# Copyright (C) 2008 Free Software Foundation, Inc.
+# Copyright (C) 2008-2009 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/misc/seq b/tests/misc/seq
index cd78bd1..b34833d 100755
--- a/tests/misc/seq
+++ b/tests/misc/seq
@@ -1,7 +1,7 @@
#!/usr/bin/perl
# Test "seq".
-# Copyright (C) 1999, 2000, 2003, 2005-2008 Free Software Foundation, Inc.
+# Copyright (C) 1999, 2000, 2003, 2005-2009 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff --git a/tests/mv/mv-n b/tests/mv/mv-n
index 1b44fda..f91fba0 100755
--- a/tests/mv/mv-n
+++ b/tests/mv/mv-n
@@ -1,7 +1,7 @@
#!/bin/sh
# Test whether mv -n works as documented (not overwrite target).
-# Copyright (C) 2006-2008 Free Software Foundation, Inc.
+# Copyright (C) 2006-2009 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
--
1.6.1.2
- Re: [PATCH] install: add -C option to install file only when necessary, (continued)
- Re: [PATCH] install: add -C option to install file only when necessary, Eric Blake, 2009/02/16
- Re: [PATCH] install: add -C option to install file only when necessary, Jim Meyering, 2009/02/16
- Re: [PATCH] install: add -C option to install file only when necessary, Kamil Dudka, 2009/02/17
- Re: [PATCH] install: add -C option to install file only when necessary, Andreas Schwab, 2009/02/17
- Re: [PATCH] install: add -C option to install file only when necessary, Kamil Dudka, 2009/02/17
- Re: [PATCH] install: add -C option to install file only when necessary, Jim Meyering, 2009/02/17
- Re: [PATCH] install: add -C option to install file only when necessary, Eric Blake, 2009/02/17
- Re: [PATCH] install: add -C option to install file only when necessary, Jim Meyering, 2009/02/18
- Re: [PATCH] install: add -C option to install file only when necessary,
Eric Blake <=
- Re: [PATCH] install: add -C option to install file only when necessary, Jim Meyering, 2009/02/18