use_gitlab()
overmar opened this issue · 3 comments
use_gitlab() in the same vein as use_github()
Originally posted by @LDalby in #293 (comment)
I can put in a pull request to do allow for doing all of the use_* github things with gitlab. But need to essentially copy the gh library, and make a couple of changes, primarily to the errors, and environment variables. It seems really wasteful and although the license says that you can do it, I wonder if there is a better suggestion how to handle this?
The gitlab partner issue of #293 re: bitbucket.
@overmar No, we would not accept the gitlab equivalent of gh here in usethis. So a hypothetical use_gitlab()
function would need to inline what it needs, if it can be made concise. Or if there was a gitlab equivalent of gh on CRAN, the hypothetical use_gitlab()
function could use it and it would appear in Suggests here.
Just to characterize the situation: The folks who maintain usethis are currently all-in on GitHub, not Gitlab or Bitbucket. Hence the asymmetry. As it stands, maintaining the GitHub connectivity here has a huge payoff for us directly and for the community. We also maintain gh. The situation is much less clear for Gitlab and Bitbucket. So we would be reluctant to take a large piece of code or new dependencies for this.