[BUG] The `OSpackages.sh` Script's Help-Function Does Not Work If Executed On Unrecognized Platform
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 10
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
The OSpackages.sh script's help-function does not work if executed on unrecognized platform
Severity
Completely Broken (No work-around evident)
To Reproduce
Steps to reproduce the behavior:
- Install project contents onto a system not supported by the
OSpackages.shscript'sGetDefaultReposfunction - Invoke script with
-hor--helpflags - Script begins to execute, but aborts after printing the
-a List of repository-names to activateline
Expected behavior
The OSpackages.sh script's help-function should work anywhere that a BASH or similar interactive shell works
Deviance Description
The OSpackages.sh script's help-function only works on hosts where the GetDefaultRepos function succeeds
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in OSpackages.sh, tracing the help handling and its call to GetDefaultRepos. Reproduce the issue with -h or --help on an unsupported platform, then verify that help output completes without requiring platform-specific repository detection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, shell
- Domain
- cli, devops
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100