From d0ae346a6cb32b0071e785b6f501f51ee3fdfc56 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 25 Sep 2013 07:15:42 -0400 Subject: [PATCH] The -t option dow defaults to a build timestamp. --- NEWS | 3 +++ coverity-submit | 4 ++-- coverity-submit.xml | 13 ++++++++----- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/NEWS b/NEWS index 98e20ff..030b73a 100644 --- 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. diff --git a/coverity-submit b/coverity-submit index fb98cf3..b6e1ed2 100755 --- a/coverity-submit +++ b/coverity-submit @@ -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': diff --git a/coverity-submit.xml b/coverity-submit.xml index c5640a9..e83e368 100644 --- a/coverity-submit.xml +++ b/coverity-submit.xml @@ -119,11 +119,14 @@ enables slightly more verbose progress messages, and copies the Coverity build-log.txt from the run to your working directory. The option specifies an arbitrary build -version to associate with the submission. - -The 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. +version to associate with the submission. A repository commit level +would be a good thing to use for this. + +The 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. Once coverity-submit has determined which project profile to use, it then performs the following steps: -- 2.43.0