Open knksmith57 opened 10 years ago
Watson will set all of this for you.
Try deleting all github info from .watsonrc, and then
$ watson -r github
@kevinjasker it will, but only if the transaction is successful.
Example:
$ watson -r github
------------------------------
watson - inline issue manager
------------------------------
[ + ] Obtaining OAuth Token for GitHub...
[ ! ] Access to your GitHub account required to make/update issues
See help or README for more details on GitHub/Bitbucket access
Username: knksmith57
Enter host password for user 'knksmith57':
[ x ] Unable to obtain OAuth Token
I'm fairly confident this has something to do with the fact that I have 2-factor auth enabled and this script isn't set up to handle it. I'm definitely entering my GitHub password correctly.
So, what I want are the lines in .watsonrc
that this tool generates when that command is successful. Can't find working-official docs on them anywhere. Make sense?
Have you tried generating an application specific password? That might be the easiest solution...
Edit - Github calls them "Personal Access Tokens"
watson -r github
.watsonrc
watson
[tag] Text
watson
watson
label has been created.Give watson-ruby a try?
@kevinjasker I think that's going to be my next move. Just tried a second ago but it wants >= 2.0 and my dev environment is all set up for 1.9.3 right meow. Maybe time to make either rbenv or RVM work properly on my machine?
Thanks for all of your help!
@knksmith57 I would also recommend using watson-ruby over watson-perl (especially if you want to avoid step 6) as a lot of bugs and features have been added (such as 2FA) to the ruby version but not the perl version.
The perl version is going through a (super slow) rework to convert it to a modular, CPAN-friendly, version but as of right now it is pretty far behind the ruby version.
If you haven't already taken the dive into rbenv/RVM, I have a working 1.9.3 compatibility fix that I haven't checked in yet that I could hurry up and put out :), let me know.
Maybe I'm missing something, but I can't establish an OAuth token with this tool. That's totally cool, but then please provide some docs as to how to manually enter the info.
I've using the following (inspired by this post):
Here's what I get when I try to run it:
What am I missing here?