Skip to content

Commit

Permalink
Fix: Ignore all not supported changeset types
Browse files Browse the repository at this point in the history
  • Loading branch information
uniqueck committed May 5, 2024
1 parent 9f63a3a commit ec84abb
Show file tree
Hide file tree
Showing 28 changed files with 3,574 additions and 828 deletions.
4 changes: 3 additions & 1 deletion .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ parserOptions:
ignorePatterns:
- "test/antora/.cache/**"
- "test/antora/public/**"
rules: {}
rules: {
camelcase: off
}
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ test/antora/public/
*.tgz

# lfet based files
*.log.*.console.txt
*.log.*.ti.gtd.txt
*.log.*.check.txt
*_log_*_console.txt
*_log_*_ti.gtd.txt
*_log_*_rseq_nex.txt
*_log_*_check.txt

*.lfet.*.$bak
*.lfet_$temp
Expand Down
54 changes: 54 additions & 0 deletions .lfet/lfet.asciidoctor-liquibase.proj
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# This file is used to define the limits within which the
# decision table tool LF-ET can be freely used in this project.
#
# This file must not be changed, its checksum value must match
# with the checksum value stored in the corresponding license file.
#
# More about LF-ET can be found here:
# - https://lohrfink.de/de/produkte/lf-et/
# - https://lohrfink.de/en/solutions/lf-et/
#
# More about the rulebased.group can be found here:
# - https://rulebased.group/
#
# Any questions or CER's regarding LF-ET or this project are welcome here:
# - mailto:[email protected]

LFET:

Project:

Url:
# List of global unique project ID's
- [email protected]:uniqueck/asciidoctor-liquibase.git
- https://github.com/uniqueck/asciidoctor-liquibase.git
- https://github.com/uniqueck/asciidoctor-liquibase/

FileNamePattern:
# List of regular expressions for allowed file names
# incl. common 'save as' and export formats
- ^liquibase-parser([(](Rwa|ras)[)])?[.](lfet|xls[x]?)$
- ^liquibase-elements([(](Rwa|ras)[)])?[.](lfet|xls[x]?)$
- ^asciidoctor-liquibase([(](Rwa|ras)[)])?[.](lfet|xls[x]?)$
- ^addColumn([(](Rwa|ras)[)])?[.](lfet|xls[x]?)$
- ^addPrimaryKey([(](Rwa|ras)[)])?[.](lfet|xls[x]?)$
- ^changeSet([(](Rwa|ras)[)])?[.](lfet|xls[x]?)$
- ^column([(](Rwa|ras)[)])?[.](lfet|xls[x]?)$
- ^createIndex([(](Rwa|ras)[)])?[.](lfet|xls[x]?)$
- ^createView([(](Rwa|ras)[)])?[.](lfet|xls[x]?)$
- ^createTable([(](Rwa|ras)[)])?[.](lfet|xls[x]?)$
- ^dropColumn([(](Rwa|ras)[)])?[.](lfet|xls[x]?)$
- ^dropTable([(](Rwa|ras)[)])?[.](lfet|xls[x]?)$
- ^include([(](Rwa|ras)[)])?[.](lfet|xls[x]?)$
- ^addForeignKeyConstraint([(](Rwa|ras)[)])?[.](lfet|xls[x]?)$
- ^modifyDataType([(](Rwa|ras)[)])?[.](lfet|xls[x]?)$
- ^renameColumn([(](Rwa|ras)[)])?[.](lfet|xls[x]?)$

DirectoryNamePattern:
# List of regular expressions for allowed directory names
# relative to the project content root
# use always '/' as file separator
- ^[/]?(lfet|lib|test)[/]?$
- ^[/]?(lib|lfet)/extractor[/]?$
- ^[/]?test/features[/]?$
- ^[/]?test/features/extractor[/]?$
7 changes: 2 additions & 5 deletions lfet/asciidoctor-liquibase.lfet
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<LFET version="LF-ET 2.2.1 (230826a)" language="German" saveDate="2023.09.03 at 01:16:42 CEST" saveUser="constantin">
<LFET version="LF-ET 2.3.0 (240413a)" language="German" saveDate="2024.05.05 at 22:40:54 CEST" saveUser="constantin">
<Conditions>
<Condition uId="16864789879423038">
<Title language="German" value="Step"/>
Expand Down Expand Up @@ -123,13 +123,10 @@
<SourceCode codeLanguage="JavaScript" sourceCodeType="Prolog" value="/* global Opal */&lt;br/&gt;// @ts-check&lt;br/&gt;&lt;br/&gt;function liquibaseBlockMacro (name, context) {&lt;br/&gt; return function () {&lt;br/&gt; const self = this&lt;br/&gt; self.named(name)&lt;br/&gt; self.positionalAttributes(['tillTag'])&lt;br/&gt; self.process((parent, target, attrs) =&gt; {&lt;br/&gt; let vfs = context.vfs&lt;br/&gt; if (typeof vfs === 'undefined' || typeof vfs.read !== 'function') {&lt;br/&gt; vfs = require('./node-fs.js')&lt;br/&gt; }&lt;br/&gt; const changelogFile = parent.applySubstitutions(target, ['attributes'])&lt;br/&gt; const doc = parent.getDocument()&lt;br/&gt; const logger = doc.getLogger()&lt;br/&gt; const processModel = { finishedProcessing: false, tillTag: attrs.tillTag || undefined }&lt;br/&gt; processModel.tables = new Map()&lt;br/&gt;&amp;#009; let _step = 1&lt;br/&gt; let _exit = false&lt;br/&gt; do {&lt;br/&gt; _exit = true&lt;br/&gt; // $$BasicIndentLevel=4&lt;br/&gt;"/>
<SourceCode codeLanguage="JavaScript" sourceCodeType="Epilog" value=" } while (_exit === false)&lt;br/&gt;&amp;#009; return undefined&lt;br/&gt; })&lt;br/&gt; }&lt;br/&gt;}&lt;br/&gt;&lt;br/&gt;module.exports.register = function (registry, context = {}) {&lt;br/&gt; if (typeof context.contentCatalog !== 'undefined' &amp;&amp; typeof context.contentCatalog.addFile === 'function' &amp;&amp; typeof context.file !== 'undefined') {&lt;br/&gt; context.vfs = require('./antora-adapter.js')(context.file, context.contentCatalog, context.vfs)&lt;br/&gt; }&lt;br/&gt; context.logger = Opal.Asciidoctor.LoggerManager.getLogger()&lt;br/&gt; const names = [&lt;br/&gt; 'liquibase'&lt;br/&gt; ]&lt;br/&gt; //&lt;br/&gt; if (typeof registry.register === 'function') {&lt;br/&gt; registry.register(function () {&lt;br/&gt; for (const name of names) {&lt;br/&gt; this.blockMacro(liquibaseBlockMacro(name, context))&lt;br/&gt; }&lt;br/&gt; })&lt;br/&gt; } else if (typeof registry.block === 'function') {&lt;br/&gt; for (const name of names) {&lt;br/&gt; registry.blockMacro(liquibaseBlockMacro(name, context))&lt;br/&gt; }&lt;br/&gt; }&lt;br/&gt; return registry&lt;br/&gt;}"/>
<SourceCode codeLanguage="JavaScript" sourceCodeType="Trace" value="logger.info('$$dtName - $$version - $$rule / $$rules')"/>
<TestValueGroups selectedGroup="Cucumber">
<TestValueGroups selectedGroup="*ti.att.Cucumber">
<TestValueGroup name="*ti.check.Cucumber"/>
<TestValueGroup name="*ti.gtd.Cucumber"/>
<TestValueGroup name="*ti.att.Cucumber"/>
<TestValueGroup name="Cucumber" tvgTiAtt="*ti.att.Cucumber" tvgTiCheck="*ti.check.Cucumber" tvgTiGTD="*ti.gtd.Cucumber">
<Config name="Config" tags="cucumber" parms="-Group 'Cucumber' -SwitchCoverage '1' -NonExecutableRules '50' -NonExecutableRuleSeq '50' -RecommendedTestCases -OutGherkin 'asciidoctor-liquibase.testcases.feature'"/>
</TestValueGroup>
</TestValueGroups>
<TestValue group="*ti.att.Cucumber" type="tcpre" value="#language:en"/>
</LFET>
Binary file modified lfet/asciidoctor-liquibase.lfet.$bak.zip
Binary file not shown.
Loading

0 comments on commit ec84abb

Please sign in to comment.