From 0c2e6680e024b52fba7ffa99c676c92c41af8823 Mon Sep 17 00:00:00 2001 From: Ronald Record Date: Tue, 2 Apr 2024 08:53:13 -0700 Subject: [PATCH] Pin all AstroNvim configs to v3.45.3 for now --- CHANGELOG.md | 8 ++++++++ ReleaseNotes.md | 11 +++++++++-- VERSION | 4 ++-- lazyman.sh | 7 +++++-- 4 files changed, 24 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 738d35c4..7b776a1f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,14 @@ ### 🐞 Fixed +## v3.1.5r1 + +### ⚡️ Added + +### 🐞 Fixed + +- Pin all `AstroNvim` configuration initializations to `v3.45.3` for now + ## v3.1.4r3 ### ⚡️ Added diff --git a/ReleaseNotes.md b/ReleaseNotes.md index 72c93ffa..b14e86f7 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -1,5 +1,12 @@ ## Lazyman Release Notes +## AstroNvim temporary fix + +This release addresses the breaking change in `AstroNvim` v4, released `01-Apr-2024`. +For now, all `AstroNvim` configuration initialization will be done with `v3.45.3` +of the base `AstroNvim` repository. Support for `AstroNvim` v4 will be forthcoming +in later releases of `lazyman`. + ## New Features - Support for Ubuntu 23.04 and greater @@ -8,7 +15,7 @@ This major new release of `lazyman` supports over 100 Neovim configurations. The `nvim-Lazyman` Neovim configuration options and enabled plugins can be managed through the `lazyman` command menus. The Lazyman initialization defaults to using the native package manager rather than Homebrew to install Neovim dependencies and tools. Native package managers are supported on Debian based platforms (e.g. Ubuntu), RPM based platforms (e.g. Fedora), Arch Linux, Alpine Linux, SUSE Linux, and Void Linux. To use Homebrew rather than the native package manager, use `lazyman -h ...` when initializing the system. Homebrew is the default on macOS and used elsewhere if no supported native package manager is found. Version 3.1 adds support for 3 namespaces in the `Lazyman` Neovim configuration - `ecovim` (the default), `free` (the original), and `onno`. All namespaces can be managed via menus (`lazyman -F`). -All that is needed to bootstrap `Lazyman` is the [lazyman.sh](https://github.com/doctorfree/nvim-lazyman/releases/download/v3.1.4r3/lazyman.sh) script. Download and execute to get started: +All that is needed to bootstrap `Lazyman` is the [lazyman.sh](https://github.com/doctorfree/nvim-lazyman/releases/download/v3.1.5r1/lazyman.sh) script. Download and execute to get started: ```bash git clone https://github.com/doctorfree/nvim-lazyman $HOME/.config/nvim-Lazyman @@ -105,7 +112,7 @@ If, after initializing Lazyman with `lazyman -Z`, you wish to let Lazyman instal ### Bootstrap -To bootstrap the Lazyman Neovim configuration manager, the `lazyman.sh` script must be downloaded and executed. The download can be performed with `git`, `curl`, `wget`, copy/paste, or [download the release artifact](https://github.com/doctorfree/nvim-lazyman/releases/download/v3.1.4r3/lazyman.sh). +To bootstrap the Lazyman Neovim configuration manager, the `lazyman.sh` script must be downloaded and executed. The download can be performed with `git`, `curl`, `wget`, copy/paste, or [download the release artifact](https://github.com/doctorfree/nvim-lazyman/releases/download/v3.1.5r1/lazyman.sh). The recommended bootstrap procedure is with `git`: diff --git a/VERSION b/VERSION index 1aeddb83..30e800f4 100644 --- a/VERSION +++ b/VERSION @@ -1,3 +1,3 @@ -VERSION=3.1.4 -RELEASE=3 +VERSION=3.1.5 +RELEASE=1 PACKAGE=1 diff --git a/lazyman.sh b/lazyman.sh index b0f4dc72..cc655913 100755 --- a/lazyman.sh +++ b/lazyman.sh @@ -959,13 +959,16 @@ clone_repo() { reponame="$1" repourl="$2" repodest="$3" + repotag="$4" + tagopts= + [ "${repotag}" ] && tagopts="--depth 1 --branch ${repotag}" [ -d "${HOME}/.config/$repodest" ] || { [ "$quiet" ] || { printf "\nCloning ${reponame} configuration into" printf "\n\t${HOME}/.config/${repodest}" } [ "$tellme" ] || { - git clone \ + git clone ${tagopts} \ https://github.com/"$repourl" \ "${HOME}/.config/${repodest}" >/dev/null 2>&1 add_nvimdirs_entry "$repodest" @@ -1675,7 +1678,7 @@ show_status() { install_astronvim() { base_dir="$1" user_url="$2" - clone_repo AstroNvim AstroNvim/AstroNvim "$base_dir" + clone_repo AstroNvim AstroNvim/AstroNvim "$base_dir" "v3.45.3" [ "$quiet" ] || { printf "\nAdding user configuration into" printf "\n\t${HOME}/.config/${base_dir}/lua/user"