Having the good fortune to use bitbucket here in the office it would be tremendous if there were analogue functions to connect to bitbucket rather than github.
Likewise: create_from_bitbucket(), use_tidy_bitbucket(), and so on through all the various github helper functions.
FYI I'd be open to PRs here. Probably not a good first issue, though ... hence the label / lack of label.
It would definitely merit some advance discussion/planning. Might make sense to couple with a conversation about gitlab, because that's always the next question :)
Whilst I'd love to step up and help here being the original requestor I probably don't have the programming chops to cover this, however happy to help anyway I can.
use_gitlab() etc. would be super useful too.
A recent r-hub blog post About URLs in DESCRIPTION contains a table that is relevant to this issue:
## # A tibble: 1,855 x 2
## domain n
## <chr> <int>
## 1 github.com 4660
## 2 www.r-project.org 164
## 3 cran.r-project.org 143
## 4 r-forge.r-project.org 82
## 5 bitbucket.org 67
## 6 sites.google.com 54
## 7 arxiv.org 52
## 8 gitlab.com 44
## 9 docs.ropensci.org 38
## 10 www.github.com 32
Taking a very naive summary of this suggests that ~98% of the URLs relating to remote hosts are GitHub vs 2% for bitbucket + gitlab.
So this is why we're pretty reluctant to take on (much) code relating to these other hosts, which also aren't used by the usethis maintainers.
I'm going to close this issue because unfortunately we just don't have the expertise to support significant bitbucket or gitlab functionality in this package. I think it would probably make the most sense for this code to live in separate packages that could be maintained by people particularly interested and invested in gitlab and bitbucket.
Most helpful comment
use_gitlab() etc. would be super useful too.