Opened 3 years ago

Closed 3 years ago

#4087 closed change (fixed)

Use Mozilla's product-details data to determine current product versions

Reported by: trev Assignee: jsonesen
Priority: P2 Milestone:
Module: Websites Keywords:
Cc: saroyanm, sebastian, jsonesen Blocked By:
Blocking: Platform: Unknown / Cross platform
Ready: yes Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

https://codereview.adblockplus.org/29348818

Description (last modified by trev)

Background

In order to determine latest Mozilla product versions for https://adblockplus.org/requirements we will currently query various update servers. Not only is this approach rather complicated, it also happens to be fairly unreliable. For example, we are currently listing SeaMonkey 2.1 as compatible for some reason, probably because the update server doesn't recognize the parameters we are sending.

What to change

Download https://product-details.mozilla.org/firefox_versions.json for current Firefox versions (LATEST_FIREFOX_VERSION, LATEST_FIREFOX_DEVEL_VERSION, FIREFOX_AURORA, FIREFOX_NIGHTLY). Download https://product-details.mozilla.org/mobile_versions.json for current Firefox Mobile versions (version, beta_version, alpha_version, nightly_version). Download https://product-details.mozilla.org/thunderbird_versions.json for current Thunderbird versions (it seems that we need to use FIREFOX_AURORA and FIREFOX_NIGHTLY in addition to the data available there). Download http://www.seamonkey-project.org/seamonkey_versions.json for current SeaMonkey versions.

Change History (9)

comment:1 Changed 3 years ago by trev

  • Description modified (diff)

comment:2 Changed 3 years ago by trev

  • Description modified (diff)

comment:3 Changed 3 years ago by sebastian

  • Cc jsonesen added

Hey Jon, would this perhaps be something you'd like to work on, after you finished what you are currently working on? For reference, you find the code to be changed in get_browser_versions.py.

comment:4 Changed 3 years ago by saroyanm

  • Priority changed from Unknown to P2
  • Ready set

This also should fix #3773 I think

comment:5 Changed 3 years ago by trev

I hope so. Bug 1246446 and bug 1266790 indicate that we shouldn't expect product-details.mozilla.org to be 100% reliable, even though Mozilla seems to be committed to keeping that service up. However, that domain is hosting static files only, and if there are issues these should be limited to the data being outdated.

comment:6 Changed 3 years ago by jsonesen

  • Owner set to jsonesen

comment:7 Changed 3 years ago by sebastian

  • Review URL(s) modified (diff)

comment:8 Changed 3 years ago by sebastian

  • Status changed from new to reviewing

comment:9 Changed 3 years ago by jsonesen

  • Resolution set to fixed
  • Status changed from reviewing to closed
Note: See TracTickets for help on using tickets.