From 781eccd091a65e5f00bbfc63b74ef403c3eb4960 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Dec 2024 08:28:03 +0000 Subject: [PATCH 1/5] chore(deps): bump github.com/shipengqi/golib from 0.2.18 to 0.2.19 Bumps [github.com/shipengqi/golib](https://github.com/shipengqi/golib) from 0.2.18 to 0.2.19. - [Release notes](https://github.com/shipengqi/golib/releases) - [Changelog](https://github.com/shipengqi/golib/blob/main/.goreleaser.yaml) - [Commits](https://github.com/shipengqi/golib/compare/v0.2.18...v0.2.19) --- updated-dependencies: - dependency-name: github.com/shipengqi/golib dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- go.mod | 4 ++-- go.sum | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index 45e374b..7257733 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,7 @@ require ( github.com/onsi/ginkgo/v2 v2.22.0 github.com/onsi/gomega v1.36.0 github.com/shipengqi/component-base v0.2.11 - github.com/shipengqi/golib v0.2.18 + github.com/shipengqi/golib v0.2.19 github.com/shipengqi/log v0.2.3 github.com/spf13/cobra v1.8.1 github.com/spf13/pflag v1.0.5 @@ -53,7 +53,7 @@ require ( go.uber.org/zap v1.27.0 // indirect golang.org/x/net v0.30.0 // indirect golang.org/x/sync v0.8.0 // indirect - golang.org/x/sys v0.27.0 // indirect + golang.org/x/sys v0.28.0 // indirect golang.org/x/text v0.19.0 // indirect golang.org/x/tools v0.26.0 // indirect gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect diff --git a/go.sum b/go.sum index 15aebcf..7260856 100644 --- a/go.sum +++ b/go.sum @@ -88,8 +88,8 @@ github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUc github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/shipengqi/component-base v0.2.11 h1:oNCwa3FhFBGtKVJHSc3Tr+h9ERMX6JAVxkKToeIIh4M= github.com/shipengqi/component-base v0.2.11/go.mod h1:YJoIETZyVgILBSqiA7ze+WXgh8j/qz8WN+gpiTfnhc8= -github.com/shipengqi/golib v0.2.18 h1:zuzf+Mk5QcUQecwBhw+MIZFYSRfoLrJp2cLMutgvpo4= -github.com/shipengqi/golib v0.2.18/go.mod h1:m3QxEauvNWZyI75xR4elXxOaCTAszD8GNys8bvc5fCQ= +github.com/shipengqi/golib v0.2.19 h1:PZidI3MXfjXnCPa3v36OvWWk6zO3/tjQJUNJe5HM79o= +github.com/shipengqi/golib v0.2.19/go.mod h1:lytgsR1TbDuMW3lRC+JPAhtMXdaTdf3nOAtzsu5HIqM= github.com/shipengqi/log v0.2.3 h1:dH1LEgFV1jkojNvVf2qdjcYrWIEQ7LsHPkPaeefsTcA= github.com/shipengqi/log v0.2.3/go.mod h1:YqXfNjg7aDR/KrXoU5KC3vCQ/YldJltQbyEwnlpJOb4= github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM= @@ -122,8 +122,8 @@ golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.27.0 h1:wBqf8DvsY9Y/2P8gAfPDEYNuS30J4lPHJxXSb/nJZ+s= -golang.org/x/sys v0.27.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.28.0 h1:Fksou7UEQUWlKvIdsqzJmUmCX3cZuD2+P3XyyzwMhlA= +golang.org/x/sys v0.28.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/text v0.19.0 h1:kTxAhCbGbxhK0IwgSKiMO5awPoDQ0RpfiVYBfK860YM= golang.org/x/text v0.19.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= golang.org/x/tools v0.26.0 h1:v/60pFQmzmT9ExmjDv2gGIfi3OqfKoEP6I5+umXlbnQ= From accd6637eab5923dd617129248894721366f0608 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 10 Dec 2024 08:22:06 +0000 Subject: [PATCH 2/5] chore(deps): bump github.com/onsi/gomega from 1.36.0 to 1.36.1 Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.36.0 to 1.36.1. - [Release notes](https://github.com/onsi/gomega/releases) - [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md) - [Commits](https://github.com/onsi/gomega/compare/v1.36.0...v1.36.1) --- updated-dependencies: - dependency-name: github.com/onsi/gomega dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 7257733..470ba5c 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/charmbracelet/huh v0.6.0 github.com/mitchellh/mapstructure v1.5.0 github.com/onsi/ginkgo/v2 v2.22.0 - github.com/onsi/gomega v1.36.0 + github.com/onsi/gomega v1.36.1 github.com/shipengqi/component-base v0.2.11 github.com/shipengqi/golib v0.2.19 github.com/shipengqi/log v0.2.3 diff --git a/go.sum b/go.sum index 7260856..6098acf 100644 --- a/go.sum +++ b/go.sum @@ -78,8 +78,8 @@ github.com/muesli/termenv v0.15.3-0.20240618155329-98d742f6907a h1:2MaM6YC3mGu54 github.com/muesli/termenv v0.15.3-0.20240618155329-98d742f6907a/go.mod h1:hxSnBBYLK21Vtq/PHd0S2FYCxBXzBua8ov5s1RobyRQ= github.com/onsi/ginkgo/v2 v2.22.0 h1:Yed107/8DjTr0lKCNt7Dn8yQ6ybuDRQoMGrNFKzMfHg= github.com/onsi/ginkgo/v2 v2.22.0/go.mod h1:7Du3c42kxCUegi0IImZ1wUQzMBVecgIHjR1C+NkhLQo= -github.com/onsi/gomega v1.36.0 h1:Pb12RlruUtj4XUuPUqeEWc6j5DkVVVA49Uf6YLfC95Y= -github.com/onsi/gomega v1.36.0/go.mod h1:PvZbdDc8J6XJEpDK4HCuRBm8a6Fzp9/DmhC9C7yFlog= +github.com/onsi/gomega v1.36.1 h1:bJDPBO7ibjxcbHMgSCoo4Yj18UWbKDlLwX1x9sybDcw= +github.com/onsi/gomega v1.36.1/go.mod h1:PvZbdDc8J6XJEpDK4HCuRBm8a6Fzp9/DmhC9C7yFlog= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= From ffd47bb0a7d913c502d111874d68cf29e02ddd24 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 14 Dec 2024 17:55:01 +0800 Subject: [PATCH 3/5] chore(deps): bump github.com/shipengqi/golib from 0.2.19 to 0.2.20 (#111) Bumps [github.com/shipengqi/golib](https://github.com/shipengqi/golib) from 0.2.19 to 0.2.20. - [Release notes](https://github.com/shipengqi/golib/releases) - [Changelog](https://github.com/shipengqi/golib/blob/main/.goreleaser.yaml) - [Commits](https://github.com/shipengqi/golib/compare/v0.2.19...v0.2.20) --- updated-dependencies: - dependency-name: github.com/shipengqi/golib dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 470ba5c..20517f4 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,7 @@ require ( github.com/onsi/ginkgo/v2 v2.22.0 github.com/onsi/gomega v1.36.1 github.com/shipengqi/component-base v0.2.11 - github.com/shipengqi/golib v0.2.19 + github.com/shipengqi/golib v0.2.20 github.com/shipengqi/log v0.2.3 github.com/spf13/cobra v1.8.1 github.com/spf13/pflag v1.0.5 diff --git a/go.sum b/go.sum index 6098acf..4e08e4f 100644 --- a/go.sum +++ b/go.sum @@ -88,8 +88,8 @@ github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUc github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/shipengqi/component-base v0.2.11 h1:oNCwa3FhFBGtKVJHSc3Tr+h9ERMX6JAVxkKToeIIh4M= github.com/shipengqi/component-base v0.2.11/go.mod h1:YJoIETZyVgILBSqiA7ze+WXgh8j/qz8WN+gpiTfnhc8= -github.com/shipengqi/golib v0.2.19 h1:PZidI3MXfjXnCPa3v36OvWWk6zO3/tjQJUNJe5HM79o= -github.com/shipengqi/golib v0.2.19/go.mod h1:lytgsR1TbDuMW3lRC+JPAhtMXdaTdf3nOAtzsu5HIqM= +github.com/shipengqi/golib v0.2.20 h1:TRyQHLNtvfAdEJC+QtmDJdmjZz+Sg3qth4bh3kGr+u4= +github.com/shipengqi/golib v0.2.20/go.mod h1:SaQlE8h7qWyJn5N2y4wIm0vuYjD/bKT2JSzE/gz1wlc= github.com/shipengqi/log v0.2.3 h1:dH1LEgFV1jkojNvVf2qdjcYrWIEQ7LsHPkPaeefsTcA= github.com/shipengqi/log v0.2.3/go.mod h1:YqXfNjg7aDR/KrXoU5KC3vCQ/YldJltQbyEwnlpJOb4= github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM= From ce57aa0e74cfcbfadd86e75ab63693fdac40d3cf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Dec 2024 22:01:10 +0800 Subject: [PATCH 4/5] chore(deps): bump anchore/scan-action from 5 to 6 (#112) Bumps [anchore/scan-action](https://github.com/anchore/scan-action) from 5 to 6. - [Release notes](https://github.com/anchore/scan-action/releases) - [Changelog](https://github.com/anchore/scan-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/anchore/scan-action/compare/v5...v6) --- updated-dependencies: - dependency-name: anchore/scan-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/grype.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/grype.yaml b/.github/workflows/grype.yaml index df7728e..2342527 100644 --- a/.github/workflows/grype.yaml +++ b/.github/workflows/grype.yaml @@ -20,7 +20,7 @@ jobs: contents: read steps: - uses: actions/checkout@v4 - - uses: anchore/scan-action@v5 + - uses: anchore/scan-action@v6 with: path: "." fail-build: true \ No newline at end of file From a74cc31587b4e3eb084e384eef3617edefe1a292 Mon Sep 17 00:00:00 2001 From: PengQi Shi Date: Thu, 19 Dec 2024 11:37:50 +0800 Subject: [PATCH 5/5] chore(release): add scoop bucket (#113) --- .goreleaser.yaml | 8 ++++++++ README.md | 9 +++++++++ 2 files changed, 17 insertions(+) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index f22347b..d417ae3 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -76,6 +76,14 @@ release: footer: | **Full Changelog**: https://github.com/shipengqi/commitizen/compare/{{ .PreviousTag }}...{{ .Tag }} +scoops: + - repository: + owner: shipengqi + name: scoop-bucket + directory: bucket + homepage: https://github.com/shipengqi/commitizen + description: The commitizen command line utility, without nodejs. Forked from commitizen-go, fixes some issues of commitizen-go and supports more new features. + license: MIT # modelines, feel free to remove those if you don't want/use them: # yaml-language-server: $schema=https://goreleaser.com/static/schema.json diff --git a/README.md b/README.md index 0a13bb5..50c9d21 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,15 @@ $ git cz ## Installation +### Scoop (Windows) + +```bash +$ scoop bucket add czbucket https://github.com/shipengqi/scoop-bucket.git +$ scoop install commitizen + +$ commitizen.exe init +``` + ### From the Binary Releases Download the pre-compiled binaries from the [releases page](https://github.com/shipengqi/commitizen/releases) and copy them to the desired location.