[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
script timestamps
From: |
Eric Blake |
Subject: |
script timestamps |
Date: |
Tue, 28 Apr 2009 21:29:15 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
> > my emacs-generated timestamp preceded his until we added the UTC lock.
>
> Is that an Emacs feature enabled by a formatted comment? I don't mind
> adding it, but I'll have to regard it manually nonetheless, as I don't
> use Emacs much.
Yes, the magic emacs comment at the end of the file allows emacs to auto-update
the timestamp upon file save. But hopefully the obvious '; # UTC' comment
following the actual timestamp makes the intent clear even for non-emacs users.
How about the following? To make sure I understand the branching rules
correctly, I would simply apply this first to origin/branch-1-10, then merge
that onto origin/master?
config.guess, config.sub, and texinfo.tex are pulled from elsewhere;
additionally, their timestamps don't include hours (so the courser granularity
reduces the likelihood of a timestamp moving backwards when two people edit the
same script from different parts of the world within 24 hours).
From: Eric Blake <address@hidden>
Date: Tue, 28 Apr 2009 15:19:41 -0600
Subject: [PATCH] scripts: normalize all timestamps to UTC
* lib/compile (scriptversion): Update emacs hook.
* lib/depcomp (scriptversion): Likewise.
* lib/elisp-comp (scriptversion): Likewise.
* lib/gnupload (scriptversion): Likewise.
* lib/install-sh (scriptversion): Likewise.
* lib/mdate-sh (scriptversion): Likewise.
* lib/missing (scriptversion): Likewise.
* lib/mkinstalldirs (scriptversion): Likewise.
* lib/py-compile (scriptversion): Likewise.
* lib/ylwrap (scriptversion): Likewise.
Signed-off-by: Eric Blake <address@hidden>
---
ChangeLog | 14 ++++++++++++++
lib/compile | 5 +++--
lib/depcomp | 5 +++--
lib/elisp-comp | 8 +++++---
lib/gnupload | 5 +++--
lib/install-sh | 5 +++--
lib/mdate-sh | 9 +++++----
lib/missing | 7 ++++---
lib/mkinstalldirs | 5 +++--
lib/py-compile | 7 ++++---
lib/ylwrap | 7 ++++---
11 files changed, 51 insertions(+), 26 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 6ad0409..65271fd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2009-04-28 Eric Blake <address@hidden>
+
+ scripts: normalize all timestamps to UTC
+ * lib/compile (scriptversion): Update emacs hook.
+ * lib/depcomp (scriptversion): Likewise.
+ * lib/elisp-comp (scriptversion): Likewise.
+ * lib/gnupload (scriptversion): Likewise.
+ * lib/install-sh (scriptversion): Likewise.
+ * lib/mdate-sh (scriptversion): Likewise.
+ * lib/missing (scriptversion): Likewise.
+ * lib/mkinstalldirs (scriptversion): Likewise.
+ * lib/py-compile (scriptversion): Likewise.
+ * lib/ylwrap (scriptversion): Likewise.
+
2009-04-27 Ralf Wildenhues <address@hidden>
silent-rules: fix alignment of less verbose output.
diff --git a/lib/compile b/lib/compile
index af472ac..a225736 100755
--- a/lib/compile
+++ b/lib/compile
@@ -1,7 +1,7 @@
#! /bin/sh
# Wrapper for compilers which do not understand `-c -o'.
-scriptversion=2009-03-03.21
+scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009 Free Software
# Foundation, Inc.
@@ -138,5 +138,6 @@ exit $ret
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-end: "$"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
# End:
diff --git a/lib/depcomp b/lib/depcomp
index 9ebfd85..20164e4 100755
--- a/lib/depcomp
+++ b/lib/depcomp
@@ -1,7 +1,7 @@
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
-scriptversion=2009-04-22.22
+scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
# Software Foundation, Inc.
@@ -625,5 +625,6 @@ exit 0
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-end: "$"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
# End:
diff --git a/lib/elisp-comp b/lib/elisp-comp
index 71f1a0f..d08f71f 100755
--- a/lib/elisp-comp
+++ b/lib/elisp-comp
@@ -1,7 +1,8 @@
#!/bin/sh
-# Copyright (C) 1995, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
+# Copyright (C) 1995, 2000, 2003, 2004, 2005, 2009 Free Software
+# Foundation, Inc.
-scriptversion=2005-05-14.22
+scriptversion=2009-04-28.21; # UTC
# Franc,ois Pinard <address@hidden>, 1995.
#
@@ -84,5 +85,6 @@ cp "$@" $tempdir
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-end: "$"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
# End:
diff --git a/lib/gnupload b/lib/gnupload
index 7c34784..002cee3 100755
--- a/lib/gnupload
+++ b/lib/gnupload
@@ -1,7 +1,7 @@
#!/bin/sh
# Sign files and upload them.
-scriptversion=2009-03-05.20
+scriptversion=2009-04-28.21; # UTC
# Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation
#
@@ -407,5 +407,6 @@ exit 0
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-end: "$"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
# End:
diff --git a/lib/install-sh b/lib/install-sh
index a5897de..6781b98 100755
--- a/lib/install-sh
+++ b/lib/install-sh
@@ -1,7 +1,7 @@
#!/bin/sh
# install - install a program, script, or datafile
-scriptversion=2006-12-25.00
+scriptversion=2009-04-28.21; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
@@ -515,5 +515,6 @@ done
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-end: "$"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
# End:
diff --git a/lib/mdate-sh b/lib/mdate-sh
index 757a5dc..4ecfe2d 100755
--- a/lib/mdate-sh
+++ b/lib/mdate-sh
@@ -1,10 +1,10 @@
#!/bin/sh
# Get modification time of a file or directory and pretty-print it.
-scriptversion=2007-03-30.02
+scriptversion=2009-04-28.21; # UTC
-# Copyright (C) 1995, 1996, 1997, 2003, 2004, 2005, 2007 Free Software
-# Foundation, Inc.
+# Copyright (C) 1995, 1996, 1997, 2003, 2004, 2005, 2007, 2009 Free
+# Software Foundation, Inc.
# written by Ulrich Drepper <address@hidden>, June 1995
#
# This program is free software; you can redistribute it and/or modify
@@ -200,5 +200,6 @@ echo $day $month $year
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-end: "$"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
# End:
diff --git a/lib/missing b/lib/missing
index f359dae..727cfa0 100755
--- a/lib/missing
+++ b/lib/missing
@@ -1,10 +1,10 @@
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
-scriptversion=2008-12-21.33
+scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
-# 2008 Free Software Foundation, Inc.
+# 2008, 2009 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <address@hidden>, 1996.
# This program is free software; you can redistribute it and/or modify
@@ -371,5 +371,6 @@ exit 0
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-end: "$"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
# End:
diff --git a/lib/mkinstalldirs b/lib/mkinstalldirs
index ef7e16f..4191a45 100755
--- a/lib/mkinstalldirs
+++ b/lib/mkinstalldirs
@@ -1,7 +1,7 @@
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
-scriptversion=2006-05-11.19
+scriptversion=2009-04-28.21; # UTC
# Original author: Noah Friedman <address@hidden>
# Created: 1993-05-16
@@ -157,5 +157,6 @@ exit $errstatus
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-end: "$"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
# End:
diff --git a/lib/py-compile b/lib/py-compile
index 88776bc..636f0fc 100755
--- a/lib/py-compile
+++ b/lib/py-compile
@@ -1,9 +1,9 @@
#!/bin/sh
# py-compile - Compile a Python program
-scriptversion=2008-10-26.11
+scriptversion=2009-04-28.21; # UTC
-# Copyright (C) 2000, 2001, 2003, 2004, 2005, 2008 Free Software
+# Copyright (C) 2000, 2001, 2003, 2004, 2005, 2008, 2009 Free Software
# Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
@@ -141,5 +141,6 @@ sys.stdout.write('\n')" 2>/dev/null || :
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-end: "$"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
# End:
diff --git a/lib/ylwrap b/lib/ylwrap
index bb58968..6fff7b5 100755
--- a/lib/ylwrap
+++ b/lib/ylwrap
@@ -1,10 +1,10 @@
#! /bin/sh
# ylwrap - wrapper for lex/yacc invocations.
-scriptversion=2007-11-22.22
+scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005,
-# 2007 Free Software Foundation, Inc.
+# 2007, 2009 Free Software Foundation, Inc.
#
# Written by Tom Tromey <address@hidden>.
#
@@ -217,5 +217,6 @@ exit $ret
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-end: "$"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
# End:
--
1.6.2.4
- script timestamps,
Eric Blake <=