Skip to content

Commit

Permalink
binaries using facade:
Browse files Browse the repository at this point in the history
- doc
- installRequirements
- install
- mysql2puml
- dbImport
- dbImportProfile
- dbImportStream
- cli
- gitIsAncestorOf
- gitIsBranch
- gitRenameBranch
- waitForIt
- waitForMysql
- upgradeGithubRelease
  • Loading branch information
fchastanet committed Oct 29, 2023
1 parent d0728bd commit f5b315f
Show file tree
Hide file tree
Showing 72 changed files with 25,444 additions and 9,790 deletions.
2 changes: 2 additions & 0 deletions .framework-config
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ FRAMEWORK_SRC_DIRS=(
)

export REPOSITORY_URL="https://github.com/fchastanet/bash-tools"

export BASH_FRAMEWORK_DISPLAY_LEVEL="3"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@
/bin/test
/bin/findShebangFiles
/bin/buildPushDockerImages
/bin/buildPushDockerImage
/bin/frameworkLint
5 changes: 3 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ repos:
- id: check-json
exclude: |
(?x)^(
conf\/.vscode\/settings.json
conf\/.vscode\/settings.json|
.vscode\/launch.json
)$
- repo: https://github.com/jumanjihouse/pre-commit-hooks
Expand All @@ -54,7 +55,7 @@ repos:
exclude: /testsData/

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.6
rev: v3.0.3
hooks:
- id: prettier

Expand Down
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"exiasr.hadolint",
"shd101wyy.markdown-preview-enhanced",
"monosans.djlint",
"foxundermoon.shell-format"
"foxundermoon.shell-format",
"rogalmic.bash-debug"
]
}
21 changes: 21 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "bashdb",
"request": "launch",
"name": "Bash-Debug (generic)",
"program": "${file}"
},
{
"type": "bashdb",
"request": "launch",
"name": "Bash-Debug (mysql2puml)",
"program": "bin/mysql2puml",
"args": ["src/_binaries/DbImport/testsData/dump.sql"]
}
]
}
6 changes: 4 additions & 2 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Todo

- report megalinter changes yml + github from framework to this repo
- get rid of install command
- each command should call a similar function before running
- could include installRequirements too
- display supported matrix (bash version, linux version)
- dbImportStream ability to import from dbAuthFile internally or from db
parameters
Expand All @@ -13,7 +17,5 @@
- src/build/install.sh use backupDir
- <https://github.com/adoyle-h/lobash>
- <https://github.com/elibs/ebash>
- <https://pre-commit.ci/> I don't understand where the code is executed if not
using lite version
- add code coverage <https://github.com/SimonKagstrom/kcov>
- upload code coverage to deepsource using github action
Loading

0 comments on commit f5b315f

Please sign in to comment.