diff --git a/go.mod b/go.mod index 9816ab9d..49a2abed 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/go.sum b/go.sum index 33d726c5..ee5e0885 100644 --- a/go.sum +++ b/go.sum @@ -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= diff --git a/internal/forge/gitlab/client.go b/internal/forge/gitlab/client.go index 3ec3cce8..bfdc97ac 100644 --- a/internal/forge/gitlab/client.go +++ b/internal/forge/gitlab/client.go @@ -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" ) diff --git a/internal/forge/gitlab/client_test.go b/internal/forge/gitlab/client_test.go index d972a38c..1a2d9e10 100644 --- a/internal/forge/gitlab/client_test.go +++ b/internal/forge/gitlab/client_test.go @@ -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) diff --git a/internal/forge/gitlab/comment.go b/internal/forge/gitlab/comment.go index 308a33ac..84ec224e 100644 --- a/internal/forge/gitlab/comment.go +++ b/internal/forge/gitlab/comment.go @@ -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" ) diff --git a/internal/forge/gitlab/comment_test.go b/internal/forge/gitlab/comment_test.go index 10a0a8a3..6dd8eed2 100644 --- a/internal/forge/gitlab/comment_test.go +++ b/internal/forge/gitlab/comment_test.go @@ -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" ) diff --git a/internal/forge/gitlab/edit.go b/internal/forge/gitlab/edit.go index b12ea256..c3a0286b 100644 --- a/internal/forge/gitlab/edit.go +++ b/internal/forge/gitlab/edit.go @@ -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" ) diff --git a/internal/forge/gitlab/find.go b/internal/forge/gitlab/find.go index 3b52d7e5..ee538fdc 100644 --- a/internal/forge/gitlab/find.go +++ b/internal/forge/gitlab/find.go @@ -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" ) diff --git a/internal/forge/gitlab/integration_test.go b/internal/forge/gitlab/integration_test.go index e6a42515..5ee3a5e9 100644 --- a/internal/forge/gitlab/integration_test.go +++ b/internal/forge/gitlab/integration_test.go @@ -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" diff --git a/internal/forge/gitlab/merged.go b/internal/forge/gitlab/merged.go index 03755ecc..7a6af644 100644 --- a/internal/forge/gitlab/merged.go +++ b/internal/forge/gitlab/merged.go @@ -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" ) diff --git a/internal/forge/gitlab/repository.go b/internal/forge/gitlab/repository.go index 773dc3d3..3c6e1b31 100644 --- a/internal/forge/gitlab/repository.go +++ b/internal/forge/gitlab/repository.go @@ -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" ) diff --git a/internal/forge/gitlab/submit.go b/internal/forge/gitlab/submit.go index 200bb309..b175c190 100644 --- a/internal/forge/gitlab/submit.go +++ b/internal/forge/gitlab/submit.go @@ -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" ) diff --git a/internal/forge/gitlab/template.go b/internal/forge/gitlab/template.go index 64309985..73081aff 100644 --- a/internal/forge/gitlab/template.go +++ b/internal/forge/gitlab/template.go @@ -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" )