Separate labels from main script

Open
#1,999 12 comments 2 reactions 0 assignees View on GitHub

Maintainers usually reply within 3 days

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
shell, zsh
Domain
tooling

Research direction

Start by reading the main Installomator script and locating the labels case statement; the issue does not name specific file paths or tests. Clarify the separate labels file path, version check, download/update behavior, and how the script sources it. Done means labels are loaded from a current local file, with missing or outdated files updated automatically.

Written by the indexing model from the issue text.

Description

Based on my daily use of Installomator, I believe the overall experience could be significantly enhanced by separating the labels from the main Installomator script. Here's a proposed approach on how to implement this process:

Initial Check: On its first run, Installomator should verify the existence of a specified local file path to determine if a separate file containing the labels case statement is present. Additionally, it should check for a version number within that file to ensure it's current.

File Update: If the labels file is either missing or outdated, Installomator should automatically download and update the local labels file to ensure it has the latest information.

Execution: During execution, Installomator should source the labels case statement directly from the local labels file. This will streamline the process and ensure that the script always utilizes the most up-to-date labels.

By implementing this logic, the management and updating of labels would become more efficient, improving the overall functionality and user experience of Installomator.

Dominant language
Shell
Stars
1.5k
Forks
682
Avg merge
4d 20h
Merged PRs (30d)
94

Getting set up

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.

More from Installomator/Installomator

All issues in Installomator/Installomator

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.