File tree Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,15 @@ func (r *Mode) fetchRepository(application *api.Application) (err error) {
68
68
err = errors .New ("Application repository not defined." )
69
69
return
70
70
}
71
+ var options []any
72
+ idapi := addon .Application .Identity (application .ID )
73
+ identity , found , err := idapi .Find ("source" )
74
+ if err != nil {
75
+ return
76
+ }
77
+ if found {
78
+ options = append (options , identity )
79
+ }
71
80
SourceDir = path .Join (
72
81
SourceDir ,
73
82
strings .Split (
@@ -78,7 +87,7 @@ func (r *Mode) fetchRepository(application *api.Application) (err error) {
78
87
r .Repository , err = repository .New (
79
88
SourceDir ,
80
89
application .Repository ,
81
- application . Identities )
90
+ options ... )
82
91
if err != nil {
83
92
return
84
93
}
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ toolchain go1.22.0
7
7
require (
8
8
github.com/gin-gonic/gin v1.9.1
9
9
github.com/konveyor/analyzer-lsp v0.7.0-alpha.2.0.20250528164516-ec5a199590bf
10
- github.com/konveyor/tackle2-addon v0.7.0-rc.1.0.20250604115244-17140aad3dd4
10
+ github.com/konveyor/tackle2-addon v0.7.2-0.20250710151242-382302a6e48d
11
11
github.com/konveyor/tackle2-hub v0.7.0-alpha.2.0.20250613230242-66dbfe5a9563
12
12
github.com/onsi/gomega v1.31.1
13
13
github.com/rogpeppe/go-internal v1.10.0
Original file line number Diff line number Diff line change @@ -151,8 +151,8 @@ github.com/klauspost/cpuid/v2 v2.2.4 h1:acbojRNwl3o09bUq+yDCtZFc1aiwaAAxtcn8YkZX
151
151
github.com/klauspost/cpuid/v2 v2.2.4 /go.mod h1:RVVoqg1df56z8g3pUjL/3lE5UfnlrJX8tyFgg4nqhuY =
152
152
github.com/konveyor/analyzer-lsp v0.7.0-alpha.2.0.20250528164516-ec5a199590bf h1:zzDuUJmF2wGW1ra+upIMHHEKC9MUfjvD5Ehm4jaX188 =
153
153
github.com/konveyor/analyzer-lsp v0.7.0-alpha.2.0.20250528164516-ec5a199590bf /go.mod h1:/7nwwqN27iODJy/PBai9W16KH91LrPGx1nwu21+rCOg =
154
- github.com/konveyor/tackle2-addon v0.7.0-rc.1.0.20250604115244-17140aad3dd4 h1:cXh9HGpCMFnmUMdO6/5rbC28pFrhMps5fVyqBqYQk9Y =
155
- github.com/konveyor/tackle2-addon v0.7.0-rc.1.0.20250604115244-17140aad3dd4 /go.mod h1:mITXAU1o/8ZdBoGacaTZxXORfFe1q2S74W9RfTHHm7A =
154
+ github.com/konveyor/tackle2-addon v0.7.2-0.20250710151242-382302a6e48d h1:+ui8IV7S5g4Rhbr8Kt7O3su64CsNnNeEexgYgTofHq8 =
155
+ github.com/konveyor/tackle2-addon v0.7.2-0.20250710151242-382302a6e48d /go.mod h1:mITXAU1o/8ZdBoGacaTZxXORfFe1q2S74W9RfTHHm7A =
156
156
github.com/konveyor/tackle2-hub v0.7.0-alpha.2.0.20250613230242-66dbfe5a9563 h1:LAcvID6gNNVQlFeiNTvLley0+yYfb+tjZTGQdXSGzYg =
157
157
github.com/konveyor/tackle2-hub v0.7.0-alpha.2.0.20250613230242-66dbfe5a9563 /go.mod h1:RdQChIneyr3sRRg9X9r2f+EYGLVKXVPiFApOSy3Nq0U =
158
158
github.com/kr/pretty v0.2.0 /go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI =
You can’t perform that action at this time.
0 commit comments