Skip to content

Commit

Permalink
fix bug 1501780: fix BetaVersionRule lookups for aurora
Browse files Browse the repository at this point in the history
  • Loading branch information
willkg committed Oct 25, 2018
1 parent 9005fa9 commit c88889c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion socorro/processor/mozilla_transform_rules.py
Expand Up @@ -652,6 +652,14 @@ def _get_version_data(self, product, build_id, channel):
the host specified in ``version_string_api``
"""
# NOTE(willkg): AURORA LIVES!
#
# But seriously, if this is for Firefox/aurora and the build id is after
# 20170601, then we ask Buildhub about devedition/aurora instead because
# devedition is the aurora channel
if (product, channel) == ('firefox', 'aurora') and build_id > '20170601':
product = 'devedition'

key = '%s:%s:%s' % (product, build_id, channel)
if key in self.cache:
return self.cache[key]
Expand Down Expand Up @@ -708,7 +716,7 @@ def _action(self, raw_crash, raw_dumps, processed_crash, processor_meta):
try:
real_version = self._get_version_data(
product.lower(),
build_id,
str(build_id),
release_channel
)

Expand Down

0 comments on commit c88889c

Please sign in to comment.