Skip to content

Commit 618ccd9

Browse files
committed
update
1 parent 94ad9ba commit 618ccd9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+138
-113
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ require (
1010
github.com/amikos-tech/chroma-go v0.2.5
1111
github.com/andybrewer/mack v0.0.0-20251024001139-afd410b36447
1212
github.com/andygrunwald/go-jira v1.17.0
13-
github.com/anthropics/anthropic-sdk-go v1.18.1
13+
github.com/anthropics/anthropic-sdk-go v1.19.0
1414
github.com/apenella/go-ansible/v2 v2.4.1
1515
github.com/atlassian/go-sentry-api v1.0.0
1616
github.com/bndr/gojenkins v1.1.0
@@ -81,7 +81,7 @@ require (
8181
github.com/virtomize/confluence-go-api v1.5.1
8282
github.com/whilp/git-urls v1.0.0
8383
github.com/yuin/goldmark v1.7.13
84-
gitlab.com/gitlab-org/api/client-go v0.161.1
84+
gitlab.com/gitlab-org/api/client-go v1.0.0
8585
go.etcd.io/bbolt v1.4.3
8686
golang.org/x/crypto v0.45.0
8787
golang.org/x/mod v0.30.0

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@ github.com/andygrunwald/go-jira v1.17.0/go.mod h1:tiZsPUu9824bwcI2BUXatE4hJbs9rU
181181
github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c=
182182
github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFIImctFaOjnTIavg87rW78vTPkQqLI8=
183183
github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuWl6zY27l47sB3qLNK6tF2fkHG55UZxx8oIVo4=
184-
github.com/anthropics/anthropic-sdk-go v1.18.1 h1:HZ7/kW/V2GN1N86rQKNW28/wfvLv9IR6bPEqBTn9eR0=
185-
github.com/anthropics/anthropic-sdk-go v1.18.1/go.mod h1:WTz31rIUHUHqai2UslPpw5CwXrQP3geYBioRV4WOLvE=
184+
github.com/anthropics/anthropic-sdk-go v1.19.0 h1:mO6E+ffSzLRvR/YUH9KJC0uGw0uV8GjISIuzem//3KE=
185+
github.com/anthropics/anthropic-sdk-go v1.19.0/go.mod h1:WTz31rIUHUHqai2UslPpw5CwXrQP3geYBioRV4WOLvE=
186186
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
187187
github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ=
188188
github.com/apache/thrift v0.13.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ=
@@ -1937,8 +1937,8 @@ github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQ
19371937
github.com/yvasiyarov/go-metrics v0.0.0-20140926110328-57bccd1ccd43/go.mod h1:aX5oPXxHm3bOH+xeAttToC8pqch2ScQN/JoXYupl6xs=
19381938
github.com/yvasiyarov/gorelic v0.0.0-20141212073537-a9bba5b9ab50/go.mod h1:NUSPSUX/bi6SeDMUh6brw0nXpxHnc96TguQh0+r/ssA=
19391939
github.com/yvasiyarov/newrelic_platform_go v0.0.0-20140908184405-b21fdbd4370f/go.mod h1:GlGEuHIJweS1mbCqG+7vt2nvWLzLLnRHbXz5JKd/Qbg=
1940-
gitlab.com/gitlab-org/api/client-go v0.161.1 h1:XX0EtVGL6cGEdNy9xnJ96CSciIzjCwAVsayItHY1YyU=
1941-
gitlab.com/gitlab-org/api/client-go v0.161.1/go.mod h1:YqKcnxyV9OPAL5U99mpwBVEgBPz1PK/3qwqq/3h6bao=
1940+
gitlab.com/gitlab-org/api/client-go v1.0.0 h1:k1kdiJRPHNNPveJ5Kww8MAGZFJCMaItLuLyDZ8j0/Ns=
1941+
gitlab.com/gitlab-org/api/client-go v1.0.0/go.mod h1:hxFLApm0RqUWU3xmXCrRpxO47BQnAIWdZh9VtMaV648=
19421942
go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=
19431943
go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=
19441944
go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ=

pkg/gitlab/artifact_file.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package gitlab
33
import "bytes"
44

55
func (c *Client) ArtifactFile(
6-
project int,
7-
job int,
6+
project int64,
7+
job int64,
88
path string,
99
) *bytes.Reader {
1010
result, r, e := c.client.Jobs.DownloadSingleArtifactsFile(

pkg/gitlab/artifacts.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package gitlab
33
import "bytes"
44

55
func (c *Client) Artifacts(
6-
project int,
7-
job int,
6+
project int64,
7+
job int64,
88
) *bytes.Reader {
99
result, r, e := c.client.Jobs.GetJobArtifacts(project, job)
1010
panicOnError(r, e)

pkg/gitlab/artifacts_file.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
)
77

88
func (c *Client) ArtifactsFile(
9-
project int,
9+
project int64,
1010
reference string,
1111
job string,
1212
) string {

pkg/gitlab/branches.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"gitlab.com/gitlab-org/api/client-go"
66
)
77

8-
func (c *Client) Branches(project int) []*branch.Branch {
8+
func (c *Client) Branches(project int64) []*branch.Branch {
99
result, r, e := c.client.Branches.ListBranches(
1010
project,
1111
&gitlab.ListBranchesOptions{},

pkg/gitlab/client.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ type Client struct {
1313

1414
verbose bool
1515

16-
groups []int
17-
projects []int
16+
groups []int64
17+
projects []int64
1818

19-
projectCache map[int]*project.Project
19+
projectCache map[int64]*project.Project
2020
}

pkg/gitlab/commit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package gitlab
33
import "gitlab.com/gitlab-org/api/client-go"
44

55
func (c *Client) Commit(
6-
project int,
6+
project int64,
77
branch string,
88
text string,
99
path string,

pkg/gitlab/compare.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
)
77

88
func (c *Client) Compare(
9-
project int,
9+
project int64,
1010
from, to string,
1111
) *gitlab.Compare {
1212
result, r, e := c.client.Repositories.Compare(

pkg/gitlab/constant/constant.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ const (
4040

4141
LatestSuffix = ":latest"
4242

43-
PerPage1000 int = 1000
44-
PerPage100 int = 100
43+
PerPage1000 int64 = 1000
44+
PerPage100 int64 = 100
4545

4646
TokenHeader = "X-Gitlab-Token" // #nosec G101 not a hardcoded secret
4747
)

0 commit comments

Comments
 (0)