issues

package
v0.87.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 1 Imported by: 0

README

  1. To use the script, generate access token here: https://github.com/settings/tokens?type=beta.
  2. 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 .
  1. File issues.json should be generated in the gh directory. This is the input file for the second script.
  2. To get process the issues invoke the second script:
  cd file && go run .
  1. File issues.csv should be generated in the file directory. This is the CSV which summarizes all the issues we have.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Issue

type Issue struct {
	HtmlUrl     string       `json:"html_url"`
	Number      int          `json:"number"`
	Title       string       `json:"title"`
	Labels      []Label      `json:"labels"`
	State       string       `json:"state"`
	Comments    int          `json:"comments"`
	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

type Label struct {
	Url  string `json:"url"`
	Name string `json:"name"`
}

type PullRequest

type PullRequest struct {
	HtmlUrl string `json:"html_url"`
}

type Reactions

type Reactions struct {
	TotalCount int `json:"total_count"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL