From 77ccc6a3608b4656d157cf729799636b676d201b Mon Sep 17 00:00:00 2001 From: mashehu Date: Wed, 20 Dec 2023 15:51:04 +0100 Subject: [PATCH 1/6] set gitpod.yml docker image to latest --- .gitpod.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitpod.yml b/.gitpod.yml index 3c8b6b530..899f58e55 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,4 +1,4 @@ -image: nfcore/gitpod:dev +image: nfcore/gitpod:latest tasks: - name: install current state of nf-core/tools and setup pre-commit command: | From 038549034dadeed8835719b893429cd8b29a80a3 Mon Sep 17 00:00:00 2001 From: mashehu Date: Mon, 9 Dec 2024 16:41:31 +0100 Subject: [PATCH 2/6] don't break gitpod.yml with template string --- nf_core/pipeline-template/.gitpod.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nf_core/pipeline-template/.gitpod.yml b/nf_core/pipeline-template/.gitpod.yml index 67d24ff0f..947315c0c 100644 --- a/nf_core/pipeline-template/.gitpod.yml +++ b/nf_core/pipeline-template/.gitpod.yml @@ -4,8 +4,8 @@ tasks: command: | pre-commit install --install-hooks nextflow self-update - +{% if code_linters %} vscode: extensions: - #{%- if code_linters -%} - - nf-core.nf-core-extensionpack # https://github.com/nf-core/vscode-extensionpack{% endif %} + - nf-core.nf-core-extensionpack # https://github.com/nf-core/vscode-extensionpack +{%- endif -%} From 337143daba96d73a78ff2c324c2ff38381f60e4f Mon Sep 17 00:00:00 2001 From: mashehu Date: Mon, 9 Dec 2024 16:43:57 +0100 Subject: [PATCH 3/6] update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ea872655..313be748b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -62,6 +62,7 @@ - Update gitpod vscode extensions to use nf-core extension pack ([#3327](https://github.com/nf-core/tools/pull/3327)) - Remove toList() channel operation from inside onComplete block ([#3304](https://github.com/nf-core/tools/pull/3304)) - build: Setup VS Code tests ([#3292](https://github.com/nf-core/tools/pull/3292)) +- Don't break gitpod.yml with template string ([#3332](https://github.com/nf-core/tools/pull/3332)) ### Version updates From 15880be40d065d4d89dd2c2c65513713a029289b Mon Sep 17 00:00:00 2001 From: mashehu Date: Mon, 9 Dec 2024 16:54:17 +0100 Subject: [PATCH 4/6] make prettier happy --- nf_core/pipeline-template/.gitpod.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/nf_core/pipeline-template/.gitpod.yml b/nf_core/pipeline-template/.gitpod.yml index 947315c0c..f2088365d 100644 --- a/nf_core/pipeline-template/.gitpod.yml +++ b/nf_core/pipeline-template/.gitpod.yml @@ -3,9 +3,8 @@ tasks: - name: Update Nextflow and setup pre-commit command: | pre-commit install --install-hooks - nextflow self-update -{% if code_linters %} + nextflow self-update {%- if code_linters %} + vscode: extensions: - - nf-core.nf-core-extensionpack # https://github.com/nf-core/vscode-extensionpack -{%- endif -%} + - nf-core.nf-core-extensionpack {%- endif -%} From 5b1cf24f7fc9548928221f914253570c7238b63d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20H=C3=B6rtenhuber?= Date: Mon, 9 Dec 2024 17:09:32 +0100 Subject: [PATCH 5/6] Update nf_core/pipeline-template/.gitpod.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: JĂșlia Mir Pedrol --- nf_core/pipeline-template/.gitpod.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nf_core/pipeline-template/.gitpod.yml b/nf_core/pipeline-template/.gitpod.yml index f2088365d..d48e12272 100644 --- a/nf_core/pipeline-template/.gitpod.yml +++ b/nf_core/pipeline-template/.gitpod.yml @@ -3,7 +3,7 @@ tasks: - name: Update Nextflow and setup pre-commit command: | pre-commit install --install-hooks - nextflow self-update {%- if code_linters %} + nextflow self-update {% if code_linters %} vscode: extensions: From 045aaec42944e2ef7dfd2d1d6e2fcd1a6775d320 Mon Sep 17 00:00:00 2001 From: mashehu Date: Mon, 9 Dec 2024 17:11:04 +0100 Subject: [PATCH 6/6] fix template string --- nf_core/pipeline-template/.gitpod.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nf_core/pipeline-template/.gitpod.yml b/nf_core/pipeline-template/.gitpod.yml index d48e12272..c02b93834 100644 --- a/nf_core/pipeline-template/.gitpod.yml +++ b/nf_core/pipeline-template/.gitpod.yml @@ -7,4 +7,4 @@ tasks: vscode: extensions: - - nf-core.nf-core-extensionpack {%- endif -%} + - nf-core.nf-core-extensionpack # https://github.com/nf-core/vscode-extensionpack{% endif %}