Skip to content

Replace sequential "how far" installer with interactive multi-select module chooser#44

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/review-issue-37-comments
Draft

Replace sequential "how far" installer with interactive multi-select module chooser#44
Copilot wants to merge 2 commits into
mainfrom
copilot/review-issue-37-comments

Conversation

Copy link
Copy Markdown

Copilot AI commented Mar 26, 2026

The shared installer forced users through a sequential "how far do you want to go?" prompt, making it impossible to skip earlier steps or run non-contiguous modules.

Changes

  • shared/setup.sh — replaces the PS3/select sequential loop with a multi_select_menu function; users navigate with ↑/↓, toggle with SPACE, and confirm with ENTER; selected modules run in their original numbered order regardless of selection order; empty selection re-prompts
  • custom-words.txt — adds civis, cnorm, setab, padlen (new tput capability names) to prevent cspell failures

Since all flavor setup-shared.sh files are symlinks to shared/setup.sh, this single change covers every supported OS flavor.

Select the modules to install:
 ◉ Updating OS packages and prepare the system
 ◉ Install Docker
 ○ Authenticate to ghcr.io
 ◉ Install configured stacks
 ○ Install GitHub Actions runner

Use ↑/↓ to move, SPACE to select/deselect, ENTER to confirm.

The --stacks-only and --runner-only flags in init.sh are preserved for non-interactive/scripted use.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/graphql
    • Triggering command: `/usr/bin/gh gh issue comment 37 --repo uicpharm/docker-host --body ## Architectural Analysis & Implementation Roadmap

Great idea ��� and the multi_select_menu function already posted here is exactly the right tool. Here's a breakdown of what would need to change, what to watch out for, and a couple of design decisions` (http block)

  • Triggering command: /usr/bin/gh gh auth status (http block)
  • https://api.github.com/repos/uicpharm/docker-host/issues/37
    • Triggering command: /usr/bin/curl curl -s -o /dev/null -w %{http_code} -H Authorization: token ****** -H Accept: application/vnd.github.v3+json REDACTED (http block)
  • https://api.github.com/repos/uicpharm/docker-host/issues/37/comments
    • Triggering command: /usr/bin/curl curl -v -X POST -H Authorization: ****** -H Content-Type: application/json -H Accept: application/vnd.github+json -H X-GitHub-Api-Version: 2022-11-28 REDACTED -d {"body":"test"} (http block)
    • Triggering command: /usr/bin/curl curl -s -X POST -H Authorization: ****** -H Content-Type: application/json -H Accept: application/vnd.github+json -H X-GitHub-Api-Version: 2022-11-28 REDACTED -d {"body":"test"} (http block)

If you need me to access, download, or install something from one of these locations, you can either:


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

…le chooser

Addresses issue #37. Replaces the 'how far do you want to go?' sequential
selection in shared/setup.sh with a multi_select_menu function that lets
users check/uncheck individual modules. Only checked modules run, in their
original numbered order. All flavor setup-shared.sh symlinks pick up the
change automatically.

Also adds civis, cnorm, setab, and padlen to custom-words.txt for cspell.

Co-authored-by: joshuacurtiss <6599042+joshuacurtiss@users.noreply.github.com>
Agent-Logs-Url: https://github.com/uicpharm/docker-host/sessions/961946ca-dce0-4c54-90a9-a4aed510bd81
Copilot AI changed the title [WIP] Add groundwork comments for issue #37 Replace sequential "how far" installer with interactive multi-select module chooser Mar 26, 2026
Copilot AI requested a review from joshuacurtiss March 26, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants