From: Daniel Martí Date: Mon, 10 Feb 2014 09:55:29 +0000 (+0100) Subject: Don't add package ids to commit messages X-Git-Tag: 0.2~311 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=3f0dbe232cad0b3ff2189f41eb5cf8c0127c3e5f;p=fdroidserver.git 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. --- diff --git a/fd-commit b/fd-commit index 0b5c665d..2e5831aa 100755 --- a/fd-commit +++ b/fd-commit @@ -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 diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 4f3b35ee..d9721d8c 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -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):