Skip to content

Commit

Permalink
chore(docs): Add note about version overrides. Fix wrong md link
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziwi01 committed Sep 3, 2024
1 parent c28f984 commit 1608ef4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 0 additions & 1 deletion .latest-versions.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
github_packages:
neovim: latest
lunarvim: latest
diff_so_fancy: latest
bat: latest
zoxide: latest
Expand Down
8 changes: 7 additions & 1 deletion docs-web/docs/main/customization/20-versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:::warning[Latest defaults]
Please note that all software versions since 2.0.0 are set to 'latest', including `master` branch.

If you need to have particular software version static, add it to [overrides.yml](./10-variables)
If you need to have particular software version static, add it to [overrides.yml](./variables)

This change ensure seamless support for both Ubuntu 22 and 24
:::
Expand All @@ -21,3 +21,9 @@ Also, it saves/updates them in `./current-versions.yml`. This file is added to `
<br />

If you use `master` branch (which has all the versions set to `latest`), and you want stability for particular component, you can copy any of those outputs and add them to your `ansible/vars/overrides.yml` so this version will be used for any subsequent runs.

:::note[Overriding one version in a group]
For overriding only one package in a group (e.g `github_packages`), you need to set your desired version, but all the others need to be set to `latest`. In some cases `latest` can be something different (like `master` or `main`). You can find the reference in `latest-versions.yml`.

Please also note, that not every software version supports `latest`. Some need to be set explicitly. See `ansible/roles/software/vars/main.yml` for all static vars.
:::

0 comments on commit 1608ef4

Please sign in to comment.