No check for ~/.bitbucket file
Issue #2
resolved
If you use the script without a ~/.bitbucket file you can't create new repos: I called:
bitbucket create -u sstiger -c --scm git --protocol ssh test_uebung09
the program promted:
password:
I typed my (correct) password and I got:
Request Error 401: unauthorized
As I created a .bitbucket file like this:
[auth]
username = sstigler
#password = <Your Password>
[options]
scm = git
protocol = ssh
and called
bitbucket create -c test_uebung09
I got
password:
Repository successfully created.
[- git] sstigler/test_uebung09
Comments (5)
-
repo owner -
reporter Yes, you are right with the misspelling of the username. You can close this issue.
-
reporter I've just seen, that with the list command there is an issue if you don't call the bitbucket list with the -u option. If you call
bitbucket list
you get ask for an password and then you get
Request Error 401: unauthorized
if you don't have a .bitbucket file.
-
repo owner Hey, sorry it has taken me so long to get around to this issue. I have made changes so that it prompts for your username if it isn't set.
-
repo owner - changed status to resolved
Fixed via c87f46f
- Log in to comment
I wasn't able to reproduce this bug. I think you just have your username misspelled in the command-line version (sstiger instead of sstigler).