Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

bug 1128525 - Adjust browser names and slugs #64

Merged
merged 2 commits into from
Oct 6, 2015

Conversation

jwhitlock
Copy link
Contributor

The current browser names and slugs suggest that the desktop variants are the normal ones, and the mobile ones are the different ones. bug 1128525 changes this, so that "Firefox" (slug "firefox") becomes "Firefox for Desktop" (slug "firefox_desktop"). This is a three-part change:

  1. This PR, which makes the importer handle current and new names and slugs
  2. Once shipped, change the names and slugs in https://browsercompat.herokuapp.com
  3. Remove the old name and slug handling from the importer.

This code is going to get more complicated. Move the ugliness to
mdn/data.py in preparation.
This code switches to the new browser names and slugs, but falls back to
the old behaviour if the name of Firefox is "Firefox" rather than
"Firefox for Desktop".  This will allow us to push code, then make the
data changes.
@groovecoder
Copy link
Contributor

r+

jwhitlock added a commit that referenced this pull request Oct 6, 2015
bug 1128525 - Adjust browser names and slugs

+r groovecoder
@jwhitlock jwhitlock merged commit 2c2520b into master Oct 6, 2015
@jwhitlock jwhitlock deleted the new_browser_idents_1128525 branch October 16, 2015 20:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants