chiark / gitweb /
Don't add package ids to commit messages
authorDaniel Martí <mvdan@mvdan.cc>
Mon, 10 Feb 2014 09:55:29 +0000 (10:55 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Mon, 10 Feb 2014 09:55:29 +0000 (10:55 +0100)
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
fdroidserver/common.py

index 0b5c665d9f0c0d0579075d5c7535b215a5eebdc7..2e5831aa7e47f2243963b4c74a77dcc6370a154c 100755 (executable)
--- 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
index 4f3b35ee872ab5689a482a7c238f63b28e292698..d9721d8c0f622075fa9688a8dc700eee3fcd8855 100644 (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):