The host passed at top level is passed to the dependencies. This causes the install to fail when the dependency host should be different.
Consider:
Installing package A with install_bitbucket("bbuser/packageA") fails!
Indeed, with the host in ... being passed to the dependencies, I end up with a github_remote with host = "api.bitbucket.org/2.0". Incidentally, this results in #322.
This issue was introduced by #145 ... It's a bad idea to pass the host to dependencies. I thought the correct way to specify the dependencies' hosts was through the "Remotes" field of the DESCRIPTION?
This is also to some extent a security concern. My credentials are passed to a dependency's host if the corresponding XXX_remote() matches the arguments of install_YYY().
The
hostpassed at top level is passed to the dependencies. This causes the install to fail when the dependency host should be different.Consider:
Package A on bitbucket. Its
DESCRIPTIONhas aRemotesfield withgithub::antoine-sachet/packageBPackage B on github.
Installing package A with
install_bitbucket("bbuser/packageA")fails!Indeed, with the
hostin...being passed to the dependencies, I end up with agithub_remotewith host = "api.bitbucket.org/2.0". Incidentally, this results in #322.This issue was introduced by #145 ... It's a bad idea to pass the host to dependencies. I thought the correct way to specify the dependencies' hosts was through the "Remotes" field of the DESCRIPTION?
This is also to some extent a security concern. My credentials are passed to a dependency's host if the corresponding
XXX_remote()matches the arguments ofinstall_YYY().