Visitar URL original
Comparing main...scripts/update-stack · tailscale-dev/ScaleTail · GitHub
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tailscale-dev/ScaleTail
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: tailscale-dev/ScaleTail
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: scripts/update-stack
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 7 commits
  • 6 files changed
  • 1 contributor

Commits on Oct 29, 2026

  1. Scripts: add a stack update script

    scripts/update-stack.sh checks stack folders that were copied out of a clone
    against the latest version in the repository and updates them with a
    three-way merge, so edits to .env and compose.yaml survive. It reads the
    upstream files with git only, never prints .env values, makes a backup
    before it writes, and never restarts containers.
    
    scripts/test-update-stack.sh tests it against a throwaway repository, and a
    new workflow runs ShellCheck and the test on changes to scripts/.
    jackspiering committed Oct 29, 2026
    Configuration menu
    Copy the full SHA
    ad83c53 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2026

  1. Scripts: simplify the update script for Linux

    Download the service from GitHub instead of reading a full clone, and
    update compose.yaml and .env with a three-way merge against the upstream
    files that the last run saved in .scaletail/. This drops the base
    detection, the marker commit, --base, --ref and --no-fetch.
    
    - The first run replaces compose.yaml with a backup, and adds missing
      .env variables.
    - A conflict writes markers into the file, after a backup, and the next
      run refuses until they are resolved.
    - Target bash and GNU tools on Linux, not bash 3.2 and BSD.
    jackspiering committed Oct 30, 2026
    Configuration menu
    Copy the full SHA
    cae5aac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6c8e0ac View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    990d7db View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2026

  1. Configuration menu
    Copy the full SHA
    a20d0b3 View commit details
    Browse the repository at this point in the history
  2. Scripts: summarize compose changes instead of a diff

    The first update printed a unified diff of compose.yaml. Comment and
    context lines hid the settings that changed. Print a short overview:
    one line per changed setting, and a single line when only comments differ.
    jackspiering committed Nov 2, 2026
    Configuration menu
    Copy the full SHA
    8b9d878 View commit details
    Browse the repository at this point in the history
  3. Scripts: name what differs in compose.yaml instead of listing it

    The overview of the first update still printed many lines for an old
    stack: fragments of the serve config, keys without their service, and
    values such as an auth key that old stacks set in compose.yaml. Print
    one label instead: settings differ, or only comments or spacing. After
    --apply, print the diff command that compares the backup with the new
    file. The script now prints no contents of compose.yaml or .env.
    jackspiering committed Nov 2, 2026
    Configuration menu
    Copy the full SHA
    73732ee View commit details
    Browse the repository at this point in the history
Loading