Skip to content

Switch Neovim PPA from stable to unstable#19

Merged
yorch merged 2 commits intomainfrom
neovim-unstable
Feb 2, 2026
Merged

Switch Neovim PPA from stable to unstable#19
yorch merged 2 commits intomainfrom
neovim-unstable

Conversation

@yorch
Copy link
Copy Markdown
Owner

@yorch yorch commented Feb 2, 2026

Summary

  • Switch Neovim installation from ppa:neovim-ppa/stable to ppa:neovim-ppa/unstable to get the latest Neovim builds

Test plan

  • Run bash run-tests.sh ubuntu:24.04 to verify Neovim installs from the unstable PPA
  • Confirm nvim --version shows a newer version than the stable PPA provides

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated Neovim installation source to use unstable releases instead of stable versions.

✏️ Tip: You can customize this high-level summary in your review settings.

Copilot AI review requested due to automatic review settings February 2, 2026 02:40
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Feb 2, 2026

Warning

Rate limit exceeded

@yorch has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 14 minutes and 41 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📝 Walkthrough

Walkthrough

Neovim PPA source in bootstrap.sh changed from ppa:neovim-ppa/stable to ppa:neovim-ppa/unstable; no other functional changes were made (install/update steps unchanged). Total diff: one line modified.

Changes

Cohort / File(s) Summary
NeoVim PPA change
bootstrap.sh
Switched Neovim APT source from ppa:neovim-ppa/stable to ppa:neovim-ppa/unstable. No other logic changes; install/update and post-install steps remain the same. (1 line changed)

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 I hopped in the script, made one tiny leap,
Swapped stable for unstable — a version to keep,
Lines barely changed, but the rabbit did sing,
New Neovim flavors — a brisk little spring! ✨

🚥 Pre-merge checks | ✅ 3
✅ 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 accurately and concisely summarizes the main change: switching the Neovim PPA from stable to unstable, which matches the functional change in bootstrap.sh.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch neovim-unstable

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.

@yorch yorch changed the title Update Switch Neovim PPA to unstable and clean up bash formatting Feb 2, 2026
@yorch yorch changed the title Switch Neovim PPA to unstable and clean up bash formatting Switch Neovim PPA from stable to unstable Feb 2, 2026
Copy link
Copy Markdown

@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

🤖 Fix all issues with AI agents
In `@bootstrap.sh`:
- Line 397: The script currently adds the unstable Neovim PPA via the call to
runCmdAndLog add-apt-repository -y ppa:neovim-ppa/unstable which fails on Ubuntu
20.04; update bootstrap.sh to choose the stable PPA for focal or fall back to
stable when the OS version is 20.04: detect the release (e.g., via lsb_release
-rs or /etc/os-release), and replace the unconditional add-apt-repository
invocation with logic that sets the PPA variable to ppa:neovim-ppa/stable for
"20.04" (focal) and ppa:neovim-ppa/unstable for newer releases, then call
runCmdAndLog add-apt-repository -y "$PPA".

logStep "Installing NeoVim..."
# Adds repo for latest neovim version
runCmdAndLog add-apt-repository -y ppa:neovim-ppa/stable
runCmdAndLog add-apt-repository -y ppa:neovim-ppa/unstable
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🌐 Web query:

neovim-ppa/unstable PPA Ubuntu 20.04 focal support

💡 Result:

As of February 2, 2026, the ppa:neovim-ppa/unstable PPA does not publish packages for Ubuntu 20.04 (focal). On the PPA page, the selectable / published series are Jammy (22.04) and newer (Noble 24.04, Plucky 25.04, Questing 25.10, Resolute 26.04), with no Focal entry. [1]

Historically, there were focal builds in this PPA (e.g., recipe builds targeting the Focal series), but focal is not currently supported/published. [2]

Sources: [1] [2]


🏁 Script executed:

# Find and examine the bootstrap.sh file around line 397
find . -name "bootstrap.sh" -type f

Repository: yorch/ubuntu-server-bootstrap

Length of output: 87


🏁 Script executed:

# Search for NeoVim-related installation code
rg -A 5 -B 5 "neovim-ppa" --type sh

Repository: yorch/ubuntu-server-bootstrap

Length of output: 651


NeoVim unstable PPA is incompatible with Ubuntu 20.04, a required supported version.

The ppa:neovim-ppa/unstable does not publish packages for Ubuntu 20.04 (focal). Switching from the stable PPA breaks the bootstrap script on Ubuntu 20.04, which is listed as a supported LTS version. Either:

  1. Use ppa:neovim-ppa/stable for cross-version compatibility
  2. Add logic to use stable PPA on Ubuntu 20.04 and unstable on newer versions
  3. Remove Ubuntu 20.04 from supported versions
🤖 Prompt for AI Agents
In `@bootstrap.sh` at line 397, The script currently adds the unstable Neovim PPA
via the call to runCmdAndLog add-apt-repository -y ppa:neovim-ppa/unstable which
fails on Ubuntu 20.04; update bootstrap.sh to choose the stable PPA for focal or
fall back to stable when the OS version is 20.04: detect the release (e.g., via
lsb_release -rs or /etc/os-release), and replace the unconditional
add-apt-repository invocation with logic that sets the PPA variable to
ppa:neovim-ppa/stable for "20.04" (focal) and ppa:neovim-ppa/unstable for newer
releases, then call runCmdAndLog add-apt-repository -y "$PPA".

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR makes small style adjustments to arithmetic and redirection expressions and changes the Neovim APT repository used during bootstrap. The primary behavioral change is that Neovim will now be installed from the unstable PPA instead of the stable one.

Changes:

  • Normalize spacing in redirections and arithmetic expansions in runCmdAndLog, startSpinner, and the elapsed-time calculation at the end of the script.
  • Change the Neovim installation source from ppa:neovim-ppa/stable to ppa:neovim-ppa/unstable.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

logStep "Installing NeoVim..."
# Adds repo for latest neovim version
runCmdAndLog add-apt-repository -y ppa:neovim-ppa/stable
runCmdAndLog add-apt-repository -y ppa:neovim-ppa/unstable
Copy link

Copilot AI Feb 2, 2026

Choose a reason for hiding this comment

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

Switching from ppa:neovim-ppa/stable to ppa:neovim-ppa/unstable changes this step from installing the latest stable Neovim to tracking an "unstable" channel, which can introduce breaking changes or repository issues over time and makes bootstrap runs less predictable. If the intent is to get the newest features, consider either keeping the stable PPA and updating when needed, making the channel (stable vs unstable) configurable via a flag/env var, or clearly documenting that this script now depends on an unstable PPA so users understand the tradeoff.

Copilot uses AI. Check for mistakes.
The unstable PPA package does not register nvim in the vi/vim
alternatives groups, so update-alternatives --set fails with
exit code 2. Switch to --install which both registers and
selects the alternative with priority 110.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@yorch yorch merged commit e36754d into main Feb 2, 2026
4 checks passed
@yorch yorch deleted the neovim-unstable branch February 2, 2026 02:58
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