From d7fe7dce3e52d617e199baf190a0d1e077e67d38 Mon Sep 17 00:00:00 2001 From: lukewoodcock Date: Wed, 4 Dec 2024 15:05:46 +0100 Subject: [PATCH 1/2] Improve usability of modules_in_project_directory_on_harddisk_but_not_added_to_project linter (#256) * -remove root directory name entirely from linter -improve usability with path regex pattern to include * update documentation --- ...a.lint.generic.linters_library.modules.mps | 232 +++++++----------- 1 file changed, 93 insertions(+), 139 deletions(-) diff --git a/code/languages/org.mpsqa.lint/solutions/org.mpsqa.lint.generic.linters_library/models/org.mpsqa.lint.generic.linters_library.modules.mps b/code/languages/org.mpsqa.lint/solutions/org.mpsqa.lint.generic.linters_library/models/org.mpsqa.lint.generic.linters_library.modules.mps index 36df410c..cbebd6f2 100644 --- a/code/languages/org.mpsqa.lint/solutions/org.mpsqa.lint.generic.linters_library/models/org.mpsqa.lint.generic.linters_library.modules.mps +++ b/code/languages/org.mpsqa.lint/solutions/org.mpsqa.lint.generic.linters_library/models/org.mpsqa.lint.generic.linters_library.modules.mps @@ -124,7 +124,6 @@ - @@ -144,7 +143,6 @@ - @@ -165,10 +163,6 @@ - - - - @@ -256,15 +250,6 @@ - - - - - - - - - @@ -1138,44 +1123,50 @@ - + - + - - + + - - + + - + - - + + - + - - + + - - + + - - + + - - + + - - + + + + + + + + @@ -1194,17 +1185,56 @@ - - + + - - + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1549,11 +1579,16 @@ - - + + + + + + + - - + + @@ -1660,6 +1695,7 @@ + @@ -1685,49 +1721,15 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + - - - - - - - - - - - - + + @@ -1740,64 +1742,16 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + From bd1af14d0b9f026d528e9de0905f6474197fc7af Mon Sep 17 00:00:00 2001 From: danielratiu Date: Wed, 4 Dec 2024 23:25:08 +0100 Subject: [PATCH 2/2] arch: improvements to speedup the checks by avoiding not necessary steps (#257) Co-authored-by: Daniel Ratiu --- .../models/org.mpsqa.arch.typesystem.mps | 67 ++++++++++++++++--- .../models/org.mpsqa.arch.util.mps | 47 +++++++++---- 2 files changed, 91 insertions(+), 23 deletions(-) diff --git a/code/languages/org.mpsqa.arch/languages/org.mpsqa.arch/models/org.mpsqa.arch.typesystem.mps b/code/languages/org.mpsqa.arch/languages/org.mpsqa.arch/models/org.mpsqa.arch.typesystem.mps index b6832e19..38f046af 100644 --- a/code/languages/org.mpsqa.arch/languages/org.mpsqa.arch/models/org.mpsqa.arch.typesystem.mps +++ b/code/languages/org.mpsqa.arch/languages/org.mpsqa.arch/models/org.mpsqa.arch.typesystem.mps @@ -284,6 +284,13 @@ + + + + + + + @@ -574,6 +581,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1983,21 +2017,34 @@ - - - - - + + + + + + + + + + - - + + + + - - - + + + + + + + + + diff --git a/code/languages/org.mpsqa.arch/languages/org.mpsqa.arch/models/org.mpsqa.arch.util.mps b/code/languages/org.mpsqa.arch/languages/org.mpsqa.arch/models/org.mpsqa.arch.util.mps index 29a651d9..a05dfccc 100644 --- a/code/languages/org.mpsqa.arch/languages/org.mpsqa.arch/models/org.mpsqa.arch.util.mps +++ b/code/languages/org.mpsqa.arch/languages/org.mpsqa.arch/models/org.mpsqa.arch.util.mps @@ -209,6 +209,7 @@ + @@ -623,25 +624,45 @@ - - - + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - + + + + + + + + - - + - +