remove up flag on spin build
With #1776, we will have a build flag on spin up. We should remove the up flag on spin build with spin 2.0 since that is an opportunity for a breaking change.
https://github.com/fermyon/spin/pull/1776#issuecomment-1726189760
This seems like it could break a lot of people's muscle memory - is there a strong reason for removing it?
That's a good point. Reasoning is from the thread mentioned above. There are now 3 ways to do the same thing. It'd be nice to consolidate but perhaps removing the flag from build altogether doesn't have to be the way to do it. Perhaps, we can first switch to all the docs using spin up --build rather than spin build --up and on the next major version we could remove the up flag from build. Do you think that makes sense? or would you rather have spin build --up forever (for now)?
Without telemetry, it's hard to say how prevalent that muscle memory would be. My removal plan would be:
- Switch docs over to use
up --buildand wait (for people to widely see the new pattern) - Announce plan to deprecate
build --upand wait (to gather reaction and to let the message percolate out) - Deprecate
build --upand wait (for feedback and complaints) - Remove
build --up
Steps 3 and 4 feel like major version events, though others may disagree.
(By the way, what is the third way to do the same thing? I can only think of build --up and up --build. Is it spin build && spin up?)
That sounds like a great plan @itowlson !
third way to iterate locally being spin watch