Skip Menu |

This queue is for tickets about the App-Nopaste CPAN distribution.

Report information
The Basics
Id: 78906
Status: open
Priority: 0/
Queue: App-Nopaste

People
Owner: Nobody in particular
Requestors: nelhage [...] mit.edu
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: App::Nopaste::Service::Gist -- use 'git config github.token'
The github-provided "github" tool stores an OAuth token in git configuration under the "github.token" key. It would be cool if App::Nopaste::Service::Gist could look there for the token, so that I don't have to store multiple tokens in multiple places in my dotfiles.
My only reservation for implementing this is that tokens are app-specific for revocation purposes: https://github.com/settings/applications That said I would definitely support storing the nopaste token in .gitconfig.
On 2013-01-27 11:23:32, SARTAK wrote: Show quoted text
> My only reservation for implementing this is that tokens are app- > specific for revocation > purposes: https://github.com/settings/applications > > That said I would definitely support storing the nopaste token in > .gitconfig.
What would this configuration look like? Patches welcome!