]> thyrsus.com Git - coverity-submit.git/commitdiff
The -t option dow defaults to a build timestamp.
authorEric S. Raymond <esr@thyrsus.com>
Wed, 25 Sep 2013 11:15:42 +0000 (07:15 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 25 Sep 2013 11:15:42 +0000 (07:15 -0400)
NEWS
coverity-submit
coverity-submit.xml

diff --git a/NEWS b/NEWS
index 98e20ff7057e1e5e76da85ab2aba9879f2882b5e..030b73a9715bed65a6323978668c6268bed7d8f3 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,8 @@
                        NEWS file for coverty-submit
 
+1.10 @
+    The -t option dow defaults to a build timestamp.
+
 1.9 @ 2013-05-23
     The -v option now preserves the build log for diagnostic purposes.
 
index fb98cf313cc06b25bc40aa77612a27e083f5b3da..b6e1ed2bf9a8c3f019f2770ff2c6d52b283e64ab 100755 (executable)
@@ -4,7 +4,7 @@
 #
 # By Eric S. Raymond, May 2012.  BSD terms apply.
 #
-import os, sys, ConfigParser, getopt, tempfile, shutil
+import os, sys, ConfigParser, getopt, tempfile, shutil, datetime
 
 version = "1.9"
 
@@ -38,7 +38,7 @@ if __name__ == '__main__':
     noexec = False
     verbose = False
     build_version = None
-    description = None
+    description = datetime.datetime.now().isoformat()
     (opts, args) = getopt.getopt(sys.argv[1:], "b:nt:v")
     for (opt, arg) in opts:
         if opt == '-b':
index c5640a9f1590423801c3bc9140dd04f2017dec3e..e83e3686cac8eec91a37e49c92006a3f8261465d 100644 (file)
@@ -119,11 +119,14 @@ enables slightly more verbose progress messages, and copies the Coverity
 build-log.txt from the run to your working directory.</para>
 
 <para>The <option>-b</option> option specifies an arbitrary build
-version to associate with the submission.</para>
-
-<para>The <option>-t</option> option specifies an arbitrary project tag
-or description to associate with the submission. This text is visible in the
-"snapshots" view of the Coverity web interface.</para>
+version to associate with the submission. A repository commit level
+would be a good thing to use for this.</para>
+
+<para>The <option>-t</option> option specifies an arbitrary project
+tag or description to associate with the submission. This text is
+visible in the "snapshots" view of the Coverity web interface. If you
+do not specify a description, the ISO8601 date that the submission
+was initiated is used.</para>
 
 <para>Once <application>coverity-submit</application> has determined
 which project profile to use, it then performs the following steps:</para>