Create a sample synapseConfig if none is present

Description

We should create a example synapseConfig that demonstrates all of the settings (commented out). We should then supply this to the user in the right spot if they don't arleady have one in their home directory. We could also use this an example for docs.synapse.org.

Unfortunately we will have to go through the code to find all of the possible settings.

Environment

None

Activity

Show:
Ziming Dong
January 9, 2018, 1:20 AM

To validate:
Before you validate, MAKE A BACKUP of your .synapseConfig file. It has a slight chance of getting accidentally overwritten.

Uninstall synapseclient pip uninstall synapseclient
If you do not have a ~/.synapseConfig create a file with that name
Install synapseclient from the synapsePythonClient folder using python setup.py install
Confirm your ~/.synapseConfig did not change
Rename your .synapseConfig to something else like .synapseConfig2 and python setup.py install again
A new .synapseConfig filled with examples should appear in your home directory ~

Yooree Chae
January 25, 2018, 7:45 PM

This is so nifty! Works in both python2 and python3. Thanks Ziming!

Assignee

Ziming Dong

Reporter

Larsson Omberg

Labels

None

Validator

Yooree Chae

Development Area

None

Release Version History

None

Fix versions

Priority

Major
Configure