Your Name 5b9dea2118
gates / consistency-and-conventions (push) Successful in 22s
test: share-client ask_mountpoint — regression for t=type manual mountpoint
Permanent coverage for the 2026-09-07 share mountpoint UX change
(commit 35eb90a): the REAL ask_mountpoint body is brace-extracted from
each client file (smb + nfs), exercised through the real common.sh +
share-lib.sh helper chain via the deterministic non-TTY stdin path, with
a fake sudo shim (records to SUDO_LOG, honors SUDO_FAIL) so no real
filesystem is touched.

Covers: existing dir used as-is (rc 0, provable NO confirm / NO mkdir
via empty SUDO_LOG) added by 35eb90a; new-dir confirm=y creates via sudo
mkdir; confirm=n and confirm=EOF both fail closed rc 1; existing
non-directory rejected 'not a directory'; relative / trailing-slash /
system paths (/etc, /root, /home/*/.ssh*) and empty-EOF all rc 1 with no
side effects; mkdir failure rc 1. Stdout purity (path only). Static
guards fail if anyone regresses n=new / n|N / ask_new_mountpoint, and
verify the existing-dir [-d] branch precedes confirm/mkdir. Byte-symmetry
guard keeps smb/nfs bodies identical.

117 checks new (18 files / 416 total). Every case can genuinely fail
(negative-control verified by Tester). Hard-skip contract respected: 0
skips — all cases deterministic non-interactively.

Verified: make check OK, make lint 0 FAIL/0 WARN, make test 18 files /
416 checks / 0 fail / 0 skip (~46s), bash -n clean, git diff --check clean.
2026-09-07 08:30:38 -04:00
.
2026-07-28 10:28:11 -04:00

Linux_post_install — Personal Bootstrap & Homelab Toolkit

One command turns a bare Debian/Ubuntu install into a fully productive machine.

What is this

After reinstalling Linux you usually need to install packages, set up SSH, configure a firewall, and install apps. This repo automates all of that in one go.

It is a personal toolkit — a bootstrap script, a unified pos CLI for everyday tasks, optional app installers, and self-hosted services via ScaleTail + Tailscale.

What you get:

  • 25+ system packages installed automatically
  • The pos CLI: AI (Gemini chat), network, Docker (compose + vbox VMs), media, system, SSH, share (USB over network + NFS), communication (Telegram), and entertainment (public-API plugins → Telegram) tools
  • Wi-Fi hotspot tools (create_ap, wihotspot-gui) via pos network hotspot
  • pos tree — browse the whole CLI: categories, commands, and subcommands
  • 15 optional desktop apps (VS Code, Brave, OBS, Tailscale, …) — pick what you want
  • 119+ self-hosted services with Tailscale access (Jellyfin, Home Assistant, …)
  • systemd services for SSH agent, boot-time automation, and a daily Telegram health digest (pos system health)
  • Everything lands in /usr/local/bin/ — you can delete the repo after install

Quick Start

git clone https://gitea.skink-platy.ts.net/admin/Linux_post_install.git
cd Linux_post_install
./install.sh              # core: packages + CLI + services + ScaleTail
./install.sh --feature    # also install features/ scripts (asks before overwriting)
./install.sh --apps       # also install optional desktop apps (interactive)
Flag What it does
--feature Install features/ scripts to /usr/local/bin/, sets their flags
--apps Interactive app picker after core install
--full Core install + all apps (non-interactive)
--dry-run Preview without executing
--skip <phase> Skip a phase: preinstall, scripts, postinstall, scalepoint, apps
--steps <spec> Run only specific phases, e.g. --steps 1,3
--no-color Disable colored output

Documentation

Topic Where
Docs index DOC/README.md
pos HOW-TO guides (recipes + troubleshooting) DOC/HOWTO.md
Core scripts (installer, libs, features) — how they work + config DOC/SCRIPTS.md
pos CLI reference (all commands, compose config, wrappers) DOC/POS.md
Optional apps (picker + full catalog) DOC/APPS.md
Systemd services & bash completion DOC/SYSTEMD.md
Developer guide (add tools/apps/features) DOC/DEV.md
Algorithm diagrams DOC/algorithm.md
S
Description
No description provided
Readme 14 MiB
Languages
Shell 99.9%