From 751180bd5a8ec2b47ee77feddd0af2ec0a868fd3 Mon Sep 17 00:00:00 2001 From: Kenji Osari Date: Wed, 6 Nov 2024 16:46:05 +0900 Subject: [PATCH 1/4] feat(cloverrose/connectnew): scaffold cloverrose/connectnew --- pkgs/cloverrose/connectnew/pkg.yaml | 2 ++ pkgs/cloverrose/connectnew/registry.yaml | 21 +++++++++++++++++++++ registry.yaml | 20 ++++++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 pkgs/cloverrose/connectnew/pkg.yaml create mode 100644 pkgs/cloverrose/connectnew/registry.yaml diff --git a/pkgs/cloverrose/connectnew/pkg.yaml b/pkgs/cloverrose/connectnew/pkg.yaml new file mode 100644 index 00000000000..174db63e3c7 --- /dev/null +++ b/pkgs/cloverrose/connectnew/pkg.yaml @@ -0,0 +1,2 @@ +packages: + - name: cloverrose/connectnew@v0.1.0 diff --git a/pkgs/cloverrose/connectnew/registry.yaml b/pkgs/cloverrose/connectnew/registry.yaml new file mode 100644 index 00000000000..12c22a020b4 --- /dev/null +++ b/pkgs/cloverrose/connectnew/registry.yaml @@ -0,0 +1,21 @@ +packages: + - type: github_release + repo_owner: cloverrose + repo_name: connectnew + version_constraint: "false" + version_overrides: + - version_constraint: "true" + asset: connectnew_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz + replacements: + amd64: x86_64 + darwin: Darwin + linux: Linux + windows: Windows + checksum: + type: github_release + asset: connectnew_{{trimV .Version}}_checksums.txt + algorithm: sha256 + overrides: + - goos: windows + format: zip diff --git a/registry.yaml b/registry.yaml index 6bf29939556..f1f82ce7664 100644 --- a/registry.yaml +++ b/registry.yaml @@ -13879,6 +13879,26 @@ packages: type: github_release asset: checksums.txt algorithm: sha256 + - type: github_release + repo_owner: cloverrose + repo_name: connectnew + version_constraint: "false" + version_overrides: + - version_constraint: "true" + asset: connectnew_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz + replacements: + amd64: x86_64 + darwin: Darwin + linux: Linux + windows: Windows + checksum: + type: github_release + asset: connectnew_{{trimV .Version}}_checksums.txt + algorithm: sha256 + overrides: + - goos: windows + format: zip - type: github_release repo_owner: cloverrose repo_name: pkgdep From 2b7aa3ebc6c018c58451f8af571951195bf3390d Mon Sep 17 00:00:00 2001 From: Kenji Osari Date: Wed, 6 Nov 2024 16:50:08 +0900 Subject: [PATCH 2/4] fix(cloverrose/connectnew): fix generated pkg/cloverrose/connectnew/registry.yaml --- pkgs/cloverrose/connectnew/registry.yaml | 3 +++ registry.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/pkgs/cloverrose/connectnew/registry.yaml b/pkgs/cloverrose/connectnew/registry.yaml index 12c22a020b4..c5486e61f17 100644 --- a/pkgs/cloverrose/connectnew/registry.yaml +++ b/pkgs/cloverrose/connectnew/registry.yaml @@ -7,6 +7,9 @@ packages: - version_constraint: "true" asset: connectnew_{{.OS}}_{{.Arch}}.{{.Format}} format: tar.gz + files: + - name: connectnew + src: "connectnew_{{.OS}}_{{.Arch}}/connectnew" replacements: amd64: x86_64 darwin: Darwin diff --git a/registry.yaml b/registry.yaml index f1f82ce7664..f11e20c59d6 100644 --- a/registry.yaml +++ b/registry.yaml @@ -13887,6 +13887,9 @@ packages: - version_constraint: "true" asset: connectnew_{{.OS}}_{{.Arch}}.{{.Format}} format: tar.gz + files: + - name: connectnew + src: "connectnew_{{.OS}}_{{.Arch}}/connectnew" replacements: amd64: x86_64 darwin: Darwin From df631b6c9827b9131dafb12c7e47bb8796cb1a7c Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Wed, 6 Nov 2024 18:01:04 +0900 Subject: [PATCH 3/4] fix(cloverrose/connectnew): add description --- pkgs/cloverrose/connectnew/registry.yaml | 5 ++++- registry.yaml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/cloverrose/connectnew/registry.yaml b/pkgs/cloverrose/connectnew/registry.yaml index c5486e61f17..7d353d4cffc 100644 --- a/pkgs/cloverrose/connectnew/registry.yaml +++ b/pkgs/cloverrose/connectnew/registry.yaml @@ -2,6 +2,9 @@ packages: - type: github_release repo_owner: cloverrose repo_name: connectnew + description: | + Go linter checking if &connect.Request or &connect.Response are used. + Instead connect.NewRequest or connect.NewResponse should be used. version_constraint: "false" version_overrides: - version_constraint: "true" @@ -9,7 +12,7 @@ packages: format: tar.gz files: - name: connectnew - src: "connectnew_{{.OS}}_{{.Arch}}/connectnew" + src: connectnew_{{.OS}}_{{.Arch}}/connectnew replacements: amd64: x86_64 darwin: Darwin diff --git a/registry.yaml b/registry.yaml index f11e20c59d6..da3e84ca4ac 100644 --- a/registry.yaml +++ b/registry.yaml @@ -13882,6 +13882,9 @@ packages: - type: github_release repo_owner: cloverrose repo_name: connectnew + description: | + Go linter checking if &connect.Request or &connect.Response are used. + Instead connect.NewRequest or connect.NewResponse should be used. version_constraint: "false" version_overrides: - version_constraint: "true" @@ -13889,7 +13892,7 @@ packages: format: tar.gz files: - name: connectnew - src: "connectnew_{{.OS}}_{{.Arch}}/connectnew" + src: connectnew_{{.OS}}_{{.Arch}}/connectnew replacements: amd64: x86_64 darwin: Darwin From 35e854f3d34f60fed906f479b551c24542820849 Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Wed, 6 Nov 2024 18:02:15 +0900 Subject: [PATCH 4/4] style(cloverrose/connectnew): remove a period according to the style guide --- pkgs/cloverrose/connectnew/registry.yaml | 2 +- registry.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/cloverrose/connectnew/registry.yaml b/pkgs/cloverrose/connectnew/registry.yaml index 7d353d4cffc..d17f34d732f 100644 --- a/pkgs/cloverrose/connectnew/registry.yaml +++ b/pkgs/cloverrose/connectnew/registry.yaml @@ -4,7 +4,7 @@ packages: repo_name: connectnew description: | Go linter checking if &connect.Request or &connect.Response are used. - Instead connect.NewRequest or connect.NewResponse should be used. + Instead connect.NewRequest or connect.NewResponse should be used version_constraint: "false" version_overrides: - version_constraint: "true" diff --git a/registry.yaml b/registry.yaml index da3e84ca4ac..adb3ab9cab4 100644 --- a/registry.yaml +++ b/registry.yaml @@ -13884,7 +13884,7 @@ packages: repo_name: connectnew description: | Go linter checking if &connect.Request or &connect.Response are used. - Instead connect.NewRequest or connect.NewResponse should be used. + Instead connect.NewRequest or connect.NewResponse should be used version_constraint: "false" version_overrides: - version_constraint: "true"