-
Notifications
You must be signed in to change notification settings - Fork 237
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
Backup of private organization does nothing, no errors #72
Comments
I started adding some logging info to debug this, turns out the request returns back an empty list, []. Turns out -u is required, but not checked for. Which then prompts for a password, which it should not if I issued to prefer ssh
If -u is left out, getpasswd should be used to obtain the current user. |
Ok works with a token, all of which these things should be checked for at runtime. Is there no other way? |
@mtdeguzis If you set I suppose if we set the |
I could probably take a look at add the check. I'll look at submitting a PR. |
Actually, this checks for the pw, so nothing to do here:
We actually need to check for user. If that is left out, the program kicks of as if nothing is wrong. But I get what you mean, get_auth can be issued if --private is used. |
How about..
... when a user attempts to retrieve data from a private repository?
|
Hello! It would be nice to add authentication by the ssh key (without password) |
@breezzz pull request welcome. |
This looks done with #74? |
That was never merged. |
Derp, somehow missed that. Should this be implemented as a failure or a warning? I am thinking similar to this: python-github-backup/bin/github-backup Line 539 in 89ee22c
|
warning is fine. |
I would also be nice to have a --debug option for additional output of what is going on. I can clone our repos via ssh just fine. leaving out the ssh option did not make a difference.
The text was updated successfully, but these errors were encountered: