0chain / 0chain/zcnwebappscripts

chimney script: add a prompt before deleting the previous blobber

Open Beginner friendly
#121 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
1
Forks
2
PR merge metrics
No merged PRs in 30d

Description

currently, when a user runs chimney script, and if there any previous blobber its data will be erased without warning.

We if there is a previous blobber deployment, we should prompt the user and show a warning telling:
"A blobber already exists on this server. Do you wish to delete blobber currently deployed on this server [N/y]:"

Contributor guide

No contributing guide indexed for this repository

Research direction

Find the chimney script in the repository, likely a shell script that handles blobber deployment. Look for the section where it checks for an existing blobber and deletes it. Add a prompt using 'read' to ask for user confirmation before deletion. Test the script locally to ensure the warning appears and the deletion proceeds only on 'y' or 'Y'.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
70/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.