git-annex/doc
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
..
Android update some comments re ssh password entry on Android 2014-05-15 15:20:24 -04:00
android
assistant Added a comment 2014-05-25 15:10:34 +00:00
automatic_conflict_resolution Added a comment: auto conflict resolution 2014-04-19 17:26:11 +00:00
backends
bare_repositories
bugs webapp: avoid overwriting remote configs when enabling it 2014-05-30 14:03:04 -04:00
contact
copies
design remove spam comment (will ban this spammer's openid) 2014-05-29 13:20:34 -04:00
devblog devblog 2014-05-28 18:26:38 -04:00
direct_mode remove some old comments about safety of git working tree commands in direct mode 2013-11-07 14:43:34 -04:00
download
ekg
encryption removed 2014-04-12 03:51:56 +00:00
footer
forum Added a comment 2014-05-29 18:15:12 +00:00
how_it_works Added a comment: clarification about what is moved / stored and where 2014-02-10 12:53:44 +00:00
install Added a comment 2014-05-27 16:08:14 +00:00
internals Added a comment 2014-01-31 00:45:48 +00:00
license
links
metadata Added a comment 2014-03-17 19:32:39 +00:00
news add news item for git-annex 5.20140529 2014-05-29 16:46:05 -04:00
not Added a comment 2014-05-16 18:59:47 +00:00
polls
preferred_content note webapp 2014-04-24 14:14:34 -04:00
special_remotes removed 2014-05-21 04:07:59 +00:00
sync Added a comment 2014-05-15 19:54:54 +00:00
templates
testimonials
tips 2014-05-27 22:45:20 +00:00
todo Added a comment 2014-05-30 00:13:27 +00:00
upgrades
use_case
users make links to internal pages instead of only github to allow cross-finding them all 2014-04-13 14:33:13 +00:00
videos https 2014-02-20 13:26:53 -04:00
walkthrough remove setup_git page 2014-05-18 11:26:11 -04:00
Android.mdwn
assistant.mdwn
automatic_conflict_resolution.mdwn
backends.mdwn
bare_repositories.mdwn
bugs.mdwn reorg main bugs page; show moreinfo bugs here too 2014-05-24 16:43:14 -04:00
builds.mdwn can't use iframe for jenkins, it seems (sameorigin) 2014-05-29 14:40:51 -04:00
coding_style.mdwn
comments.mdwn remove comment posted directly to comments page 2014-02-01 15:05:21 -04:00
contact.mdwn
contribute.mdwn tweaks 2014-05-24 16:37:06 -04:00
copies.mdwn update for required content 2014-03-29 14:39:10 -04:00
design.mdwn use map 2014-02-11 16:35:52 -04:00
devblog.mdwn
direct_mode.mdwn
distributed_version_control.mdwn
download.mdwn
ekg.mdwn
encryption.mdwn
favicon.ico remove photoshop droppings and regenerate favion using a free tool 2014-03-16 16:05:27 -04:00
feeds.mdwn
forum.mdwn
future_proofing.mdwn
git-annex-shell.mdwn typo 2014-04-11 12:12:34 -04:00
git-annex.mdwn execute remote.<name>.annex-shell on remote, if set 2014-05-16 15:46:43 -04:00
git-union-merge.mdwn
how_it_works.mdwn s/large/annexed/ 2014-02-10 12:26:47 -04:00
index.mdwn link to the haskell page, which has many teaching resources about it 2014-04-08 22:44:28 +00:00
install.mdwn add docker autobuilder container instructions, using propellor 2014-04-02 18:40:26 -04:00
internals.mdwn update for required content 2014-03-29 14:39:10 -04:00
license.mdwn
location_tracking.mdwn
logo-old-bw.svg
logo-old.png
logo-old.svg
logo-old_small.png
logo.mdwn
logo.svg
logo_16x16.png remove photoshop droppings and regenerate favion using a free tool 2014-03-16 16:05:27 -04:00
logo_32x32.png remove photoshop droppings and regenerate favion using a free tool 2014-03-16 16:05:27 -04:00
logo_small.png
meta.mdwn
metadata.mdwn 2014-04-07 11:46:18 +00:00
news.mdwn
not.mdwn
polls.mdwn
preferred_content.mdwn 2014-04-07 11:44:11 +00:00
privacy.mdwn
publicrepos.mdwn back to https clone url for downloads.kitenet.net; fixed 2014-04-30 20:59:15 -04:00
related_software.mdwn link to magit-annex 2014-03-22 17:28:05 -04:00
repomap.png
required_content.mdwn Added required content configuration. 2014-03-29 16:03:33 -04:00
scalability.mdwn
shortcuts.mdwn
sidebar.mdwn
sitemap.mdwn
special_remotes.mdwn ddar special remote 2014-05-15 16:32:44 -04:00
summary.mdwn
sync.mdwn update docs for sync --content 2014-02-02 16:21:42 -04:00
testimonials.mdwn
thanks.mdwn update 2014-05-02 15:09:38 -03:00
tips.mdwn
todo.mdwn link to roadmap 2014-03-31 15:16:35 +00:00
transferring_data.mdwn
trust.mdwn
upgrades.mdwn
users.mdwn
videos.mdwn back to https clone url for downloads.kitenet.net; fixed 2014-04-30 20:59:15 -04:00
walkthrough.mdwn remove setup_git page 2014-05-18 11:26:11 -04:00