This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'FasterCSV' | |
require 'httparty' | |
require 'json' | |
class GitHub | |
include HTTParty | |
base_uri 'https://api.github.com' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* PHP script to bulk import issues in json format from a file to a GitHub repository | |
* | |
* The json in the uploaded file should contain an array of issues at the top level. | |
* Fields in the json mapped to the issue title and body (nothing else is supported) | |
* are specified in the submission form. | |
* | |
* Depends on the php-github-api from here: https://github.com/ornicar/php-github-api | |
*/ |