-
Notifications
You must be signed in to change notification settings - Fork 18
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
Change in options, Added separate step for install Prerequisites. #278
Change in options, Added separate step for install Prerequisites. #278
Conversation
WalkthroughRecent updates to the JeMPI local deployment process have enhanced clarity and user experience. The Bash script's options menu now includes a newly added option for installing prerequisites and refined descriptions for existing options, ensuring a more intuitive deployment flow. The restructuring of case statements and removal of redundant functions streamline the script's logic. Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
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.
Actionable comments posted: 1
Outside diff range, codebase verification and nitpick comments (1)
devops/linux/docker/deployment/deploy-local.sh (1)
Line range hint
158-215
:
Usepushd ... || exit
orpopd ... || exit
for error handling.Ensure that the
pushd
andpopd
commands handle errors properly.- pushd "$JEMPI_HOME/devops/linux/docker/deployment/reboot" + pushd "$JEMPI_HOME/devops/linux/docker/deployment/reboot" || exit - popd + popd || exit - pushd "$JEMPI_HOME/devops/linux/docker/deployment/down" + pushd "$JEMPI_HOME/devops/linux/docker/deployment/down" || exit - popd + popd || exitTools
Shellcheck
[warning] 148-148: Use 'popd ... || exit' or 'popd ... || return' in case popd fails.
(SC2164)
[warning] 171-171: Use 'pushd ... || exit' or 'pushd ... || return' in case pushd fails.
(SC2164)
[warning] 173-173: Use 'popd ... || exit' or 'popd ... || return' in case popd fails.
(SC2164)
[warning] 177-177: Use 'pushd ... || exit' or 'pushd ... || return' in case pushd fails.
(SC2164)
[warning] 179-179: Use 'popd ... || exit' or 'popd ... || return' in case popd fails.
(SC2164)
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (2)
- README-Install.md (1 hunks)
- devops/linux/docker/deployment/deploy-local.sh (5 hunks)
Additional context used
LanguageTool
README-Install.md
[typographical] ~40-~40: Two consecutive dots
Context: ... - Option 6: Install Prerequisites.. ## Backup and Restore Functionality ...(DOUBLE_PUNCTUATION)
Shellcheck
devops/linux/docker/deployment/deploy-local.sh
[warning] 171-171: Use 'pushd ... || exit' or 'pushd ... || return' in case pushd fails.
(SC2164)
[warning] 173-173: Use 'popd ... || exit' or 'popd ... || return' in case popd fails.
(SC2164)
[warning] 177-177: Use 'pushd ... || exit' or 'pushd ... || return' in case pushd fails.
(SC2164)
[warning] 179-179: Use 'popd ... || exit' or 'popd ... || return' in case popd fails.
(SC2164)
Additional comments not posted (2)
devops/linux/docker/deployment/deploy-local.sh (2)
12-19
: LGTM!The options menu has been updated with clear and consistent descriptions.
151-151
: LGTM!The changes in the
restore_db
function are correct and handle user confirmation properly.
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.
Actionable comments posted: 0
Outside diff range, codebase verification and nitpick comments (2)
README-Install.md (2)
33-40
: Typo: Fix the punctuation in the options menu.There is a typo in the numbering of the options and an extra period at the end of Option 8.
- - **Option 8:** Install Prerequisites.. + - **Option 8:** Install Prerequisites.Tools
LanguageTool
[typographical] ~40-~40: Two consecutive dots
Context: ... - Option 8: Install Prerequisites.. ## Backup and Restore Functionality ...(DOUBLE_PUNCTUATION)
59-59
: Typo: Fix the sentence structure in the Dgraph backup description.The sentence structure is incorrect and needs to be fixed for better readability.
- - Dgraph backup process creates a folder with a timestamp, and inside it generate the Json file of data. + - Dgraph backup process creates a folder with a timestamp, and inside it generates a JSON file of the data.
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- README-Install.md (2 hunks)
Additional context used
LanguageTool
README-Install.md
[typographical] ~40-~40: Two consecutive dots
Context: ... - Option 8: Install Prerequisites.. ## Backup and Restore Functionality ...(DOUBLE_PUNCTUATION)
Summary by CodeRabbit
New Features
Documentation