When creating a bitbucket_remote, the default user and password should be fetched from the environment variables. This is consistent with the current behaviour of github_remote or gitlab_remote which respectively use auth_token = github_pat() and auth_token = gitlab_pat().
This is easily fixed in install-bitbucket.R by changing:
In fact it should really have been part of PR #344 but I only noticed it now. Until this is fixed, there is no way to install a private bitbucket repository since credentials are no longer passed to dependencies.
The text was updated successfully, but these errors were encountered: