1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-21 06:09:42 +02:00

remove PR report, extend milestone use

This commit is contained in:
Elliott Stoneham 2016-08-19 12:42:01 +01:00
parent 20f77f359e
commit cc52106e20
5 changed files with 64 additions and 18 deletions

View file

@ -37,10 +37,10 @@ type githubRender struct {
Milestones []githubMilestone `json:"milestones"`
OpenMS int `json:"openMS"`
ClosedMS int `json:"closedMS"`
PullRequests []githubPullRequest `json:"pullRequests"`
OpenPRs int `json:"openPRs"`
ClosedPRs int `json:"closedPRs"`
AuthorStats []githubAuthorStats `json:"authorStats"`
//PullRequests []githubPullRequest `json:"pullRequests"`
}
type report struct {
@ -161,7 +161,7 @@ func (c *githubConfig) Clean() {
Color: "",
})
}
c.ReportOrder = []string{tagSummaryData, tagMilestonesData, tagIssuesData, tagPullRequestData, tagCommitsData}
c.ReportOrder = []string{tagSummaryData, tagMilestonesData, tagIssuesData /*, tagPullRequestData*/, tagCommitsData}
c.BranchLines = 100 // overide js default of 30 with maximum allowable in one call
}