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
#
# 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
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 \
<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>