git-annex/Assistant/WebApp/Configurators
Joey Hess 484a74f073
auto-init autoenable=yes
Try to enable special remotes configured with autoenable=yes when git-annex
auto-initialization happens in a new clone of an existing repo. Previously,
git-annex init had to be explicitly run to enable them. That was a bit of a
wart of a special case for users to need to keep in mind.

Special remotes cannot display anything when autoenabled this way, to avoid
interfering with the output of git-annex query commands.

Any error messages will be hidden, and if it fails, nothing is displayed.
The user will realize the remote isn't enable when they try to use it,
and can run git-annex init manually then to try the autoenable again and
see what failed.

That seems like a reasonable approach, and it's less complicated than
communicating something across a pipe in order to display it as a side
message. Other reason not to do that is that, if the first command the
user runs is one like git-annex find that has machine readable output,
any message about autoenable failing would need to not be displayed anyway.
So better to not display a failure message ever, for consistency.

(Had to split out Remote.List.Util to avoid an import cycle.)
2020-05-27 12:40:35 -04:00
..
AWS.hs fix encryption of content to gcrypt and git-lfs 2020-02-26 18:05:36 -04:00
Delete.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
Edit.hs auto-init autoenable=yes 2020-05-27 12:40:35 -04:00
Fsck.hs added annex.commitmessage 2018-08-02 14:06:06 -04:00
IA.hs be stricter about rejecting invalid configurations for remotes 2020-01-10 14:52:48 -04:00
Local.hs be stricter about rejecting invalid configurations for remotes 2020-01-10 14:52:48 -04:00
Pairing.hs use programPath consistently, not readProgramFile 2020-03-30 16:06:27 -04:00
Preferences.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
Ssh.hs be stricter about rejecting invalid configurations for remotes 2020-01-10 14:52:48 -04:00
Unused.hs import Data.Default in Common 2015-01-28 16:11:28 -04:00
Upgrade.hs removed the old Android app 2018-10-13 01:41:11 -04:00
WebDAV.hs webdav: Made exporttree remotes faster by caching connection to the server 2020-03-20 12:48:43 -04:00