git-annex/Logs
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
..
PreferredContent Added required content configuration. 2014-03-29 16:03:33 -04:00
Presence forget --drop-dead: Completely removes mentions of repositories that have been marked as dead from the git-annex branch. 2013-08-31 17:51:13 -04:00
Trust forget --drop-dead: Completely removes mentions of repositories that have been marked as dead from the git-annex branch. 2013-08-31 17:51:13 -04:00
FsckResults.hs fully fix fsck memory use by iterative fscking 2014-03-12 15:18:43 -04:00
Group.hs refactor git-annex branch log filename code into central location 2013-08-29 19:13:00 -04:00
Location.hs --in can now refer to files that were located in a repository at some past date. For example, --in="here@{yesterday}" 2014-02-06 12:43:56 -04:00
MapLog.hs factored out a generic MapLog from uuid-based logs 2014-03-15 13:45:25 -04:00
MetaData.hs toplevel lastchanged field 2014-03-19 19:10:55 -04:00
NumCopies.hs reorg 2014-01-21 18:08:56 -04:00
PreferredContent.hs webapp: avoid overwriting remote configs when enabling it 2014-05-30 14:03:04 -04:00
Presence.hs --in can now refer to files that were located in a repository at some past date. For example, --in="here@{yesterday}" 2014-02-06 12:43:56 -04:00
Remote.hs refactor git-annex branch log filename code into central location 2013-08-29 19:13:00 -04:00
RemoteState.hs copyright year 2014-01-08 16:29:15 -04:00
Schedule.hs write via temp file 2013-10-14 16:15:38 -04:00
SingleValue.hs reorganize numcopies code (no behavior changes) 2014-01-21 16:08:59 -04:00
Transfer.hs add desktop notifications 2014-03-22 14:12:19 -04:00
Transitions.hs remove *>=> and >=*> ; use <$$> instead 2013-09-27 19:58:48 -04:00
Trust.hs forget --drop-dead: Completely removes mentions of repositories that have been marked as dead from the git-annex branch. 2013-08-31 17:51:13 -04:00
Unused.hs Avoid encoding errors when using the unused log file. 2014-03-15 11:57:27 -04:00
UUID.hs fix crash on empty description 2013-11-09 13:50:44 -04:00
UUIDBased.hs factored out a generic MapLog from uuid-based logs 2014-03-15 13:45:25 -04:00
View.hs view, vfilter: Add support for filtering tags and values out of a view, using !tag and field!=value. 2014-03-02 14:53:19 -04:00
Web.hs sync, pre-commit, indirect: Avoid unnecessarily catting non-symlink files from git, which can be so large it runs out of memory. 2013-09-19 14:48:42 -04:00