Skip to content

Commit

Permalink
add instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
andybons committed Dec 3, 2019
1 parent ca1a382 commit e29ac2c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
# propnotes
# propnotes

```sh
$ npm install
$ go run ./cmd/data > data.js
$ npm run start
```

State is saved locally via localstorage, making it safe to reload.
12 changes: 5 additions & 7 deletions cmd/data/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,16 @@ func main() {
log.Fatal(err)
}
var issues []*ghIssue
// -label:Go2
// -label:Proposal-Crypto
// -label:Proposal-Hold
// -label:proposal-accepted proposal sort:updated-desc
corpus.GitHub().Repo("golang", "go").ForeachIssue(func(issue *maintner.GitHubIssue) error {
if issue.Closed ||
issue.HasLabel("Go2") ||
issue.HasLabel("Proposal-Crypto") ||
issue.HasLabel("Proposal-Hold") ||
issue.Title == "" ||
issue.NotExist ||
issue.HasLabel("Proposal-Accepted") {
return nil
}
if (issue.Milestone != nil && issue.Milestone.Title != "Proposal") && !issue.HasLabel("NeedsDecision") {
return nil
}
issues = append(issues, &ghIssue{
Number: issue.Number,
Title: issue.Title,
Expand Down
2 changes: 1 addition & 1 deletion data.js

Large diffs are not rendered by default.

0 comments on commit e29ac2c

Please sign in to comment.