From e9c5c666ec322f15f4f3e7e3ae412327e94f9dcc Mon Sep 17 00:00:00 2001 From: davelopez <46503462+davelopez@users.noreply.github.com> Date: Sun, 2 Oct 2022 14:55:05 +0200 Subject: [PATCH 1/5] Update server changelog --- server/CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/server/CHANGELOG.md b/server/CHANGELOG.md index e8a5171a..1cd45248 100644 --- a/server/CHANGELOG.md +++ b/server/CHANGELOG.md @@ -1,5 +1,17 @@ # Galaxy Language Server Changelog +## [0.8.0] - 2022-10-02 + +### Added + +- Full Galaxy tool linting integration ([#204](https://github.com/galaxyproject/galaxy-language-server/pull/204)). + +### Changed + +- Code quality: refactor validation system ([#205](https://github.com/galaxyproject/galaxy-language-server/pull/205)). + +- Code quality: setup isort ([#203](https://github.com/galaxyproject/galaxy-language-server/pull/203)). + ## [0.7.1] - 2022-01-31 ### Fixed From 14abed770949b5d7712a0ff65e8239e4496ad077 Mon Sep 17 00:00:00 2001 From: davelopez <46503462+davelopez@users.noreply.github.com> Date: Sun, 2 Oct 2022 14:57:35 +0200 Subject: [PATCH 2/5] Update server version to v0.8.0 --- server/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/setup.py b/server/setup.py index aaa44e11..f6ec245c 100644 --- a/server/setup.py +++ b/server/setup.py @@ -8,7 +8,7 @@ ) PACKAGE_NAME = "galaxy-language-server" -VERSION = "0.7.1" +VERSION = "0.8.0" AUTHOR = "David López" AUTHOR_EMAIL = "davelopez7391@gmail.com" DESCRIPTION = "A language server for Galaxy (https://galaxyproject.org) tool wrappers" From 89ccab684f2dd249281caf3415752000fedd1da4 Mon Sep 17 00:00:00 2001 From: davelopez <46503462+davelopez@users.noreply.github.com> Date: Sun, 2 Oct 2022 15:01:52 +0200 Subject: [PATCH 3/5] Update client changelog --- client/CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/client/CHANGELOG.md b/client/CHANGELOG.md index 4c23457f..83ff58d3 100644 --- a/client/CHANGELOG.md +++ b/client/CHANGELOG.md @@ -1,5 +1,13 @@ # Galaxy Tools (VS Code Extension) Changelog +## [0.8.0] - 2022-10-02 + +### Changed + +- Code quality: add end to end tests ([#206](https://github.com/galaxyproject/galaxy-language-server/pull/206)). + +- Updated Galaxy Language Server [v0.8.0](./server/CHANGELOG.md#080) + ## [0.7.3] - 2022-09-06 ### Fixed From 895d9f2d2ed0c873a17a859c161bb9d51b49346f Mon Sep 17 00:00:00 2001 From: davelopez <46503462+davelopez@users.noreply.github.com> Date: Sun, 2 Oct 2022 15:10:52 +0200 Subject: [PATCH 4/5] Update client version to v0.8.0 --- client/.vscodeignore | 10 +++++++--- client/package-lock.json | 4 ++-- client/package.json | 2 +- client/src/constants.ts | 2 +- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/client/.vscodeignore b/client/.vscodeignore index cf24579c..3954560f 100644 --- a/client/.vscodeignore +++ b/client/.vscodeignore @@ -1,7 +1,11 @@ -**/*.ts +.vscode-test/** +**/*.log **/*.map -out/** -node_modules/** +**/*.ts dist/**/*.txt +glsenv/** +node_modules/** +out/** +tests/** tsconfig.json webpack.config.js diff --git a/client/package-lock.json b/client/package-lock.json index 612630c4..9e6ad003 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -1,12 +1,12 @@ { "name": "galaxy-tools", - "version": "0.7.3", + "version": "0.8.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "galaxy-tools", - "version": "0.7.3", + "version": "0.8.0", "license": "Apache-2.0", "dependencies": { "iconv-lite": "^0.6.3", diff --git a/client/package.json b/client/package.json index 20e61b39..5a7c8cef 100644 --- a/client/package.json +++ b/client/package.json @@ -5,7 +5,7 @@ "author": "davelopez", "publisher": "davelopez", "license": "Apache-2.0", - "version": "0.7.3", + "version": "0.8.0", "preview": true, "repository": { "type": "git", diff --git a/client/src/constants.ts b/client/src/constants.ts index c7f78749..b5a2007d 100644 --- a/client/src/constants.ts +++ b/client/src/constants.ts @@ -3,7 +3,7 @@ export namespace Constants { export const LS_VENV_NAME = "glsenv"; export const GALAXY_LS_PACKAGE = "galaxy-language-server"; export const GALAXY_LS = "galaxyls"; - export const GALAXY_LS_VERSION = "0.7.1"; + export const GALAXY_LS_VERSION = "0.8.0"; export const LANGUAGE_ID = "galaxytool"; export const TOOL_DOCUMENT_EXTENSION = "xml"; From ef5a697c7d36edcd689c197f8ba120e93ed2487d Mon Sep 17 00:00:00 2001 From: davelopez <46503462+davelopez@users.noreply.github.com> Date: Sun, 2 Oct 2022 15:29:51 +0200 Subject: [PATCH 5/5] Update readme --- README.md | 7 +++++-- client/README.md | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cad5ca80..730174f6 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,8 @@ This project has the following main goals: - [Auto-sort param attributes](#auto-sort-param-attributes) - [Run planemo tests in the Test Explorer](#run-planemo-tests-in-the-test-explorer) - [Improved macros support](#improved-macros-support) - - [Extract macro](#extract-macro) _New feature!_ :rocket: + - [Extract macro](#extract-macro) + - [Full Galaxy tool linter integration](#document-validation) _New feature!_ ✨ # Getting Started @@ -76,7 +77,9 @@ The documentation of tags and attributes is retrieved from the [Galaxy.xsd](http ![Demo feature validation](../assets/feature.validation.png) -The tools are also validated against the [Galaxy.xsd](https://github.com/galaxyproject/galaxy/blob/dev/lib/galaxy/tool_util/xsd/galaxy.xsd) schema. +In addition to basic XML syntax validation, the tools are validated against the [Galaxy.xsd](https://github.com/galaxyproject/galaxy/blob/dev/lib/galaxy/tool_util/xsd/galaxy.xsd) schema. + +Since version 0.8.0 the full Galaxy linting is directly reported on the document diagnostics. ## Document auto-formatting diff --git a/client/README.md b/client/README.md index 6c3a237c..ac582e43 100644 --- a/client/README.md +++ b/client/README.md @@ -34,7 +34,8 @@ Since version `0.4.0` you can use some of the cool features of [planemo](https:/ - [Auto-sort param attributes](#auto-sort-param-attributes) - [Run planemo tests in the Test Explorer](#run-planemo-tests-in-the-test-explorer) - [Improved macros support](#improved-macros-support) - - [Extract macro](#extract-macro) _New feature!_ :rocket: + - [Extract macro](#extract-macro) + - [Full Galaxy tool linter integration](#document-validation) _New feature!_ ✨ # Installation @@ -105,7 +106,9 @@ The documentation of tags and attributes is retrieved from the [Galaxy.xsd](http ![Demo feature validation](../assets/feature.validation.png) -The tools are also validated against the [Galaxy.xsd](https://github.com/galaxyproject/galaxy/blob/dev/lib/galaxy/tool_util/xsd/galaxy.xsd) schema. +In addition to basic XML syntax validation, the tools are validated against the [Galaxy.xsd](https://github.com/galaxyproject/galaxy/blob/dev/lib/galaxy/tool_util/xsd/galaxy.xsd) schema. + +Since version 0.8.0 the full Galaxy linting is directly reported on the document diagnostics. ## Document auto-formatting