Skip to content

soar does not update the local version until you prune and reinstall #128

Description

@Opposite34

Problem

If you have a package without a specified version, and then you specify the version in the packages.toml later, it doesn't apply the version to soar list-installed. You have to comment the package, soar apply --prune it and then uncomment and soar apply to get the version to display properly in soar list-installed

Steps to reproduce

have something along the lines of

[packages]
texlab = { url = "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/latex-lsp/texlab/releases/download/v5.24.0/texlab-x86_64-linux.tar.gz" }

soar apply

and then change the packages.toml to specify version:

[packages]
texlab = { version = "5.24.0", url = "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/latex-lsp/texlab/releases/download/v5.24.0/texlab-x86_64-linux.tar.gz" }

soar apply doesn't do anything, you'd have to comment the package, soar apply --prune, uncomment the package, and then soar apply to make it show version under soar list-installed

Expected behavior

I expected the package to have version attached to it after adding the version without this comment uncomment shenanigans

Soar version (soar -V)

soar-cli 0.9.0

Operating system (if issue is related to OS)

No response

Installation

soar is bootstrapped to be installed from soar itself with
soar = { pkg_id = "github.com.pkgforge.soar.glibc-v4", repo = "bincache" }

Activity

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

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