package
Version:
v0.87.2
Opens a new window with list of versions in this module.
Published: Mar 7, 2024
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
- To use the script, generate access token here: https://github.com/settings/tokens?type=beta.
- To get all open issues invoke the first script setting
SF_TF_SCRIPT_GH_ACCESS_TOKEN
:
cd gh && SF_TF_SCRIPT_GH_ACCESS_TOKEN=<YOUR_PERSONAL_ACCESS_TOKEN> go run .
- File
issues.json
should be generated in the gh
directory. This is the input file for the second script.
- To get process the issues invoke the second script:
cd file && go run .
- File
issues.csv
should be generated in the file
directory. This is the CSV which summarizes all the issues we have.
Documentation
¶
type Issue struct {
HtmlUrl string `json:"html_url"`
Number int `json:"number"`
Title string `json:"title"`
Labels []Label `json:"labels"`
State string `json:"state"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
Body string `json:"body"`
Reactions Reactions `json:"reactions"`
PullRequest *PullRequest `json:"pull_request"`
}
type Label struct {
Url string `json:"url"`
Name string `json:"name"`
}
type PullRequest struct {
HtmlUrl string `json:"html_url"`
}
type Reactions struct {
TotalCount int `json:"total_count"`
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.