Octokit IssueExport
Octokit IssueExport is Octokit extension. Export issues from projects on GitHub.
Installation
Add this line to your application's Gemfile:
gem 'octokit_issue_export'
And then execute:
$ bundle
Or install it yourself as:
$ gem install octokit_issue_export
Usage
[1] 2.0.0(main)> require 'octokit_issue_export'
=> true
[2] 2.0.0(main)> Octokit.export_org_issues('rails')
[rails/rails]
- #12673, state: open, comments: 0, title: "Fix Timed thread-safety. Fixes #12069"
- #12672, state: open, comments: 0, title: "unescapeHTML crashes with certain *.html_safe inputs"
- #12671, state: open, comments: 4, title: "Rails 4.0.1.rc1: undefined method `set_name_cache' for #<Module:...> (NoMethodError)"
- #12670, state: open, comments: 1, title: "Optimize none? and one? relation query methods to use LIMIT 1 and COUNT."
- #12667, state: open, comments: 1, title: "Fix Guide HTML validation"
...
# => ./rails/rails/12673.json
# => ./rails/rails/12672.json
# ...
when includes private repository
Octokit.configure do |c|
c.login = 'defunkt'
c.password = 'c0d3b4ssssss!'
end
Octokit.export_org_issues('github')
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Author
License
MIT