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

Add feature: ref parameter for install_gitlab() #779

Open
balthasars opened this issue Jan 23, 2024 · 3 comments
Open

Add feature: ref parameter for install_gitlab() #779

balthasars opened this issue Jan 23, 2024 · 3 comments

Comments

@balthasars
Copy link

Specifying a ref is not possible for in install_gitlab(), even though the underlying functions do support it.
Have done a fork with a first version at https://github.com/balthasars/remotes and am happy to do a PR for it, unless there's a good reason on why this is not enabled.

@gaborcsardi If this feature makes sense, could we add another branch to the falsy project on Gitlab so I can add some tests for installing from another branch? Can't do this using a merge request myself due to lack of permissions.

Thanks for the great work on the package!

@gaborcsardi
Copy link
Member

We are focusing on improving https://github.com/r-lib/pak which already has this feature, so I suggest you try to see if pak meets your needs.

@balthasars
Copy link
Author

Okay, I didn't want to use pak for production given that it has an experimental badge, didn't realize remotes was on the way out.
Can pak install from a self-hosted Gitlab instance using OAUTH tokens? Only saw personal access tokens, but maybe it's an oversight on my part.

@gaborcsardi
Copy link
Member

Can pak install from a self-hosted Gitlab instance using OAUTH tokens? Only saw personal access tokens, but maybe it's an oversight on my part.

IDK, but if remotes can, then probably pak can as well.

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