mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-11 15:13:27 +02:00
Don't use the commits feed as a changelog link in import
If it's often not a replacement for a proper changelog, do not advise its usage.
This commit is contained in:
parent
4b59f913f1
commit
beb17ad84a
@ -128,7 +128,6 @@ 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://'):
|
||||
@ -144,7 +143,6 @@ def main():
|
||||
sourcecode = url
|
||||
issuetracker = url + '/issues'
|
||||
website = ""
|
||||
changelog = url + '/commits'
|
||||
elif url.startswith('https://gitlab.com/'):
|
||||
projecttype = 'gitlab'
|
||||
repo = url
|
||||
@ -288,8 +286,6 @@ 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
|
||||
|
@ -125,10 +125,6 @@ regex_pedantic = {
|
||||
(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"),
|
||||
|
Loading…
Reference in New Issue
Block a user