git-annex/debian
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
..
tests Debian: Run the builtin test suite as an autopkgtest. 2013-08-15 15:49:19 +02:00
changelog webapp: avoid overwriting remote configs when enabling it 2014-05-30 14:03:04 -04:00
compat debhelper v9 2012-01-15 14:53:38 -04:00
control update for change to exceptions 2014-05-28 17:23:23 -04:00
copyright update for ddar special remote 2014-05-15 16:37:46 -04:00
doc-base Add doc-base file. Closes: #621408 2011-04-06 21:57:22 -04:00
menu fixups 2013-05-15 22:48:27 -04:00
NEWS prep release 2013-10-02 16:13:45 -04:00
rules re-enable test suite 2013-12-30 14:39:29 -04:00