plus3it / plus3it/amigen8

[BUG] The `OSpackages.sh` Script's Help-Function Does Not Work If Executed On Unrecognized Platform

Open
#51 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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:

  1. Install project contents onto a system not supported by the OSpackages.sh script's GetDefaultRepos function
  2. Invoke script with -h or --help flags
  3. Script begins to execute, but aborts after printing the -a List of repository-names to activate line

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.