Re:Show HN: Daytona – Open-Source Dev Env Manager from a 15-...
by metcalfc on Wednesday March 06, 2024 @11:56PM
(#39625178)
:wave: Hi. Thanks for taking a look. Yeah, lots of things to improve. What gets me about this script is the the if/else would read better as a case statement. Chalk it up to a small team spending a lot of time re-architecting part of a commercial product out so we could open source it. We wanted to develop in the open and that meant shipping something.
Patches welcome. I'm going to be taking a pass at this script and a powershell script tomorrow. We also want to eventually get past curl and into brew/winget but we wanted to balance that with getting something out the door.
If you like packaging and scripts and want to help out we've got https://github.com/daytonaio/daytona/issues/102 tracking this at the top level.
Re:Show HN: Daytona – Open-Source Dev Env Manager from a 15-...
by metcalfc on Thursday March 07, 2024 @01:30AM
(#39625679)
Thanks for the feedback! https://github.com/daytonaio/daytona/pull/105
Since we're talking about things no one asked, it would further inspire confidence -- and also help your CDN costs! -- if they fetched from your releases page <https://github.com/daytonaio/daytona/releases>; to the best of my knowledge GH offers a "latest" URL so one need not hard-code version numbers in the shell script and at the same time says "this binary was produced from this tag" which the current shell script for sure does not. It turns out $(./daytona version) does cough up the version number but it would be more obvious if it were fetched from a release/tag URL
Thank you for attending my talk :)