Skip to content

Commit 656e9ef

Browse files
author
François Chastanet
committed
Refactoring to remove duplicated code
- move conf/.env to conf/defaultEnv/.env in order to be able to include the .env file using gtpl it avoids usage of @embed feature removing the need of tar command in BashTools::Conf::requireLoad - added src/_binaries/commandDefinitions/optionsDefault.yaml to set default binary options for all the binaries beforeParseCallback calling defaultBeforeParseCallback - avoid duplicated code by using the new fromDsnOptionLongDescription function - reformatted long description for all Database's binaries - better optionProfile default value management that can be default or empty depending the case - added src/_binaries/commandDefinitions/optionsTables.sh src/_binaries/commandDefinitions/optionsRatio.yaml in order to correctly order the options in help - move requirements to beforeParseCallback - recompiled all binaries to remove deprecated option --env-file
1 parent 7f4a89d commit 656e9ef

File tree

99 files changed

+3138
-2324
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+3138
-2324
lines changed

.pre-commit-config-github.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ repos:
161161
exclude: /testsData/
162162

163163
- repo: https://github.com/fchastanet/bash-tools-framework
164-
rev: 5.1.0
164+
rev: 5.1.2
165165
hooks:
166166
- id: fixShebangExecutionBit
167167
- id: awkLint
@@ -192,6 +192,10 @@ repos:
192192
WARNING,
193193
]
194194
- id: plantuml
195+
exclude: |
196+
(?x)(
197+
^conf/mysql2pumlSkins/default.puml$
198+
)
195199
196200
- repo: local
197201
hooks:

.pre-commit-config.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ repos:
156156
exclude: /testsData/
157157

158158
- repo: https://github.com/fchastanet/bash-tools-framework
159-
rev: 5.1.0
159+
rev: 5.1.2
160160
hooks:
161161
- id: fixShebangExecutionBit
162162
- id: awkLint
@@ -187,6 +187,10 @@ repos:
187187
WARNING,
188188
]
189189
- id: plantuml
190+
exclude: |
191+
(?x)(
192+
^conf/mysql2pumlSkins/default.puml$
193+
)
190194
191195
- repo: local
192196
hooks:

0 commit comments

Comments
 (0)