Bug 1306718 followup - actually use the full revision for the running case; v0.3.26, r=me default tip
authorNick Thomas <nthomas@mozilla.com>
Thu, 09 Feb 2017 16:01:51 +1300
changeset 304 9974107017f9b0605839377e7548d584d05c8e1e
parent 303 e4ed912e4bbea0138295abd6d9c1fa7d270a573b
push id248
push usernthomas@mozilla.com
push dateThu, 09 Feb 2017 03:43:32 +0000
reviewersme
bugs1306718
Bug 1306718 followup - actually use the full revision for the running case; v0.3.26, r=me
buildapi/model/query.py
setup.py
--- a/buildapi/model/query.py
+++ b/buildapi/model/query.py
@@ -134,17 +134,16 @@ def GetBuilds(branch=None, type='pending
                     if r.brid < min(this_result['request_ids']):
                         this_result['submitted_at'] = r.submitted_at
 
                     this_result['request_ids'].append(r.brid)
 
             revision = this_result.get('revision')
             if not revision:
                 revision = 'Unknown'
-            revision = revision[:12]
             if revision not in builds[real_branch]:
                 builds[real_branch][revision] = []
             builds[real_branch][revision].append(this_result)
 
     else:
         for r in query_results:
             real_branch = GetBranchName(r['branch'])
             if not real_branch:
--- a/setup.py
+++ b/setup.py
@@ -2,17 +2,17 @@ try:
     from setuptools import setup, find_packages
 except ImportError:
     from ez_setup import use_setuptools
     use_setuptools()
     from setuptools import setup, find_packages
 
 setup(
     name='buildapi',
-    version='0.3.25',
+    version='0.3.26',
     description='',
     author='',
     author_email='',
     url='',
     install_requires=[
         "SQLAlchemy<0.9.0",
         "kombu",
         "pytz",