No commit activity in last 3 years
No release in over 3 years
An Excel import/export extension for github issues in Ruby.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 10.1.1
>= 0

Runtime

~> 2.0.1
>= 0
 Project Readme

Build StatusGem VersionBitdeli Badge

Github Issues Port

Ever Felt the need of Exporting your Github Issues or Importing the issues in Github via a Excel. githubissues-port is your answer. :neckbeard:.

githubissues-port can be used from the command line or as part of a Ruby web framework.

Sample Application

Sample Application with usage can be found here

Installation

To install the gem using terminal, run the following command:

gem install githubissues-port

To use it in rails application add the gem to the Gemfile:

gem "githubissues-port"    

Basic Usage

githubissues-port can simply import or export issues from an Excel file.:

require 'githubissues-port'
require 'github_api'

your_github_username = '***********'
your_github_password = '***********'
owner                = '***********'
repo                 = '***********'

connection = Github.new(basic_auth: "#{your_github_username}:#{your_github_password}")

# The import mudule will import issues from Excel, creates an issue if the number blank, otherwise, updating an existing issue by looking up the issue number.

Githubissues::Port::Import.new(connection, owner, repo, 'import.xlsx', fields: ['title', 'labels'])

# The export module will export issues to Excel.

Githubissues::Port::Export.new(connection, owner, repo, 'export.xlsx', fields: ['number', 'title', 'body', 'labels'])

Contributing

Contributions are welcomed. You can fork a repository, add your code changes to the forked branch, ensure all existing unit tests pass, create new unit tests cover your new changes and finally create a pull request.

After forking and then cloning the repository locally, install Bundler and then use it to install the development gem dependecies:

gem install bundler
bundle install

githubissues-port this is complete, you should be able to run the test suite:

rake spec

Bug Reporting

Please use the Issues page to report bugs or suggest new enhancements.

License

githubissues-port has been published under MIT License