mrlunchbox777 / basic-setup

basic box setup
MIT License
6 stars 3 forks source link

feature: Support the pinned-version in the index file #129

Open mrlunchbox777 opened 5 months ago

mrlunchbox777 commented 5 months ago

Contact Details

mrlunchbox777@gmail.com

Feature Description

The pinned version has been added to the schema, but doesn't do anything. It should actually pin the version.

Why?

Pinned versions are important for stability.

What-should happen?

This should be done after https://github.com/mrlunchbox777/basic-setup/issues/119

The pinned version should be respected when managing packages, i.e. install or up/downgrade to the version in the index file.

Covers this TODO.

Steps to Test

  1. Set a pinned version on a package, it can be a new install, upgrade, or downgrade, just not latest
  2. Run the environment validation with the package selected
  3. The package that is installed should be the version set in step 1
  4. Remove the pinned version
  5. Run the environment validation with the package selected
  6. The package that is installed should be latest

Code of Conduct