diff options
author | Martin Braun <martin.braun@ettus.com> | 2016-03-21 11:46:49 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2016-03-21 11:46:49 -0700 |
commit | 7ae5aea5db4414cbed8504794ed10f8fb412e245 (patch) | |
tree | e9b0ed45cbcc3f943bde552f3ceefdf880cf2f61 | |
parent | 4b24235c80b116cb8b2ddbd33db5fb3d53eddedb (diff) | |
download | uhd-7ae5aea5db4414cbed8504794ed10f8fb412e245.tar.gz uhd-7ae5aea5db4414cbed8504794ed10f8fb412e245.tar.bz2 uhd-7ae5aea5db4414cbed8504794ed10f8fb412e245.zip |
debian: updated changelog converter for sensible defaults
-rwxr-xr-x | tools/debs/convert_changelog.py | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/tools/debs/convert_changelog.py b/tools/debs/convert_changelog.py index 5d12a958c..eaad680fa 100755 --- a/tools/debs/convert_changelog.py +++ b/tools/debs/convert_changelog.py @@ -53,10 +53,22 @@ def get_footer(uploader_name, uploader_email): if __name__ == "__main__": parser = OptionParser() - parser.add_option("--input-file", type="string", help="Input UHD top-level changelog file") - parser.add_option("--output-file", type="string", help="Output Debian changelog file (will append onto existing)") - parser.add_option("--uploader-name", type="string", help="Uploader name (must match GPG key)") - parser.add_option("--uploader-email", type="string", help="Uploader email (must match GPG key)") + parser.add_option( + "--input-file", type="string", default='CHANGELOG', + help="Input UHD top-level changelog file" + ) + parser.add_option("--output-file", + type="string", default='host/cmake/debian/changelog', + help="Output Debian changelog file (will append onto existing)" + ) + parser.add_option("--uploader-name", + type="string", default='Ettus Research', + help="Uploader name (must match GPG key)", + ) + parser.add_option("--uploader-email", + type="string", default='packages@ettus.com', + help="Uploader email (must match GPG key)" + ) parser.add_option("--last-version", type="string", help="Manually specify last version (Debian format)", default="") (options, args) = parser.parse_args() |