From 8fce04857b698dad2abf692e97ec5742c3aa8dc6 Mon Sep 17 00:00:00 2001 From: Joao P Dubas Date: Mon, 22 Jul 2024 17:26:52 +0000 Subject: [PATCH 01/13] feat: upgrade docker and plugins versions * docker from 24.0.7 to 27.0.3 * compose from 2.23.3 to 2.29.0 * buildx from 0.13.1 to 0.16.1 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ebb664e..cb9417a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -105,11 +105,11 @@ RUN apt-get update \ && echo 'permit persist :wheel as root' > /etc/doas.conf # command line utilities -ENV DO_VERSION 24.0.7 +ENV DO_VERSION 27.0.3 ENV DO_URL https://download.docker.com/linux/static/stable/x86_64/docker-${DO_VERSION}.tgz -ENV DC_VERSION v2.23.3 +ENV DC_VERSION v2.29.0 ENV DC_URL https://github.com/docker/compose/releases/download/${DC_VERSION}/docker-compose-linux-x86_64 -ENV BX_VERSION v0.13.1 +ENV BX_VERSION v0.16.1 ENV BX_URL https://github.com/docker/buildx/releases/download/${BX_VERSION}/buildx-${BX_VERSION}.linux-amd64 RUN curl -sS https://starship.rs/install.sh | sh -s -- --yes \ && mkdir /tmp/download \ -- 2.47.2 From 8aaf781f6770463d47df18ed13626068fcf3c165 Mon Sep 17 00:00:00 2001 From: Joao P Dubas Date: Mon, 22 Jul 2024 17:29:15 +0000 Subject: [PATCH 02/13] feat: upgrade mise runtimes/utilities * awscli from 2.15.49 to 2.17.14 * bitwarden from 2024.4.1 to 2024.6.1 * dagger from 0.11.4 to 0.12.1 * eksctl from 0.180.0 to 0.187.0 * elixir from 1.17.0-otp-27 to 1.17.2-otp-27 * erlang from 27.0 to 27.0.1 * eza from 0.18.15 to 0.18.22 * fzf from 0.52.1 to 0.53.0 * go from 1.22.3 to 1.22.5 * helm from 3.14.4 to 3.15.3 * starship from 1.18.2 to 1.19.0 --- config/mise/config.toml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/config/mise/config.toml b/config/mise/config.toml index e819654..d8093ba 100644 --- a/config/mise/config.toml +++ b/config/mise/config.toml @@ -1,17 +1,17 @@ [tools] -awscli = "2.15.49" +awscli = "2.17.14" bat = "0.24.0" -bitwarden = "2024.4.1" +bitwarden = "2024.6.1" circleci-cli = "0.1.30549" ctlptl = "0.8.29" -dagger = "0.11.4" -eksctl = "0.180.0" -elixir = "1.17.0-otp-27" -erlang = "27.0" -eza = "0.18.15" -fzf = "0.52.1" -go = "1.22.3" -helm = "3.14.4" +dagger = "0.12.1" +eksctl = "0.187.0" +elixir = "1.17.2-otp-27" +erlang = "27.0.1" +eza = "0.18.22" +fzf = "0.53.0" +go = "1.22.5" +helm = "3.15.3" k3d = "5.6.3" k3sup = "0.13.5" k9s = "0.32.4" @@ -27,7 +27,7 @@ python = "3.12.3" r = "4.4.0" ripgrep = "14.1.0" rust = "1.78.0" -starship = "1.18.2" +starship = "1.19.0" task = "3.37.2" terraform = "1.8.3" tilt = "0.33.13" -- 2.47.2 From 12937046007eda7eb4bf4516ee6ee5171b6065de Mon Sep 17 00:00:00 2001 From: Joao P Dubas Date: Mon, 22 Jul 2024 18:23:46 +0000 Subject: [PATCH 03/13] feat: upgrade kickstart nvim config --- Dockerfile | 2 +- patch/kickstart.nvim/updates.patch | 15 ++++++++------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index cb9417a..8739066 100644 --- a/Dockerfile +++ b/Dockerfile @@ -183,7 +183,7 @@ COPY ./patch/kickstart.nvim/updates.patch /tmp COPY ./config/nvim/lua/custom/plugins/init.lua /tmp RUN git clone https://github.com/nvim-lua/kickstart.nvim.git "${XDG_CONFIG_HOME}"/nvim \ && cd ${XDG_CONFIG_HOME}/nvim \ - && git reset --hard 5aeddfdd5d0308506ec63b0e4f8de33e2a39355f \ + && git reset --hard 2df5137e59c28fc9148148db8ed4a9f7abf73b4f \ && git apply /tmp/updates.patch \ && cp /tmp/init.lua ${XDG_CONFIG_HOME}/nvim/lua/custom/plugins \ && nvim --headless "+Lazy! sync" +qa diff --git a/patch/kickstart.nvim/updates.patch b/patch/kickstart.nvim/updates.patch index 2caf53d..c61b00f 100644 --- a/patch/kickstart.nvim/updates.patch +++ b/patch/kickstart.nvim/updates.patch @@ -1,5 +1,5 @@ diff --git a/init.lua b/init.lua -index 88658ef..b2e4e40 100644 +index 624e23d..cfc184e 100644 --- a/init.lua +++ b/init.lua @@ -91,7 +91,7 @@ vim.g.mapleader = ' ' @@ -39,7 +39,7 @@ index 88658ef..b2e4e40 100644 -- [[ Basic Keymaps ]] -- See `:help vim.keymap.set()` -@@ -578,6 +586,28 @@ require('lazy').setup({ +@@ -577,6 +585,28 @@ require('lazy').setup({ -- tsserver = {}, -- @@ -68,7 +68,7 @@ index 88658ef..b2e4e40 100644 lua_ls = { -- cmd = {...}, -- filetypes = { ...}, -@@ -592,6 +622,33 @@ require('lazy').setup({ +@@ -591,6 +621,33 @@ require('lazy').setup({ }, }, }, @@ -102,7 +102,7 @@ index 88658ef..b2e4e40 100644 } -- Ensure the servers and tools above are installed -@@ -618,6 +675,33 @@ require('lazy').setup({ +@@ -617,6 +674,33 @@ require('lazy').setup({ -- by the server configuration above. Useful when disabling -- certain features of an LSP (for example, turning off formatting for tsserver) server.capabilities = vim.tbl_deep_extend('force', {}, capabilities, server.capabilities or {}) @@ -136,11 +136,11 @@ index 88658ef..b2e4e40 100644 require('lspconfig')[server_name].setup(server) end, }, -@@ -835,7 +919,38 @@ require('lazy').setup({ +@@ -834,7 +918,39 @@ require('lazy').setup({ 'nvim-treesitter/nvim-treesitter', build = ':TSUpdate', opts = { -- ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'vim', 'vimdoc' }, +- ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' }, + ensure_installed = { + 'bash', + 'c', @@ -163,6 +163,7 @@ index 88658ef..b2e4e40 100644 + 'markdown', + 'markdown_inline', + 'python', ++ 'query', + 'sql', + 'templ', + 'terraform', @@ -176,7 +177,7 @@ index 88658ef..b2e4e40 100644 -- Autoinstall languages that are not installed auto_install = true, highlight = { -@@ -874,18 +989,18 @@ require('lazy').setup({ +@@ -873,18 +989,18 @@ require('lazy').setup({ -- Uncomment any of the lines below to enable them (you will need to restart nvim). -- -- require 'kickstart.plugins.debug', -- 2.47.2 From 6493c970e3a1bf42f9d7657098091539293b4ca6 Mon Sep 17 00:00:00 2001 From: Joao P Dubas Date: Mon, 22 Jul 2024 18:25:20 +0000 Subject: [PATCH 04/13] chore: upgrade map for toggleterm group --- config/nvim/lua/custom/plugins/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/nvim/lua/custom/plugins/init.lua b/config/nvim/lua/custom/plugins/init.lua index 73ef897..49b5f1c 100644 --- a/config/nvim/lua/custom/plugins/init.lua +++ b/config/nvim/lua/custom/plugins/init.lua @@ -183,8 +183,8 @@ return { keys = function() local status_ok, which_key = pcall(require, 'which-key') if status_ok then - which_key.register { - ['m'] = { name = 'Toggle ter[m]inal', _ = 'which_key_ignore' }, + which_key.add { + { 'm', group = 'Toggle ter[m]inal' }, } end vim.api.nvim_create_autocmd('TermOpen', { -- 2.47.2 From 0e45fecf33942e42a645b9b889ef04fb087d03e0 Mon Sep 17 00:00:00 2001 From: Joao P Dubas Date: Mon, 22 Jul 2024 18:26:43 +0000 Subject: [PATCH 05/13] chore: remove rest.nvim plugin Couldn't make it work with luarocks. --- config/nvim/lua/custom/plugins/init.lua | 128 ++++++++++++------------ 1 file changed, 64 insertions(+), 64 deletions(-) diff --git a/config/nvim/lua/custom/plugins/init.lua b/config/nvim/lua/custom/plugins/init.lua index 49b5f1c..9634f5b 100644 --- a/config/nvim/lua/custom/plugins/init.lua +++ b/config/nvim/lua/custom/plugins/init.lua @@ -104,70 +104,70 @@ return { priority = 1000, config = true, }, - { - 'rest-nvim/rest.nvim', - dependencies = { 'luarocks.nvim' }, - ft = { - 'http', - 'rest', - }, - config = function() - require('rest-nvim').setup { - client = 'curl', - custom_dynamic_variables = {}, - encode_url = true, - env_file = '.env', - skip_ssl_verification = false, - highlight = { - enable = true, - timeout = 15, - }, - result = { - behavior = { - decode_url = true, - formatters = { - json = 'jq', - html = false, - }, - show_info = { - curl_command = true, - headers = true, - http_info = true, - url = true, - }, - statistics = { - enable = true, - stats = { - { 'total_time', title = 'Time taken:' }, - { 'size_download_t', title = 'Download size:' }, - }, - }, - }, - split = { - horizontal = false, - in_place = false, - }, - }, - } - end, - keys = function() - local status_ok, which_key = pcall(require, 'which-key') - if status_ok then - which_key.register { - ['t'] = { name = 'Res[t]', _ = 'which_key_ignore' }, - } - end - return { - { 'tr', 'Rest run', desc = 'Run the request under cursor' }, - { - 'tp', - 'RestNvimPreview', - desc = 'Preview the curl command for the request under cursor', - }, - { 'tl', 'Rest run last', desc = 'Re-run the last request' }, - } - end, - }, + -- { + -- 'rest-nvim/rest.nvim', + -- dependencies = { 'luarocks.nvim' }, + -- ft = { + -- 'http', + -- 'rest', + -- }, + -- config = function() + -- require('rest-nvim').setup { + -- client = 'curl', + -- custom_dynamic_variables = {}, + -- encode_url = true, + -- env_file = '.env', + -- skip_ssl_verification = false, + -- highlight = { + -- enable = true, + -- timeout = 15, + -- }, + -- result = { + -- behavior = { + -- decode_url = true, + -- formatters = { + -- json = 'jq', + -- html = false, + -- }, + -- show_info = { + -- curl_command = true, + -- headers = true, + -- http_info = true, + -- url = true, + -- }, + -- statistics = { + -- enable = true, + -- stats = { + -- { 'total_time', title = 'Time taken:' }, + -- { 'size_download_t', title = 'Download size:' }, + -- }, + -- }, + -- }, + -- split = { + -- horizontal = false, + -- in_place = false, + -- }, + -- }, + -- } + -- end, + -- keys = function() + -- local status_ok, which_key = pcall(require, 'which-key') + -- if status_ok then + -- which_key.register { + -- ['t'] = { name = 'Res[t]', _ = 'which_key_ignore' }, + -- } + -- end + -- return { + -- { 'tr', 'Rest run', desc = 'Run the request under cursor' }, + -- { + -- 'tp', + -- 'RestNvimPreview', + -- desc = 'Preview the curl command for the request under cursor', + -- }, + -- { 'tl', 'Rest run last', desc = 'Re-run the last request' }, + -- } + -- end, + -- }, { 'akinsho/toggleterm.nvim', opts = { -- 2.47.2 From c7e4705a508c969ff3ab6c3a5d7ce8b01cab319a Mon Sep 17 00:00:00 2001 From: Joao P Dubas Date: Fri, 26 Jul 2024 18:54:22 +0000 Subject: [PATCH 06/13] feat(mise): upgrade utilities Upgrade the following tools: * awscli from 2.17.14 to 2.17.18 * bitwarden from 2024.6.1 to 2024.7.1 * dagger from 0.12.1 to 0.12.3 * eza from 0.18.22 to 0.18.23 * k3d from 5.6.3 to 5.7.2 * k3sup from 0.13.5 to 0.13.6 * k9s from 0.32.4 to 0.32.5 * kind from 0.22.0 to 0.23.0 * kubie from 0.23.0 to 0.23.1 * lefthook from 1.6.11 to 1.7.9 * node from 22.1.0 to 22.5.1 * python from 3.12.3 to 3.12.4 * r from 4.4.0 to 4.4.1 * rust from 1.78.0 to 1.80.0 * task from 3.37.2 to 3.38.0 * terraform from 1.8.3 to 1.9.3 * tilt from 0.33.13 to 0.33.17 * usql from 0.19.1 to 0.19.3 * yarn from 1.22.19 to 1.22.22 Downgrade lua from 5.4.6 to 5.1.5, so it can be used by neovim plugins. --- config/mise/config.toml | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/config/mise/config.toml b/config/mise/config.toml index d8093ba..ed6244b 100644 --- a/config/mise/config.toml +++ b/config/mise/config.toml @@ -1,40 +1,40 @@ [tools] -awscli = "2.17.14" +awscli = "2.17.18" bat = "0.24.0" -bitwarden = "2024.6.1" +bitwarden = "2024.7.1" circleci-cli = "0.1.30549" ctlptl = "0.8.29" -dagger = "0.12.1" +dagger = "0.12.3" eksctl = "0.187.0" elixir = "1.17.2-otp-27" erlang = "27.0.1" -eza = "0.18.22" +eza = "0.18.23" fzf = "0.53.0" go = "1.22.5" helm = "3.15.3" -k3d = "5.6.3" -k3sup = "0.13.5" -k9s = "0.32.4" -kind = "0.22.0" +k3d = "5.7.2" +k3sup = "0.13.6" +k9s = "0.32.5" +kind = "0.23.0" kubectl = "1.30.0" -kubie = "0.23.0" -lefthook = "1.6.11" -lua = "5.4.6" +kubie = "0.23.1" +lefthook = "1.7.9" +lua = "5.1.5" luajit = "2.0.5--2.4.4" -node = "22.1.0" +node = "22.5.1" poetry = "1.8.3" -python = "3.12.3" -r = "4.4.0" +python = "3.12.4" +r = "4.4.1" ripgrep = "14.1.0" -rust = "1.78.0" +rust = "1.80.0" starship = "1.19.0" -task = "3.37.2" -terraform = "1.8.3" -tilt = "0.33.13" +task = "3.38.0" +terraform = "1.9.3" +tilt = "0.33.17" tmux = "3.4" usage = "0.3.0" -usql = "0.19.1" -yarn = "1.22.19" +usql = "0.19.3" +yarn = "1.22.22" zoxide = "0.9.4" [settings] -- 2.47.2 From 58547f5ff146d9dbbff13d52e2f382c20e501664 Mon Sep 17 00:00:00 2001 From: Joao P Dubas Date: Sat, 27 Jul 2024 11:30:50 +0000 Subject: [PATCH 07/13] feat(docker): upgrade engine and plugins * docker from 27.0.3 to 27.1.1 * compose from 2.29.0 to 2.29.1 * buildx from 0.16.1 to 0.16.2 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8739066..3d9ddfb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -105,11 +105,11 @@ RUN apt-get update \ && echo 'permit persist :wheel as root' > /etc/doas.conf # command line utilities -ENV DO_VERSION 27.0.3 +ENV DO_VERSION 27.1.1 ENV DO_URL https://download.docker.com/linux/static/stable/x86_64/docker-${DO_VERSION}.tgz -ENV DC_VERSION v2.29.0 +ENV DC_VERSION v2.29.1 ENV DC_URL https://github.com/docker/compose/releases/download/${DC_VERSION}/docker-compose-linux-x86_64 -ENV BX_VERSION v0.16.1 +ENV BX_VERSION v0.16.2 ENV BX_URL https://github.com/docker/buildx/releases/download/${BX_VERSION}/buildx-${BX_VERSION}.linux-amd64 RUN curl -sS https://starship.rs/install.sh | sh -s -- --yes \ && mkdir /tmp/download \ -- 2.47.2 From 0f4f97830d6dfe2c0c0ff2b517a0930848aabb81 Mon Sep 17 00:00:00 2001 From: Joao P Dubas Date: Sat, 27 Jul 2024 11:37:42 +0000 Subject: [PATCH 08/13] feat(nvim): upgrade config to latest commit --- Dockerfile | 2 +- patch/kickstart.nvim/updates.patch | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3d9ddfb..9ae7831 100644 --- a/Dockerfile +++ b/Dockerfile @@ -183,7 +183,7 @@ COPY ./patch/kickstart.nvim/updates.patch /tmp COPY ./config/nvim/lua/custom/plugins/init.lua /tmp RUN git clone https://github.com/nvim-lua/kickstart.nvim.git "${XDG_CONFIG_HOME}"/nvim \ && cd ${XDG_CONFIG_HOME}/nvim \ - && git reset --hard 2df5137e59c28fc9148148db8ed4a9f7abf73b4f \ + && git reset --hard 56b9114bf29cdc0c0f5de78b5deae1fe0ab65db1 \ && git apply /tmp/updates.patch \ && cp /tmp/init.lua ${XDG_CONFIG_HOME}/nvim/lua/custom/plugins \ && nvim --headless "+Lazy! sync" +qa diff --git a/patch/kickstart.nvim/updates.patch b/patch/kickstart.nvim/updates.patch index c61b00f..7d09367 100644 --- a/patch/kickstart.nvim/updates.patch +++ b/patch/kickstart.nvim/updates.patch @@ -1,5 +1,5 @@ diff --git a/init.lua b/init.lua -index 624e23d..cfc184e 100644 +index 0d380e8..ae61b90 100644 --- a/init.lua +++ b/init.lua @@ -91,7 +91,7 @@ vim.g.mapleader = ' ' @@ -39,7 +39,7 @@ index 624e23d..cfc184e 100644 -- [[ Basic Keymaps ]] -- See `:help vim.keymap.set()` -@@ -577,6 +585,28 @@ require('lazy').setup({ +@@ -575,6 +583,28 @@ require('lazy').setup({ -- tsserver = {}, -- @@ -68,7 +68,7 @@ index 624e23d..cfc184e 100644 lua_ls = { -- cmd = {...}, -- filetypes = { ...}, -@@ -591,6 +621,33 @@ require('lazy').setup({ +@@ -589,6 +619,33 @@ require('lazy').setup({ }, }, }, @@ -102,7 +102,7 @@ index 624e23d..cfc184e 100644 } -- Ensure the servers and tools above are installed -@@ -617,6 +674,33 @@ require('lazy').setup({ +@@ -615,6 +672,33 @@ require('lazy').setup({ -- by the server configuration above. Useful when disabling -- certain features of an LSP (for example, turning off formatting for tsserver) server.capabilities = vim.tbl_deep_extend('force', {}, capabilities, server.capabilities or {}) @@ -136,7 +136,7 @@ index 624e23d..cfc184e 100644 require('lspconfig')[server_name].setup(server) end, }, -@@ -834,7 +918,39 @@ require('lazy').setup({ +@@ -838,7 +922,39 @@ require('lazy').setup({ 'nvim-treesitter/nvim-treesitter', build = ':TSUpdate', opts = { @@ -177,7 +177,7 @@ index 624e23d..cfc184e 100644 -- Autoinstall languages that are not installed auto_install = true, highlight = { -@@ -873,18 +989,18 @@ require('lazy').setup({ +@@ -877,18 +993,18 @@ require('lazy').setup({ -- Uncomment any of the lines below to enable them (you will need to restart nvim). -- -- require 'kickstart.plugins.debug', -- 2.47.2 From 790af516b3dc2edc536ce704c52c809de445c4d3 Mon Sep 17 00:00:00 2001 From: Joao P Dubas Date: Mon, 29 Jul 2024 12:29:22 +0000 Subject: [PATCH 09/13] feat(nvim): upgrade config to latest commit again --- Dockerfile | 2 +- patch/kickstart.nvim/updates.patch | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9ae7831..9f0a49e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -183,7 +183,7 @@ COPY ./patch/kickstart.nvim/updates.patch /tmp COPY ./config/nvim/lua/custom/plugins/init.lua /tmp RUN git clone https://github.com/nvim-lua/kickstart.nvim.git "${XDG_CONFIG_HOME}"/nvim \ && cd ${XDG_CONFIG_HOME}/nvim \ - && git reset --hard 56b9114bf29cdc0c0f5de78b5deae1fe0ab65db1 \ + && git reset --hard 84cc12354dbe0ebda180d445f54820def8c4638f \ && git apply /tmp/updates.patch \ && cp /tmp/init.lua ${XDG_CONFIG_HOME}/nvim/lua/custom/plugins \ && nvim --headless "+Lazy! sync" +qa diff --git a/patch/kickstart.nvim/updates.patch b/patch/kickstart.nvim/updates.patch index 7d09367..8b7ca27 100644 --- a/patch/kickstart.nvim/updates.patch +++ b/patch/kickstart.nvim/updates.patch @@ -1,5 +1,5 @@ diff --git a/init.lua b/init.lua -index 0d380e8..ae61b90 100644 +index ee1d3b4..3bab31f 100644 --- a/init.lua +++ b/init.lua @@ -91,7 +91,7 @@ vim.g.mapleader = ' ' @@ -24,7 +24,7 @@ index 0d380e8..ae61b90 100644 -- Don't show the mode, since it's already in the status line vim.opt.showmode = false -@@ -154,6 +154,14 @@ vim.opt.cursorline = true +@@ -157,6 +157,14 @@ vim.opt.cursorline = true -- Minimal number of screen lines to keep above and below the cursor. vim.opt.scrolloff = 10 @@ -39,7 +39,7 @@ index 0d380e8..ae61b90 100644 -- [[ Basic Keymaps ]] -- See `:help vim.keymap.set()` -@@ -575,6 +583,28 @@ require('lazy').setup({ +@@ -579,6 +587,28 @@ require('lazy').setup({ -- tsserver = {}, -- @@ -68,7 +68,7 @@ index 0d380e8..ae61b90 100644 lua_ls = { -- cmd = {...}, -- filetypes = { ...}, -@@ -589,6 +619,33 @@ require('lazy').setup({ +@@ -593,6 +623,33 @@ require('lazy').setup({ }, }, }, @@ -102,7 +102,7 @@ index 0d380e8..ae61b90 100644 } -- Ensure the servers and tools above are installed -@@ -615,6 +672,33 @@ require('lazy').setup({ +@@ -619,6 +676,33 @@ require('lazy').setup({ -- by the server configuration above. Useful when disabling -- certain features of an LSP (for example, turning off formatting for tsserver) server.capabilities = vim.tbl_deep_extend('force', {}, capabilities, server.capabilities or {}) @@ -136,7 +136,7 @@ index 0d380e8..ae61b90 100644 require('lspconfig')[server_name].setup(server) end, }, -@@ -838,7 +922,39 @@ require('lazy').setup({ +@@ -841,7 +925,39 @@ require('lazy').setup({ 'nvim-treesitter/nvim-treesitter', build = ':TSUpdate', opts = { @@ -177,7 +177,7 @@ index 0d380e8..ae61b90 100644 -- Autoinstall languages that are not installed auto_install = true, highlight = { -@@ -877,18 +993,18 @@ require('lazy').setup({ +@@ -880,18 +996,18 @@ require('lazy').setup({ -- Uncomment any of the lines below to enable them (you will need to restart nvim). -- -- require 'kickstart.plugins.debug', -- 2.47.2 From 9f10df72bdadd2b073733564cdf199a1fd247573 Mon Sep 17 00:00:00 2001 From: Joao P Dubas Date: Fri, 16 Aug 2024 13:56:23 +0000 Subject: [PATCH 10/13] feat: add age utility to encrypt/decrypt files --- config/mise/config.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/mise/config.toml b/config/mise/config.toml index ed6244b..251b8c1 100644 --- a/config/mise/config.toml +++ b/config/mise/config.toml @@ -1,4 +1,5 @@ [tools] +age = "1.2.0" awscli = "2.17.18" bat = "0.24.0" bitwarden = "2024.7.1" -- 2.47.2 From 0c46af9ea9f65962c35ca419d676bd36efdccd6f Mon Sep 17 00:00:00 2001 From: Joao P Dubas Date: Fri, 16 Aug 2024 13:56:52 +0000 Subject: [PATCH 11/13] chore: upgrade utilities * `awscli` from 2.17.18 to 2.17.31 * `bitwarden` from 2024.7.1 to 2024.7.2 * `ctlptl` from 0.8.29 to 0.8.31 * `dagger` from 0.12.3 to 0.12.5 * `eksctl` from 0.187.0 to 0.188.0 * `eza` from 0.18.23 to 0.19.0 * `go` from 1.22.5 to 1.23.0 * `helm` from 3.15.3 to 3.15.4 * `k3d` from 5.7.2 to 5.7.3 * `k3sup` from 0.13.6 to 0.13.7 * `kind` from 0.23.0 to 0.24.0 * `kubectl` from 1.30.0 to 1.31.0 * `lefthook` from 1.7.9 to 1.7.13 * `node` from 22.5.1 to 22.6.0 * `python` from 3.12.4 to 3.12.5 * `rust` from 1.80.0 to 1.80.1 * `starship` from 1.19.0 to 1.20.1 * `terraform` from 1.9.3 to 1.9.4 * `tilt` from 0.33.17 to 0.33.19 --- config/mise/config.toml | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/config/mise/config.toml b/config/mise/config.toml index 251b8c1..a7bef3f 100644 --- a/config/mise/config.toml +++ b/config/mise/config.toml @@ -1,37 +1,37 @@ [tools] age = "1.2.0" -awscli = "2.17.18" +awscli = "2.17.31" bat = "0.24.0" -bitwarden = "2024.7.1" +bitwarden = "2024.7.2" circleci-cli = "0.1.30549" -ctlptl = "0.8.29" -dagger = "0.12.3" -eksctl = "0.187.0" +ctlptl = "0.8.31" +dagger = "0.12.5" +eksctl = "0.188.0" elixir = "1.17.2-otp-27" erlang = "27.0.1" -eza = "0.18.23" +eza = "0.19.0" fzf = "0.53.0" -go = "1.22.5" -helm = "3.15.3" -k3d = "5.7.2" -k3sup = "0.13.6" +go = "1.23.0" +helm = "3.15.4" +k3d = "5.7.3" +k3sup = "0.13.7" k9s = "0.32.5" -kind = "0.23.0" -kubectl = "1.30.0" +kind = "0.24.0" +kubectl = "1.31.0" kubie = "0.23.1" -lefthook = "1.7.9" +lefthook = "1.7.13" lua = "5.1.5" luajit = "2.0.5--2.4.4" -node = "22.5.1" +node = "22.6.0" poetry = "1.8.3" -python = "3.12.4" +python = "3.12.5" r = "4.4.1" ripgrep = "14.1.0" -rust = "1.80.0" -starship = "1.19.0" +rust = "1.80.1" +starship = "1.20.1" task = "3.38.0" -terraform = "1.9.3" -tilt = "0.33.17" +terraform = "1.9.4" +tilt = "0.33.19" tmux = "3.4" usage = "0.3.0" usql = "0.19.3" -- 2.47.2 From fdfb8c55f4dd1be790652ad69bbe6efd812c85f5 Mon Sep 17 00:00:00 2001 From: Joao P Dubas Date: Fri, 16 Aug 2024 14:14:33 +0000 Subject: [PATCH 12/13] chore(nvim): upgrade kickstart to latest commit --- Dockerfile | 2 +- patch/kickstart.nvim/updates.patch | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9f0a49e..ad44e3f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -183,7 +183,7 @@ COPY ./patch/kickstart.nvim/updates.patch /tmp COPY ./config/nvim/lua/custom/plugins/init.lua /tmp RUN git clone https://github.com/nvim-lua/kickstart.nvim.git "${XDG_CONFIG_HOME}"/nvim \ && cd ${XDG_CONFIG_HOME}/nvim \ - && git reset --hard 84cc12354dbe0ebda180d445f54820def8c4638f \ + && git reset --hard 186018483039b20dc39d7991e4fb28090dd4750e \ && git apply /tmp/updates.patch \ && cp /tmp/init.lua ${XDG_CONFIG_HOME}/nvim/lua/custom/plugins \ && nvim --headless "+Lazy! sync" +qa diff --git a/patch/kickstart.nvim/updates.patch b/patch/kickstart.nvim/updates.patch index 8b7ca27..0d5d776 100644 --- a/patch/kickstart.nvim/updates.patch +++ b/patch/kickstart.nvim/updates.patch @@ -1,5 +1,5 @@ diff --git a/init.lua b/init.lua -index ee1d3b4..3bab31f 100644 +index 220d304..62a9702 100644 --- a/init.lua +++ b/init.lua @@ -91,7 +91,7 @@ vim.g.mapleader = ' ' @@ -39,7 +39,7 @@ index ee1d3b4..3bab31f 100644 -- [[ Basic Keymaps ]] -- See `:help vim.keymap.set()` -@@ -579,6 +587,28 @@ require('lazy').setup({ +@@ -582,6 +590,28 @@ require('lazy').setup({ -- tsserver = {}, -- @@ -68,7 +68,7 @@ index ee1d3b4..3bab31f 100644 lua_ls = { -- cmd = {...}, -- filetypes = { ...}, -@@ -593,6 +623,33 @@ require('lazy').setup({ +@@ -596,6 +626,33 @@ require('lazy').setup({ }, }, }, @@ -102,7 +102,7 @@ index ee1d3b4..3bab31f 100644 } -- Ensure the servers and tools above are installed -@@ -619,6 +676,33 @@ require('lazy').setup({ +@@ -622,6 +679,33 @@ require('lazy').setup({ -- by the server configuration above. Useful when disabling -- certain features of an LSP (for example, turning off formatting for tsserver) server.capabilities = vim.tbl_deep_extend('force', {}, capabilities, server.capabilities or {}) @@ -136,7 +136,7 @@ index ee1d3b4..3bab31f 100644 require('lspconfig')[server_name].setup(server) end, }, -@@ -841,7 +925,39 @@ require('lazy').setup({ +@@ -844,7 +928,39 @@ require('lazy').setup({ 'nvim-treesitter/nvim-treesitter', build = ':TSUpdate', opts = { @@ -177,7 +177,7 @@ index ee1d3b4..3bab31f 100644 -- Autoinstall languages that are not installed auto_install = true, highlight = { -@@ -880,18 +996,18 @@ require('lazy').setup({ +@@ -881,18 +997,18 @@ require('lazy').setup({ -- Uncomment any of the lines below to enable them (you will need to restart nvim). -- -- require 'kickstart.plugins.debug', -- 2.47.2 From d1af22d48780f6dfb15424121f4bd7d2cb53ba09 Mon Sep 17 00:00:00 2001 From: Joao P Dubas Date: Fri, 16 Aug 2024 14:21:30 +0000 Subject: [PATCH 13/13] chore(mise): add age to the list of plugins --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index ad44e3f..e191791 100644 --- a/Dockerfile +++ b/Dockerfile @@ -190,6 +190,7 @@ RUN git clone https://github.com/nvim-lua/kickstart.nvim.git "${XDG_CONFIG_HOME} # install rtx plugins RUN ${LOCAL_BIN_HOME}/mise plugins install --force --yes \ + age \ awscli \ bat \ bitwarden \ -- 2.47.2