Changes between Version 10 and Version 11 of PadrePluginGit


Ignore:
Timestamp:
Sep 15, 2012, 5:58:51 PM (2 years ago)
Author:
bowtie
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PadrePluginGit

    v10 v11  
    9191 * Merge Upstream Master 
    9292 
     93=== {{{GitHub}}} 
     94* {{{GitHub}}} Pull Request 
     95 * see {{{GitHUb Access}}} below, with out it won't work 
    9396 
    9497**NB.** Context menu -> Commit All 
    9598 
     99---- 
     100== {{{GitHUb Access}}} 
     101To be able to use the github push request, we will need a username and token being stored external to {{{Padre-Plugin-Git}}} 
     102* my $user  = $ENV{GITHUB_USER}; 
     103 * {{{https://github.com/username}}} all we need is the username bit. 
     104* my $token = $ENV{GITHUB_TOKEN}; 
     105 * https://metacpan.org/module/FAYLAND/Net-GitHub-0.46/lib/Net/GitHub.pm#FAQ suggest you use {{{Padre-Plugin-Git}}} as the note for this token. 
     106{{{#!perl 
     107my $o     = $oauth->create_authorization( 
     108        {   scopes => [ 'user', 'public_repo', 'repo', 'gist' ], # just ['public_repo'] 
     109                note => 'Padre-Plugin-Git', 
     110        } 
     111); 
     112}}} 
     113 
     114 
     115nb http://www.wired.com/wiredenterprise/2012/05/torvalds_github/ 
    96116---- 
    97117== Bugs