https://flyte.org logo
#ask-the-community
Title
# ask-the-community
u

少琪李

10/12/2023, 5:22 AM
Hello Flyte Community! I'm new to flyte and now practising an issue that will process through flyctl and flyteidl, can I ask how to replace the required form flytectl/go.mod to connect to local flyte/flyteidl file? since I use
replace <http://github.com/flyteorg/flyteidl|github.com/flyteorg/flyteidl> v1.5.12 => /home/jill/IdeaProjects/flyte/flyteidl
in flytectl/go.mod but it show the invalid version go error:
y

Yee

10/12/2023, 7:58 AM
you should be on the monorepo no? (the main flyte repo)
with that repo, shouldn’t need to muck around with the replace. changes that you make locally to the idl folder should automatically take effect
u

少琪李

10/12/2023, 9:16 AM
Hi, @Yee, thanks for the response but the flytectl is not in monorepo?
y

Yee

10/12/2023, 9:48 AM
oh flytectl right
yeah replace with local version in flyte repo
what’s that message from?
run
go mod tidy
first
u

少琪李

10/12/2023, 10:10 AM
the error message is from flytectl, since I only modify the flytectl/go.mod and did not modify any file in flyte repo
y

Yee

10/12/2023, 10:57 AM
maybe @Eduardo Apolinario (eapolinario) will know more tomorrow
yeah my replacements are not working either… failing to tidy
maybe it just needs the migration
u

少琪李

10/12/2023, 11:27 AM
okay, thanks a lot
k

Ketan (kumare3)

10/12/2023, 1:33 PM
Flytectl is not in monorepo yet @Yee
e

Eduardo Apolinario (eapolinario)

10/13/2023, 12:49 AM
https://github.com/flyteorg/flytectl/pull/429 is not merged yet, but it shows the method we're going to use to update the references to monorepo components.