8000 GitHub - NiloofarGheibi/ghissue: This repo contains a github issue parser, that is useful for Enterprise Github accounts. Sometimes is needed to parse the content of the issue for some data extraction or statistics purposes.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

This repo contains a github issue parser, that is useful for Enterprise Github accounts. Sometimes is needed to parse the content of the issue for some data extraction or statistics purposes.

Notifications You must be signed in to change notification settings

NiloofarGheibi/ghissue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-tools

This repo contains a github issue parser, that is useful for Enterprise Github accounts. Sometimes is needed to parse the content of the issue for some data extraction or statistics purposes.

Prerequisite

You need to have Golang installed on your machine.

How to

  1. Generate a Personal Access Token on your Github.
  2. Set the following environment variables to be able to fetch the issues in your repository that you are looking for:
ACCESS_TOKEN=<The one you generated on Github>
REPO=<ORGANIZATION/REPO>
QUERY=<QUERY YOU ARE LOOKING FOR>

Example:

ACCESS_TOKEN=verysecrettoken
REPO=my-cool-org/repo-name
QUERY=[Feedback] in:title

To know more about the query options on the Github APIs, checkout their docs.

  1. Run go build
  2. Run ./ghissue

Parser

The extractIssueToCSV method, accepts parser as a function. Feel free to adapt the Parser to your needs and templates you use in your Github Issues.

Output

You can get your result as a CSV file.

About

This repo contains a github issue parser, that is useful for Enterprise Github accounts. Sometimes is needed to parse the content of the issue for some data extraction or statistics purposes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0