Skip to content

soar update downgrades nightly neovim #160

@gaspatxo

Description

@gaspatxo

Problem

soar update downgrades neovim from latest nightly to latest stable. When nightly is explicitly requested in the TOML file.

Steps to reproduce

Add this to .config/soar/packages.toml:

neovim = {
  github = "neovim/neovim",
  asset_pattern = "nvim-linux-x86_64.appimage",
  version = "nightly"
}

Then, run soar apply to install the latest nightly release of neovim.

Now, when running soar update neovim is downgraded to 11.6 and is modified packages.toml to fix the version to 11.6.

> soar update
⠏ [1/1] neovim#neovim.neovim               [━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━]   3.47 MiB/s    10.53 MiB/10.53 MiB ETA: 0s

╭─────────────────╮
│ Update Summary  │
├───────────┬─────┤
│ ✓ Updated │ 1/1 │
╰───────────┴─────╯
Updated version to 0.11.6 for 'neovim' in /home/gas/.config/soar/packages.toml

Expected behavior

soar update upgrades neovim the latest nightly version, respecting the config.

Soar version (soar -V)

soar-cli 0.11.0

Operating system (if issue is related to OS)

Arch

Installation

One-liner from readme

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions