This commit is contained in:
Daniel Martí 2015-06-03 15:52:01 +02:00
commit 4b59f913f1
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://'):
@ -143,6 +144,7 @@ def main():
sourcecode = url
issuetracker = url + '/issues'
website = ""
changelog = url + '/commits'
elif url.startswith('https://gitlab.com/'):
projecttype = 'gitlab'
repo = url
@ -286,6 +288,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