Notice: proposed removal of dfx bootstrap and dfx replica commands #3163
Closed
ericswanson-dfinity
announced in
Announcements
Replies: 1 comment
-
Removed in dfx 0.15.0. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The
dfx bootstrap
anddfx replica
commands each provide part of the functionality thatdfx start
does:dfx bootstrap
launchesicx-proxy
.dfx replica
launchesreplica
oric-ref
,ic-btc-adapter
,ic-https-outcalls-adapter
, and so forth.Here is a non-exhaustive list of differences:
dfx stop
stops the processes launched bydfx start
, but not bydfx bootstrap
ordfx replica
.replica
process exits,dfx start
will restart theicx-proxy
process after restarting the replica.dfx bootstrap
can't do this.dfx replica
by default runs the replica on port 8080, whiledfx start
uses a random port.Error: The network configuration was changed. Run dfx start with --clean.
fromdfx replica
But most of all, there is considerable overhead in maintaining these separate commands. We have to accompany any change to
dfx start
with an equivalent change to one of the other two commands, and have to test those changes too.We could spend time and effort to correct some of this, but if there isn't a strong rationale for using
dfx bootstrap
anddfx replica
instead ofdfx start
, we'd be better off removing them.So we're proposing to remove the
dfx bootstrap
anddfx replica
commands altogether. We'd deprecate them in an upcoming version and remove them after that.If you have a good reason why we should keep the
dfx bootstrap
anddfx replica
commands, please tell us here!Beta Was this translation helpful? Give feedback.
All reactions