Skip to content

Commit

Permalink
gitlab: xanzy/go-gitlab => gitlab-org/api/client-go (#519)
Browse files Browse the repository at this point in the history
The client library is now maintained as part of the gitlab-org.
  • Loading branch information
abhinav authored Dec 16, 2024
1 parent b10ecb2 commit 9f68adb
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ require (
github.com/stretchr/testify v1.10.0
github.com/tidwall/gjson v1.18.0
github.com/vito/midterm v0.2.0
github.com/xanzy/go-gitlab v0.114.0
github.com/zalando/go-keyring v0.2.6
gitlab.com/gitlab-org/api/client-go v0.116.0
go.abhg.dev/komplete v0.1.0
go.abhg.dev/requiredfield v0.3.0
go.abhg.dev/testing/stub v0.2.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,11 @@ github.com/tidwall/pretty v1.2.0 h1:RWIZEg2iJ8/g6fDDYzMpobmaoGh5OLl4AXtGUGPcqCs=
github.com/tidwall/pretty v1.2.0/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU=
github.com/vito/midterm v0.2.0 h1:pEgUZA38GoOuJC8SV8Eqi4PALqGbPvBPzkCcEwF8x9M=
github.com/vito/midterm v0.2.0/go.mod h1:2ujYuyOObdWrQtnXAzwSBcPRKhC5Q96ex0nsf2Dmfzk=
github.com/xanzy/go-gitlab v0.114.0 h1:0wQr/KBckwrZPfEMjRqpUz0HmsKKON9UhCYv9KDy19M=
github.com/xanzy/go-gitlab v0.114.0/go.mod h1:wKNKh3GkYDMOsGmnfuX+ITCmDuSDWFO0G+C4AygL9RY=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
github.com/zalando/go-keyring v0.2.6 h1:r7Yc3+H+Ux0+M72zacZoItR3UDxeWfKTcabvkI8ua9s=
github.com/zalando/go-keyring v0.2.6/go.mod h1:2TCrxYrbUNYfNS/Kgy/LSrkSQzZ5UPVH85RwfczwvcI=
gitlab.com/gitlab-org/api/client-go v0.116.0 h1:Dy534gtZPMrnm3fAcmQRMadrcoUyFO4FQ4rXlSAdHAw=
gitlab.com/gitlab-org/api/client-go v0.116.0/go.mod h1:B29OfnZklmaoiR7uHANh9jTyfWEgmXvZLVEnosw2Dx0=
go.abhg.dev/komplete v0.1.0 h1:OE/uazFmWxrYYxttaKri9UpVr/i3J2Iv1vh21mYVom8=
go.abhg.dev/komplete v0.1.0/go.mod h1:MYxEW+7RETaNiYbeZv0LOSBmiZ2vfzfk/6m36EC04kc=
go.abhg.dev/requiredfield v0.3.0 h1:/fOqPt7t1SktSZVGUNXMg5djO8GasUh+G1ez111UEcs=
Expand Down
2 changes: 1 addition & 1 deletion internal/forge/gitlab/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"

"github.com/xanzy/go-gitlab"
gitlab "gitlab.com/gitlab-org/api/client-go"
"go.abhg.dev/gs/internal/must"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/forge/gitlab/client_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package gitlab

import "github.com/xanzy/go-gitlab"
import gitlab "gitlab.com/gitlab-org/api/client-go"

var (
_ mergeRequestsService = (*gitlab.MergeRequestsService)(nil)
Expand Down
2 changes: 1 addition & 1 deletion internal/forge/gitlab/comment.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"iter"
"strconv"

"github.com/xanzy/go-gitlab"
gitlab "gitlab.com/gitlab-org/api/client-go"
"go.abhg.dev/gs/internal/forge"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/forge/gitlab/comment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/xanzy/go-gitlab"
gitlab "gitlab.com/gitlab-org/api/client-go"
"go.abhg.dev/gs/internal/forge"
"go.abhg.dev/gs/internal/logtest"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/forge/gitlab/edit.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"regexp"

"github.com/xanzy/go-gitlab"
gitlab "gitlab.com/gitlab-org/api/client-go"
"go.abhg.dev/gs/internal/cmputil"
"go.abhg.dev/gs/internal/forge"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/forge/gitlab/find.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"

"github.com/xanzy/go-gitlab"
gitlab "gitlab.com/gitlab-org/api/client-go"
"go.abhg.dev/gs/internal/forge"
"go.abhg.dev/gs/internal/git"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/forge/gitlab/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
gogitlab "github.com/xanzy/go-gitlab"
gogitlab "gitlab.com/gitlab-org/api/client-go"
"go.abhg.dev/gs/internal/fixturetest"
"go.abhg.dev/gs/internal/forge"
"go.abhg.dev/gs/internal/forge/gitlab"
Expand Down
2 changes: 1 addition & 1 deletion internal/forge/gitlab/merged.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"

"github.com/xanzy/go-gitlab"
gitlab "gitlab.com/gitlab-org/api/client-go"
"go.abhg.dev/gs/internal/forge"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/forge/gitlab/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strconv"

"github.com/charmbracelet/log"
"github.com/xanzy/go-gitlab"
gitlab "gitlab.com/gitlab-org/api/client-go"
"go.abhg.dev/gs/internal/forge"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/forge/gitlab/submit.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"

"github.com/xanzy/go-gitlab"
gitlab "gitlab.com/gitlab-org/api/client-go"
"go.abhg.dev/gs/internal/forge"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/forge/gitlab/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package gitlab
import (
"context"

"github.com/xanzy/go-gitlab"
gitlab "gitlab.com/gitlab-org/api/client-go"
"go.abhg.dev/gs/internal/forge"
)

Expand Down

0 comments on commit 9f68adb

Please sign in to comment.