Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use GitLab #69

Closed
januz opened this issue Oct 16, 2018 · 2 comments
Closed

use GitLab #69

januz opened this issue Oct 16, 2018 · 2 comments

Comments

@januz
Copy link

januz commented Oct 16, 2018

Are there any plans to enable users to use GitLab and its CI service instead of GitHub and Travis/CircleCI? That would be fantastic as one could use (unlimited) private repositories.

If you don't plan on extending the package, do you have suggestions on how one could integrate GitLab plus CI into the rrtools workflow? Thanks!

@benmarwick
Copy link
Owner

benmarwick commented Oct 16, 2018

Yes, sure, that would be great to have. The current plan is to wait until the usethis package has functions to work with GitLab, and then update rrtools with that option. It does seem to be on their list of things to do: r-lib/usethis#225

There is a gitlabr pkg which may be relevant, but I haven't tried it at all.

In the meantime, my suggestion to integrate rrtools with GitLab would be to use git commit/push/pull from the terminal in RStudio (rather than the R code functions from usethis), and set the git repository URL to your gitlab repo rather than your github repo.

The main difference at the setup will be to skip usethis::use_github(auth_token = "xxxx", protocol = "https", private = FALSE) and instead go to the terminal to set the remote to your gitlab URL and commit/push/pull from the terminal.

But maybe @nevrome and @MartinHinz have some better suggestions about this?

@januz
Copy link
Author

januz commented Oct 16, 2018

In the meantime, my suggestion to integrate rrtools with GitLab would be to use git commit/push/pull from the terminal in RStudio (rather than the R code functions from usethis), and set the git repository URL to your gitlab repo rather than your github repo.

The main difference at the setup will be to skip usethis::use_github(auth_token = "xxxx", protocol = "https", private = FALSE) and instead go to the terminal to set the remote to your gitlab URL and commit/push/pull from the terminal.

Ah, great, that's easy enough. I prefer to use an external git client (GitKraken) to manage my repositories either way. I just expected that there was some kind of deeper integration between rrtools functions and the hosting service going on. Thank you for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants