Add "Changelog:" metadata field.

This commit is contained in:
Boris Kraut 2015-01-11 02:26:41 +01:00
parent d1cf1c37b4
commit b1ec8cc47a
6 changed files with 39 additions and 2 deletions

View file

@ -128,6 +128,7 @@ def main():
# Figure out what kind of project it is...
projecttype = None
issuetracker = None
changelog = None
license = None
website = url # by default, we might override it
if url.startswith('git://'):
@ -142,6 +143,7 @@ def main():
repotype = 'git'
sourcecode = url
issuetracker = url + '/issues'
changelog = url + '/commits'
elif url.startswith('https://gitlab.com/'):
projecttype = 'gitlab'
repo = url
@ -275,6 +277,8 @@ def main():
app['Source Code'] = sourcecode
if issuetracker:
app['Issue Tracker'] = issuetracker
if changelog:
app['Changelog'] = changelog
if license:
app['License'] = license
app['Repo Type'] = repotype