From 8a8ede101a5072de1d49f83341e9cbe6a5236c05 Mon Sep 17 00:00:00 2001 From: vsc46128 Date: Fri, 19 Jan 2024 11:05:46 +0100 Subject: [PATCH 1/3] adding easyconfigs: code-cli-1.85.1-x64.eb --- .../c/code-cli/code-cli-1.85.1-x64.eb | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 easybuild/easyconfigs/c/code-cli/code-cli-1.85.1-x64.eb diff --git a/easybuild/easyconfigs/c/code-cli/code-cli-1.85.1-x64.eb b/easybuild/easyconfigs/c/code-cli/code-cli-1.85.1-x64.eb new file mode 100644 index 00000000000..004b570f448 --- /dev/null +++ b/easybuild/easyconfigs/c/code-cli/code-cli-1.85.1-x64.eb @@ -0,0 +1,32 @@ +easyblock = 'Tarball' + +name = 'code-cli' +version = '1.85.1' +versionsuffix = '-x64' + +homepage = 'https://code.visualstudio.com/' +description = ''' + Visual Studio Code is a lightweight but powerful source code editor + which runs on your desktop and is available for Windows, macOS and + Linux. It comes with built-in support for JavaScript, TypeScript and + Node.js and has a rich ecosystem of extensions for other languages + and runtimes (such as C++, C#, Java, Python, PHP, Go, .NET). Begin + your journey with VS Code with these introductory videos. +''' + +toolchain = {'name': 'system', 'version': 'system'} + +source_urls = ['https://update.code.visualstudio.com/%(version)s/cli-alpine-x64/stable#'] +sources = ['vscode_cli_alpine_x64_cli.tar.gz'] +checksums = ['cc469ba0461141fc3a58f589262c6e7d2bfa43044dd267267e794e8d89b831d1'] + +modextrapaths = {'PATH': ''} + +sanity_check_paths = { + 'files': ['code'], + 'dirs': [] +} + +sanity_check_commands = ["code --help"] + +moduleclass = 'devel' From d2e2c1558f76d19775c0bf06922b3a6ac89c728e Mon Sep 17 00:00:00 2001 From: lara Date: Fri, 19 Jan 2024 11:12:13 +0100 Subject: [PATCH 2/3] replace VSCode-cli with code-cli --- .../v/VSCode-cli/VSCode-cli-1.85.1-x64.eb | 35 ------------------- 1 file changed, 35 deletions(-) delete mode 100644 easybuild/easyconfigs/v/VSCode-cli/VSCode-cli-1.85.1-x64.eb diff --git a/easybuild/easyconfigs/v/VSCode-cli/VSCode-cli-1.85.1-x64.eb b/easybuild/easyconfigs/v/VSCode-cli/VSCode-cli-1.85.1-x64.eb deleted file mode 100644 index 69c007bebba..00000000000 --- a/easybuild/easyconfigs/v/VSCode-cli/VSCode-cli-1.85.1-x64.eb +++ /dev/null @@ -1,35 +0,0 @@ -easyblock = 'Tarball' - -name = 'VSCode-cli' -version = '1.85.1' -versionsuffix = '-x64' - -homepage = 'https://code.visualstudio.com/' -description = ''' - Visual Studio Code is a lightweight but powerful source code editor - which runs on your desktop and is available for Windows, macOS and - Linux. It comes with built-in support for JavaScript, TypeScript and - Node.js and has a rich ecosystem of extensions for other languages - and runtimes (such as C++, C#, Java, Python, PHP, Go, .NET). Begin - your journey with VS Code with these introductory videos. -''' - -toolchain = {'name': 'system', 'version': 'system'} - -source_urls = ['https://update.code.visualstudio.com/%(version)s/cli-alpine-x64/stable#'] -sources = [{ - 'download_filename': 'vscode_cli_alpine_x64_cli.tar.gz', - 'filename': 'vscode-%(version)s%(versionsuffix)s.tar.gz', -}] -checksums = ['cc469ba0461141fc3a58f589262c6e7d2bfa43044dd267267e794e8d89b831d1'] - -modextrapaths = {'PATH': ''} - -sanity_check_paths = { - 'files': ['code'], - 'dirs': [] -} - -sanity_check_commands = ["code --help"] - -moduleclass = 'devel' From 7cd11db2bcd0a5d3b1cb9bb75e67c972a3bba0b2 Mon Sep 17 00:00:00 2001 From: lara Date: Fri, 19 Jan 2024 11:14:19 +0100 Subject: [PATCH 3/3] fix sources --- easybuild/easyconfigs/c/code-cli/code-cli-1.85.1-x64.eb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/easybuild/easyconfigs/c/code-cli/code-cli-1.85.1-x64.eb b/easybuild/easyconfigs/c/code-cli/code-cli-1.85.1-x64.eb index 004b570f448..71e7200c0ce 100644 --- a/easybuild/easyconfigs/c/code-cli/code-cli-1.85.1-x64.eb +++ b/easybuild/easyconfigs/c/code-cli/code-cli-1.85.1-x64.eb @@ -17,7 +17,10 @@ description = ''' toolchain = {'name': 'system', 'version': 'system'} source_urls = ['https://update.code.visualstudio.com/%(version)s/cli-alpine-x64/stable#'] -sources = ['vscode_cli_alpine_x64_cli.tar.gz'] +sources = [{ + 'download_filename': 'vscode_cli_alpine_x64_cli.tar.gz', + 'filename': 'vscode-%(version)s%(versionsuffix)s.tar.gz', +}] checksums = ['cc469ba0461141fc3a58f589262c6e7d2bfa43044dd267267e794e8d89b831d1'] modextrapaths = {'PATH': ''}