Skip to content

Commit

Permalink
Item11483: seems github V3 no longer provides application tokens, the…
Browse files Browse the repository at this point in the history
…refore reverting back to user+pass for repository creation

git-svn-id: http://svn.foswiki.org/trunk@14287 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
OlivierRaginel authored and OlivierRaginel committed Mar 11, 2012
1 parent a5d8d5f commit 93350b2
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions core/tools/develop/hooks/git-svn-split.pl
Expand Up @@ -72,10 +72,13 @@ sub createSubModule {
require Net::GitHub;
my $token = getGitHubToken;
my $github = Net::GitHub->new(
owner => 'foswiki',
repo => $module,

# V3 no longer support application tokens. Using user + pass as fallback
# owner => 'foswiki',
# repo => $module,
# token => $token,
login => 'foswiki',
token => $token,
pass => $token,
);
$github->repos->create(
{
Expand Down

0 comments on commit 93350b2

Please sign in to comment.