aboutsummaryrefslogtreecommitdiffstats
path: root/tools/debs
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2016-03-21 11:46:49 -0700
committerMartin Braun <martin.braun@ettus.com>2016-03-21 11:46:49 -0700
commit7ae5aea5db4414cbed8504794ed10f8fb412e245 (patch)
treee9b0ed45cbcc3f943bde552f3ceefdf880cf2f61 /tools/debs
parent4b24235c80b116cb8b2ddbd33db5fb3d53eddedb (diff)
downloaduhd-7ae5aea5db4414cbed8504794ed10f8fb412e245.tar.gz
uhd-7ae5aea5db4414cbed8504794ed10f8fb412e245.tar.bz2
uhd-7ae5aea5db4414cbed8504794ed10f8fb412e245.zip
debian: updated changelog converter for sensible defaults
Diffstat (limited to 'tools/debs')
-rwxr-xr-xtools/debs/convert_changelog.py20
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()