[Pcsclite-git-commit] [website] 01/03: Correctly detect the reader support is in GIT version
Ludovic Rousseau
rousseau at moszumanska.debian.org
Thu May 28 17:52:05 UTC 2015
This is an automated email from the git hooks/post-receive script.
rousseau pushed a commit to branch master
in repository website.
commit efacb068c31787c8524487c72001af32b3ed7054
Author: Ludovic Rousseau <ludovic.rousseau at gmail.com>
Date: Thu May 28 10:45:13 2015 +0200
Correctly detect the reader support is in GIT version
The value 999999999 was correct for a subversion revision but is not as
a time in seconds since the epoch.
$ date --date='@999999999'
Sun Sep 9 03:46:39 CEST 2001
999999999 is even before the release of version 0.1.0 made in 2003.
We now use 99999999999 (with two more '9')
$ date --date='@99999999999'
Wed Nov 16 10:46:39 CET 5138
Year 5138 should be far enough in the future.
---
create_driver_version.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/create_driver_version.py b/create_driver_version.py
index e2fa93b..fd0ebaa 100755
--- a/create_driver_version.py
+++ b/create_driver_version.py
@@ -95,7 +95,7 @@ def main():
first_commit = int(commits[-1])
except ValueError:
sys.stderr.write("\n*** No commit found for reader: %s\n\n" % reader)
- first_commit = 999999999
+ first_commit = 99999999999
Releases[reader] = driver_revision_to_version(first_commit)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pcsclite/website.git
More information about the Pcsclite-cvs-commit
mailing list