If it's often not a replacement for a proper changelog, do not advise its
usage.
# 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://'):
sourcecode = url
issuetracker = url + '/issues'
website = ""
- changelog = url + '/commits'
elif url.startswith('https://gitlab.com/'):
projecttype = 'gitlab'
repo = url
app['Source Code'] = sourcecode
if issuetracker:
app['Issue Tracker'] = issuetracker
- if changelog:
- app['Changelog'] = changelog
if license:
app['License'] = license
app['Repo Type'] = repotype
(re.compile(r'.*github\.com/[^/]+/[^/]+/issues/.*'),
"/issues is often enough on its own"),
],
- 'Changelog': [
- (re.compile(r'.*commit.*', re.IGNORECASE),
- "Not every commit log is suitable as change log"),
- ],
'Summary': [
(re.compile(r'.*[a-z0-9][.!?][ $]'),
"Punctuation should be avoided"),