Skip to content

Commit

Permalink
Merge pull request #1660 from sue445/migrate-to-gitlab-org-api-client-go
Browse files Browse the repository at this point in the history
Migrate to gitlab.com/gitlab-org/api/client-go
  • Loading branch information
sue445 authored Dec 11, 2024
2 parents 4ad66f7 + 61e61a6 commit 73d496b
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion gitlab/blob_fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"github.com/cockroachdb/errors"
"github.com/sue445/gitpanda/util"
"github.com/xanzy/go-gitlab"
"gitlab.com/gitlab-org/api/client-go"
"golang.org/x/sync/errgroup"
"regexp"
"strconv"
Expand Down
2 changes: 1 addition & 1 deletion gitlab/commit_fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package gitlab
import (
"fmt"
"github.com/cockroachdb/errors"
"github.com/xanzy/go-gitlab"
"gitlab.com/gitlab-org/api/client-go"
"golang.org/x/sync/errgroup"
"regexp"
"time"
Expand Down
2 changes: 1 addition & 1 deletion gitlab/fetcher.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gitlab

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

Expand Down
2 changes: 1 addition & 1 deletion gitlab/issue_fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package gitlab
import (
"fmt"
"github.com/cockroachdb/errors"
"github.com/xanzy/go-gitlab"
"gitlab.com/gitlab-org/api/client-go"
"golang.org/x/sync/errgroup"
"regexp"
"strconv"
Expand Down
2 changes: 1 addition & 1 deletion gitlab/job_fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/acarl005/stripansi"
"github.com/cockroachdb/errors"
"github.com/sue445/gitpanda/util"
"github.com/xanzy/go-gitlab"
"gitlab.com/gitlab-org/api/client-go"
"golang.org/x/sync/errgroup"
"regexp"
"strconv"
Expand Down
2 changes: 1 addition & 1 deletion gitlab/merge_request_fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package gitlab
import (
"fmt"
"github.com/cockroachdb/errors"
"github.com/xanzy/go-gitlab"
"gitlab.com/gitlab-org/api/client-go"
"golang.org/x/sync/errgroup"
"regexp"
"strconv"
Expand Down
2 changes: 1 addition & 1 deletion gitlab/pipeline_fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package gitlab
import (
"fmt"
"github.com/cockroachdb/errors"
"github.com/xanzy/go-gitlab"
"gitlab.com/gitlab-org/api/client-go"
"golang.org/x/sync/errgroup"
"regexp"
"strconv"
Expand Down
2 changes: 1 addition & 1 deletion gitlab/project_fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package gitlab
import (
"fmt"
"github.com/cockroachdb/errors"
"github.com/xanzy/go-gitlab"
"gitlab.com/gitlab-org/api/client-go"
"regexp"
"strings"
"time"
Expand Down
2 changes: 1 addition & 1 deletion gitlab/project_snippet_fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package gitlab
import (
"fmt"
"github.com/cockroachdb/errors"
"github.com/xanzy/go-gitlab"
"gitlab.com/gitlab-org/api/client-go"
"golang.org/x/sync/errgroup"
"regexp"
"strconv"
Expand Down
2 changes: 1 addition & 1 deletion gitlab/snippet_fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package gitlab
import (
"fmt"
"github.com/cockroachdb/errors"
"github.com/xanzy/go-gitlab"
"gitlab.com/gitlab-org/api/client-go"
"golang.org/x/sync/errgroup"
"regexp"
"strconv"
Expand Down
2 changes: 1 addition & 1 deletion gitlab/url_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package gitlab
import (
"fmt"
"github.com/cockroachdb/errors"
"github.com/xanzy/go-gitlab"
"gitlab.com/gitlab-org/api/client-go"
"net/http"
"strings"
)
Expand Down
2 changes: 1 addition & 1 deletion gitlab/user_or_group_fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package gitlab
import (
"fmt"
"github.com/cockroachdb/errors"
"github.com/xanzy/go-gitlab"
"gitlab.com/gitlab-org/api/client-go"
"regexp"
"strings"
"time"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ require (
github.com/jarcoal/httpmock v1.3.1
github.com/slack-go/slack v0.15.0
github.com/stretchr/testify v1.10.0
github.com/xanzy/go-gitlab v0.114.0
gitlab.com/gitlab-org/api/client-go v0.116.0
golang.org/x/sync v0.10.0
)

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
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.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
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=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
Expand Down

0 comments on commit 73d496b

Please sign in to comment.