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

MAINT: Explicitly mention pak transition #808

Open
HaoZeke opened this issue Aug 12, 2024 · 2 comments
Open

MAINT: Explicitly mention pak transition #808

HaoZeke opened this issue Aug 12, 2024 · 2 comments

Comments

@HaoZeke
Copy link

HaoZeke commented Aug 12, 2024

The projects at a surface level seem very similar, and maintained by the same community. From the issue tracker I believe pak [1] is the new standard (and to be integrated into devtools [2,3], which is currently where much of the remotes code [4] is derived.. It would be helpful to have this explicitly mentioned somewhere.

[1] https://github.com/r-lib/pak
[2] https://github.com/r-lib/devtools
[3] #792 (comment), #794 (comment), r-lib/devtools#2572 (comment), r-lib/devtools#2571 (comment), r-lib/devtools#2486 (comment)
[4] https://github.com/r-lib/remotes?tab=readme-ov-file#remotes

@HaoZeke HaoZeke changed the title QUERY: Explicitly mention pak transition MAINT: Explicitly mention pak transition Aug 12, 2024
@HaoZeke
Copy link
Author

HaoZeke commented Aug 12, 2024

Would also be nice (but probably on the pak end) to explain why.

@J-Moravec
Copy link

While pak might be a more convenient in many cases, there is a particular user-case where I haven't found solution using it -- private bitbucket repositories.

Yes, it is a massive pain to get them working using remotes as well because Atlassian completely fails to provide decent information and even user id needs to be hunted down in one of the 10 user information menus, but the breadcrumbs exist in various remotes issues regarding bitbucket.

Specifically, remotes::install_bitbucket document the auth_user and password variables required for the authentication for the private repo. I haven't found any similar authentication information about this in the pak documentation and as expected, trying to use pak::pak(git::https...) throws 401.

My own homecooked solution (before I found out said breadcrumbs) relied on using git through the ssh, since ssh key is often expected to exist in these cases, and IMO easier to setup, but this is a bit OT.

After reading through issues, I have found two lines about authentication pointing towards gitcreds, but this IMO should be more documented.

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