Run clients using a development environment
We need to run all the clients agaist a test environment, so they should be easily configurable to run against staging and development servers.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Steps:
1. Kill syncdaemon if it is running.
2. Open seahorse and delete the Ubuntu One credentials, if present.
3. Log in with Staging Ubuntu SSO:
$ U1_DEBUG=True USSOC_SERVICE_URL=https:/
$ export SSO_AUTH_BASE_URL=https:/
$ export SSO_UONE_BASE_URL=https:/
$ /usr/lib/
Log in or sign up.
4. Start syncdaemon with staging server:
$ /usr/lib/
$ u1sdtool --connect
5. Start the unity musicstore daemon with staging server (this one is currently on the private PPA https:/
$ pkill unity-music; G_MESSAGES_
Information gathered from devs:
instructions from verterok to use syncdaemon with staging servers:
- echo -e "[__main_
~/.config/
instructions from rye to get the tokens need to connect to staging:
- download ubuntuone-
and downloads are at people.
(Leo: This address doesn't seem to work)
after that you will be able to do u1sdtool --connect, that does not use
anything SSO/ubuntuone-
instructions from nessita to connect the control panel to staging
servers:
You can change the definition of WEBSERVICE_BASE_URL in
ubuntuone/
only affect REST api calls.
instructions from facundobatista to use u1 folders not in the user home:
HOME=/
--port 443 --host 91.189.89.89 --dns_srv=None --oauth
poKxXrgdrwgsF
--data_dir /tmp/u1test/
/tmp/
/tmp/
NOTE: these days you will probably need to add --disable_
connecting to the staging servers. (alecu)
Instructions from alecu to sign in with SSO staging:
1) make sure that Syncdaemon is not running, and that there are no U1
credentials using seahorse. Delete them if there are any.
2) $ U1_DEBUG=True USSOC_SERVICE_URL=https:/
/usr/
3)
$ export SSO_AUTH_BASE_URL=https:/
$ export SSO_UONE_BASE_URL=https:/
/usr/lib/
4) Log into u1 with an existing account