datalad_next.patches.annexrepo

Credential support for AnnexRepo.enable_remote() and siblings enable

Supported targets for automatic credential deployments are determined by needs_specialremote_credential_envpatch(). At the time of this writing this includes the git-annex built-in remote types webdav, s3, and glacier.

This patch also changes the function to raise its custom exception with the context of an original underlying exception for better error reporting.

datalad_next.patches.annexrepo.annexRepo__enable_remote(self, name, options=None, env=None)[source]

Enables use of an existing special remote

Parameters:
  • name (str) -- name, the special remote was created with

  • options (list, optional)