NEWS file for coverty-submit
+1.8 @ 2013-04-18
+ Support new-style config location, ~/.config/coverity-submit
+
1.7 @ 2013-03-17
Merge James Hunt's support for the build and tag options.
#
import os, sys, ConfigParser, getopt, tempfile
-version = "1.7"
+version = "1.8"
if __name__ == '__main__':
name = email = project = password = url = None
config = ConfigParser.RawConfigParser()
- config.read(os.path.expanduser("~/.coverity-submit"))
+ if os.path.exists(os.path.expanduser("~/.config/coverity-submit")):
+ config.read(os.path.expanduser("~/.config/coverity-submit"))
+ else:
+ config.read(os.path.expanduser("~/.coverity-submit"))
def die(complaint):
sys.stderr.write(complaint + "\n")
<refsect1><title>CONFIGURATION</title>
<para>To use this tool, you need to set up a configuration file named
-<filename>.coverity-submit</filename> in your home directory. This
-configuration file is best explained by example.</para>
+either <filename>.coverity-submit</filename> or
+<filename>.config/coverity-submit</filename> in your home directory.
+This configuration file is best explained by example.</para>
<programlisting>
[ALL]