From 3f0dbe232cad0b3ff2189f41eb5cf8c0127c3e5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Mon, 10 Feb 2014 10:55:29 +0100 Subject: [PATCH] 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. --- fd-commit | 4 ++-- fdroidserver/common.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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):