HiveMinds / HiveMinds/tw-install
Implement validity check of user input for taskwarrior configuration directly after input.
- Dominant language
- Shell
- Stars
- 20
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
Currently errors in the input values of the arguments to the AutoInstallTaskwarrior.jar are checked only during running of AutoInstallTaskwarrior.jar. However, before that can run, the wsl needs to be downloaded and installed, java needs to be installed in the wsl, that all in all takes about 10 minutes.
One does not want to make the user wait 10 minutes only to find out the user did not enter commands that can be processed correctly/(entered erroneous configuration settings). Hence you want to check immediately upon asking what kind of taskwarrior configuration the user wants (guided, closed questions), whether the responses can be processed correctly.
And request improved user answers (with suggestive feedback) directly, so that once the installation is underway, the user can go and do something else (unattended installation).
TODO:
- Decide on which script type/programming language the installation
setup.<extenstion>is written. - Write all required user questions (from
AskUserInput.initialiseQuestionsPreInstall()). - Implement immediate user answer validity, and ask improved input if required.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with AskUserInput.initialiseQuestionsPreInstall() and trace how its questions lead to the AutoInstallTaskwarrior.jar run and WSL setup. Decide where the setup script belongs, then ensure all pre-install answers are checked immediately, invalid responses receive suggestive feedback, and installation begins only after the inputs can be processed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, shell
- Domain
- cli, devops
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100