Usethis: use_bitbucket() (et al.)

Created on 26 Feb 2018  路  5Comments  路  Source: r-lib/usethis

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.

feature git help wanted tidy-dev-day

Most helpful comment

use_gitlab() etc. would be super useful too.

All 5 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rorynolan picture rorynolan  路  6Comments

xrobin picture xrobin  路  7Comments

hadley picture hadley  路  3Comments

jennybc picture jennybc  路  4Comments

EmilHvitfeldt picture EmilHvitfeldt  路  3Comments