Skip to content

Commit f04a9d6

Browse files
erkaCopilotmarkphelps
authored
feat(scm): added support for Azure DevOps (#4461)
* feat(scm): added support for Azure DevOps Signed-off-by: Roman Dmytrenko <[email protected]> * cleanup and add missing dots Signed-off-by: Roman Dmytrenko <[email protected]> * fix issues Signed-off-by: Roman Dmytrenko <[email protected]> * restore formatting for json schema Signed-off-by: Roman Dmytrenko <[email protected]> * Apply suggestion from @Copilot Co-authored-by: Copilot <[email protected]> Signed-off-by: Roman Dmytrenko <[email protected]> * V2 scm cleanup (#4464) * chore: handle azure url with git-url Signed-off-by: Mark Phelps <[email protected]> * chore: make scms consistent Signed-off-by: Mark Phelps <[email protected]> * chore: extract scmCreator type Signed-off-by: Mark Phelps <[email protected]> * chore: casting things Signed-off-by: Mark Phelps <[email protected]> --------- Signed-off-by: Mark Phelps <[email protected]> * fix list proposal for azure and gitea Signed-off-by: Roman Dmytrenko <[email protected]> * use correct api url for azure Signed-off-by: Roman Dmytrenko <[email protected]> --------- Signed-off-by: Roman Dmytrenko <[email protected]> Signed-off-by: Mark Phelps <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: Mark Phelps <[email protected]>
1 parent 097843c commit f04a9d6

39 files changed

+1161
-326
lines changed

.mockery.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ packages:
3030
interfaces:
3131
MergeRequestsService: {}
3232
RepositoriesService: {}
33+
go.flipt.io/flipt/internal/coss/storage/environments/git/azure:
34+
interfaces:
35+
Client: {}
3336
go.flipt.io/flipt/internal/coss/license:
3437
interfaces:
3538
Manager: {}

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ import (
276276
"time"
277277

278278
// Third-party packages
279-
"github.com/go-git/go-git/v5"
279+
"github.com/go-git/go-git/v6"
280280
"go.uber.org/zap"
281281

282282
// Local packages

build/go.mod

Lines changed: 16 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ require (
99
github.com/99designs/gqlgen v0.17.70
1010
github.com/Khan/genqlient v0.8.0
1111
github.com/containerd/platforms v0.2.1
12-
github.com/go-git/go-billy/v5 v5.6.2
13-
github.com/go-git/go-git/v5 v5.13.1
12+
github.com/go-git/go-billy/v6 v6.0.0-20250711053805-c1f149aaab07
13+
github.com/go-git/go-git/v6 v6.0.0-20250711134917-1f24ae85fe16
1414
github.com/go-jose/go-jose/v4 v4.1.0
1515
github.com/google/go-cmp v0.7.0
1616
github.com/google/uuid v1.6.0
@@ -39,8 +39,8 @@ require (
3939
go.opentelemetry.io/otel/sdk/metric v1.35.0
4040
go.opentelemetry.io/otel/trace v1.35.0
4141
go.opentelemetry.io/proto/otlp v1.6.0
42-
golang.org/x/mod v0.24.0
43-
golang.org/x/sync v0.14.0
42+
golang.org/x/mod v0.25.0
43+
golang.org/x/sync v0.16.0
4444
google.golang.org/grpc v1.72.0
4545
google.golang.org/protobuf v1.36.6
4646
gopkg.in/yaml.v3 v3.0.1
@@ -55,56 +55,51 @@ require (
5555
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
5656
go.uber.org/multierr v1.11.0 // indirect
5757
go.uber.org/zap v1.27.0 // indirect
58-
golang.org/x/exp v0.0.0-20250506013437-ce4c2cf36ca6 // indirect
58+
golang.org/x/exp v0.0.0-20250531010427-b6e5de432a8b // indirect
5959
)
6060

6161
require (
6262
dario.cat/mergo v1.0.1 // indirect
6363
github.com/Microsoft/go-winio v0.6.2 // indirect
64-
github.com/ProtonMail/go-crypto v1.1.3 // indirect
64+
github.com/ProtonMail/go-crypto v1.3.0 // indirect
6565
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
66-
github.com/cloudflare/circl v1.3.7 // indirect
66+
github.com/cloudflare/circl v1.6.1 // indirect
6767
github.com/containerd/log v0.1.0 // indirect
6868
github.com/coreos/go-oidc/v3 v3.12.0 // indirect
69-
github.com/cyphar/filepath-securejoin v0.3.6 // indirect
69+
github.com/cyphar/filepath-securejoin v0.4.1 // indirect
7070
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
7171
github.com/emirpasic/gods v1.18.1 // indirect
7272
github.com/fatih/color v1.18.0 // indirect
73-
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
73+
github.com/go-git/gcfg/v2 v2.0.2 // indirect
7474
github.com/go-jose/go-jose/v3 v3.0.3 // indirect
7575
github.com/go-logr/logr v1.4.2 // indirect
7676
github.com/go-logr/stdr v1.2.2 // indirect
77-
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
77+
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
7878
github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.3 // indirect
7979
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
8080
github.com/hashicorp/go-hclog v1.6.3 // indirect
8181
github.com/hashicorp/go-uuid v1.0.3 // indirect
8282
github.com/hashicorp/go-version v1.7.0 // indirect
83-
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
8483
github.com/kevinburke/ssh_config v1.2.0 // indirect
8584
github.com/mattn/go-colorable v0.1.14 // indirect
8685
github.com/mattn/go-isatty v0.0.20 // indirect
87-
github.com/onsi/gomega v1.36.3 // indirect
8886
github.com/opencontainers/go-digest v1.0.0 // indirect
8987
github.com/opencontainers/image-spec v1.1.1 // indirect
90-
github.com/pjbgf/sha1cd v0.3.0 // indirect
88+
github.com/pjbgf/sha1cd v0.4.0 // indirect
9189
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
92-
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
90+
github.com/sergi/go-diff v1.4.0 // indirect
9391
github.com/sirupsen/logrus v1.9.3 // indirect
94-
github.com/skeema/knownhosts v1.3.0 // indirect
9592
github.com/sosodev/duration v1.3.1 // indirect
96-
github.com/xanzy/ssh-agent v0.3.3 // indirect
9793
go.flipt.io/flipt/errors v1.45.0 // indirect
9894
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.35.0 // indirect
99-
golang.org/x/crypto v0.38.0 // indirect
100-
golang.org/x/net v0.40.0 // indirect
95+
golang.org/x/crypto v0.40.0 // indirect
96+
golang.org/x/net v0.42.0 // indirect
10197
golang.org/x/oauth2 v0.28.0 // indirect
102-
golang.org/x/sys v0.33.0 // indirect
103-
golang.org/x/text v0.25.0 // indirect
98+
golang.org/x/sys v0.34.0 // indirect
99+
golang.org/x/text v0.27.0 // indirect
104100
google.golang.org/genproto v0.0.0-20241209162323-e6fa225c2576 // indirect
105101
google.golang.org/genproto/googleapis/api v0.0.0-20250505200425-f936aa4a68b2 // indirect
106102
google.golang.org/genproto/googleapis/rpc v0.0.0-20250505200425-f936aa4a68b2 // indirect
107-
gopkg.in/warnings.v0 v0.1.2 // indirect
108103
)
109104

110105
replace (

0 commit comments

Comments
 (0)