kurtosis-tech / kurtosis

A platform for packaging and launching ephemeral backend stacks with a focus on approachability for the average developer.
https://docs.kurtosistech.com/
Apache License 2.0
313 stars 42 forks source link

add something similar to the replace statement in Golang #770

Closed h4ck3rk3y closed 9 months ago

h4ck3rk3y commented 1 year ago

Background & motivation

Parithosh was trying to run his own fork of eth2-package with his own fork of the eth-network-package. He manually went and replaced some occurrences of kurtosis-tech with parithosh but he didn't get all of them and that was confusing for him as it still seemed to run old versions of the code instead of his changes

I went and ran

find . -type f -name '*.star' -exec sed -i '' s/kurtosis-tech/parithosh/g {} +

to catch them all and have suggested the changes to him

Desired behaviour

Either suggest the sed workflow or have a way of doing replaces in the kurtosis.yml

replaces:
   "github.com/kurtosis-tech/eth-network-package":  "github.com/parithosh/eth-network-package"

How important is this to you?

Painful; the lack of this feature makes using Kurtosis frictionful.

h4ck3rk3y commented 11 months ago

Barnabas ran into this! He will be plus one'ing this or adding a comment. In his case he wanted the eth2-package to depend on a branch of the eth-network-package

h4ck3rk3y commented 10 months ago

Closing in favor of #1098