-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node, Yarn and Docker version check added in dev.sh file #602
Conversation
dev.sh
Outdated
exit 1 | ||
fi | ||
|
||
echo "Node.js, Yarn, and Docker versions are compatible. Proceeding..." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this needs to be printed. In the "happy path" we should show as little noise as possible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
then i can remove this fully and show nothing
Please add a screenshot or screen recording of the change in action in the PR description |
dev.sh
Outdated
@@ -1,5 +1,59 @@ | |||
#!/bin/bash | |||
|
|||
REQUIRED_NODE_VERSION=22.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am interested to know how you found these version's are correct and what is someone have higher version ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think his check uses the required version as the minimum version.
Actually, this is a good spot because the variables should be called MINIMUM_...
instead of REQUIRED_...
.
local node_version yarn_version docker_version | ||
local errors=() | ||
|
||
# Check Node.js version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would love to see this in action attach a video in PR
web-server/src/assets/dora-icon.svg
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's this change ? Try not to commit it if not related.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok sir
@sahitya-chandra Please Add a video and some description to explain why this approach is good. |
Screencast.from.2024-10-17.19-38-30.webm@jayantbh @VipinDevelops I can't change my docker version but I can say it is working fine |
I'd have literally approved and merged it without that change right now. :D |
@jayantbh Sir, I completly mised that |
fixed #168
@jayantbh Sir please check