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

check access to github #39

Open
kalenkovich opened this issue Apr 13, 2023 · 0 comments
Open

check access to github #39

kalenkovich opened this issue Apr 13, 2023 · 0 comments
Assignees

Comments

@kalenkovich
Copy link
Contributor

If someone has a BLAB_DATA repository set to use ssh and their key is no longer valid, they'll get a very cryptic error:

image

The access error is also there but it doesn't cause an actual R error and instead causes a weird strsplit error.

How it should work:

  • blabr looks for, e.g., ~/BLAB_DATA/cdi_spreadsheet.
    • If it doesn't exist, it should check whether an https request to github is possible.
      • If it is, suggest cloning.
      • If it isn't, say that it is BLab-only data.
    • If it does exist, try whatever ssh/https uri was set up for the "origin" remote.
      • If it works, continue.
      • If it doesn't, suggest changing to https.
@kalenkovich kalenkovich self-assigned this Apr 13, 2023
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

1 participant