Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.

Update installer default branch to 0.7#616

Merged
mangelajo merged 3 commits intomainfrom
update-installer-branch
Sep 26, 2025
Merged

Update installer default branch to 0.7#616
mangelajo merged 3 commits intomainfrom
update-installer-branch

Conversation

@mangelajo
Copy link
Copy Markdown
Member

@mangelajo mangelajo commented Sep 15, 2025

Summary by CodeRabbit

  • Chores
    • Updated the installer’s default source to the release-0.7 channel. New installations without an explicit source will now fetch 0.7 packages by default; specifying a custom source still overrides the default.
  • Documentation

@netlify
Copy link
Copy Markdown

netlify Bot commented Sep 15, 2025

Deploy Preview for jumpstarter-docs ready!

Name Link
🔨 Latest commit 7c50301
🔍 Latest deploy log https://app.netlify.com/projects/jumpstarter-docs/deploys/68d67ac62cdfef0008ebd949
😎 Deploy Preview https://deploy-preview-616--jumpstarter-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Sep 15, 2025

Walkthrough

DEFAULT_SOURCE in install.sh was changed from "release-0.6" to "release-0.7". Documentation files were updated to reference release 0.7 and to clarify a TLS warning with a link to issue jumpstarter-dev/jumpstarter#72.

Changes

Cohort / File(s) Summary
Install script default source bump
install.sh
Changed global DEFAULT_SOURCE from "release-0.6" to "release-0.7", affecting the default SOURCE value and help/example text that show the default index/source.
Docs: release version updates
docs/source/getting-started/guides/setup-distributed-mode.md, docs/source/getting-started/installation/packages.md
Updated references from release 0.6 to 0.7; adjusted TLS warning text in distributed setup doc and added note linking issue jumpstarter-dev/jumpstarter#72 about the TLS fix in the next release.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Suggested reviewers

  • kirkbrauer
  • bennyz

Poem

I twitch my whiskers—hop to seven!
A tiny bump, a version heaven.
From six to seven, scripts align,
The index points, the stars in line.
I thump the ground: deploy, enjoy! 🥕✨

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title "Update installer default branch to 0.7" succinctly and accurately captures the primary change in this PR, which updates the installer's default source/version from 0.6 to 0.7 across install.sh and documentation. It is a single clear sentence that conveys the main intent without noise, making it appropriate for history scanning. The title directly matches the file-level summaries provided.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
✨ Finishing touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch update-installer-branch

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 2943015 and 0ef32cd.

📒 Files selected for processing (3)
  • docs/source/getting-started/guides/setup-distributed-mode.md (1 hunks)
  • docs/source/getting-started/installation/packages.md (3 hunks)
  • install.sh (3 hunks)
✅ Files skipped from review due to trivial changes (2)
  • docs/source/getting-started/guides/setup-distributed-mode.md
  • docs/source/getting-started/installation/packages.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • install.sh
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (11)
  • GitHub Check: Redirect rules - jumpstarter-docs
  • GitHub Check: e2e
  • GitHub Check: pytest-matrix (macos-15, 3.12)
  • GitHub Check: pytest-matrix (macos-15, 3.13)
  • GitHub Check: pytest-matrix (ubuntu-24.04, 3.13)
  • GitHub Check: pytest-matrix (ubuntu-24.04, 3.11)
  • GitHub Check: build
  • GitHub Check: pytest-matrix (macos-15, 3.11)
  • GitHub Check: pytest-matrix (ubuntu-24.04, 3.12)
  • GitHub Check: Header rules - jumpstarter-docs
  • GitHub Check: Pages changed - jumpstarter-docs

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@bennyz
Copy link
Copy Markdown
Member

bennyz commented Sep 15, 2025

0.6 referenced in https://github.com/jumpstarter-dev/jumpstarter/blob/0ad1f25fded23d9071b7b3175daac205deff3855/install.sh#L41-L56

maybe should be dynamic

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (3)
install.sh (3)

41-56: Help/usage still mentions 0.6; derive from DEFAULT_SOURCE to avoid drift.

Apply:

-    -s, --source SOURCE    Installation source (default: release-0.6)
+    -s, --source SOURCE    Installation source (default: ${DEFAULT_SOURCE})
                           Available sources:
-                          - release-0.6: Stable release 0.6 (recommended)
+                          - ${DEFAULT_SOURCE}: Stable release ${DEFAULT_SOURCE#release-} (recommended)
                           - latest: Latest stable release (when available)
                           - rc: Latest release candidate (when available)
                           - main: Latest development version
@@
-    $0                    # Install stable release 0.6 (recommended)
-    $0 -s release-0.6    # Install stable release 0.6
+    $0                    # Install stable release ${DEFAULT_SOURCE#release-} (recommended)
+    $0 -s ${DEFAULT_SOURCE}    # Install stable release ${DEFAULT_SOURCE#release-}

80-82: Outdated “Available sources” error; generalize and show example.

-        print_error "Available sources: latest, rc, main, release-0.6"
+        print_error "Available sources: latest, rc, main, release-<major.minor> (e.g., ${DEFAULT_SOURCE})"

191-193: Prefer custom index as primary to avoid pulling a mismatched build from PyPI.

Using --extra-index-url with PyPI as implicit primary may fetch the pinned version from PyPI if present. Make the Jumpstarter index primary and PyPI a fallback.

-    if ! python3 -m pip install --extra-index-url "${index_url}" "jumpstarter-all==${version}"; then
+    if ! python3 -m pip install --index-url "${index_url}" --extra-index-url https://pypi.org/simple "jumpstarter-all==${version}"; then
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 0ad1f25 and 2943015.

📒 Files selected for processing (1)
  • install.sh (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (10)
  • GitHub Check: Redirect rules - jumpstarter-docs
  • GitHub Check: Header rules - jumpstarter-docs
  • GitHub Check: Pages changed - jumpstarter-docs
  • GitHub Check: pytest-matrix (macos-15, 3.11)
  • GitHub Check: pytest-matrix (macos-15, 3.13)
  • GitHub Check: pytest-matrix (ubuntu-24.04, 3.11)
  • GitHub Check: e2e
  • GitHub Check: pytest-matrix (macos-15, 3.12)
  • GitHub Check: pytest-matrix (ubuntu-24.04, 3.13)
  • GitHub Check: pytest-matrix (ubuntu-24.04, 3.12)

Comment thread install.sh
VENV_DIR="${INSTALL_DIR}/venv"
SET_SCRIPT="${INSTALL_DIR}/set"
DEFAULT_SOURCE="release-0.6"
DEFAULT_SOURCE="release-0.7"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Bump to release-0.7: LGTM; sync user-facing text.

Change is correct. Please also update help/usage and the invalid-source message that still reference 0.6.

Run to find stale references:


🏁 Script executed:

#!/bin/bash
rg -n --color=never 'release-0\.6|Stable release 0\.6' -g '!**/dist/**' -g '!**/build/**'

Length of output: 148


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "PWD: $(pwd)"
echo "--- Top-level files ---"
ls -la | sed -n '1,200p' || true

echo "--- File count (maxdepth 3, excluding .git/dist/build) ---"
find . -maxdepth 3 -type f -not -path "./.git/*" -not -path "./dist/*" -not -path "./build/*" -print | wc -l || true

echo "--- .gitignore (first 200 lines) ---"
if [ -f .gitignore ]; then sed -n '1,200p' .gitignore; else echo "(no .gitignore)"; fi

echo "--- rg version ---"
rg --version || true

echo "--- rg search (no ignore, include hidden) for 'release-0.6' or 'Stable release 0.6' ---"
rg -n --hidden --no-ignore -S -e 'release-0\.6' -e 'Stable release 0\.6' -g '!dist' -g '!build' || true

echo "--- rg search for DEFAULT_SOURCE and 'invalid' / 'usage' / 'help' keywords ---"
rg -n --hidden --no-ignore -S -e 'DEFAULT_SOURCE' -e 'invalid-source' -e 'invalid source' -e '\busage\b' -e '\bhelp\b' -g '!dist' -g '!build' || true

echo "--- Fallback grep (excluding common directories) for '0.6' and related strings ---"
grep -RIn --exclude-dir={dist,build,.git,node_modules} -E 'release-0\.6|Stable release 0\.6|DEFAULT_SOURCE|invalid-source|invalid source|\busage\b|\bhelp\b|0\.6' . || true

echo "--- Locate install.sh (case-insensitive) and print up to 300 lines if found ---"
mapfile -t files < <(find . -type f -iname 'install.sh' -not -path './.git/*' -not -path './dist/*' -not -path './build/*' || true)
if [ "${#files[@]}" -gt 0 ]; then
  for f in "${files[@]}"; do
    echo "---- $f ----"
    sed -n '1,300p' "$f" || true
  done
else
  echo "(no install.sh found via find). Searching for DEFAULT_SOURCE occurrences instead:"
  rg -n --hidden --no-ignore -S 'DEFAULT_SOURCE' -g '!dist' -g '!build' || true
fi

Length of output: 61575


Bump to release-0.7 — LGTM; sync user-facing text.

Change is correct. Update remaining help/usage and docs that still reference release-0.6:

  • install.sh — lines 42, 44, 52–53, 81: update default/help text and "Available sources" from release-0.6 → release-0.7.
  • docs/source/getting-started/installation/packages.md — lines 41–42, 76, 168: update table/examples referencing release-0.6 → release-0.7.
  • docs/multiversion.sh — line 4: branch list contains release-0.6 (confirm if it should remain).
  • docs/source/getting-started/guides/setup-distributed-mode.md — line 7: mentions "release 0.6.x" (update if meant to refer to 0.7).
🤖 Prompt for AI Agents
In install.sh around line 15 (DEFAULT_SOURCE="release-0.7") and at lines 42, 44,
52–53, and 81, update the default/help text and the "Available sources" entries
that still reference release-0.6 to release-0.7 so help output matches the new
default; also update docs/source/getting-started/installation/packages.md at
lines 41–42, 76, and 168 to replace any examples/tables referencing release-0.6
with release-0.7; check docs/multiversion.sh line 4 and confirm whether
release-0.6 should be removed or retained in the branch list and update
accordingly; and update
docs/source/getting-started/guides/setup-distributed-mode.md line 7 to change
the text "release 0.6.x" to the appropriate "release 0.7.x" (or neutral wording)
so documentation and scripts are consistent.

@mangelajo mangelajo force-pushed the update-installer-branch branch from 2943015 to 0ef32cd Compare September 23, 2025 10:20
@mangelajo mangelajo enabled auto-merge September 26, 2025 11:36
@mangelajo mangelajo merged commit 34ab330 into main Sep 26, 2025
18 checks passed
@mangelajo mangelajo deleted the update-installer-branch branch September 26, 2025 11:47
@jumpstarter-backport-bot
Copy link
Copy Markdown

Successfully created backport PR for release-0.7:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants