1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-06 11:00:13 +02:00

Don't add package ids to commit messages

The package id is already in the name of the file changed, plus it makes most
commit messages too long. Also of little interest to most people.
This commit is contained in:
Daniel Martí 2014-02-10 10:55:29 +01:00
parent dbb7f63906
commit 3f0dbe232c
2 changed files with 4 additions and 4 deletions

View File

@ -53,9 +53,9 @@ while read line; do
done < "$file"
if [ -n "$name" ]; then
fullname="$name ($id)"
fullname="$name"
elif [ -n "$autoname" ]; then
fullname="$autoname ($id)"
fullname="$autoname"
else
fullname="$id"
fi

View File

@ -175,9 +175,9 @@ def getsrcname(app, build):
def getappname(app):
if app['Name']:
return '%s (%s)' % (app['Name'], app['id'])
return app['Name']
if app['Auto Name']:
return '%s (%s)' % (app['Auto Name'], app['id'])
return app['Auto Name']
return app['id']
def getcvname(app):