Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ footer = """"""
trim = true
# postprocessors
postprocessors = [
{ pattern = '<REPO>', replace = "https://github.com/jaredallard/gitlab" }, # replace repository URL
{ pattern = '<REPO>', replace = "https://github.com/1password/gitlab" }, # replace repository URL
]

[git]
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

## <<Stencil::Block(extraReleaseOpts)>>

Expand Down
2 changes: 1 addition & 1 deletion .mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ 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/thenativeweb/get-next-version" = "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]
description = "Build a binary for the current platform/architecture"
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# gitlab

<a href="https://github.com/jaredallard/gitlab/releases">
<img alt="Latest Version" src="https://img.shields.io/github/v/release/jaredallard/gitlab?style=for-the-badge">
<a href="https://github.com/1password/gitlab/releases">
<img alt="Latest Version" src="https://img.shields.io/github/v/release/1password/gitlab?style=for-the-badge">
</a>
<a href="https://github.com/jaredallard/gitlab/blob/main/LICENSE">
<img alt="License" src="https://img.shields.io/github/license/jaredallard/gitlab?style=for-the-badge">
<a href="https://github.com/1password/gitlab/blob/main/LICENSE">
<img alt="License" src="https://img.shields.io/github/license/1password/gitlab?style=for-the-badge">
</a>
<a href="https://github.com/jaredallard/gitlab/actions/workflows/tests.yaml">
<img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/jaredallard/gitlab/tests.yaml?style=for-the-badge">
<a href="https://github.com/1password/gitlab/actions/workflows/tests.yaml">
<img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/1password/gitlab/tests.yaml?style=for-the-badge">
</a>
<a href="https://app.codecov.io/gh/jaredallard/gitlab">
<img alt="Codecov" src="https://img.shields.io/codecov/c/github/jaredallard/gitlab?style=for-the-badge">
<a href="https://app.codecov.io/gh/1password/gitlab">
<img alt="Codecov" src="https://img.shields.io/codecov/c/github/1password/gitlab?style=for-the-badge">
</a>

<br />
Expand All @@ -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.

Expand Down
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ package gitlab_test
import (
"testing"

"github.com/jaredallard/gitlab"
"github.com/1password/gitlab"
"gotest.tools/v3/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/jaredallard/gitlab
module github.com/1password/gitlab

go 1.23

Expand Down
2 changes: 0 additions & 2 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions go.work.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion mock_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ package gitlab
import (
"testing"

"github.com/jaredallard/gitlab/mocks"
"github.com/1password/gitlab/mocks"
"go.uber.org/mock/gomock"
)

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"//": "Used for prettier",
"name": "@jaredallard/gitlab",
"name": "@1password/gitlab",
"devDependencies": {
"prettier": "^3.3.2"
"prettier": "^3.5.1"
},
"private": true
}
6 changes: 3 additions & 3 deletions stencil.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion stencil.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: gitlab
arguments:
license: LGPL-3.0
org: jaredallard
org: 1password
library: true
modules:
- name: github.com/rgst-io/stencil-golang
2 changes: 1 addition & 1 deletion tools/codegen/codegen.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ func generateMocks(log slogext.Logger) error {
return fmt.Errorf("failed to read mock file: %w", err)
}

b = []byte(strings.ReplaceAll(string(b), `gitlab "github.com/jaredallard/gitlab"`, `gitlab "gitlab.com/gitlab-org/api/client-go"`))
b = []byte(strings.ReplaceAll(string(b), `gitlab "github.com/1password/gitlab"`, `gitlab "gitlab.com/gitlab-org/api/client-go"`))
//nolint:gosec // Why: OK.
if err := os.WriteFile(filepath.Join("mocks", file), b, 0o644); err != nil {
return fmt.Errorf("failed to write mock file: %w", err)
Expand Down
4 changes: 2 additions & 2 deletions tools/codegen/embed/mock_client.go.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ package gitlab
import (
"testing"

"github.com/jaredallard/gitlab"
"github.com/jaredallard/gitlab/mocks"
"github.com/1password/gitlab"
"github.com/1password/gitlab/mocks"
"go.uber.org/mock/gomock"
)

Expand Down
2 changes: 1 addition & 1 deletion tools/codegen/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/jaredallard/gitlab/tools/codegen
module github.com/1password/gitlab/tools/codegen

go 1.23.4

Expand Down
Loading