Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a script to upload a timeline to a remote server #726

Merged
merged 2 commits into from
Mar 18, 2020

Conversation

shankari
Copy link
Contributor

This is the equivalent of load_timeline_for_day_and_user.py but for a remote server.

  • The timeline can be downloaded from the phone (Profile -> Download data dump).
  • The server must have "skip" authentication since the script does not support
    token retrieval.

The use case is during alpha testing, where a selected set of users are invited
to experiment with a new UI but already have longitudinal data collection on a
long-term server that they don't want to miss.

Instead of installing the app in order to divert data from the longitudinal
data collection to populate the new server, they can just download their data
and upload it to the alpha testing server.

Unsure if this is a super common use case, but I wanted it, so I wrote it.

This is the equivalent of `load_timeline_for_day_and_user.py` but for a remote server.

- The timeline can be downloaded from the phone (Profile -> Download data dump).
- The server *must* have "skip" authentication since the script does not support
token retrieval.

The use case is during alpha testing, where a selected set of users are invited
to experiment with a new UI but already have longitudinal data collection on a
long-term server that they don't want to miss.

Instead of installing the app in order to divert data from the longitudinal
data collection to populate the new server, they can just download their data
and upload it to the alpha testing server.

Unsure if this is a super common use case, but I wanted it, so I wrote it.
@shankari
Copy link
Contributor Author

Testing done:

  • loaded data to a demo server with skip notification turned on and then logged into the server to verify that the data was loaded correctly

@AmplabJenkins
Copy link

Merged build finished. Test FAILed.

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/e-mission-server-prb/1148/
Test FAILed.

@shankari
Copy link
Contributor Author

@kafitz please vote for this if you want to use it :) Add reactions at the top

@kafitz
Copy link

kafitz commented Feb 13, 2020

Looks like this will be pretty helpful for me after all!

@shankari shankari merged commit d712834 into e-mission:master Mar 18, 2020
@shankari shankari deleted the refactor_send_measurements branch April 17, 2020 00:34
jf87 pushed a commit to jf87/e-mission-server that referenced this pull request Jun 21, 2021
…ents

Add a script to upload a timeline to a remote server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants