From 87e1dcc28d64aac958b2d1870d5f30741da89940 Mon Sep 17 00:00:00 2001 From: Filip De Vos Date: Mon, 9 Dec 2024 09:20:08 -0500 Subject: [PATCH 01/12] Add: mise manifest --- bucket/mise.json | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 bucket/mise.json diff --git a/bucket/mise.json b/bucket/mise.json new file mode 100644 index 00000000000000..a3d88bfb18af5c --- /dev/null +++ b/bucket/mise.json @@ -0,0 +1,33 @@ +{ + "version": "2024.12.3", + "description": "Mise-En-Place, The front-end to your dev env.", + "homepage": "https://mise.jdx.dev/", + "license": "MIT", + "architecture": { + "64bit": { + "url": "https://github.com/jdx/mise/releases/download/v2024.12.3/mise-v2024.12.3-windows-x64.zip", + "hash": "8a494e44d168cc8e81be6b44f9ebd6ce68c3ae62e61e4d5ab51560065bf94439" + }, + "arm64": { + "url": "https://github.com/jdx/mise/releases/download/v2024.12.3/mise-v2024.12.3-windows-arm64.zip", + "hash": "13f7f8a215dce703af71a15eeac432f8db520d0accbb46fdbbb2a2796193e025" + } + }, + "bin": "mise/bin/mise.exe", + "checkver": { + "github": "https://github.com/jdx/mise" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://github.com/jdx/mise/releases/download/v$version/mise-v$version-windows-x64.zip" + }, + "arm64": { + "url": "https://github.com/jdx/mise/releases/download/v$version/mise-v$version-windows-arm64.zip" + } + }, + "hash": { + "url": "$baseurl/SHASUMS256.txt" + } + } +} From 28af65e17c34bcda26eb8db4e5708caf65c385e1 Mon Sep 17 00:00:00 2001 From: Filip De Vos Date: Mon, 9 Dec 2024 10:17:50 -0500 Subject: [PATCH 02/12] feat: support purge --- bucket/mise.json | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/bucket/mise.json b/bucket/mise.json index a3d88bfb18af5c..ff771ca488c299 100644 --- a/bucket/mise.json +++ b/bucket/mise.json @@ -29,5 +29,18 @@ "hash": { "url": "$baseurl/SHASUMS256.txt" } - } + }, + "post_uninstall": [ + "if ($purge) {", + " $Directories = [string[]](", + " ('{0}\\mise' -f $env:LOCALAPPDATA),", + " ('{0}\\Temp\\mise' -f $env:LOCALAPPDATA)", + " )", + " $Directories.ForEach{", + " if (Test-Path -Path $_ -PathType 'Container') {", + " $null = Remove-Item -Path $_ -Recurse -Force", + " }", + " }", + "}" + ] } From 5d15e35b99bc62efe66f06e30fcf8ba9a748a3e3 Mon Sep 17 00:00:00 2001 From: Filip De Vos Date: Mon, 9 Dec 2024 13:00:18 -0500 Subject: [PATCH 03/12] feat: Rename mise to mise-en-place --- bucket/{mise.json => mise-en-place.json} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename bucket/{mise.json => mise-en-place.json} (100%) diff --git a/bucket/mise.json b/bucket/mise-en-place.json similarity index 100% rename from bucket/mise.json rename to bucket/mise-en-place.json From bc292a7b2620c45a4ffd22c899d07ceea1faf093 Mon Sep 17 00:00:00 2001 From: Filip De Vos Date: Mon, 9 Dec 2024 13:01:36 -0500 Subject: [PATCH 04/12] chore: Rename description --- bucket/mise-en-place.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bucket/mise-en-place.json b/bucket/mise-en-place.json index ff771ca488c299..1926a0d3dfc9bd 100644 --- a/bucket/mise-en-place.json +++ b/bucket/mise-en-place.json @@ -1,6 +1,6 @@ { "version": "2024.12.3", - "description": "Mise-En-Place, The front-end to your dev env.", + "description": "Mise-En-Place installs and manages dev tools/runtimes like node, python, or terraform both simplifying installing these tools and allowing you to specify which version of these tools to use in different projects.", "homepage": "https://mise.jdx.dev/", "license": "MIT", "architecture": { From 696b558aca77a448b5bf02139df505df15ffe7c8 Mon Sep 17 00:00:00 2001 From: Filip De Vos Date: Mon, 9 Dec 2024 14:52:35 -0500 Subject: [PATCH 05/12] feat: add mise shims to path --- bucket/mise-en-place.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bucket/mise-en-place.json b/bucket/mise-en-place.json index 1926a0d3dfc9bd..c97314a1209036 100644 --- a/bucket/mise-en-place.json +++ b/bucket/mise-en-place.json @@ -30,6 +30,12 @@ "url": "$baseurl/SHASUMS256.txt" } }, + "installer": { + "script": "Add-Path -Path \"$env:LOCALAPPDATA\\mise\\shims\" -Global:$global" + }, + "uninstaller": { + "script": "Remove-Path -Path \"$env:LOCALAPPDATA\\mise\\shims\" -Global:$global" + }, "post_uninstall": [ "if ($purge) {", " $Directories = [string[]](", From 738bd241f40ded5ccfca62ae9647f7d6029911c8 Mon Sep 17 00:00:00 2001 From: Filip De Vos Date: Mon, 9 Dec 2024 17:23:31 -0500 Subject: [PATCH 06/12] chore: update mise to latest --- bucket/mise-en-place.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bucket/mise-en-place.json b/bucket/mise-en-place.json index c97314a1209036..f579bcde5a1571 100644 --- a/bucket/mise-en-place.json +++ b/bucket/mise-en-place.json @@ -1,16 +1,16 @@ { - "version": "2024.12.3", + "version": "2024.12.4", "description": "Mise-En-Place installs and manages dev tools/runtimes like node, python, or terraform both simplifying installing these tools and allowing you to specify which version of these tools to use in different projects.", "homepage": "https://mise.jdx.dev/", "license": "MIT", "architecture": { "64bit": { - "url": "https://github.com/jdx/mise/releases/download/v2024.12.3/mise-v2024.12.3-windows-x64.zip", - "hash": "8a494e44d168cc8e81be6b44f9ebd6ce68c3ae62e61e4d5ab51560065bf94439" + "url": "https://github.com/jdx/mise/releases/download/v2024.12.4/mise-v2024.12.4-windows-x64.zip", + "hash": "d9d354b620d7d60053f4b091562ed9135b7a2d595bf92c63d1957723bcf02a9a" }, "arm64": { - "url": "https://github.com/jdx/mise/releases/download/v2024.12.3/mise-v2024.12.3-windows-arm64.zip", - "hash": "13f7f8a215dce703af71a15eeac432f8db520d0accbb46fdbbb2a2796193e025" + "url": "https://github.com/jdx/mise/releases/download/v2024.12.4/mise-v2024.12.4-windows-arm64.zip", + "hash": "cccd7071d90d0e10d04baf40e6dfa57d7e9e4d9f264c76ad3dd8992bf4155185" } }, "bin": "mise/bin/mise.exe", From 7ee3070c90b4ecb0b7f93c71f69bbf942fb07bb2 Mon Sep 17 00:00:00 2001 From: Filip De Vos Date: Mon, 30 Dec 2024 14:36:48 -0500 Subject: [PATCH 07/12] fix: rename mise-en-place back to mise --- bucket/{mise-en-place.json => mise.json} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename bucket/{mise-en-place.json => mise.json} (100%) diff --git a/bucket/mise-en-place.json b/bucket/mise.json similarity index 100% rename from bucket/mise-en-place.json rename to bucket/mise.json From 294ee8586968027297b9f8a6192de56543fcfd72 Mon Sep 17 00:00:00 2001 From: Filip De Vos Date: Mon, 30 Dec 2024 14:38:56 -0500 Subject: [PATCH 08/12] fix: reduce path depth --- bucket/mise.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bucket/mise.json b/bucket/mise.json index f579bcde5a1571..c6aa261986f5e6 100644 --- a/bucket/mise.json +++ b/bucket/mise.json @@ -13,7 +13,8 @@ "hash": "cccd7071d90d0e10d04baf40e6dfa57d7e9e4d9f264c76ad3dd8992bf4155185" } }, - "bin": "mise/bin/mise.exe", + "extract_dir": "mise", + "bin": "bin/mise.exe", "checkver": { "github": "https://github.com/jdx/mise" }, From c50bb664cf85a04611cf6e12fc4f6dd68c9f1a09 Mon Sep 17 00:00:00 2001 From: Filip De Vos Date: Mon, 30 Dec 2024 14:45:50 -0500 Subject: [PATCH 09/12] chore: update version of mise --- bucket/mise.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bucket/mise.json b/bucket/mise.json index c6aa261986f5e6..811f7ae794090e 100644 --- a/bucket/mise.json +++ b/bucket/mise.json @@ -1,16 +1,16 @@ { - "version": "2024.12.4", + "version": "2024.12.22", "description": "Mise-En-Place installs and manages dev tools/runtimes like node, python, or terraform both simplifying installing these tools and allowing you to specify which version of these tools to use in different projects.", "homepage": "https://mise.jdx.dev/", "license": "MIT", "architecture": { "64bit": { - "url": "https://github.com/jdx/mise/releases/download/v2024.12.4/mise-v2024.12.4-windows-x64.zip", - "hash": "d9d354b620d7d60053f4b091562ed9135b7a2d595bf92c63d1957723bcf02a9a" + "url": "https://github.com/jdx/mise/releases/download/v2024.12.22/mise-v2024.12.22-windows-x64.zip", + "hash": "c52233fcab2ec79c8bf55d031c95c826b1fba0fca656dceebc400a223802ed81" }, "arm64": { - "url": "https://github.com/jdx/mise/releases/download/v2024.12.4/mise-v2024.12.4-windows-arm64.zip", - "hash": "cccd7071d90d0e10d04baf40e6dfa57d7e9e4d9f264c76ad3dd8992bf4155185" + "url": "https://github.com/jdx/mise/releases/download/v2024.12.22/mise-v2024.12.22-windows-arm64.zip", + "hash": "c669955b066b5f7ab5ae55ad351cc5afe0dc81fdf74274916a41cec7c65d5193" } }, "extract_dir": "mise", From 599af592e3268f1db47725e3049aa2c74c2c1c07 Mon Sep 17 00:00:00 2001 From: Filip De Vos Date: Mon, 30 Dec 2024 15:51:42 -0500 Subject: [PATCH 10/12] fix: sort elements according to spec --- bucket/mise.json | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/bucket/mise.json b/bucket/mise.json index 811f7ae794090e..fea9936de65784 100644 --- a/bucket/mise.json +++ b/bucket/mise.json @@ -15,22 +15,6 @@ }, "extract_dir": "mise", "bin": "bin/mise.exe", - "checkver": { - "github": "https://github.com/jdx/mise" - }, - "autoupdate": { - "architecture": { - "64bit": { - "url": "https://github.com/jdx/mise/releases/download/v$version/mise-v$version-windows-x64.zip" - }, - "arm64": { - "url": "https://github.com/jdx/mise/releases/download/v$version/mise-v$version-windows-arm64.zip" - } - }, - "hash": { - "url": "$baseurl/SHASUMS256.txt" - } - }, "installer": { "script": "Add-Path -Path \"$env:LOCALAPPDATA\\mise\\shims\" -Global:$global" }, @@ -49,5 +33,21 @@ " }", " }", "}" - ] + ], + "checkver": { + "github": "https://github.com/jdx/mise" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://github.com/jdx/mise/releases/download/v$version/mise-v$version-windows-x64.zip" + }, + "arm64": { + "url": "https://github.com/jdx/mise/releases/download/v$version/mise-v$version-windows-arm64.zip" + } + }, + "hash": { + "url": "$baseurl/SHASUMS256.txt" + } + } } From c221276840daef7b12dd64e8a1c19bcb3fbd2ad5 Mon Sep 17 00:00:00 2001 From: Filip De Vos Date: Wed, 1 Jan 2025 14:50:50 -0500 Subject: [PATCH 11/12] add: bump version to 2024.12.24 --- bucket/mise.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bucket/mise.json b/bucket/mise.json index fea9936de65784..a25810c0a18960 100644 --- a/bucket/mise.json +++ b/bucket/mise.json @@ -1,16 +1,16 @@ { - "version": "2024.12.22", + "version": "2024.12.24", "description": "Mise-En-Place installs and manages dev tools/runtimes like node, python, or terraform both simplifying installing these tools and allowing you to specify which version of these tools to use in different projects.", "homepage": "https://mise.jdx.dev/", "license": "MIT", "architecture": { "64bit": { - "url": "https://github.com/jdx/mise/releases/download/v2024.12.22/mise-v2024.12.22-windows-x64.zip", - "hash": "c52233fcab2ec79c8bf55d031c95c826b1fba0fca656dceebc400a223802ed81" + "url": "https://github.com/jdx/mise/releases/download/v2024.12.24/mise-v2024.12.24-windows-x64.zip", + "hash": "dcca0ee860abaabae69d060b09526c9e366af69e805dbae616a085bf8982b6bc" }, "arm64": { - "url": "https://github.com/jdx/mise/releases/download/v2024.12.22/mise-v2024.12.22-windows-arm64.zip", - "hash": "c669955b066b5f7ab5ae55ad351cc5afe0dc81fdf74274916a41cec7c65d5193" + "url": "https://github.com/jdx/mise/releases/download/v2024.12.24/mise-v2024.12.24-windows-arm64.zip", + "hash": "861c70476a26c2b3674c3d021b679e98b89989c4a1c7331c1ef01fe3bce45d4f" } }, "extract_dir": "mise", From 7efb76898bddd0ae890b0b216fc2ce0af7a9d208 Mon Sep 17 00:00:00 2001 From: Chawye Hsu Date: Mon, 13 Jan 2025 18:00:49 +0800 Subject: [PATCH 12/12] update --- bucket/mise.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bucket/mise.json b/bucket/mise.json index a25810c0a18960..531d459f7604f7 100644 --- a/bucket/mise.json +++ b/bucket/mise.json @@ -1,16 +1,16 @@ { - "version": "2024.12.24", - "description": "Mise-En-Place installs and manages dev tools/runtimes like node, python, or terraform both simplifying installing these tools and allowing you to specify which version of these tools to use in different projects.", + "version": "2025.1.6", + "description": "Dev tools, env vars, task runner", "homepage": "https://mise.jdx.dev/", "license": "MIT", "architecture": { "64bit": { - "url": "https://github.com/jdx/mise/releases/download/v2024.12.24/mise-v2024.12.24-windows-x64.zip", - "hash": "dcca0ee860abaabae69d060b09526c9e366af69e805dbae616a085bf8982b6bc" + "url": "https://github.com/jdx/mise/releases/download/v2025.1.6/mise-v2025.1.6-windows-x64.zip", + "hash": "f2ccbee16e9f915d2954a8012ae1d0d1e0d6c47fee13d45c81d845a5b10b2409" }, "arm64": { - "url": "https://github.com/jdx/mise/releases/download/v2024.12.24/mise-v2024.12.24-windows-arm64.zip", - "hash": "861c70476a26c2b3674c3d021b679e98b89989c4a1c7331c1ef01fe3bce45d4f" + "url": "https://github.com/jdx/mise/releases/download/v2025.1.6/mise-v2025.1.6-windows-arm64.zip", + "hash": "f78e2b77eb27490c040bbee4a792a2ffd1e00f6db295948f561e6fa89d8f3f46" } }, "extract_dir": "mise",