Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

fix(devices): Remove the unused "device capabilities" API. #2460

Merged
merged 1 commit into from Jun 5, 2018

Conversation

rfk
Copy link
Contributor

@rfk rfk commented May 30, 2018

This was never used by production clients and is being replaced with "device commands" in a future release. Let's remove it, but leave stubs in place to accept the "capabilities" array from devices that may still be sending it in the wild.

@rfk rfk added the train-114 label May 30, 2018
@rfk rfk requested a review from eoger May 30, 2018 23:09
@ghost ghost assigned rfk May 30, 2018
@ghost ghost added the waffle:active label May 30, 2018
@rfk
Copy link
Contributor Author

rfk commented May 30, 2018

Also, please don't merge this until after we get 113 deployed, to simplify any required point-releases of 113.

@rfk rfk force-pushed the remove-device-capabilities branch from 5622c74 to cf509f2 Compare May 30, 2018 23:13
This was never used by production clients and is being replaced
with "device commands" in a future release.
@rfk rfk force-pushed the remove-device-capabilities branch from cf509f2 to 8e9585e Compare May 31, 2018 02:38
@@ -85,7 +85,7 @@
"acorn": "5.0.3",
"commander": "2.9.0",
"eslint-plugin-fxa": "git+https://github.com/mozilla/eslint-plugin-fxa#master",
"fxa-auth-db-mysql": "git+https://github.com/mozilla/fxa-auth-db-mysql.git#train-113",
"fxa-auth-db-mysql": "git+https://github.com/mozilla/fxa-auth-db-mysql.git#master",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These fixes are required before we can unpin fxa-auth-server from the train-113 branch of db-mysql.

Copy link
Contributor

@eoger eoger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, note that if a user has activated "identity.fxaccounts.messages.enabled" they'll send a length 1 capabilities array. I'm tracking this in https://bugzilla.mozilla.org/show_bug.cgi?id=1465638

@rfk rfk merged commit 9e53247 into master Jun 5, 2018
@shane-tomlinson shane-tomlinson deleted the remove-device-capabilities branch July 30, 2018 11:10
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.

None yet

2 participants