OpenHumans / open-humans

Powering openhumans.org
https://www.openhumans.org/
MIT License
73 stars 22 forks source link

Move 23andMe uploads to own oauth2 project #745

Closed gedankenstuecke closed 6 years ago

gedankenstuecke commented 6 years ago

We want to move away from having some data sources integrated right on the main site as it's a PITA to maintain and leads to all sorts of problems. We've roadmapped out the general workflow and file-based uploads should be a good start to test it out.

gedankenstuecke commented 6 years ago

Memo for me: The processing code used so far can be found in https://github.com/OpenHumans/open-humans-data-processing/blob/master/sources/twenty_three_and_me

gedankenstuecke commented 6 years ago

I got the current processing code updated to py3 to be used in the stand-alone deployment. It still needs to be refactored and there are no tests so far (which is the same for the old integrated version)

gedankenstuecke commented 6 years ago
gedankenstuecke commented 6 years ago
gedankenstuecke commented 6 years ago

IMPORTANT NOTE: If you're an existing 23andMe integration user you don't have to upload your data again, we will merge this into a single application in the next steps!

madprime commented 6 years ago

Plan for wrapping up:

  1. add code to make legacy activity invisible/inactive
  2. merge all code to deactivate legacy activity & add management command
  3. run management command to transfer users
  4. activate new project so it's listed
madprime commented 6 years ago

Add management command to make CSV dump of all project member IDs + refresh tokens.

gedankenstuecke commented 6 years ago

The oh-23andme-source now has a simple import function that takes project_member_ids and refresh_tokens from a CSV to import the existing users in the standalone project.

gedankenstuecke commented 6 years ago

@madprime Do you agree that all things here are taken care of as checked off above and we can successfully close the first step in moving over our legacy projects? 🙏

gedankenstuecke commented 6 years ago

And done! 👍