From 11cfa7dd2b49e85c66c794660339f982db6243ae Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 12 Nov 2023 13:35:17 +0000 Subject: [PATCH 1/5] [tagpr] prepare for the next release --- .github/release.yml | 4 ++++ .tagpr | 42 ++++++++++++++++++++++++++++++++++++++++++ lib/version.go | 2 +- 3 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 .github/release.yml create mode 100644 .tagpr diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000..b0c5175 --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,4 @@ +changelog: + exclude: + labels: + - tagpr diff --git a/.tagpr b/.tagpr new file mode 100644 index 0000000..6d09a48 --- /dev/null +++ b/.tagpr @@ -0,0 +1,42 @@ +# config file for the tagpr in git config format +# The tagpr generates the initial configuration, which you can rewrite to suit your environment. +# CONFIGURATIONS: +# tagpr.releaseBranch +# Generally, it is "main." It is the branch for releases. The tagpr tracks this branch, +# creates or updates a pull request as a release candidate, or tags when they are merged. +# +# tagpr.versionFile +# Versioning file containing the semantic version needed to be updated at release. +# It will be synchronized with the "git tag". +# Often this is a meta-information file such as gemspec, setup.cfg, package.json, etc. +# Sometimes the source code file, such as version.go or Bar.pm, is used. +# If you do not want to use versioning files but only git tags, specify the "-" string here. +# You can specify multiple version files by comma separated strings. +# +# tagpr.vPrefix +# Flag whether or not v-prefix is added to semver when git tagging. (e.g. v1.2.3 if true) +# This is only a tagging convention, not how it is described in the version file. +# +# tagpr.changelog (Optional) +# Flag whether or not changelog is added or changed during the release. +# +# tagpr.command (Optional) +# Command to change files just before release. +# +# tagpr.template (Optional) +# Pull request template in go template format +# +# tagpr.release (Optional) +# GitHub Release creation behavior after tagging [true, draft, false] +# If this value is not set, the release is to be created. +# +# tagpr.majorLabels (Optional) +# Label of major update targets. Default is [major] +# +# tagpr.minorLabels (Optional) +# Label of minor update targets. Default is [minor] +# +[tagpr] + vPrefix = true + releaseBranch = main + versionFile = lib/version.go diff --git a/lib/version.go b/lib/version.go index c620f9e..4cd8e7e 100644 --- a/lib/version.go +++ b/lib/version.go @@ -1,4 +1,4 @@ package lib // Version is the github-nippou version -const Version = "4.2.9" +const Version = "4.2.10" From d1f5005df9b4a4b4fa369f6f2fbf8cc9ab3f4d59 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 12 Nov 2023 13:35:22 +0000 Subject: [PATCH 2/5] [tagpr] update CHANGELOG.md --- CHANGELOG.md | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..8fc0504 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,74 @@ +# Changelog + +## [v4.2.10](https://github.com/masutaka/github-nippou/compare/v4.2.9...v4.2.10) - 2023-11-12 +- Introduce github-nippou-web by @masutaka in https://github.com/masutaka/github-nippou/pull/125 +- Change default branch from `master` to `main` by @masutaka in https://github.com/masutaka/github-nippou/pull/128 +- Bump golang.org/x/oauth2 from 0.13.0 to 0.14.0 by @dependabot in https://github.com/masutaka/github-nippou/pull/126 +- Bump github.com/spf13/cobra from 1.7.0 to 1.8.0 by @dependabot in https://github.com/masutaka/github-nippou/pull/127 +- Introduce automatic release using GitHub Actions by @masutaka in https://github.com/masutaka/github-nippou/pull/130 + +## [v4.2.9](https://github.com/masutaka/github-nippou/compare/v4.2.8...v4.2.9) - 2023-11-06 +- Bump go-github to latest v56 by @masutaka in https://github.com/masutaka/github-nippou/pull/123 +- Bump go-yaml to latest v3 by @masutaka in https://github.com/masutaka/github-nippou/pull/124 + +## [v4.2.8](https://github.com/masutaka/github-nippou/compare/v4.2.7...v4.2.8) - 2023-11-06 +- ライブラリとしてのユースケースに対応する by @masutaka in https://github.com/masutaka/github-nippou/pull/122 + +## [v4.2.7](https://github.com/masutaka/github-nippou/compare/v4.2.6...v4.2.7) - 2023-11-02 +- Bump golang.org/x/oauth2 from 0.12.0 to 0.13.0 by @dependabot in https://github.com/masutaka/github-nippou/pull/120 +- refactor(lib): Remove environment variable dependencies from lib.List() by @MH4GF in https://github.com/masutaka/github-nippou/pull/118 + +## [v4.2.6](https://github.com/masutaka/github-nippou/compare/v4.2.5...v4.2.6) - 2023-10-31 +- maintenance: setup CI for forked PRs by @MH4GF in https://github.com/masutaka/github-nippou/pull/117 +- Fix broken `open-setting` sub command by @masutaka in https://github.com/masutaka/github-nippou/pull/119 + +## [v4.2.5](https://github.com/masutaka/github-nippou/compare/v4.2.4...v4.2.5) - 2023-10-28 +- docs: Add a description of the customize format by @MH4GF in https://github.com/masutaka/github-nippou/pull/115 +- refactor(lib): Remove environment variable dependencies from `Settings.Init()` and `Format.All()` by @MH4GF in https://github.com/masutaka/github-nippou/pull/116 + +## [v4.2.4](https://github.com/masutaka/github-nippou/compare/v4.2.3...v4.2.4) - 2023-10-19 +- maintenance: Use event.ParsePayload() instead of deprecated event.Payload() by @MH4GF in https://github.com/masutaka/github-nippou/pull/111 + +## [v4.2.3](https://github.com/masutaka/github-nippou/compare/v4.2.2...v4.2.3) - 2023-10-14 +- Bump golang.org/x/net from 0.15.0 to 0.17.0 by @dependabot in https://github.com/masutaka/github-nippou/pull/109 + +## [v4.2.2](https://github.com/masutaka/github-nippou/compare/v4.2.1...v4.2.2) - 2023-10-07 +- Bump golang.org/x/oauth2 from 0.10.0 to 0.12.0 by @dependabot in https://github.com/masutaka/github-nippou/pull/107 +- Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/masutaka/github-nippou/pull/108 + +## [v4.2.1](https://github.com/masutaka/github-nippou/compare/v4.2.0...v4.2.1) - 2023-09-03 + +## [v4.2.0](https://github.com/masutaka/github-nippou/compare/v4.1.21...v4.2.0) - 2023-09-02 + +## [v4.1.21](https://github.com/masutaka/github-nippou/compare/v4.1.20...v4.1.21) - 2023-08-17 +- Fix panic on empty user input in `$ github-nippou init` by @masutaka in https://github.com/masutaka/github-nippou/pull/106 + +## [v4.1.20](https://github.com/masutaka/github-nippou/compare/v4.1.19...v4.1.20) - 2023-08-15 + +## [v4.1.19](https://github.com/masutaka/github-nippou/compare/v4.1.18...v4.1.19) - 2023-08-04 +- Bump golang.org/x/oauth2 from 0.9.0 to 0.10.0 by @dependabot in https://github.com/masutaka/github-nippou/pull/104 + +## [v4.1.18](https://github.com/masutaka/github-nippou/compare/v4.1.17...v4.1.18) - 2023-07-02 +- Bump golang.org/x/oauth2 from 0.8.0 to 0.9.0 by @dependabot in https://github.com/masutaka/github-nippou/pull/103 + +## [v4.1.17](https://github.com/masutaka/github-nippou/compare/v4.1.16...v4.1.17) - 2023-06-02 +- Bump golang.org/x/oauth2 from 0.7.0 to 0.8.0 by @dependabot in https://github.com/masutaka/github-nippou/pull/102 + +## [v4.1.16](https://github.com/masutaka/github-nippou/compare/v4.1.15...v4.1.16) - 2023-05-01 +- Bump golang.org/x/oauth2 from 0.6.0 to 0.7.0 by @dependabot in https://github.com/masutaka/github-nippou/pull/101 +- Bump github.com/spf13/cobra from 1.6.1 to 1.7.0 by @dependabot in https://github.com/masutaka/github-nippou/pull/100 + +## [v4.1.15](https://github.com/masutaka/github-nippou/compare/v4.1.14...v4.1.15) - 2023-04-02 +- Bump actions/setup-go from 3 to 4 by @dependabot in https://github.com/masutaka/github-nippou/pull/99 +- Bump golang.org/x/oauth2 from 0.5.0 to 0.6.0 by @dependabot in https://github.com/masutaka/github-nippou/pull/98 + +## [v4.1.14](https://github.com/masutaka/github-nippou/compare/v4.1.13...v4.1.14) - 2023-03-01 +- Bump golang.org/x/net from 0.6.0 to 0.7.0 by @dependabot in https://github.com/masutaka/github-nippou/pull/97 + +## [v4.1.13](https://github.com/masutaka/github-nippou/compare/v4.1.12...v4.1.13) - 2023-03-01 +- Bump golang.org/x/oauth2 from 0.0.0-20211104180415-d3ed0bb246c8 to 0.5.0 by @dependabot in https://github.com/masutaka/github-nippou/pull/96 + +## [v4.1.12](https://github.com/masutaka/github-nippou/compare/v4.1.11...v4.1.12) - 2022-11-22 + +## [v4.1.11](https://github.com/masutaka/github-nippou/compare/v4.1.10...v4.1.11) - 2022-11-22 +- Bump github.com/spf13/cobra from 1.5.0 to 1.6.1 by @dependabot in https://github.com/masutaka/github-nippou/pull/95 From cac06249a8ec3dd149951b2def0fa839de5e8f40 Mon Sep 17 00:00:00 2001 From: Takashi Masuda Date: Sun, 12 Nov 2023 22:44:13 +0900 Subject: [PATCH 3/5] Add categories to .github/release.yml --- .github/release.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/release.yml b/.github/release.yml index b0c5175..15ad056 100644 --- a/.github/release.yml +++ b/.github/release.yml @@ -2,3 +2,16 @@ changelog: exclude: labels: - tagpr + categories: + - title: Breaking Changes :hammer_and_wrench: + labels: + - breaking-change + - title: New Features :tada: + labels: + - enhancement + - title: Fix bug :bug: + labels: + - bug + - title: Other Changes + labels: + - "*" From bd046bf1de40a8e0c6bd0cbc753225d8f336b39b Mon Sep 17 00:00:00 2001 From: Takashi Masuda Date: Sun, 12 Nov 2023 22:44:41 +0900 Subject: [PATCH 4/5] Add all previous tags to CHANGELOG.md using `$ gh2changelog -all -unreleased -w` --- CHANGELOG.md | 108 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8fc0504..1e42628 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -72,3 +72,111 @@ ## [v4.1.11](https://github.com/masutaka/github-nippou/compare/v4.1.10...v4.1.11) - 2022-11-22 - Bump github.com/spf13/cobra from 1.5.0 to 1.6.1 by @dependabot in https://github.com/masutaka/github-nippou/pull/95 + +## [v4.1.10](https://github.com/masutaka/github-nippou/compare/v4.1.9...v4.1.10) - 2022-08-07 +- Bump github.com/spf13/cobra from 1.4.0 to 1.5.0 by @dependabot in https://github.com/masutaka/github-nippou/pull/94 + +## [v4.1.9](https://github.com/masutaka/github-nippou/compare/v4.1.8...v4.1.9) - 2022-05-21 + +## [v4.1.8](https://github.com/masutaka/github-nippou/compare/v4.1.7...v4.1.8) - 2022-05-15 +- Bump actions/checkout from 2 to 3 by @dependabot in https://github.com/masutaka/github-nippou/pull/93 +- Bump actions/setup-go from 2 to 3 by @dependabot in https://github.com/masutaka/github-nippou/pull/92 + +## [v4.1.7](https://github.com/masutaka/github-nippou/compare/v4.1.6...v4.1.7) - 2022-04-03 +- Bump github.com/spf13/cobra from 1.3.0 to 1.4.0 by @dependabot in https://github.com/masutaka/github-nippou/pull/91 + +## [v4.1.6](https://github.com/masutaka/github-nippou/compare/v4.1.5...v4.1.6) - 2022-01-01 +- Bump github.com/spf13/cobra from 1.2.1 to 1.3.0 by @dependabot in https://github.com/masutaka/github-nippou/pull/90 + +## [v4.1.5](https://github.com/masutaka/github-nippou/compare/v4.1.4...v4.1.5) - 2021-12-30 +- Bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0 by @dependabot-preview in https://github.com/masutaka/github-nippou/pull/85 +- Update Dependabot config file by @dependabot-preview in https://github.com/masutaka/github-nippou/pull/86 +- Bump gopkg.in/yaml.v2 from 2.3.0 to 2.4.0 by @dependabot in https://github.com/masutaka/github-nippou/pull/87 +- Bump github.com/spf13/cobra from 0.0.7 to 1.2.1 by @dependabot in https://github.com/masutaka/github-nippou/pull/88 +- Migrate Travis CI to GitHub actions by @masutaka in https://github.com/masutaka/github-nippou/pull/89 + +## [v4.1.4](https://github.com/masutaka/github-nippou/compare/v4.1.3...v4.1.4) - 2020-04-12 +- Bump github.com/rakyll/statik from 0.1.6 to 0.1.7 by @dependabot-preview in https://github.com/masutaka/github-nippou/pull/82 +- Bump github.com/spf13/cobra from 0.0.6 to 0.0.7 by @dependabot-preview in https://github.com/masutaka/github-nippou/pull/84 + +## [v4.1.3](https://github.com/masutaka/github-nippou/compare/v4.1.2...v4.1.3) - 2020-02-24 +- Bump github.com/spf13/cobra from 0.0.5 to 0.0.6 by @dependabot-preview in https://github.com/masutaka/github-nippou/pull/81 + +## [v4.1.2](https://github.com/masutaka/github-nippou/compare/v4.1.1...v4.1.2) - 2020-02-03 +- Bump gopkg.in/yaml.v2 from 2.2.4 to 2.2.8 by @dependabot-preview in https://github.com/masutaka/github-nippou/pull/80 + +## [v4.1.1](https://github.com/masutaka/github-nippou/compare/v4.1.0...v4.1.1) - 2019-10-08 + +## [v4.1.0](https://github.com/masutaka/github-nippou/compare/v4.0.4...v4.1.0) - 2019-05-07 +- Migrate go-bindata to statik by @masutaka in https://github.com/masutaka/github-nippou/pull/76 +- Migrate dep to go mod by @masutaka in https://github.com/masutaka/github-nippou/pull/77 + +## [v4.0.4](https://github.com/masutaka/github-nippou/compare/v4.0.3...v4.0.4) - 2018-04-20 +- Avoid panic when user doesn't have permission to the repositories by @masutaka in https://github.com/masutaka/github-nippou/pull/75 +- Use event's Issue/PullRequest when user doesn't have permission to the repositories by @yono in https://github.com/masutaka/github-nippou/pull/74 + +## [v4.0.3](https://github.com/masutaka/github-nippou/compare/v4.0.2...v4.0.3) - 2018-02-24 + +## [v4.0.2](https://github.com/masutaka/github-nippou/compare/v4.0.1...v4.0.2) - 2018-01-20 + +## [v4.0.1](https://github.com/masutaka/github-nippou/compare/v4.0.0...v4.0.1) - 2017-10-17 +- Fix CI by @masutaka in https://github.com/masutaka/github-nippou/pull/72 +- Windows by @mattn in https://github.com/masutaka/github-nippou/pull/73 + +## [v4.0.0](https://github.com/masutaka/github-nippou/compare/v3.2.0...v4.0.0) - 2017-10-13 +- Introduce golang by @masutaka in https://github.com/masutaka/github-nippou/pull/70 + +## [v3.2.0](https://github.com/masutaka/github-nippou/compare/v3.1.0...v3.2.0) - 2017-08-19 +- Merge Setup in README.md to sub command `init` by @masutaka in https://github.com/masutaka/github-nippou/pull/68 + +## [v3.1.0](https://github.com/masutaka/github-nippou/compare/v3.0.0...v3.1.0) - 2017-08-09 + +## [v3.0.0](https://github.com/masutaka/github-nippou/compare/v2.0.1...v3.0.0) - 2017-08-07 +- Improve format by @masutaka in https://github.com/masutaka/github-nippou/pull/56 +- The github-nippou will be able to use custom format. by @ryz310 in https://github.com/masutaka/github-nippou/pull/58 +- Introduce Travis CI by @masutaka in https://github.com/masutaka/github-nippou/pull/60 +- Fix warnings in Ruby-2.4 by @masutaka in https://github.com/masutaka/github-nippou/pull/61 +- Refactor creating Github::Nippou::Settings class by @masutaka in https://github.com/masutaka/github-nippou/pull/62 +- Enable to inject settings_gist_id instead of the settings by @masutaka in https://github.com/masutaka/github-nippou/pull/63 +- Add y/n prompt to sub command `init` by @masutaka in https://github.com/masutaka/github-nippou/pull/64 +- Add sub command `open-settings` by @masutaka in https://github.com/masutaka/github-nippou/pull/65 +- Dockerize by @masutaka in https://github.com/masutaka/github-nippou/pull/66 +- Update README.md by @masutaka in https://github.com/masutaka/github-nippou/pull/67 + +## [v2.0.1](https://github.com/masutaka/github-nippou/compare/v2.0.0...v2.0.1) - 2016-04-10 + +## [v2.0.0](https://github.com/masutaka/github-nippou/compare/v1.2.0...v2.0.0) - 2016-04-08 +- Smart Retrieve by @masutaka in https://github.com/masutaka/github-nippou/pull/42 +- Use correct title by @masutaka in https://github.com/masutaka/github-nippou/pull/43 +- Fix performance by @masutaka in https://github.com/masutaka/github-nippou/pull/44 +- Add `--until-date (-u)` option by @masutaka in https://github.com/masutaka/github-nippou/pull/45 +- Add sub command `version` by @masutaka in https://github.com/masutaka/github-nippou/pull/46 +- Bit improve performance by @masutaka in https://github.com/masutaka/github-nippou/pull/47 +- Refactor data structure by @masutaka in https://github.com/masutaka/github-nippou/pull/48 +- Use safe logic by @masutaka in https://github.com/masutaka/github-nippou/pull/49 +- Fix too match meta programming by @masutaka in https://github.com/masutaka/github-nippou/pull/50 +- Improve performance using thread by @masutaka in https://github.com/masutaka/github-nippou/pull/51 +- Fix condition issue or pull_request by @masutaka in https://github.com/masutaka/github-nippou/pull/52 +- Fix not good name by @masutaka in https://github.com/masutaka/github-nippou/pull/53 +- Refactor Thread logic using `parallel` gem by @masutaka in https://github.com/masutaka/github-nippou/pull/54 +- Useful debug mode by @masutaka in https://github.com/masutaka/github-nippou/pull/55 + +## [v1.2.0](https://github.com/masutaka/github-nippou/compare/v1.1.1...v1.2.0) - 2016-03-23 + +## [v1.1.1](https://github.com/masutaka/github-nippou/compare/v1.1.0...v1.1.1) - 2016-03-21 + +## [v1.1.0](https://github.com/masutaka/github-nippou/compare/v1.0.2...v1.1.0) - 2016-03-21 + +## [v1.0.2](https://github.com/masutaka/github-nippou/compare/v1.0.1...v1.0.2) - 2015-10-10 + +## [v1.0.1](https://github.com/masutaka/github-nippou/compare/v1.0.0...v1.0.1) - 2015-10-03 + +## [v1.0.0](https://github.com/masutaka/github-nippou/compare/v0.1.1...v1.0.0) - 2015-03-07 + +## [v0.1.1](https://github.com/masutaka/github-nippou/compare/v0.1.0...v0.1.1) - 2014-12-17 + +## [v0.1.0](https://github.com/masutaka/github-nippou/compare/v0.0.2...v0.1.0) - 2014-12-07 + +## [v0.0.2](https://github.com/masutaka/github-nippou/compare/v0.0.1...v0.0.2) - 2014-12-07 + +## [v0.0.1](https://github.com/masutaka/github-nippou/commits/v0.0.1) - 2014-12-07 From ea742f46dd345db73af214d9ca6e7b440a21c3d0 Mon Sep 17 00:00:00 2001 From: Takashi Masuda Date: Sun, 12 Nov 2023 22:45:14 +0900 Subject: [PATCH 5/5] Manually merge the release notes on https://github.com/masutaka/github-nippou/releases to CHANGELOG.md --- CHANGELOG.md | 314 ++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 299 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e42628..ecae04d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,13 +37,16 @@ - Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/masutaka/github-nippou/pull/108 ## [v4.2.1](https://github.com/masutaka/github-nippou/compare/v4.2.0...v4.2.1) - 2023-09-03 +- Improve debug message by @masutaka ## [v4.2.0](https://github.com/masutaka/github-nippou/compare/v4.1.21...v4.2.0) - 2023-09-02 +- Support PullRequestReviewEvent by @tsub thx! ## [v4.1.21](https://github.com/masutaka/github-nippou/compare/v4.1.20...v4.1.21) - 2023-08-17 - Fix panic on empty user input in `$ github-nippou init` by @masutaka in https://github.com/masutaka/github-nippou/pull/106 ## [v4.1.20](https://github.com/masutaka/github-nippou/compare/v4.1.19...v4.1.20) - 2023-08-15 +- Bump go to v1.21 ## [v4.1.19](https://github.com/masutaka/github-nippou/compare/v4.1.18...v4.1.19) - 2023-08-04 - Bump golang.org/x/oauth2 from 0.9.0 to 0.10.0 by @dependabot in https://github.com/masutaka/github-nippou/pull/104 @@ -61,6 +64,7 @@ ## [v4.1.15](https://github.com/masutaka/github-nippou/compare/v4.1.14...v4.1.15) - 2023-04-02 - Bump actions/setup-go from 3 to 4 by @dependabot in https://github.com/masutaka/github-nippou/pull/99 - Bump golang.org/x/oauth2 from 0.5.0 to 0.6.0 by @dependabot in https://github.com/masutaka/github-nippou/pull/98 +- Bump golang from 1.19 to 1.20 by @masutaka in 6cf73184e7457a80929d57fd1243faf5e0e7c334 ## [v4.1.14](https://github.com/masutaka/github-nippou/compare/v4.1.13...v4.1.14) - 2023-03-01 - Bump golang.org/x/net from 0.6.0 to 0.7.0 by @dependabot in https://github.com/masutaka/github-nippou/pull/97 @@ -69,18 +73,27 @@ - Bump golang.org/x/oauth2 from 0.0.0-20211104180415-d3ed0bb246c8 to 0.5.0 by @dependabot in https://github.com/masutaka/github-nippou/pull/96 ## [v4.1.12](https://github.com/masutaka/github-nippou/compare/v4.1.11...v4.1.12) - 2022-11-22 +- Support Apple silicon ## [v4.1.11](https://github.com/masutaka/github-nippou/compare/v4.1.10...v4.1.11) - 2022-11-22 - Bump github.com/spf13/cobra from 1.5.0 to 1.6.1 by @dependabot in https://github.com/masutaka/github-nippou/pull/95 + - It provides to add `--help` and `--version` automatic flags to the completions list ## [v4.1.10](https://github.com/masutaka/github-nippou/compare/v4.1.9...v4.1.10) - 2022-08-07 - Bump github.com/spf13/cobra from 1.4.0 to 1.5.0 by @dependabot in https://github.com/masutaka/github-nippou/pull/94 + - It provides the `completion` sub command for your shell completion +- Bump go version from 1.18.1 to 1.18.4 75334683d8a5c4534cdf94e226a1900fb4b13e38 +- Avoid needlessly consuming GitHub Actions usage limits d9ba54f2886f82f466e841cd5dd4d83c3ea02755 ## [v4.1.9](https://github.com/masutaka/github-nippou/compare/v4.1.8...v4.1.9) - 2022-05-21 +- Fix `go.mod` and `go.sum` using new make rule `bump_go_version` ## [v4.1.8](https://github.com/masutaka/github-nippou/compare/v4.1.7...v4.1.8) - 2022-05-15 - Bump actions/checkout from 2 to 3 by @dependabot in https://github.com/masutaka/github-nippou/pull/93 - Bump actions/setup-go from 2 to 3 by @dependabot in https://github.com/masutaka/github-nippou/pull/92 +- Bump Go to 1.18 +- Use go install instead of go get +- Use dependabot for GitHub Actions ## [v4.1.7](https://github.com/masutaka/github-nippou/compare/v4.1.6...v4.1.7) - 2022-04-03 - Bump github.com/spf13/cobra from 1.3.0 to 1.4.0 by @dependabot in https://github.com/masutaka/github-nippou/pull/91 @@ -94,18 +107,26 @@ - Bump gopkg.in/yaml.v2 from 2.3.0 to 2.4.0 by @dependabot in https://github.com/masutaka/github-nippou/pull/87 - Bump github.com/spf13/cobra from 0.0.7 to 1.2.1 by @dependabot in https://github.com/masutaka/github-nippou/pull/88 - Migrate Travis CI to GitHub actions by @masutaka in https://github.com/masutaka/github-nippou/pull/89 +- Bump golang to 1.17.5 +- Drop arch 386 from release binaries ## [v4.1.4](https://github.com/masutaka/github-nippou/compare/v4.1.3...v4.1.4) - 2020-04-12 - Bump github.com/rakyll/statik from 0.1.6 to 0.1.7 by @dependabot-preview in https://github.com/masutaka/github-nippou/pull/82 - Bump github.com/spf13/cobra from 0.0.6 to 0.0.7 by @dependabot-preview in https://github.com/masutaka/github-nippou/pull/84 +- Bump golang to 1.14 ## [v4.1.3](https://github.com/masutaka/github-nippou/compare/v4.1.2...v4.1.3) - 2020-02-24 +- Fix make dependency - Bump github.com/spf13/cobra from 0.0.5 to 0.0.6 by @dependabot-preview in https://github.com/masutaka/github-nippou/pull/81 ## [v4.1.2](https://github.com/masutaka/github-nippou/compare/v4.1.1...v4.1.2) - 2020-02-03 +- Introduce dependabot - Bump gopkg.in/yaml.v2 from 2.2.4 to 2.2.8 by @dependabot-preview in https://github.com/masutaka/github-nippou/pull/80 ## [v4.1.1](https://github.com/masutaka/github-nippou/compare/v4.1.0...v4.1.1) - 2019-10-08 +- Bump golang to 1.13 +- Update go modules +- Tidy go modules ## [v4.1.0](https://github.com/masutaka/github-nippou/compare/v4.0.4...v4.1.0) - 2019-05-07 - Migrate go-bindata to statik by @masutaka in https://github.com/masutaka/github-nippou/pull/76 @@ -116,21 +137,191 @@ - Use event's Issue/PullRequest when user doesn't have permission to the repositories by @yono in https://github.com/masutaka/github-nippou/pull/74 ## [v4.0.3](https://github.com/masutaka/github-nippou/compare/v4.0.2...v4.0.3) - 2018-02-24 +- Bump go version to 1.10 +- Update libraries using `$ dep ensure -update` ## [v4.0.2](https://github.com/masutaka/github-nippou/compare/v4.0.1...v4.0.2) - 2018-01-20 +- Add go version to sub command `version` +- Update libraries using `$ dep ensure -update` ## [v4.0.1](https://github.com/masutaka/github-nippou/compare/v4.0.0...v4.0.1) - 2017-10-17 - Fix CI by @masutaka in https://github.com/masutaka/github-nippou/pull/72 - Windows by @mattn in https://github.com/masutaka/github-nippou/pull/73 +- Improve Makefile +- Include lib/bindata.go ## [v4.0.0](https://github.com/masutaka/github-nippou/compare/v3.2.0...v4.0.0) - 2017-10-13 - Introduce golang by @masutaka in https://github.com/masutaka/github-nippou/pull/70 +**Before:** + +``` + ÛÛÛÛÛ + °°ÛÛÛ + ÛÛÛÛÛÛÛÛ ÛÛÛÛÛ ÛÛÛÛ °ÛÛÛÛÛÛÛ ÛÛÛÛÛ ÛÛÛÛ +°°ÛÛÛ°°ÛÛÛ°°ÛÛÛ °ÛÛÛ °ÛÛÛ°°ÛÛÛ°°ÛÛÛ °ÛÛÛ + °ÛÛÛ °°° °ÛÛÛ °ÛÛÛ °ÛÛÛ °ÛÛÛ °ÛÛÛ °ÛÛÛ + °ÛÛÛ °ÛÛÛ °ÛÛÛ °ÛÛÛ °ÛÛÛ °ÛÛÛ °ÛÛÛ + ÛÛÛÛÛ °°ÛÛÛÛÛÛÛÛ ÛÛÛÛÛÛÛÛ °°ÛÛÛÛÛÛÛ +°°°°° °°°°°°°° °°°°°°°° °°°°°ÛÛÛ + ÛÛÛ °ÛÛÛ + °°ÛÛÛÛÛÛ + °°°°°° +``` + + +**After:** + +``` + + ÛÛÛÛ + °°ÛÛÛ + ÛÛÛÛÛÛÛ ÛÛÛÛÛÛ °ÛÛÛ ÛÛÛÛÛÛ ÛÛÛÛÛÛÛÛ ÛÛÛÛÛÛÛ + ÛÛÛ°°ÛÛÛ ÛÛÛ°°ÛÛÛ °ÛÛÛ °°°°°ÛÛÛ °°ÛÛÛ°°ÛÛÛ ÛÛÛ°°ÛÛÛ +°ÛÛÛ °ÛÛÛ°ÛÛÛ °ÛÛÛ °ÛÛÛ ÛÛÛÛÛÛÛ °ÛÛÛ °ÛÛÛ °ÛÛÛ °ÛÛÛ +°ÛÛÛ °ÛÛÛ°ÛÛÛ °ÛÛÛ °ÛÛÛ ÛÛÛ°°ÛÛÛ °ÛÛÛ °ÛÛÛ °ÛÛÛ °ÛÛÛ +°°ÛÛÛÛÛÛÛ°°ÛÛÛÛÛÛ ÛÛÛÛÛ°°ÛÛÛÛÛÛÛÛ ÛÛÛÛ ÛÛÛÛÛ°°ÛÛÛÛÛÛÛ + °°°°°ÛÛÛ °°°°°° °°°°° °°°°°°°° °°°° °°°°° °°°°°ÛÛÛ + ÛÛÛ °ÛÛÛ ÛÛÛ °ÛÛÛ +°°ÛÛÛÛÛÛ °°ÛÛÛÛÛÛ + °°°°°° °°°°°° +``` + ## [v3.2.0](https://github.com/masutaka/github-nippou/compare/v3.1.0...v3.2.0) - 2017-08-19 -- Merge Setup in README.md to sub command `init` by @masutaka in https://github.com/masutaka/github-nippou/pull/68 + +### Feature + +Merge the following commands in [Setup in README.md](https://github.com/masutaka/github-nippou/blob/v3.1.0/README.md#setup) to sub command `init` by @masutaka in https://github.com/masutaka/github-nippou/pull/68 + + $ git config --global github-nippou.user [Your GitHub account] + $ git config --global github-nippou.token [Your GitHub access token] + +**Before:** + +``` +$ bundle exec bin/github-nippou init +This command will create a gist and update your `~/.gitconfig`. +Are you sure? [y/n] y +The github-nippou settings was created on https://gist.github.com/1a1f0598a7144842881c3d0a02158b31 + +And the gist_id was appended to your `~/.gitconfig`. You can +check the gist_id with following command. + + $ git config --global github-nippou.settings-gist-id +``` + +Sub command `init` has an ability of idempotency. + +``` +$ bundle exec bin/github-nippou init +** Already initialized. + +Your `~/.gitconfig` already has gist_id as `github-nippou.settings-gist-id`. +``` + +**After:** + +`github-nippou.user` and `github-nippou.token` in ~/.gitconfig are updated by sub command `init`. + + +``` +$ bundle exec bin/github-nippou init +** github-nippou Initialization ** + +== [Step: 1/3] GitHub user == + +What's your GitHub account? masutaka + +The following command will be executed. + + $ git config --global github-nippou.user masutaka + +Are you sure? [y/n] y +Thanks! You can get it with the following command. + + $ git config --global github-nippou.user + + +== [Step: 2/3] GitHub personal access token == + +To get new token with `repo` and `gist` scope, visit +https://github.com/settings/tokens/new + +What's your GitHub personal access token? ******** + +The following command will be executed. + + $ git config --global github-nippou.token ******** + +Are you sure? [y/n] y +Thanks! You can get it with the following command. + + $ git config --global github-nippou.token + + +== [Step: 3/3] Gist (optional) == + +1. Create a gist with the content of https://github.com/masutaka/github-nippou/blob/v3.1.0/config/settings.yml +2. The following command will be executed + + $ git config --global github-nippou.settings-gist-id + +Are you sure? [y/n] y +Thanks! You can get it with the following command. + + $ git config --global github-nippou.settings-gist-id + +And you can easily open the gist URL with web browser. + + $ github-nippou open-settings + +``` + +Sub command `init` has an ability of idempotency even after the change. + +``` +$ bundle exec bin/github-nippou init +** github-nippou Initialization ** + +== [Step: 1/3] GitHub user == + +Already initialized. You can get it with the following command. + + $ git config --global github-nippou.user + + +== [Step: 2/3] GitHub personal access token == + +To get new token with `repo` and `gist` scope, visit +https://github.com/settings/tokens/new + +Already initialized. You can get it with the following command. + + $ git config --global github-nippou.token + + +== [Step: 3/3] Gist (optional) == + +Already initialized. You can get it with the following command. + + $ git config --global github-nippou.settings-gist-id + +And you can easily open the gist URL with web browser. + + $ github-nippou open-settings + +``` + +### Misc + +- Add gem `yard` for development ## [v3.1.0](https://github.com/masutaka/github-nippou/compare/v3.0.0...v3.1.0) - 2017-08-09 +### Misc + +- Update settings.yml, which is added link to github profile 48e769337c107550ebc7264f66ed62589e272a34 + ## [v3.0.0](https://github.com/masutaka/github-nippou/compare/v2.0.1...v3.0.0) - 2017-08-07 - Improve format by @masutaka in https://github.com/masutaka/github-nippou/pull/56 - The github-nippou will be able to use custom format. by @ryz310 in https://github.com/masutaka/github-nippou/pull/58 @@ -143,29 +334,122 @@ - Dockerize by @masutaka in https://github.com/masutaka/github-nippou/pull/66 - Update README.md by @masutaka in https://github.com/masutaka/github-nippou/pull/67 +### Feature + +#### Change output format + +- Before + + ``` + * [v3.0.0 - masutaka/github-nippou](https://github.com/masutaka/github-nippou/issues/59) by masutaka + * [Enable to inject settings_gist_id instead of the settings - masutaka/github-nippou](https://github.com/masutaka/github-nippou/pull/63) by masutaka **merged!** + * [Add y/n prompt to sub command \`init\` - masutaka/github-nippou](https://github.com/masutaka/github-nippou/pull/64) by masutaka **merged!** + * [Add sub command \`open-settings\` - masutaka/github-nippou](https://github.com/masutaka/github-nippou/pull/65) by masutaka **merged!** + * [Dockerize - masutaka/github-nippou](https://github.com/masutaka/github-nippou/pull/66) by masutaka **merged!** + ``` + +- After + + ``` + ### masutaka/github-nippou + + * [v3.0.0](https://github.com/masutaka/github-nippou/issues/59) by masutaka + * [Enable to inject settings_gist_id instead of the settings](https://github.com/masutaka/github-nippou/pull/63) by masutaka **merged!** + * [Add y/n prompt to sub command \`init\`](https://github.com/masutaka/github-nippou/pull/64) by masutaka **merged!** + * [Add sub command \`open-settings\`](https://github.com/masutaka/github-nippou/pull/65) by masutaka **merged!** + * [Dockerize](https://github.com/masutaka/github-nippou/pull/66) by masutaka **merged!** + ``` + +#### Customizable output format https://github.com/masutaka/github-nippou/pull/58 by @ryz310 + +It should be run the new sub command `init`. + +``` +$ github-nippou init +This command will create a gist and update your `~/.gitconfig`. +Are you sure? [y/n] y +The github-nippou settings was created on https://gist.github.com/ecfa35cb546d8462277d133a91b13be9 + +And the gist_id was appended to your `~/.gitconfig`. You can +check the gist_id with following command. + + $ git config --global github-nippou.settings-gist-id +``` + +It requires `gist` scope. Update your token on https://github.com/settings/tokens + +#### Introduce new sub command `open-settings` + +Open the Gist URL with your web browser + +``` +$ github-nippou open-settings +Open https://gist.github.com/ecfa35cb546d8462277d133a91b13be9 +``` + +#### Dockerize + +You can use the [dockerized github-nippou](https://hub.docker.com/r/masutaka/github-nippou/) via `bin/docker-github-nippou`. + +``` +$ git clone https://github.com/masutaka/github-nippou.git +$ cd github-nippou/bin +$ ./docker-github-nippou help +``` + +### Misc + +- Add rspec https://github.com/masutaka/github-nippou/pull/58 by @ryz310 +- Introduce Travis CI +- Refactoring + +## [v3.0.0 beta1](https://github.com/masutaka/github-nippou/compare/v2.0.1...v3.0.0.beta1) - 2017-07-30 +- [Feature] customizable output format https://github.com/masutaka/github-nippou/pull/58 by @ryz310 + - Introduce new sub command `init` + + ``` + $ github-nippou init + => 1. Create new Gist. + => 2. Add github-nippou.settings-gist-id to ~/.gitconfig + ``` + + - It requires `gist` scope. Update your token on https://github.com/settings/tokens + ## [v2.0.1](https://github.com/masutaka/github-nippou/compare/v2.0.0...v2.0.1) - 2016-04-10 +- Improve Authorization required message fc4fe264 ## [v2.0.0](https://github.com/masutaka/github-nippou/compare/v1.2.0...v2.0.0) - 2016-04-08 -- Smart Retrieve by @masutaka in https://github.com/masutaka/github-nippou/pull/42 -- Use correct title by @masutaka in https://github.com/masutaka/github-nippou/pull/43 -- Fix performance by @masutaka in https://github.com/masutaka/github-nippou/pull/44 -- Add `--until-date (-u)` option by @masutaka in https://github.com/masutaka/github-nippou/pull/45 -- Add sub command `version` by @masutaka in https://github.com/masutaka/github-nippou/pull/46 -- Bit improve performance by @masutaka in https://github.com/masutaka/github-nippou/pull/47 -- Refactor data structure by @masutaka in https://github.com/masutaka/github-nippou/pull/48 -- Use safe logic by @masutaka in https://github.com/masutaka/github-nippou/pull/49 -- Fix too match meta programming by @masutaka in https://github.com/masutaka/github-nippou/pull/50 -- Improve performance using thread by @masutaka in https://github.com/masutaka/github-nippou/pull/51 -- Fix condition issue or pull_request by @masutaka in https://github.com/masutaka/github-nippou/pull/52 -- Fix not good name by @masutaka in https://github.com/masutaka/github-nippou/pull/53 -- Refactor Thread logic using `parallel` gem by @masutaka in https://github.com/masutaka/github-nippou/pull/54 -- Useful debug mode by @masutaka in https://github.com/masutaka/github-nippou/pull/55 +- Enhancements + - Remove options `--all` and `--num` https://github.com/masutaka/github-nippou/pull/42 + - Add option `--since-date` https://github.com/masutaka/github-nippou/pull/42 + - Add option `--until-date` https://github.com/masutaka/github-nippou/pull/45 + - Add option `--debug` https://github.com/masutaka/github-nippou/pull/55 + - Add sub command `version` https://github.com/masutaka/github-nippou/pull/46 + - Improve performance https://github.com/masutaka/github-nippou/pull/44 https://github.com/masutaka/github-nippou/pull/47 https://github.com/masutaka/github-nippou/pull/51 +- Bugfixes + - Use current title https://github.com/masutaka/github-nippou/pull/43 + - Fix status of issue or pull_request https://github.com/masutaka/github-nippou/pull/52 +- Misc + - Refactoring https://github.com/masutaka/github-nippou/pull/48 https://github.com/masutaka/github-nippou/pull/49 https://github.com/masutaka/github-nippou/pull/50 https://github.com/masutaka/github-nippou/pull/53 https://github.com/masutaka/github-nippou/pull/54 ## [v1.2.0](https://github.com/masutaka/github-nippou/compare/v1.1.1...v1.2.0) - 2016-03-23 +- Enhancements + - Sort by URL https://github.com/masutaka/github-nippou/pull/40 + - Add status `closed` https://github.com/masutaka/github-nippou/pull/41 ## [v1.1.1](https://github.com/masutaka/github-nippou/compare/v1.1.0...v1.1.1) - 2016-03-21 +- Enhancements + - Add option `-n` https://github.com/masutaka/github-nippou/pull/39 + - Increase event number from 30 to 50. It is number that retrieves from GitHub ## [v1.1.0](https://github.com/masutaka/github-nippou/compare/v1.0.2...v1.1.0) - 2016-03-21 +- Enhancements + - Add option `-a` using Thor https://github.com/masutaka/github-nippou/pull/37 +- Bugfixes + - Escape `<` and `>` https://github.com/masutaka/github-nippou/pull/35 +- Misc + - Refactor codes https://github.com/masutaka/github-nippou/pull/34 https://github.com/masutaka/github-nippou/pull/36 + - Remove fixed gem versions https://github.com/masutaka/github-nippou/pull/38 ## [v1.0.2](https://github.com/masutaka/github-nippou/compare/v1.0.1...v1.0.2) - 2015-10-10