git-annex/Assistant/WebApp/Configurators
Joey Hess 9eaabf0382 webapp: avoid overwriting remote configs when enabling it
Avoid stomping on existing group and preferred content settings
when enabling or combining with an already existing remote.

Two level fix. First, use defaultStandardGroup rather than
setStandardGroup, so if there is an existing configuration in the git-annex
branch, it's not overwritten.

To handle pre-existing ssh remotes (including gcrypt), a second level is
needed, because before syncing with the remote, it's configuration won't be
available locally. (And syncing could take a long time.) So, in this case,
keep track of whether the remote is being created or enabled, and only set
configs when creating it.

This commit was sponsored by Anders Lannerback.
2014-05-30 14:03:04 -04:00
..
AWS.hs bootstrap3 forms 2014-04-21 19:47:05 +02:00
Delete.hs bootstrap3 forms 2014-04-21 19:47:05 +02:00
Edit.hs webapp: When adding a new local repository, fix bug that caused its group and preferred content to be set in the current repository, even when not combining. 2014-05-29 20:17:05 -04:00
Fsck.hs bootstrap3 forms 2014-04-21 19:47:05 +02:00
IA.hs bootstrap3 forms 2014-04-21 19:47:05 +02:00
Local.hs webapp: avoid overwriting remote configs when enabling it 2014-05-30 14:03:04 -04:00
Pairing.hs bootstrap3 forms 2014-04-21 19:47:05 +02:00
Preferences.hs bootstrap3 forms 2014-04-21 19:47:05 +02:00
Ssh.hs webapp: avoid overwriting remote configs when enabling it 2014-05-30 14:03:04 -04:00
Unused.hs bootstrap3 forms 2014-04-21 19:47:05 +02:00
Upgrade.hs ensure that Android TH splice is expanded in native side of build 2013-11-25 13:01:53 -04:00
WebDAV.hs fix more layout issues based on joey's feedback 2014-05-02 16:29:23 +02:00
XMPP.hs bootstrap3 forms 2014-04-21 19:47:05 +02:00