From 7f45e6371d101516594337d54a81e7447805b0c0 Mon Sep 17 00:00:00 2001 From: Jared Allard Date: Thu, 27 Feb 2025 12:30:38 -0800 Subject: [PATCH 1/3] feat!: Update import path to 1password/gitlab Reflects the switch from jaredallard/gitlab to 1password/gitlab. Also re-ran stencil. --- .cliff.toml | 2 +- .goreleaser.yaml | 2 +- .mise.toml | 2 -- README.md | 18 +++++++++--------- bun.lockb | Bin 1259 -> 1259 bytes example_test.go | 2 +- go.mod | 2 +- go.sum | 2 -- go.work.sum | 10 ++++++++++ mock_client.go | 2 +- package.json | 4 ++-- stencil.lock | 6 +++--- stencil.yaml | 2 +- tools/codegen/codegen.go | 2 +- tools/codegen/embed/mock_client.go.tpl | 4 ++-- tools/codegen/go.mod | 2 +- 16 files changed, 34 insertions(+), 28 deletions(-) diff --git a/.cliff.toml b/.cliff.toml index 249039b..9309597 100644 --- a/.cliff.toml +++ b/.cliff.toml @@ -72,7 +72,7 @@ footer = """""" trim = true # postprocessors postprocessors = [ - { pattern = '', replace = "https://github.com/jaredallard/gitlab" }, # replace repository URL + { pattern = '', replace = "https://github.com/1password/gitlab" }, # replace repository URL ] [git] diff --git a/.goreleaser.yaml b/.goreleaser.yaml index e3e4315..244ca3f 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -15,7 +15,7 @@ changelog: release: prerelease: "auto" footer: |- - **Full Changelog**: https://github.com/jaredallard/gitlab/compare/{{ .PreviousTag }}...{{ .Tag }} + **Full Changelog**: https://github.com/1password/gitlab/compare/{{ .PreviousTag }}...{{ .Tag }} ## <> diff --git a/.mise.toml b/.mise.toml index c248e60..9093a8d 100644 --- a/.mise.toml +++ b/.mise.toml @@ -9,8 +9,6 @@ goreleaser = "latest" "go:gotest.tools/gotestsum" = "1.12.0" "go:golang.org/x/tools/cmd/goimports" = "latest" "go:mvdan.cc/sh/v3/cmd/shfmt" = "latest" -"go:github.com/vburenin/ifacemaker" = "latest" -"go:go.uber.org/mock/mockgen" = "0.5.0" "go:github.com/thenativeweb/get-next-version" = "latest" [tasks.build] diff --git a/README.md b/README.md index 4cee463..3989717 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,16 @@ # gitlab - - Latest Version + + Latest Version - - License + + License - - GitHub Workflow Status + + GitHub Workflow Status - - Codecov + + Codecov
@@ -21,7 +21,7 @@ that supports mocking. ## Usage -See our [Go docs](https://pkg.go.dev/github.com/jaredallard/gitlab) as +See our [Go docs](https://pkg.go.dev/github.com/1password/gitlab) as well as the upstream [go-gitlab] documentation which this package provides. diff --git a/bun.lockb b/bun.lockb index 54f68e5523dd47715da255baf20cc3bbfb269f45..56e96f9cd104a27a8ff663184b00efdc96096e6e 100755 GIT binary patch delta 248 zcmaFO`I>Wrp27xAm5w#Wd=9_nHgZL}``aywTf%8-x_g;z2jd6f_SoEse#=-{85kIt zCN9*TtissoF!kK>W&ix;cZ9C$Iq1GKh2?TvY<#{kiyyWro`PZd_Aoo$PofFWKHTGbq_IFb&itD3sX(Qg?mGXnzy z^TdVPlT{cy9lEofO?dg9be*x@S3ULDUB?M?ZW*8DjeHyKx&L>MVu$&)Or!Y*Hw54E zd@*5fJOA_Iia53B|C;p8&OiQ{BzLz=c;W)_i4RyNb1)T&9bf_)3 Date: Thu, 27 Feb 2025 12:31:31 -0800 Subject: [PATCH 2/3] add back accidentally removed tools --- .mise.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.mise.toml b/.mise.toml index 9093a8d..d794749 100644 --- a/.mise.toml +++ b/.mise.toml @@ -10,6 +10,8 @@ goreleaser = "latest" "go:golang.org/x/tools/cmd/goimports" = "latest" "go:mvdan.cc/sh/v3/cmd/shfmt" = "latest" "go:github.com/thenativeweb/get-next-version" = "latest" +"go:github.com/vburenin/ifacemaker" = "latest" +"go:go.uber.org/mock/mockgen" = "0.5.0" [tasks.build] description = "Build a binary for the current platform/architecture" From 1d40942565cb33ac6fd4f3bf5e29d97b32f9c2a0 Mon Sep 17 00:00:00 2001 From: Jared Allard Date: Thu, 27 Feb 2025 12:32:23 -0800 Subject: [PATCH 3/3] remove codecov --- .github/workflows/tests.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 1f98654..56ad6e0 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -43,12 +43,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | gotestsum -- -coverprofile=cover.out ./... - - name: Upload test coverage - uses: codecov/codecov-action@v5 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: ./cover.out - fail_ci_if_error: true golangci-lint: name: golangci-lint