]> thyrsus.com Git - coverity-submit.git/commitdiff
Ship 1.9, with -v preserving the build log.
authorEric S. Raymond <esr@thyrsus.com>
Thu, 23 May 2013 16:18:20 +0000 (12:18 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 23 May 2013 16:18:20 +0000 (12:18 -0400)
NEWS
coverity-submit
coverity-submit.xml

diff --git a/NEWS b/NEWS
index 67cc8a08a5ef5db29e91ecf91b082a113e0d54cd..98e20ff7057e1e5e76da85ab2aba9879f2882b5e 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,8 @@
                        NEWS file for coverty-submit
 
+1.9 @ 2013-05-23
+    The -v option now preserves the build log for diagnostic purposes.
+
 1.8 @ 2013-04-18
     Support new-style config location, ~/.config/coverity-submit
 
index c87f3053b4d89b3933b68273886f7093246f3f77..f66069eaab63c0760580f8b34994ce8381deb9dc 100755 (executable)
@@ -4,9 +4,9 @@
 #
 # By Eric S. Raymond, May 2012.  BSD terms apply.
 #
-import os, sys, ConfigParser, getopt, tempfile
+import os, sys, ConfigParser, getopt, tempfile, shutil
 
-version = "1.8"
+version = "1.9"
 
 if __name__ == '__main__':
     name = email = project = password = url = None
@@ -126,6 +126,8 @@ if __name__ == '__main__':
         with open(os.path.join(tmpdir, "README"), "w") as wfp:
             wfp.write(readme)
     tarball = "%s-scan.tgz" % covname
+    if verbose:
+        shutil.copy("cov-int/build-log.txt", "build-log.txt")
     do_or_die("mv cov-int %s; (cd %s; tar -czf %s README cov-int; rm -fr README cov-int)" % (tmpdir, tmpdir, tarball))
     print("Posting the analysis request...")
     do_or_die('''curl \
index 8e3472d661f7f18459faa474d634b1616656e72f..39db61289d922b750cb2030f3c15e11ea8eb25fb 100644 (file)
@@ -111,7 +111,8 @@ project profiles).</para>
 
 <para>The <option>-n</option> option says to display all the commands that
 would be run without actually executing them. The <option>-v</option> option 
-enables slightly more verbose progress messages.</para>
+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>