From 3b97fccc1efaf17832ff9794b7d55c2e4cd7b179 Mon Sep 17 00:00:00 2001 From: Charles N Wyble Date: Tue, 10 Dec 2024 14:53:31 -0600 Subject: [PATCH] Removed vendored deps --- .../.github/PULL_REQUEST_TEMPLATE.md | 7 - .../bash3boilerplate/.github/dependabot.yml | 5 - .../bash3boilerplate/.github/workflows/ci.yml | 30 - .../bash3boilerplate/.gitignore | 5 - .../bash3boilerplate/.shellcheckrc | 3 - .../.vscode/bash3boilerplate.code-workspace | 8 - .../bash3boilerplate/.yarnrc.yml | 1 - .../bash3boilerplate/CHANGELOG.md | 175 -- .../bash3boilerplate/FAQ.md | 171 -- .../bash3boilerplate/LICENSE | 21 - .../bash3boilerplate/Makefile | 59 - .../bash3boilerplate/README.md | 175 -- .../bash3boilerplate/docs/CNAME | 1 - .../bash3boilerplate/docs/index.html | 15 - .../bash3boilerplate/example.sh | 147 -- .../bash3boilerplate/main.sh | 453 ---- .../bash3boilerplate/package.json | 29 - .../bash3boilerplate/src/ini_val.sh | 113 - .../bash3boilerplate/src/megamount.sh | 78 - .../bash3boilerplate/src/parse_url.sh | 84 - .../bash3boilerplate/src/templater.sh | 68 - .../bash3boilerplate/test/acceptance.sh | 232 -- .../bash3boilerplate/test/fixture/.empty | 0 .../test/fixture/double-source.exitcode | 1 - .../test/fixture/double-source.stdio | 25 - .../test/fixture/ini_val.exitcode | 1 - .../test/fixture/ini_val.stdio | 42 - .../test/fixture/main-debug.exitcode | 1 - .../test/fixture/main-debug.stdio | 25 - .../test/fixture/main-help.exitcode | 1 - .../test/fixture/main-help.stdio | 19 - .../test/fixture/main-longopt.exitcode | 1 - .../test/fixture/main-longopt.stdio | 4 - .../test/fixture/main-nocolor.exitcode | 1 - .../test/fixture/main-nocolor.stdio | 25 - .../test/fixture/main-repeated.exitcode | 1 - .../test/fixture/main-repeated.stdio | 9 - .../test/fixture/main-usage-defaults.exitcode | 1 - .../test/fixture/main-usage-defaults.stdio | 7 - .../fixture/main-usage-validation.exitcode | 1 - .../test/fixture/main-usage-validation.stdio | 169 -- .../test/fixture/megamount.exitcode | 1 - .../test/fixture/megamount.stdio | 2 - .../test/fixture/parse_url.exitcode | 1 - .../test/fixture/parse_url.stdio | 24 - .../test/fixture/templater.exitcode | 1 - .../test/fixture/templater.stdio | 14 - .../test/scenario/double-source/run.sh | 15 - .../test/scenario/ini_val/data.ini | 8 - .../test/scenario/ini_val/run.sh | 54 - .../test/scenario/main-debug/run.sh | 12 - .../test/scenario/main-help/run.sh | 12 - .../test/scenario/main-longopt/run.sh | 16 - .../test/scenario/main-nocolor/run.sh | 12 - .../test/scenario/main-repeated/run.sh | 19 - .../test/scenario/main-usage-defaults/run.sh | 32 - .../scenario/main-usage-validation/run.sh | 64 - .../test/scenario/megamount/run.sh | 21 - .../test/scenario/parse_url/run.sh | 17 - .../test/scenario/templater/app.template.cfg | 2 - .../scenario/templater/break.template.cfg | 3 - .../test/scenario/templater/run.sh | 36 - .../bash3boilerplate/test/style.pl | 45 - .../bash3boilerplate/yarn.lock | 1372 ----------- .../markdown-resume/README.md | 10 - .../markdown-resume/resume-css-stylesheet.css | 440 ---- .../resume-docx-reference.docx | Bin 16716 -> 0 bytes .../markdown-resume/resume.docx | Bin 13627 -> 0 bytes .../markdown-resume/resume.html | 53 - .../markdown-resume/resume.md | 49 - .../markdown-resume/resume.pdf | Bin 32085 -> 0 bytes .../ExternalVendorCode/mo/.eslintrc.yaml | 168 -- .../mo/.github/workflows/ci.yaml | 13 - .../mo/.github/workflows/release.yaml | 45 - .../ExternalVendorCode/mo/.gitignore | 9 - .../ExternalVendorCode/mo/API.md | 616 ----- .../ExternalVendorCode/mo/Dockerfile | 7 - .../ExternalVendorCode/mo/LICENSE.md | 7 - .../ExternalVendorCode/mo/README.md | 340 --- .../mo/demo/associative-arrays | 19 - .../mo/demo/embedded-template | 28 - .../ExternalVendorCode/mo/demo/fun-trip.mo | 3 - .../ExternalVendorCode/mo/demo/function-args | 31 - .../mo/demo/function-args-part1 | 1 - .../mo/demo/function-args-part2 | 3 - .../mo/demo/function-for-advanced-looping | 42 - .../mo/demo/function-for-building-json | 39 - .../mo/demo/function-for-foreach | 50 - .../ExternalVendorCode/mo/demo/important-file | 28 - .../mo/demo/indented-partial | 15 - .../ExternalVendorCode/mo/demo/partial | 1 - .../ExternalVendorCode/mo/demo/sourcing | 13 - .../ExternalVendorCode/mo/demo/sourcing.vars | 2 - .../ExternalVendorCode/mo/demo/using-arrays | 10 - .../ExternalVendorCode/mo/demo/using-strings | 7 - .../mo/demo/writing-out-braces | 12 - .../ExternalVendorCode/mo/make-api-doc | 20 - .../ExternalVendorCode/mo/mo | 1997 ----------------- .../ExternalVendorCode/mo/run-spec | 22 - .../ExternalVendorCode/mo/run-spec.js | 512 ----- .../ExternalVendorCode/mo/run-tests | 162 -- .../ExternalVendorCode/mo/tests/ampersand | 9 - .../ExternalVendorCode/mo/tests/array | 21 - .../ExternalVendorCode/mo/tests/assoc-array | 25 - .../ExternalVendorCode/mo/tests/comment | 8 - .../mo/tests/comment-newline | 15 - .../mo/tests/comment-with-spaces | 8 - .../mo/tests/concatenated-variables | 10 - .../ExternalVendorCode/mo/tests/delimiters | 9 - .../ExternalVendorCode/mo/tests/double-hyphen | 10 - .../ExternalVendorCode/mo/tests/double-quote | 8 - .../ExternalVendorCode/mo/tests/fail-not-set | 20 - .../mo/tests/fail-on-function | 13 - .../mo/tests/false-is-empty-arg | 18 - .../mo/tests/false-is-empty-env | 18 - .../ExternalVendorCode/mo/tests/false-list | 16 - .../tests/fixtures/indented-partials.partial | 2 - .../mo/tests/fixtures/inline-indentation | 2 - .../tests/fixtures/multi-line-partial.partial | 1 - .../mo/tests/fixtures/partial.partial | 1 - .../mo/tests/fixtures/source-multiple-1.vars | 2 - .../mo/tests/fixtures/source-multiple-2.vars | 2 - .../mo/tests/fixtures/source.vars | 5 - .../fixtures/standalone-indentation.partial | 3 - .../ExternalVendorCode/mo/tests/function | 25 - .../mo/tests/function-alternate-delimiters | 16 - .../ExternalVendorCode/mo/tests/function-args | 35 - .../mo/tests/function-args-read | 42 - .../mo/tests/function-with-more-parsing | 28 - .../mo/tests/globals-in-loop | 28 - .../ExternalVendorCode/mo/tests/help | 101 - .../mo/tests/indented-partials | 56 - .../mo/tests/inline-indentation | 19 - .../mo/tests/internal-whitespace | 9 - .../mo/tests/invalid-option | 11 - .../ExternalVendorCode/mo/tests/inverted | 18 - .../ExternalVendorCode/mo/tests/issue-75 | 9 - .../ExternalVendorCode/mo/tests/list-contexts | 16 - .../ExternalVendorCode/mo/tests/miss | 24 - .../mo/tests/multi-line-partial | 35 - .../ExternalVendorCode/mo/tests/mush | 33 - .../ExternalVendorCode/mo/tests/no-content | 8 - .../ExternalVendorCode/mo/tests/partial | 22 - .../mo/tests/partial-bad-file | 9 - .../mo/tests/partial-missing | 19 - .../ExternalVendorCode/mo/tests/single-quote | 8 - .../mo/tests/single-variable-replacement | 9 - .../ExternalVendorCode/mo/tests/source | 25 - .../mo/tests/source-bad-file | 10 - .../mo/tests/source-multiple | 21 - .../mo/tests/source-no-file | 10 - .../mo/tests/standalone-indentation | 24 - .../ExternalVendorCode/mo/tests/triple-brace | 9 - .../ExternalVendorCode/mo/tests/typical | 26 - .../mo/tests/unbound-variable | 10 - .../ExternalVendorCode/mo/tests/variable | 9 - .../mo/tests/variable-braces-and-parenthesis | 53 - 157 files changed, 9774 deletions(-) delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/.github/PULL_REQUEST_TEMPLATE.md delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/.github/dependabot.yml delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/.github/workflows/ci.yml delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/.gitignore delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/.shellcheckrc delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/.vscode/bash3boilerplate.code-workspace delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/.yarnrc.yml delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/CHANGELOG.md delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/FAQ.md delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/LICENSE delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/Makefile delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/README.md delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/docs/CNAME delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/docs/index.html delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/example.sh delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/main.sh delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/package.json delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/src/ini_val.sh delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/src/megamount.sh delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/src/parse_url.sh delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/src/templater.sh delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/acceptance.sh delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/.empty delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/double-source.exitcode delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/double-source.stdio delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/ini_val.exitcode delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/ini_val.stdio delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-debug.exitcode delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-debug.stdio delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-help.exitcode delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-help.stdio delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-longopt.exitcode delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-longopt.stdio delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-nocolor.exitcode delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-nocolor.stdio delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-repeated.exitcode delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-repeated.stdio delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-usage-defaults.exitcode delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-usage-defaults.stdio delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-usage-validation.exitcode delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-usage-validation.stdio delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/megamount.exitcode delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/megamount.stdio delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/parse_url.exitcode delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/parse_url.stdio delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/templater.exitcode delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/templater.stdio delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/double-source/run.sh delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/ini_val/data.ini delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/ini_val/run.sh delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/main-debug/run.sh delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/main-help/run.sh delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/main-longopt/run.sh delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/main-nocolor/run.sh delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/main-repeated/run.sh delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/main-usage-defaults/run.sh delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/main-usage-validation/run.sh delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/megamount/run.sh delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/parse_url/run.sh delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/templater/app.template.cfg delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/templater/break.template.cfg delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/templater/run.sh delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/style.pl delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/yarn.lock delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/markdown-resume/README.md delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/markdown-resume/resume-css-stylesheet.css delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/markdown-resume/resume-docx-reference.docx delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/markdown-resume/resume.docx delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/markdown-resume/resume.html delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/markdown-resume/resume.md delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/markdown-resume/resume.pdf delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/mo/.eslintrc.yaml delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/mo/.github/workflows/ci.yaml delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/mo/.github/workflows/release.yaml delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/mo/.gitignore delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/mo/API.md delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/mo/Dockerfile delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/mo/LICENSE.md delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/mo/README.md delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/demo/associative-arrays delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/demo/embedded-template delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/mo/demo/fun-trip.mo delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/demo/function-args delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/mo/demo/function-args-part1 delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/mo/demo/function-args-part2 delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/demo/function-for-advanced-looping delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/demo/function-for-building-json delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/demo/function-for-foreach delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/demo/important-file delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/demo/indented-partial delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/mo/demo/partial delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/demo/sourcing delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/mo/demo/sourcing.vars delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/demo/using-arrays delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/demo/using-strings delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/demo/writing-out-braces delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/make-api-doc delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/mo delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/run-spec delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/mo/run-spec.js delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/run-tests delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/ampersand delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/array delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/assoc-array delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/comment delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/comment-newline delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/comment-with-spaces delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/concatenated-variables delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/delimiters delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/double-hyphen delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/double-quote delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/fail-not-set delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/fail-on-function delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/false-is-empty-arg delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/false-is-empty-env delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/false-list delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/fixtures/indented-partials.partial delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/fixtures/inline-indentation delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/fixtures/multi-line-partial.partial delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/fixtures/partial.partial delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/fixtures/source-multiple-1.vars delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/fixtures/source-multiple-2.vars delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/fixtures/source.vars delete mode 100644 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/fixtures/standalone-indentation.partial delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/function delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/function-alternate-delimiters delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/function-args delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/function-args-read delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/function-with-more-parsing delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/globals-in-loop delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/help delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/indented-partials delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/inline-indentation delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/internal-whitespace delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/invalid-option delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/inverted delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/issue-75 delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/list-contexts delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/miss delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/multi-line-partial delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/mush delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/no-content delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/partial delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/partial-bad-file delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/partial-missing delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/single-quote delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/single-variable-replacement delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/source delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/source-bad-file delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/source-multiple delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/source-no-file delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/standalone-indentation delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/triple-brace delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/typical delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/unbound-variable delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/variable delete mode 100755 vendor/git.knownelement.com/ExternalVendorCode/mo/tests/variable-braces-and-parenthesis diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/.github/PULL_REQUEST_TEMPLATE.md b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index 57a9617..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,7 +0,0 @@ -Thanks for contributing to b3bp! As part of your PR, have you: - -- [ ] Added an item in [CHANGELOG.md](https://github.com/kvz/bash3boilerplate/blob/HEAD/CHANGELOG.md) with attribution? -- [ ] Added your name to the [README.md](https://github.com/kvz/bash3boilerplate/blob/HEAD/README.md#authors) -- [ ] Linted your code? (`make test` should do the trick) - -If so, great! Feel free to replace this message with a description of your work and hit submit! diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/.github/dependabot.yml b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/.github/dependabot.yml deleted file mode 100644 index 2d2b2b8..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/.github/dependabot.yml +++ /dev/null @@ -1,5 +0,0 @@ -groups: - production-dependencies: - dependency-type: 'production' - development-dependencies: - dependency-type: 'development' diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/.github/workflows/ci.yml b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/.github/workflows/ci.yml deleted file mode 100644 index a660a17..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/.github/workflows/ci.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: b3bp CI -on: - push: - branches: - - main - pull_request: - types: - - opened - - synchronize -jobs: - ci: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 1 - - uses: actions/setup-node@v1 - with: - node-version: 18.x - - name: Install - run: | - corepack yarn - - name: Lint - env: - SHELLCHECK_SEVERITY: warning - run: | - corepack yarn lint - - name: Test - run: | - corepack yarn test diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/.gitignore b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/.gitignore deleted file mode 100644 index 2213a68..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -.yarn -assets/build -env.sh -node_modules -npm-debug.log diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/.shellcheckrc b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/.shellcheckrc deleted file mode 100644 index 2ebe56a..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/.shellcheckrc +++ /dev/null @@ -1,3 +0,0 @@ -external-sources=true -shell=bash -color=always diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/.vscode/bash3boilerplate.code-workspace b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/.vscode/bash3boilerplate.code-workspace deleted file mode 100644 index 64bfb87..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/.vscode/bash3boilerplate.code-workspace +++ /dev/null @@ -1,8 +0,0 @@ -{ - "folders": [ - { - "path": ".." - } - ], - "settings": {} -} diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/.yarnrc.yml b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/.yarnrc.yml deleted file mode 100644 index 3186f3f..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/.yarnrc.yml +++ /dev/null @@ -1 +0,0 @@ -nodeLinker: node-modules diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/CHANGELOG.md b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/CHANGELOG.md deleted file mode 100644 index 12afb68..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/CHANGELOG.md +++ /dev/null @@ -1,175 +0,0 @@ -# Changelog - -Here's is a combined todo/done list. You can see what todos are planned for the upcoming release, as well as ideas that may/may not make into a release in `Ideas`. - -## Ideas - -Unplanned. - -- [ ] Better style guide checking (#84) - -## main - -Released: TBA. -[Diff](https://github.com/kvz/bash3boilerplate/compare/2.7.2...main). - -- [ ] - -## 2.7.2 - -Released: 2023-08-29 -[Diff](https://github.com/kvz/bash3boilerplate/compare/v2.4.1...2.7.2). - -- [x] Upgrade and cleanup node dependencies -- [x] Remove lanyon-based website in favor of simple redirect to github for bash3boilerplate.sh -- [x] Make tests pass again -- [x] Make linting and style checking separate actions -- [x] Add feature to edit/update comments in ini file (#132, @rfuehrer) -- [x] Upgrade to `lanyon@0.1.16` -- [x] Capture correct error_code in err_report (#124, @eval) -- [x] Enhanced ini file handling: create new file, create new sections, handle default section, read key from given section (@rfuehrer) - -## v2.4.2 - -Released: 2019-11-07. -[Diff](https://github.com/kvz/bash3boilerplate/compare/v2.4.1...v2.4.2). - -- [x] Upgrade to `lanyon@0.1.16` -- [x] Capture correct error_code in err_report (#124, @eval) -- [x] Enhanced ini file handling: create new file, create new sections, handle default section, read key from given section (@rfuehrer) - -## v2.4.1 - -Released: 2019-11-07. -[Diff](https://github.com/kvz/bash3boilerplate/compare/v2.3.0...v2.4.1). - -- [x] Upgrade to `lanyon@0.1.7` -- [x] Allow counting how many times an argument is used (@genesiscloud) -- [x] Fix typos in megamount (thanks @gsaponaro) -- [x] Enable color in screen or tmux (#92, @gmasse) -- [x] Change `egrep` to `grep -E` in test and lib scripts to comply with ShellCheck (#92, @gmasse) -- [x] Fix typo in FAQ (#92, @gmasse) -- [x] Fix Travis CI failure on src/templater.sh (@gmasse) -- [x] Add magic variable which contains full command invocation -- [x] More contrasted alert and emergency colors (#111 @gmeral) -- [x] Add support for repeatable arguments (@genesiscloud) -- [x] Fix remaining warnings with shellcheck v0.7.0 (#107, @genesiscloud) - -## v2.4.0 - -Released: 2016-12-21. -[Diff](https://github.com/kvz/bash3boilerplate/compare/v2.3.0...v2.4.0). - -- [x] Upgrade to `lanyon@0.0.143` - -## v2.3.0 - -Released: 2016-12-21. -[Diff](https://github.com/kvz/bash3boilerplate/compare/v2.2.0...v2.3.0). - -- [x] Add magic variable `__i_am_main_script` to distinguish if b3bp is being sourced or called directly (#45, @zbeekman) -- [x] Add style checks for tab characters and trailing whitespace (@zbeekman) -- [x] Add backtracing to help localize errors (#44, @zbeekman) -- [x] Additional FAQ entries (#47, suggested by @gdevenyi, implemented by @zbeekman) -- [x] Ensure that shifting over `--` doesn't throw an errexit error (#21, @zbeekman) -- [x] Add Pull Request template (#83) - -## v2.2.0 - -Released: 2016-12-21. -[Diff](https://github.com/kvz/bash3boilerplate/compare/v2.1.0...v2.2.0). - -- [x] README and FAQ improvements (#66, @mstreuhofer) -- [x] Add support for sourcing b3bp (#61, @mstreuhofer) -- [x] Upgrade all Node.js dependencies for development (#78) -- [x] Switch to http://lanyon.io for static site building, add a new logo -- [x] Cleanup environment variables (#58, @mstreuhofer) -- [x] Support multi-line logs (#57, @mstreuhofer) -- [x] Run shellcheck as part of the acceptance test (#79, @mstreuhofer) -- [x] Brace all variables, used `[[` instead of `[` (#33, #76, @mstreuhofer) -- [x] Add automatic usage validation for required args (#22, #65, @mstreuhofer) -- [x] Remove all usage of eval (@mstreuhofer) -- [x] Get rid of awk, sed & egrep usage (#71, @mstreuhofer) -- [x] Fix auto-color-off code (#69, #70, @mstreuhofer) -- [x] Use shellcheck to find and fix unclean code (#68, #80, @mstreuhofer) -- [x] Allow for multiline opt description in `__usage` (#7, @mstreuhofer) -- [x] Allow `__usage` and `__helptext` to be defined before sourcing `main.sh` thus makeing b3bp behave like a library (@mstreuhofer) -- [x] Add the same License text to each script header (@mstreuhofer) - -## v2.1.0 - -Released: 2016-11-08. -[Diff](https://github.com/kvz/bash3boilerplate/compare/v2.0.0...v2.1.0). - -- [x] Cleanup b3bp variables (adds prefixes across the board) (thanks @mstreuhofer) -- [x] Add multi-line logging support (thanks @mstreuhofer) -- [x] Mangle long-option names to allow dashes (thanks @zbeekman) -- [x] Remove OS detection altogether (#38, thx @zbeekman) -- [x] Offer the main template for download as http://bash3boilerplate.sh/main.sh -- [x] Better OS detection (#38, thx @moviuro) -- [x] Improve README copy (#34, thx galaktos) -- [x] Fix unquoted variable access within (#34 thx galaktos) -- [x] For delete-key-friendliness, bundle the commandline definition block along with its parser -- [x] Less verbose header comments -- [x] For delete-key-friendliness, don't crash on undeclared help vars -- [x] Introduce `errtrace`, which is on by default (BREAKING) -- [x] Add a configurable `helptext` that is left alone by the parses and allows you to have a richer help -- [x] Add a simple documentation website -- [x] Add best practice of using `__double_underscore_prefixed_vars` to indicate global variables that are solely controlled inside your script -- [x] Make license more permissive by not requiring distribution of the LICENSE file if the copyright & attribution comments are left intact -- [x] Respect `--no-color` by setting the `NO_COLOR` flag in `main.sh` (#25, thx @gdevenyi) -- [x] Split out changelog into separate file -- [x] Added a [FAQ](./FAQ.md) (#15, #14, thanks @rouson) -- [x] Fix Travis OSX testing (before, it would silently pass failures) (#10) -- [x] Enable dashes in long, GNU style options, as well as numbers (thanks @zbeekman) - -## v2.0.0 - -Released: 2016-02-17. -[Diff](https://github.com/kvz/bash3boilerplate/compare/v1.2.1...v2.0.0). - -- [x] Add tests for `templater` and follow Library export best practices -- [x] Add tests for `ini_val` and follow Library export best practices -- [x] Add tests for `parse_url` and follow Library export best practices -- [x] Add tests for `megamount` and follow Library export best practices -- [x] Remove `bump` from `src` (BREAKING) -- [x] Remove `semver` from `src` (BREAKING) - -## v1.2.1 - -Released: 2016-02-17. -[Diff](https://github.com/kvz/bash3boilerplate/compare/v1.2.0...v1.2.1). - -- [x] Add Travis CI automated testing for OSX (thanks @zbeekman) - -## v1.2.0 - -Released: 2016-02-16. -[Diff](https://github.com/kvz/bash3boilerplate/compare/v1.1.0...v1.2.0). - -- [x] Allow disabling colors via `NO_COLOR` environment variable -- [x] Enable `errexit`, `nounset` and `pipefail` options at the top of the script already -- [x] More refined colors (thanks @arathai) -- [x] Add a changelog to the README -- [x] Add `__os` magic var (limited to discovering OSX and defaulting to Linux for now) -- [x] Add `__base` magic var (`main`, if the source script is `main.sh`) -- [x] Enable long, GNU style options (thanks @zbeekman) -- [x] Add Travis CI automated testing for Linux - -## v1.1.0 - -Released: 2015-06-29. -[Diff](https://github.com/kvz/bash3boilerplate/compare/v1.0.3...v1.1.0). - -- [x] Add `ALLOW_REMAINDERS` configuration to templater -- [x] Fix typo: 'debugmdoe' to 'debugmode' (thanks @jokajak) -- [x] Use `${BASH_SOURCE[0]}` for `__file` instead of `${0}` - -## v1.0.3 - -Released: 2014-11-02. -[Diff](https://github.com/kvz/bash3boilerplate/compare/5db569125319a89b9561b434db84e4d91faefb63...v1.0.3). - -- [x] Add `ini_val`, `megamount`, `parse_url` -- [x] Add re-usable libraries in `./src` -- [x] Use npm as an additional distribution channel diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/FAQ.md b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/FAQ.md deleted file mode 100644 index fb38dc2..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/FAQ.md +++ /dev/null @@ -1,171 +0,0 @@ -[This document is formatted with GitHub-Flavored Markdown. ]: # -[For better viewing, including hyperlinks, read it online at ]: # -[https://github.com/kvz/bash3boilerplate/blob/HEAD/FAQ.md ]: # - -## Contents - -- [What is a CLI](#what-is-a-cli)? -- [How do I incorporate BASH3 Boilerplate into my own project](#how-do-i-incorporate-bash3-boilerplate-into-my-own-project)? -- [How do I add a command-line flag](#how-do-i-add-a-command-line-flag)? -- [How do I access the value of a command-line argument](#how-do-i-access-the-value-of-a-command-line-argument)? -- [What is a magic variable](#what-is-a-magic-variable)? -- [How do I submit an issue report](#how-do-i-submit-an-issue-report)? -- [How can I contribute to this project](#how-can-i-contribute-to-this-project)? -- [Why are you typing BASH in all caps](#why-are-you-typing-bash-in-all-caps)? -- [You are saying you are portable, but why won't b3bp code run in dash / busybox / posh / ksh / mksh / zsh](#you-are-saying-you-are-portable-but-why-wont-b3bp-code-run-in-dash--busybox--posh--ksh--mksh--zsh)? -- [How do I do Operating System detection](#how-do-i-do-operating-system-detection)? -- [How do I access a potentially unset (environment) variable](#how-do-i-access-a-potentially-unset-environment-variable)? -- [How can I detect or trap CTRL-C and other signals](#how-can-i-detect-or-trap-ctrl-c-and-other-signals)? -- [How can I get the PID of my running script](how-can-i-get-the-pid-of-my-running-script)? - - - -# Frequently Asked Questions - -## What is a CLI? - -A "CLI" is a [command-line interface](https://en.wikipedia.org/wiki/Command-line_interface). - -## How do I incorporate BASH3 Boilerplate into my own project? - -You can incorporate BASH3 Boilerplate into your project in one of two ways: - -1. Copy the desired portions of [`main.sh`](http://bash3boilerplate.sh/main.sh) into your own script. -1. Download [`main.sh`](http://bash3boilerplate.sh/main.sh) and start pressing the delete-key to remove unwanted things - -Once the `main.sh` has been tailor-made for your project, you can either append your own script in the same file, or source it in the following ways: - -1. Copy [`main.sh`](http://bash3boilerplate.sh/main.sh) into the same directory as your script and then edit and embed it into your script using Bash's `source` include feature, e.g.: - -```bash -#!/usr/bin/env bash -source main.sh -``` - -1. Source [`main.sh`](http://bash3boilerplate.sh/main.sh) in your script or at the command line: - -```bash -#!/usr/bin/env bash -source main.sh -``` - -## How do I add a command-line flag? - -1. Copy the line from the `main.sh` [read block](https://github.com/kvz/bash3boilerplate/blob/v2.1.0/main.sh#L109-L115) that most resembles the desired behavior and paste the line into the same block. -1. Edit the single-character (e.g., `-d`) and, if present, the multi-character (e.g., `--debug`) versions of the flag in the copied line. -1. Omit the `[arg]` text in the copied line, if the desired flag takes no arguments. -1. Omit or edit the text after `Default=` to set or not set default values, respectively. -1. Omit the `Required.` text, if the flag is optional. - -## How do I access the value of a command-line argument? - -To find out the value of an argument, append the corresponding single-character flag to the text `$arg_`. For example, if the [read block] -contains the line - -```bash - -t --temp [arg] Location of tempfile. Default="/tmp/bar" -``` - -then you can evaluate the corresponding argument and assign it to a variable as follows: - -```bash -__temp_file_name="${arg_t}" -``` - -## What is a magic variable? - -The [magic variables](https://github.com/kvz/bash3boilerplate/blob/v2.1.0/main.sh#L26-L28) in `main.sh` are special in that they have a different value, depending on your environment. You can use `${__file}` to get a reference to your current script, and `${__dir}` to get a reference to the directory it lives in. This is not to be confused with the location of the calling script that might be sourcing the `${__file}`, which is accessible via `${0}`, or the current directory of the administrator running the script, accessible via `$(pwd)`. - -## How do I submit an issue report? - -Please visit our [Issues](https://github.com/kvz/bash3boilerplate/issues) page. - -## How can I contribute to this project? - -Please fork this repository. After that, create a branch containing your suggested changes and submit a pull request based on the main branch -of . We are always more than happy to accept your contributions! - -## Why are you typing BASH in all caps? - -As an acronym, Bash stands for Bourne-again shell, and is usually written with one uppercase. -This project's name, however, is "BASH3 Boilerplate". It is a reference to -"[HTML5 Boilerplate](https://html5boilerplate.com/)", which was founded to serve a similar purpose, -only for crafting webpages. -Somewhat inconsistent – but true to Unix ancestry – the abbreviation for our project is "b3bp". - -## You are saying you are portable, but why won't b3bp code run in dash / busybox / posh / ksh / mksh / zsh? - -When we say _portable_, we mean across Bash versions. Bash is widespread and most systems -offer at least version 3 of it. Make sure you have that available and b3bp will work for you. - -We run automated tests to make sure that it will. Here is some proof for the following platforms: - -- [Linux](https://travis-ci.org/kvz/bash3boilerplate/jobs/109804166#L91-L94) `GNU bash, version 4.2.25(1)-release (x86_64-pc-linux-gnu)` -- [OSX](https://travis-ci.org/kvz/bash3boilerplate/jobs/109804167#L2453-L2455) `GNU bash, version 3.2.51(1)-release (x86_64-apple-darwin13)` - -This portability, however, does not mean that we try to be compatible with -KornShell, Zsh, posh, yash, dash, or other shells. We allow syntax that would explode if -you pasted it in anything but Bash 3 and up. - -## How do I do Operating System detection? - -We used to offer a magic `__os` variable, but we quickly [discovered](https://github.com/kvz/bash3boilerplate/issues/38) that it would be hard -to create a satisfactory abstraction that is not only correct, but also covers enough use-cases, -while still having a relatively small footprint in `main.sh`. - -For simple OS detection, we recommend using the `${OSTYPE}` variable available in Bash as -is demoed in [this stackoverflow post](http://stackoverflow.com/a/8597411/151666): - -```bash -if [[ "${OSTYPE}" = "linux-gnu" ]]; then - echo "GNU Linux" -elif [[ "${OSTYPE}" = "darwin"* ]]; then - echo "Mac OSX" -elif [[ "${OSTYPE}" = "cygwin" ]]; then - echo "POSIX compatibility layer and Linux environment emulation for Windows" -elif [[ "${OSTYPE}" = "msys" ]]; then - echo "Lightweight shell and GNU utilities compiled for Windows (part of MinGW)" -elif [[ "${OSTYPE}" = "win32" ]]; then - echo "I'm not sure this can happen." -elif [[ "${OSTYPE}" = "freebsd"* ]]; then - echo "..." -else - echo "Unknown." -fi -``` - -## How do I access a potentially unset (environment) variable? - -The set -o nounset line in `main.sh` causes error termination when an unset environment variables is detected as unbound. There are multiple ways to avoid this. - -Some code to illustrate: - -```bash -# method 1 -echo ${NAME1:-Damian} # echos Damian, $NAME1 is still unset -# method 2 -echo ${NAME2:=Damian} # echos Damian, $NAME2 is set to Damian -# method 3 -NAME3=${NAME3:-Damian}; echo ${NAME3} # echos Damian, $NAME3 is set to Damian -``` - -This subject is briefly touched on as well in the [Safety and Portability section under point 5](README.md#safety-and-portability). b3bp currently uses [method 1](https://github.com/kvz/bash3boilerplate/blob/v2.1.0/main.sh#L252) when we want to access a variable that could be undeclared, and [method 3](https://github.com/kvz/bash3boilerplate/blob/v2.1.0/main.sh#L31) when we also want to set a default to an undeclared variable, because we feel it is more readable than method 2. We feel `:=` is easily overlooked, and not very beginner friendly. Method 3 seems more explicit in that regard in our humble opinion. - -## How can I detect or trap Ctrl-C and other signals? - -You can trap [Unix signals](https://en.wikipedia.org/wiki/Unix_signal) like [Ctrl-C](https://en.wikipedia.org/wiki/Control-C) with code similar to: - -```bash -# trap ctrl-c and call ctrl_c() -trap ctrl_c INT - -function ctrl_c() { - echo "** Trapped CTRL-C" -} -``` - -See http://mywiki.wooledge.org/SignalTrap for a list of signals, examples, and an in depth discussion. - -## How can I get the PID of my running script? - -The PID of a running script is contained in the `${$}` variable. This is _not_ the pid of any subshells. With Bash 4 you can get the PID of your subshell with `${BASHPID}`. For a comprehensive list of Bash built in variables see, e.g., http://www.tldp.org/LDP/abs/html/internalvariables.html diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/LICENSE b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/LICENSE deleted file mode 100644 index a9fd3b8..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2013 Kevin van Zonneveld and contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/Makefile b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/Makefile deleted file mode 100644 index 7a2a446..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/Makefile +++ /dev/null @@ -1,59 +0,0 @@ -# Licensed under MIT. -# Copyright (2016) by Kevin van Zonneveld https://twitter.com/kvz -# -# https://www.npmjs.com/package/fakefile -# -# Please do not edit this file directly, but propose changed upstream instead: -# https://github.com/kvz/fakefile/blob/main/Makefile -# -# This Makefile offers convience shortcuts into any Node.js project that utilizes npm scripts. -# It functions as a wrapper around the actual listed in `package.json` -# So instead of typing: -# -# $ npm script build:assets -# -# you could also type: -# -# $ make build-assets -# -# Notice that colons (:) are replaced by dashes for Makefile compatibility. -# -# The benefits of this wrapper are: -# -# - You get to keep the the scripts package.json, which is more portable -# (Makefiles & Windows are harder to mix) -# - Offer a polite way into the project for developers coming from different -# languages (npm scripts is obviously very Node centric) -# - Profit from better autocomplete (make ) than npm currently offers. -# OSX users will have to install bash-completion -# (http://davidalger.com/development/bash-completion-on-os-x-with-brew/) - -ifeq ($(shell test -e ./yarn.lock && echo -n yes),yes) - RUNNER=yarn - INSTALLER=yarn install -else - RUNNER=npm run - INSTALLER=npm install -endif - -define npm_script_targets -TARGETS := $(shell \ - node -e 'for (var k in require("./package.json").scripts) {console.log(k.replace(/:/g, "-"));}' - | grep -v -E "^install$$" -) -$$(TARGETS): - $(RUNNER) $(shell \ - node -e 'for (var k in require("./package.json").scripts) {console.log(k.replace(/:/g, "-"), k);}' - | grep -E "^$(MAKECMDGOALS)\s" - | head -n1 - | awk '{print $$2}' - ) - -.PHONY: $$(TARGETS) -endef - -$(eval $(call npm_script_targets)) - -# These npm run scripts are available, without needing to be mentioned in `package.json` -install: - $(INSTALLER) diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/README.md b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/README.md deleted file mode 100644 index bd96bac..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/README.md +++ /dev/null @@ -1,175 +0,0 @@ -[This document is formatted with GitHub-Flavored Markdown. ]: # -[For better viewing, including hyperlinks, read it online at ]: # -[https://github.com/kvz/bash3boilerplate/blob/HEAD/README.md]: # - -- [Overview](#overview) -- [Goals](#goals) -- [Features](#features) -- [Installation](#installation) -- [Changelog](#changelog) -- [Frequently Asked Questions](#frequently-asked-questions) -- [Best Practices](#best-practices) -- [Who uses b3bp](#who-uses-b3bp) -- [Authors](#authors) -- [License](#license) - -## Overview - - - -When hacking up Bash scripts, there are often things such as logging or command-line argument parsing that: - -- You need every time -- Come with a number of pitfalls you want to avoid -- Keep you from your actual work - -Here's an attempt to bundle those things in a generalized way so that -they are reusable as-is in most scripts. - -We call it "BASH3 Boilerplate" or b3bp for short. - -## Goals - -Delete-Key-**Friendly**. Instead of introducing packages, includes, compilers, etc., we propose using [`main.sh`](https://bash3boilerplate.sh/main.sh) as a base and removing the parts you don't need. -While this may feel a bit archaic at first, it is exactly the strength of Bash scripts that we should want to embrace. - -**Portable**. We are targeting Bash 3 (OSX still ships -with 3, for instance). If you are going to ask people to install -Bash 4 first, you might as well pick a more advanced language as a -dependency. - -## Features - -- Conventions that will make sure that all your scripts follow the same, battle-tested structure -- Safe by default (break on error, pipefail, etc.) -- Configuration by environment variables -- Simple command-line argument parsing that requires no external dependencies. Definitions are parsed from help info, ensuring there will be no duplication -- Helpful magic variables like `__file` and `__dir` -- Logging that supports colors and is compatible with [Syslog Severity levels](https://en.wikipedia.org/wiki/Syslog#Severity_levels), as well as the [twelve-factor](https://12factor.net/) guidelines - -## Installation - -There are three different ways to install b3bp: - -### Option 1: Download the main template - -Use curl or wget to download the source and save it as your script. Then you can start deleting the unwanted bits, and adding your own logic. - -```bash -wget https://bash3boilerplate.sh/main.sh -vim main.sh -``` - -### Option 2: Clone the entire project - -Besides `main.sh`, this will also get you the entire b3bp repository. This includes a few extra functions that we keep in the `./src` directory. - -```bash -git clone git@github.com:kvz/bash3boilerplate.git -``` - -### Option 3: Require via npm - -As of `v1.0.3`, b3bp can also be installed as a Node module, meaning you can define it as a dependency in `package.json` via: - -```bash -npm init -npm install --save --save-exact bash3boilerplate -``` - -Even though this option introduces a Node.js dependency, it does allow for easy version pinning and distribution in environments that already have this prerequisite. This is, however, entirely optional and nothing prevents you from ignoring this possibility. - -## Changelog - -Please see the [CHANGELOG.md](./CHANGELOG.md) file. - -## Frequently Asked Questions - -Please see the [FAQ.md](./FAQ.md) file. - -## Best practices - -As of `v1.0.3`, b3bp offers some nice re-usable libraries in `./src`. In order to make the snippets in `./src` more useful, we recommend the following guidelines. - -### Function packaging - -It is nice to have a Bash package that can not only be used in the terminal, but also invoked as a command line function. In order to achieve this, the exporting of your functionality _should_ follow this pattern: - -```bash -if [[ "${BASH_SOURCE[0]}" = "${0}" ]]; then - my_script "${@}" - exit $? -fi -export -f my_script -``` - -This allows a user to `source` your script or invoke it as a script. - -```bash -# Running as a script -$ ./my_script.sh some args --blah -# Sourcing the script -$ source my_script.sh -$ my_script some more args --blah -``` - -(taken from the [bpkg](https://raw.githubusercontent.com/bpkg/bpkg/HEAD/README.md) project) - -### Scoping - -1. In functions, use `local` before every variable declaration. -1. Use `UPPERCASE_VARS` to indicate environment variables that can be controlled outside your script. -1. Use `__double_underscore_prefixed_vars` to indicate global variables that are solely controlled inside your script, with the exception of arguments that are already prefixed with `arg_`, as well as functions, over which b3bp poses no restrictions. - -### Coding style - -1. Use two spaces for tabs, do not use tab characters. -1. Do not introduce whitespace at the end of lines or on blank lines as they obfuscate version control diffs. -1. Use long options (`logger --priority` vs `logger -p`). If you are on the CLI, abbreviations make sense for efficiency. Nevertheless, when you are writing reusable scripts, a few extra keystrokes will pay off in readability and avoid ventures into man pages in the future, either by you or your collaborators. Similarly, we prefer `set -o nounset` over `set -u`. -1. Use a single equal sign when checking `if [[ "${NAME}" = "Kevin" ]]`; double or triple signs are not needed. -1. Use the new bash builtin test operator (`[[ ... ]]`) rather than the old single square bracket test operator or explicit call to `test`. - -### Safety and Portability - -1. Use `{}` to enclose your variables. Otherwise, Bash will try to access the `$ENVIRONMENT_app` variable in `/srv/$ENVIRONMENT_app`, whereas you probably intended `/srv/${ENVIRONMENT}_app`. Since it is easy to miss cases like this, we recommend that you make enclosing a habit. -1. Use `set`, rather than relying on a shebang like `#!/usr/bin/env bash -e`, since that is neutralized when someone runs your script as `bash yourscript.sh`. -1. Use `#!/usr/bin/env bash`, as it is more portable than `#!/bin/bash`. -1. Use `${BASH_SOURCE[0]}` if you refer to current file, even if it is sourced by a parent script. In other cases, use `${0}`. -1. Use `:-` if you want to test variables that could be undeclared. For instance, with `if [[ "${NAME:-}" = "Kevin" ]]`, `$NAME` will evaluate to `Kevin` if the variable is empty. The variable itself will remain unchanged. The syntax to assign a default value is `${NAME:=Kevin}`. - -## Who uses b3bp? - -- [Transloadit](https://transloadit.com) -- [OpenCoarrays](https://www.opencoarrays.org) -- [Sourcery Institute](https://www.sourceryinstitute.org) -- [Computational Brain Anatomy Laboratory](https://cobralab.ca/) -- [Genesis Cloud](https://genesiscloud.com/) - -We are looking for endorsements! Are you also using b3bp? [Let us know](https://github.com/kvz/bash3boilerplate/issues/new?title=I%20use%20b3bp) and get listed. - -## Authors - -- [Kevin van Zonneveld](https://kvz.io) -- [Izaak Beekman](https://izaakbeekman.com/) -- [Manuel Streuhofer](https://github.com/mstreuhofer) -- [Alexander Rathai](mailto:Alexander.Rathai@gmail.com) -- [Dr. Damian Rouson](https://www.sourceryinstitute.org/) (documentation, feedback) -- [@jokajak](https://github.com/jokajak) (documentation) -- [Gabriel A. Devenyi](https://staticwave.ca/) (feedback) -- [@bravo-kernel](https://github.com/bravo-kernel) (feedback) -- [@skanga](https://github.com/skanga) (feedback) -- [galaktos](https://www.reddit.com/user/galaktos) (feedback) -- [@moviuro](https://github.com/moviuro) (feedback) -- [Giovanni Saponaro](https://github.com/gsaponaro) (feedback) -- [Germain Masse](https://github.com/gmasse) -- [A. G. Madi](https://github.com/warpengineer) -- [Lukas Stockner](mailto:oss@genesiscloud.com) -- [Gert Goet](https://github.com/eval) -- [@rfuehrer](https://github.com/rfuehrer) - -## License - -Copyright (c) 2013 Kevin van Zonneveld and [contributors](https://github.com/kvz/bash3boilerplate#authors). -Licensed under [MIT](https://raw.githubusercontent.com/kvz/bash3boilerplate/HEAD/LICENSE). -You are not obligated to bundle the LICENSE file with your b3bp projects as long -as you leave these references intact in the header comments of your source files. diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/docs/CNAME b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/docs/CNAME deleted file mode 100644 index 6aa6526..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/docs/CNAME +++ /dev/null @@ -1 +0,0 @@ -bash3boilerplate.sh \ No newline at end of file diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/docs/index.html b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/docs/index.html deleted file mode 100644 index 8ad180c..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/docs/index.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - Redirecting... - - - If you are not redirected, - click here. - - diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/example.sh b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/example.sh deleted file mode 100755 index 009afaf..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/example.sh +++ /dev/null @@ -1,147 +0,0 @@ -#!/usr/bin/env bash -# This file: -# -# - Demos BASH3 Boilerplate (change this for your script) -# -# Usage: -# -# LOG_LEVEL=7 ./example.sh -f /tmp/x -d (change this for your script) -# -# Based on a template by BASH3 Boilerplate v2.3.0 -# http://bash3boilerplate.sh/#authors -# -# The MIT License (MIT) -# Copyright (c) 2013 Kevin van Zonneveld and contributors -# You are not obligated to bundle the LICENSE file with your b3bp projects as long -# as you leave these references intact in the header comments of your source files. - - -### BASH3 Boilerplate (b3bp) Header -############################################################################## - -# Commandline options. This defines the usage page, and is used to parse cli -# opts & defaults from. The parsing is unforgiving so be precise in your syntax -# - A short option must be preset for every long option; but every short option -# need not have a long option -# - `--` is respected as the separator between options and arguments -# - We do not bash-expand defaults, so setting '~/app' as a default will not resolve to ${HOME}. -# you can use bash variables to work around this (so use ${HOME} instead) - -# shellcheck disable=SC2034 -read -r -d '' __usage <<-'EOF' || true # exits non-zero when EOF encountered - -f --file [arg] Filename to process. Required. - -t --temp [arg] Location of tempfile. Default="/tmp/bar" - -v Enable verbose mode, print script as it is executed - -d --debug Enables debug mode - -h --help This page - -n --no-color Disable color output - -1 --one Do just one thing - -i --input [arg] File to process. Can be repeated. - -x Specify a flag. Can be repeated. -EOF - -# shellcheck disable=SC2034 -read -r -d '' __helptext <<-'EOF' || true # exits non-zero when EOF encountered - This is Bash3 Boilerplate's help text. Feel free to add any description of your - program or elaborate more on command-line arguments. This section is not - parsed and will be added as-is to the help. -EOF - -# shellcheck source=main.sh -source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/main.sh" - - -### Signal trapping and backtracing -############################################################################## - -function __b3bp_cleanup_before_exit () { - info "Cleaning up. Done" -} -trap __b3bp_cleanup_before_exit EXIT - -# requires `set -o errtrace` -__b3bp_err_report() { - local error_code=${?} - # shellcheck disable=SC2154 - error "Error in ${__file} in function ${1} on line ${2}" - exit ${error_code} -} -# Uncomment the following line for always providing an error backtrace -# trap '__b3bp_err_report "${FUNCNAME:-.}" ${LINENO}' ERR - - -### Command-line argument switches (like -d for debugmode, -h for showing helppage) -############################################################################## - -# debug mode -if [[ "${arg_d:?}" = "1" ]]; then - set -o xtrace - PS4='+(${BASH_SOURCE}:${LINENO}): ${FUNCNAME[0]:+${FUNCNAME[0]}(): }' - LOG_LEVEL="7" - # Enable error backtracing - trap '__b3bp_err_report "${FUNCNAME:-.}" ${LINENO}' ERR -fi - -# verbose mode -if [[ "${arg_v:?}" = "1" ]]; then - set -o verbose -fi - -# no color mode -if [[ "${arg_n:?}" = "1" ]]; then - NO_COLOR="true" -fi - -# help mode -if [[ "${arg_h:?}" = "1" ]]; then - # Help exists with code 1 - help "Help using ${0}" -fi - - -### Validation. Error out if the things required for your script are not present -############################################################################## - -[[ "${arg_f:-}" ]] || help "Setting a filename with -f or --file is required" -[[ "${LOG_LEVEL:-}" ]] || emergency "Cannot continue without LOG_LEVEL. " - - -### Runtime -############################################################################## - -# shellcheck disable=SC2154 -info "__i_am_main_script: ${__i_am_main_script}" -# shellcheck disable=SC2154 -info "__file: ${__file}" -# shellcheck disable=SC2154 -info "__dir: ${__dir}" -# shellcheck disable=SC2154 -info "__base: ${__base}" -info "OSTYPE: ${OSTYPE}" - -info "arg_f: ${arg_f}" -info "arg_d: ${arg_d}" -info "arg_v: ${arg_v}" -info "arg_h: ${arg_h}" -if [[ -n "${arg_i:-}" ]]; then - info "arg_i: ${#arg_i[@]}" - for input_file in "${arg_i[@]}"; do - info " - ${input_file}" - done -else - info "arg_i: 0" -fi -# shellcheck disable=SC2015 -[[ -n "${arg_x:-}" ]] && info "arg_x: ${#arg_x[@]}" || info "arg_x: 0" - -info "$(echo -e "multiple lines example - line #1\\nmultiple lines example - line #2\\nimagine logging the output of 'ls -al /path/'")" - -# All of these go to STDERR, so you can use STDOUT for piping machine readable information to other software -debug "Info useful to developers for debugging the application, not useful during operations." -info "Normal operational messages - may be harvested for reporting, measuring throughput, etc. - no action required." -notice "Events that are unusual but not error conditions - might be summarized in an email to developers or admins to spot potential problems - no immediate action required." -warning "Warning messages, not an error, but indication that an error will occur if action is not taken, e.g. file system 85% full - each item must be resolved within a given time." -error "Non-urgent failures, these should be relayed to developers or admins; each item must be resolved within a given time." -critical "Should be corrected immediately, but indicates failure in a primary system, an example is a loss of a backup ISP connection." -alert "Should be corrected immediately, therefore notify staff who can fix the problem. An example would be the loss of a primary ISP connection." -emergency "A \"panic\" condition usually affecting multiple apps/servers/sites. At this level it would usually notify all tech staff on call." diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/main.sh b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/main.sh deleted file mode 100755 index 4fb4dfd..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/main.sh +++ /dev/null @@ -1,453 +0,0 @@ -#!/usr/bin/env bash -# This file: -# -# - Demos BASH3 Boilerplate (change this for your script) -# -# Usage: -# -# LOG_LEVEL=7 ./main.sh -f /tmp/x -d (change this for your script) -# -# Based on a template by BASH3 Boilerplate vv2.7.2 -# http://bash3boilerplate.sh/#authors -# -# The MIT License (MIT) -# Copyright (c) 2013 Kevin van Zonneveld and contributors -# You are not obligated to bundle the LICENSE file with your b3bp projects as long -# as you leave these references intact in the header comments of your source files. - -# Exit on error. Append "|| true" if you expect an error. -set -o errexit -# Exit on error inside any functions or subshells. -set -o errtrace -# Do not allow use of undefined vars. Use ${VAR:-} to use an undefined VAR -set -o nounset -# Catch the error in case mysqldump fails (but gzip succeeds) in `mysqldump |gzip` -set -o pipefail -# Turn on traces, useful while debugging but commented out by default -# set -o xtrace - -if [[ "${BASH_SOURCE[0]}" != "${0}" ]]; then - __i_am_main_script="0" # false - - if [[ "${__usage+x}" ]]; then - if [[ "${BASH_SOURCE[1]}" = "${0}" ]]; then - __i_am_main_script="1" # true - fi - - __b3bp_external_usage="true" - __b3bp_tmp_source_idx=1 - fi -else - __i_am_main_script="1" # true - [[ "${__usage+x}" ]] && unset -v __usage - [[ "${__helptext+x}" ]] && unset -v __helptext -fi - -# Set magic variables for current file, directory, os, etc. -__dir="$(cd "$(dirname "${BASH_SOURCE[${__b3bp_tmp_source_idx:-0}]}")" && pwd)" -__file="${__dir}/$(basename "${BASH_SOURCE[${__b3bp_tmp_source_idx:-0}]}")" -__base="$(basename "${__file}" .sh)" -# shellcheck disable=SC2034,SC2015 -__invocation="$(printf %q "${__file}")$( (($#)) && printf ' %q' "$@" || true)" - -# Define the environment variables (and their defaults) that this script depends on -LOG_LEVEL="${LOG_LEVEL:-6}" # 7 = debug -> 0 = emergency -NO_COLOR="${NO_COLOR:-}" # true = disable color. otherwise autodetected - - -### Functions -############################################################################## - -function __b3bp_log () { - local log_level="${1}" - shift - - # shellcheck disable=SC2034 - local color_debug="\\x1b[35m" - # shellcheck disable=SC2034 - local color_info="\\x1b[32m" - # shellcheck disable=SC2034 - local color_notice="\\x1b[34m" - # shellcheck disable=SC2034 - local color_warning="\\x1b[33m" - # shellcheck disable=SC2034 - local color_error="\\x1b[31m" - # shellcheck disable=SC2034 - local color_critical="\\x1b[1;31m" - # shellcheck disable=SC2034 - local color_alert="\\x1b[1;37;41m" - # shellcheck disable=SC2034 - local color_emergency="\\x1b[1;4;5;37;41m" - - local colorvar="color_${log_level}" - - local color="${!colorvar:-${color_error}}" - local color_reset="\\x1b[0m" - - if [[ "${NO_COLOR:-}" = "true" ]] || { [[ "${TERM:-}" != "xterm"* ]] && [[ "${TERM:-}" != "screen"* ]]; } || [[ ! -t 2 ]]; then - if [[ "${NO_COLOR:-}" != "false" ]]; then - # Don't use colors on pipes or non-recognized terminals - color=""; color_reset="" - fi - fi - - # all remaining arguments are to be printed - local log_line="" - - while IFS=$'\n' read -r log_line; do - echo -e "$(date -u +"%Y-%m-%d %H:%M:%S UTC") ${color}$(printf "[%9s]" "${log_level}")${color_reset} ${log_line}" 1>&2 - done <<< "${@:-}" -} - -function emergency () { __b3bp_log emergency "${@}"; exit 1; } -function alert () { [[ "${LOG_LEVEL:-0}" -ge 1 ]] && __b3bp_log alert "${@}"; true; } -function critical () { [[ "${LOG_LEVEL:-0}" -ge 2 ]] && __b3bp_log critical "${@}"; true; } -function error () { [[ "${LOG_LEVEL:-0}" -ge 3 ]] && __b3bp_log error "${@}"; true; } -function warning () { [[ "${LOG_LEVEL:-0}" -ge 4 ]] && __b3bp_log warning "${@}"; true; } -function notice () { [[ "${LOG_LEVEL:-0}" -ge 5 ]] && __b3bp_log notice "${@}"; true; } -function info () { [[ "${LOG_LEVEL:-0}" -ge 6 ]] && __b3bp_log info "${@}"; true; } -function debug () { [[ "${LOG_LEVEL:-0}" -ge 7 ]] && __b3bp_log debug "${@}"; true; } - -function help () { - echo "" 1>&2 - echo " ${*}" 1>&2 - echo "" 1>&2 - echo " ${__usage:-No usage available}" 1>&2 - echo "" 1>&2 - - if [[ "${__helptext:-}" ]]; then - echo " ${__helptext}" 1>&2 - echo "" 1>&2 - fi - - exit 1 -} - - -### Parse commandline options -############################################################################## - -# Commandline options. This defines the usage page, and is used to parse cli -# opts & defaults from. The parsing is unforgiving so be precise in your syntax -# - A short option must be preset for every long option; but every short option -# need not have a long option -# - `--` is respected as the separator between options and arguments -# - We do not bash-expand defaults, so setting '~/app' as a default will not resolve to ${HOME}. -# you can use bash variables to work around this (so use ${HOME} instead) - -# shellcheck disable=SC2015 -[[ "${__usage+x}" ]] || read -r -d '' __usage <<-'EOF' || true # exits non-zero when EOF encountered - -f --file [arg] Filename to process. Required. - -t --temp [arg] Location of tempfile. Default="/tmp/bar" - -v Enable verbose mode, print script as it is executed - -d --debug Enables debug mode - -h --help This page - -n --no-color Disable color output - -1 --one Do just one thing - -i --input [arg] File to process. Can be repeated. - -x Specify a flag. Can be repeated. -EOF - -# shellcheck disable=SC2015 -[[ "${__helptext+x}" ]] || read -r -d '' __helptext <<-'EOF' || true # exits non-zero when EOF encountered - This is Bash3 Boilerplate's help text. Feel free to add any description of your - program or elaborate more on command-line arguments. This section is not - parsed and will be added as-is to the help. -EOF - -# Translate usage string -> getopts arguments, and set $arg_ defaults -while read -r __b3bp_tmp_line; do - if [[ "${__b3bp_tmp_line}" =~ ^- ]]; then - # fetch single character version of option string - __b3bp_tmp_opt="${__b3bp_tmp_line%% *}" - __b3bp_tmp_opt="${__b3bp_tmp_opt:1}" - - # fetch long version if present - __b3bp_tmp_long_opt="" - - if [[ "${__b3bp_tmp_line}" = *"--"* ]]; then - __b3bp_tmp_long_opt="${__b3bp_tmp_line#*--}" - __b3bp_tmp_long_opt="${__b3bp_tmp_long_opt%% *}" - fi - - # map opt long name to+from opt short name - printf -v "__b3bp_tmp_opt_long2short_${__b3bp_tmp_long_opt//-/_}" '%s' "${__b3bp_tmp_opt}" - printf -v "__b3bp_tmp_opt_short2long_${__b3bp_tmp_opt}" '%s' "${__b3bp_tmp_long_opt//-/_}" - - # check if option takes an argument - if [[ "${__b3bp_tmp_line}" =~ \[.*\] ]]; then - __b3bp_tmp_opt="${__b3bp_tmp_opt}:" # add : if opt has arg - __b3bp_tmp_init="" # it has an arg. init with "" - printf -v "__b3bp_tmp_has_arg_${__b3bp_tmp_opt:0:1}" '%s' "1" - elif [[ "${__b3bp_tmp_line}" =~ \{.*\} ]]; then - __b3bp_tmp_opt="${__b3bp_tmp_opt}:" # add : if opt has arg - __b3bp_tmp_init="" # it has an arg. init with "" - # remember that this option requires an argument - printf -v "__b3bp_tmp_has_arg_${__b3bp_tmp_opt:0:1}" '%s' "2" - else - __b3bp_tmp_init="0" # it's a flag. init with 0 - printf -v "__b3bp_tmp_has_arg_${__b3bp_tmp_opt:0:1}" '%s' "0" - fi - __b3bp_tmp_opts="${__b3bp_tmp_opts:-}${__b3bp_tmp_opt}" - - if [[ "${__b3bp_tmp_line}" =~ ^Can\ be\ repeated\. ]] || [[ "${__b3bp_tmp_line}" =~ \.\ *Can\ be\ repeated\. ]]; then - # remember that this option can be repeated - printf -v "__b3bp_tmp_is_array_${__b3bp_tmp_opt:0:1}" '%s' "1" - else - printf -v "__b3bp_tmp_is_array_${__b3bp_tmp_opt:0:1}" '%s' "0" - fi - fi - - [[ "${__b3bp_tmp_opt:-}" ]] || continue - - if [[ "${__b3bp_tmp_line}" =~ ^Default= ]] || [[ "${__b3bp_tmp_line}" =~ \.\ *Default= ]]; then - # ignore default value if option does not have an argument - __b3bp_tmp_varname="__b3bp_tmp_has_arg_${__b3bp_tmp_opt:0:1}" - if [[ "${!__b3bp_tmp_varname}" != "0" ]]; then - # take default - __b3bp_tmp_init="${__b3bp_tmp_line##*Default=}" - # strip double quotes from default argument - __b3bp_tmp_re='^"(.*)"$' - if [[ "${__b3bp_tmp_init}" =~ ${__b3bp_tmp_re} ]]; then - __b3bp_tmp_init="${BASH_REMATCH[1]}" - else - # strip single quotes from default argument - __b3bp_tmp_re="^'(.*)'$" - if [[ "${__b3bp_tmp_init}" =~ ${__b3bp_tmp_re} ]]; then - __b3bp_tmp_init="${BASH_REMATCH[1]}" - fi - fi - fi - fi - - if [[ "${__b3bp_tmp_line}" =~ ^Required\. ]] || [[ "${__b3bp_tmp_line}" =~ \.\ *Required\. ]]; then - # remember that this option requires an argument - printf -v "__b3bp_tmp_has_arg_${__b3bp_tmp_opt:0:1}" '%s' "2" - fi - - # Init var with value unless it is an array / a repeatable - __b3bp_tmp_varname="__b3bp_tmp_is_array_${__b3bp_tmp_opt:0:1}" - [[ "${!__b3bp_tmp_varname}" = "0" ]] && printf -v "arg_${__b3bp_tmp_opt:0:1}" '%s' "${__b3bp_tmp_init}" -done <<< "${__usage:-}" - -# run getopts only if options were specified in __usage -if [[ "${__b3bp_tmp_opts:-}" ]]; then - # Allow long options like --this - __b3bp_tmp_opts="${__b3bp_tmp_opts}-:" - - # Reset in case getopts has been used previously in the shell. - OPTIND=1 - - # start parsing command line - set +o nounset # unexpected arguments will cause unbound variables - # to be dereferenced - # Overwrite $arg_ defaults with the actual CLI options - while getopts "${__b3bp_tmp_opts}" __b3bp_tmp_opt; do - [[ "${__b3bp_tmp_opt}" = "?" ]] && help "Invalid use of script: ${*} " - - if [[ "${__b3bp_tmp_opt}" = "-" ]]; then - # OPTARG is long-option-name or long-option=value - if [[ "${OPTARG}" =~ .*=.* ]]; then - # --key=value format - __b3bp_tmp_long_opt=${OPTARG/=*/} - # Set opt to the short option corresponding to the long option - __b3bp_tmp_varname="__b3bp_tmp_opt_long2short_${__b3bp_tmp_long_opt//-/_}" - printf -v "__b3bp_tmp_opt" '%s' "${!__b3bp_tmp_varname}" - OPTARG=${OPTARG#*=} - else - # --key value format - # Map long name to short version of option - __b3bp_tmp_varname="__b3bp_tmp_opt_long2short_${OPTARG//-/_}" - printf -v "__b3bp_tmp_opt" '%s' "${!__b3bp_tmp_varname}" - # Only assign OPTARG if option takes an argument - __b3bp_tmp_varname="__b3bp_tmp_has_arg_${__b3bp_tmp_opt}" - __b3bp_tmp_varvalue="${!__b3bp_tmp_varname}" - [[ "${__b3bp_tmp_varvalue}" != "0" ]] && __b3bp_tmp_varvalue="1" - printf -v "OPTARG" '%s' "${@:OPTIND:${__b3bp_tmp_varvalue}}" - # shift over the argument if argument is expected - ((OPTIND+=__b3bp_tmp_varvalue)) - fi - # we have set opt/OPTARG to the short value and the argument as OPTARG if it exists - fi - - __b3bp_tmp_value="${OPTARG}" - - __b3bp_tmp_varname="__b3bp_tmp_is_array_${__b3bp_tmp_opt:0:1}" - if [[ "${!__b3bp_tmp_varname}" != "0" ]]; then - # repeatables - # shellcheck disable=SC2016 - if [[ -z "${OPTARG}" ]]; then - # repeatable flags, they increcemnt - __b3bp_tmp_varname="arg_${__b3bp_tmp_opt:0:1}" - debug "cli arg ${__b3bp_tmp_varname} = (${__b3bp_tmp_default}) -> ${!__b3bp_tmp_varname}" - # shellcheck disable=SC2004 - __b3bp_tmp_value=$((${!__b3bp_tmp_varname} + 1)) - printf -v "${__b3bp_tmp_varname}" '%s' "${__b3bp_tmp_value}" - else - # repeatable args, they get appended to an array - __b3bp_tmp_varname="arg_${__b3bp_tmp_opt:0:1}[@]" - debug "cli arg ${__b3bp_tmp_varname} append ${__b3bp_tmp_value}" - declare -a "${__b3bp_tmp_varname}"='("${!__b3bp_tmp_varname}" "${__b3bp_tmp_value}")' - fi - else - # non-repeatables - __b3bp_tmp_varname="arg_${__b3bp_tmp_opt:0:1}" - __b3bp_tmp_default="${!__b3bp_tmp_varname}" - - if [[ -z "${OPTARG}" ]]; then - __b3bp_tmp_value=$((__b3bp_tmp_default + 1)) - fi - - printf -v "${__b3bp_tmp_varname}" '%s' "${__b3bp_tmp_value}" - - debug "cli arg ${__b3bp_tmp_varname} = (${__b3bp_tmp_default}) -> ${!__b3bp_tmp_varname}" - fi - done - set -o nounset # no more unbound variable references expected - - shift $((OPTIND-1)) - - if [[ "${1:-}" = "--" ]] ; then - shift - fi -fi - - -### Automatic validation of required option arguments -############################################################################## - -for __b3bp_tmp_varname in ${!__b3bp_tmp_has_arg_*}; do - # validate only options which required an argument - [[ "${!__b3bp_tmp_varname}" = "2" ]] || continue - - __b3bp_tmp_opt_short="${__b3bp_tmp_varname##*_}" - __b3bp_tmp_varname="arg_${__b3bp_tmp_opt_short}" - [[ "${!__b3bp_tmp_varname}" ]] && continue - - __b3bp_tmp_varname="__b3bp_tmp_opt_short2long_${__b3bp_tmp_opt_short}" - printf -v "__b3bp_tmp_opt_long" '%s' "${!__b3bp_tmp_varname}" - [[ "${__b3bp_tmp_opt_long:-}" ]] && __b3bp_tmp_opt_long=" (--${__b3bp_tmp_opt_long//_/-})" - - help "Option -${__b3bp_tmp_opt_short}${__b3bp_tmp_opt_long:-} requires an argument" -done - - -### Cleanup Environment variables -############################################################################## - -for __tmp_varname in ${!__b3bp_tmp_*}; do - unset -v "${__tmp_varname}" -done - -unset -v __tmp_varname - - -### Externally supplied __usage. Nothing else to do here -############################################################################## - -if [[ "${__b3bp_external_usage:-}" = "true" ]]; then - unset -v __b3bp_external_usage - return -fi - - -### Signal trapping and backtracing -############################################################################## - -function __b3bp_cleanup_before_exit () { - info "Cleaning up. Done" -} -trap __b3bp_cleanup_before_exit EXIT - -# requires `set -o errtrace` -__b3bp_err_report() { - local error_code=${?} - error "Error in ${__file} in function ${1} on line ${2}" - exit ${error_code} -} -# Uncomment the following line for always providing an error backtrace -# trap '__b3bp_err_report "${FUNCNAME:-.}" ${LINENO}' ERR - - -### Command-line argument switches (like -d for debugmode, -h for showing helppage) -############################################################################## - -# debug mode -if [[ "${arg_d:?}" = "1" ]]; then - set -o xtrace - PS4='+(${BASH_SOURCE}:${LINENO}): ${FUNCNAME[0]:+${FUNCNAME[0]}(): }' - LOG_LEVEL="7" - # Enable error backtracing - trap '__b3bp_err_report "${FUNCNAME:-.}" ${LINENO}' ERR -fi - -# verbose mode -if [[ "${arg_v:?}" = "1" ]]; then - set -o verbose -fi - -# no color mode -if [[ "${arg_n:?}" = "1" ]]; then - NO_COLOR="true" -fi - -# help mode -if [[ "${arg_h:?}" = "1" ]]; then - # Help exists with code 1 - help "Help using ${0}" -fi - - -### Validation. Error out if the things required for your script are not present -############################################################################## - -[[ "${arg_f:-}" ]] || help "Setting a filename with -f or --file is required" -[[ "${LOG_LEVEL:-}" ]] || emergency "Cannot continue without LOG_LEVEL. " - - -### Runtime -############################################################################## - -info "__i_am_main_script: ${__i_am_main_script}" -info "__file: ${__file}" -info "__dir: ${__dir}" -info "__base: ${__base}" -info "OSTYPE: ${OSTYPE}" - -info "arg_f: ${arg_f}" -info "arg_d: ${arg_d}" -info "arg_v: ${arg_v}" -info "arg_h: ${arg_h}" - -# shellcheck disable=SC2015 -if [[ -n "${arg_i:-}" ]] && declare -p arg_i 2> /dev/null | grep -q '^declare \-a'; then - info "arg_i:" - for input_file in "${arg_i[@]}"; do - info " - ${input_file}" - done -elif [[ -n "${arg_i:-}" ]]; then - info "arg_i: ${arg_i}" -else - info "arg_i: 0" -fi - -# shellcheck disable=SC2015 -if [[ -n "${arg_x:-}" ]] && declare -p arg_x 2> /dev/null | grep -q '^declare \-a'; then - info "arg_x: ${#arg_x[@]}" -elif [[ -n "${arg_x:-}" ]]; then - info "arg_x: ${arg_x}" -else - info "arg_x: 0" -fi - -info "$(echo -e "multiple lines example - line #1\\nmultiple lines example - line #2\\nimagine logging the output of 'ls -al /path/'")" - -# All of these go to STDERR, so you can use STDOUT for piping machine readable information to other software -debug "Info useful to developers for debugging the application, not useful during operations." -info "Normal operational messages - may be harvested for reporting, measuring throughput, etc. - no action required." -notice "Events that are unusual but not error conditions - might be summarized in an email to developers or admins to spot potential problems - no immediate action required." -warning "Warning messages, not an error, but indication that an error will occur if action is not taken, e.g. file system 85% full - each item must be resolved within a given time." -error "Non-urgent failures, these should be relayed to developers or admins; each item must be resolved within a given time." -critical "Should be corrected immediately, but indicates failure in a primary system, an example is a loss of a backup ISP connection." -alert "Should be corrected immediately, therefore notify staff who can fix the problem. An example would be the loss of a primary ISP connection." -emergency "A \"panic\" condition usually affecting multiple apps/servers/sites. At this level it would usually notify all tech staff on call." diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/package.json b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/package.json deleted file mode 100644 index 4583945..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/package.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "name": "bash3boilerplate", - "description": "Copypastable templates to write better bash scripts", - "version": "2.7.2", - "packageManager": "yarn@3.6.0+sha224.19e47520fa56c6146388fdeb438d9dcf6630c3f277a2e1180995c3bb", - "engines": { - "node": ">= 18", - "yarn": "3.6.0" - }, - "scripts": { - "lint:shellcheck": "shellcheck --severity=${SHELLCHECK_SEVERITY:-info} $(find . -name '*.sh' -maxdepth 2)", - "lint:style": "test/style.pl $(find . -name '*.sh' -maxdepth 2)", - "lint": "npm-run-all -l 'lint:**'", - "release:major": "env SEMANTIC=major yarn release", - "release:minor": "env SEMANTIC=minor yarn release", - "release:patch": "env SEMANTIC=patch yarn release", - "release": "npm version ${SEMANTIC:-patch} -m \"Release %s\" && yarn version:replace && git commit main.sh src/*.sh -m 'Update version' && git push && git push --tags -f && npm publish", - "test:debug:main:repeated": "env LOG_LEVEL=7 test/acceptance.sh main-repeated", - "test:update": "env SAVE_FIXTURES=true yarn test", - "test": "test/acceptance.sh", - "version:current": "node -e 'console.log(require(\"./package.json\").version)'", - "version:replace": "replace 'v\\d+\\.\\d+\\.\\d+' \"v$(npm run --silent version:current)\" main.sh src/*.sh" - }, - "devDependencies": { - "fakefile": "1.1.0", - "npm-run-all": "4.1.5", - "replace": "1.2.2" - } -} diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/src/ini_val.sh b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/src/ini_val.sh deleted file mode 100755 index d811510..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/src/ini_val.sh +++ /dev/null @@ -1,113 +0,0 @@ -#!/usr/bin/env bash -# BASH3 Boilerplate: ini_val -# -# This file: -# -# - Can read and write .ini files using pure bash -# -# Limitations: -# -# - All keys inside a section of the .ini file must be unique -# - Optional comment parameter for the creation of new entries -# -# Usage as a function: -# -# source ini_val.sh -# ini_val data.ini connection.host 127.0.0.1 "Host name or IP address" -# -# Usage as a command: -# -# ini_val.sh data.ini connection.host 127.0.0.1 "Host name or IP address" -# -# Based on a template by BASH3 Boilerplate vv2.7.2 -# http://bash3boilerplate.sh/#authors -# -# The MIT License (MIT) -# Copyright (c) 2013 Kevin van Zonneveld and contributors -# You are not obligated to bundle the LICENSE file with your b3bp projects as long -# as you leave these references intact in the header comments of your source files. - -function ini_val() { - local file="${1:-}" - local sectionkey="${2:-}" - local val="${3:-}" - local comment="${4:-}" - local delim="=" - local comment_delim=";" - local section="" - local key="" - local current="" - # add default section - local section_default="default" - - if [[ ! -f "${file}" ]]; then - # touch file if not exists - touch "${file}" - fi - - # Split on . for section. However, section is optional - IFS='.' read -r section key <<< "${sectionkey}" - if [[ ! "${key}" ]]; then - key="${section}" - # default section if not given - section="${section_default}" - fi - - # get current value (if exists) - current=$(sed -En "/^\[/{h;d;};G;s/^${key}([[:blank:]]*)${delim}(.*)\n\[${section}\]$/\2/p" "${file}"|awk '{$1=$1};1') - # get current comment (if exists) - current_comment=$(sed -En "/^\[${section}\]/,/^\[.*\]/ s|^(${comment_delim}\[${key}\])(.*)|\2|p" "${file}"|awk '{$1=$1};1') - - if ! grep -q "\[${section}\]" "${file}"; then - # create section if not exists (empty line to seperate new section for better readability) - echo >> "${file}" - echo "[${section}]" >> "${file}" - fi - - if [[ ! "${val}" ]]; then - # get a value - echo "${current}" - else - # set a value - if [[ ! "${section}" ]]; then - # if no section is given, propagate the default section - section=${section_default} - fi - - if [[ ! "${comment}" ]]; then - # if no comment given, keep old comment - comment="${current_comment}" - fi - # maintenance area - # a) remove comment if new given / respect section - sed -i.bak "/^\[${section}\]/,/^\[.*\]/ s|^\(${comment_delim}\[${key}\] \).*$||" "${file}" - # b) remove old key / respect section - sed -i.bak "/^\[${section}\]/,/^\[.*\]/ s|^\(${key}=\).*$||" "${file}" - # c) remove all empty lines in ini file - sed -i.bak '/^[[:space:]]*$/d' "${file}" - # d) insert line break before every section for better readability - sed -i.bak $'s/^\\[/\\\n\\[/g' "${file}" - - # add to section - if [[ ! "${comment}" ]]; then - # add new key/value _without_ comment - RET="/\\[${section}\\]/a\\ -${key}${delim}${val}" - else - # add new key/value _with_ preceeding comment - RET="/\\[${section}\\]/a\\ -${comment_delim}[${key}] ${comment}\\ -${key}${delim}${val}" - fi - sed -i.bak -e "${RET}" "${file}" - # this .bak dance is done for BSD/GNU portability: http://stackoverflow.com/a/22084103/151666 - rm -f "${file}.bak" - fi -} - -if [[ "${BASH_SOURCE[0]}" != "${0}" ]]; then - export -f ini_val -else - ini_val "${@}" - exit ${?} -fi diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/src/megamount.sh b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/src/megamount.sh deleted file mode 100644 index 148ff1c..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/src/megamount.sh +++ /dev/null @@ -1,78 +0,0 @@ -#!/usr/bin/env bash -# BASH3 Boilerplate: megamount -# -# This file: -# -# - Takes a URL (smb, nfs, afs) and tries to mount it at a given target directory -# - Forcefully unmounts any active mount at the target directory first -# - Displays the mount's contents for verification -# -# Depends on: -# -# - ./parse_url.sh -# -# Usage as a function: -# -# source megamount.sh -# megamount smb://janedoe:abc123@192.168.0.1/documents /mnt/documents -# -# Usage as a command: -# -# megamount.sh smb://janedoe:abc123@192.168.0.1/documents /mnt/documents -# -# Based on a template by BASH3 Boilerplate vv2.7.2 -# http://bash3boilerplate.sh/#authors -# -# The MIT License (MIT) -# Copyright (c) 2013 Kevin van Zonneveld and contributors -# You are not obligated to bundle the LICENSE file with your b3bp projects as long -# as you leave these references intact in the header comments of your source files. - -__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" - -# shellcheck source=src/parse_url.sh -source "${__dir}/parse_url.sh" - -function megamount () { - local url="${1}" - local target="${2}" - - local proto - local user - local pass - local host - local port - local path - - proto=$(parse_url "${url}" "proto") - user=$(parse_url "${url}" "user") - pass=$(parse_url "${url}" "pass") - host=$(parse_url "${url}" "host") - port=$(parse_url "${url}" "port") - path=$(parse_url "${url}" "path") - - (umount -lf "${target}" || umount -f "${target}") > /dev/null 2>&1 || true - mkdir -p "${target}" - if [[ "${proto}" = "smb://" ]]; then - mount -t cifs --verbose -o "username=${user},password=${pass},hard" "//${host}/${path}" "${target}" - elif [[ "${proto}" = "afp://" ]]; then - # start syslog-ng - # afpfsd || echo "Unable to run afpfsd. Does /dev/log exist?" && exit 1 - mount_afp "${url}" "${target}" - elif [[ "${proto}" = "nfs://" ]]; then - mount -t nfs --verbose -o "vers=3,nolock,soft,intr,rsize=32768,wsize=32768" "${host}:/${path}" "${target}" - else - echo "ERR: Unknown protocol: '${proto}'" - exit 1 - fi - - # chmod 777 "${target}" - ls -al "${target}/" -} - -if [[ "${BASH_SOURCE[0]}" != "${0}" ]]; then - export -f megamount -else - megamount "${@}" - exit ${?} -fi diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/src/parse_url.sh b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/src/parse_url.sh deleted file mode 100644 index d9d2704..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/src/parse_url.sh +++ /dev/null @@ -1,84 +0,0 @@ -#!/usr/bin/env bash -# BASH3 Boilerplate: parse_url -# -# This file: -# -# - Takes a URL and parses protocol, user, pass, host, port, path. -# -# Based on: -# -# - http://stackoverflow.com/a/6174447/151666 -# -# Usage as a function: -# -# source parse_url.sh -# parse_url 'http://johndoe:abc123@example.com:8080/index.html' pass -# -# Usage as a command: -# -# parse_url.sh 'http://johndoe:abc123@example.com:8080/index.html' -# -# Based on a template by BASH3 Boilerplate vv2.7.2 -# http://bash3boilerplate.sh/#authors -# -# The MIT License (MIT) -# Copyright (c) 2013 Kevin van Zonneveld and contributors -# You are not obligated to bundle the LICENSE file with your b3bp projects as long -# as you leave these references intact in the header comments of your source files. - -function parse_url() { - local parse="${1}" - local need="${2:-}" - - local proto - local url - local userpass - local user - local pass - local hostport - local host - local port - local path - - proto="$(echo "${parse}" | grep :// | sed -e's,^\(.*://\).*,\1,g')" - url="${parse/${proto}/}" - userpass="$(echo "${url}" | grep @ | cut -d@ -f1)" - user="$(echo "${userpass}" | grep : | cut -d: -f1)" - pass="$(echo "${userpass}" | grep : | cut -d: -f2)" - hostport="$(echo "${url/${userpass}@/}" | cut -d/ -f1)" - host="$(echo "${hostport}" | grep : | cut -d: -f1)" - port="$(echo "${hostport}" | grep : | cut -d: -f2)" - path="$(echo "${url}" | grep / | cut -d/ -f2-)" - - [[ ! "${user}" ]] && user="${userpass}" - [[ ! "${host}" ]] && host="${hostport}" - if [[ ! "${port}" ]]; then - [[ "${proto}" = "http://" ]] && port="80" - [[ "${proto}" = "https://" ]] && port="443" - [[ "${proto}" = "mysql://" ]] && port="3306" - [[ "${proto}" = "redis://" ]] && port="6379" - fi - - if [[ "${need}" ]]; then - echo "${!need}" - else - echo "" - echo " Use second argument to return just 1 variable." - echo " parse_url() demo: " - echo "" - echo " proto: ${proto}" - echo " user: ${user}" - echo " pass: ${pass}" - echo " host: ${host}" - echo " port: ${port}" - echo " path: ${path}" - echo "" - fi -} - -if [[ "${BASH_SOURCE[0]}" != "${0}" ]]; then - export -f parse_url -else - parse_url "${@}" - exit ${?} -fi diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/src/templater.sh b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/src/templater.sh deleted file mode 100755 index 679048f..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/src/templater.sh +++ /dev/null @@ -1,68 +0,0 @@ -#!/usr/bin/env bash -# BASH3 Boilerplate: templater -# -# This file: -# -# - takes a source (template) & destination (config) filepath argument -# - then replaces placeholders with variables found in the environment -# -# Usage as a function: -# -# source templater.sh -# export NAME=kevin -# templater input.cfg output.cfg -# -# Usage as a command: -# -# ALLOW_REMAINDERS=1 templater.sh input.cfg output.cfg -# -# Based on a template by BASH3 Boilerplate vv2.7.2 -# http://bash3boilerplate.sh/#authors -# -# The MIT License (MIT) -# Copyright (c) 2013 Kevin van Zonneveld and contributors -# You are not obligated to bundle the LICENSE file with your b3bp projects as long -# as you leave these references intact in the header comments of your source files. - -function templater() { - ALLOW_REMAINDERS="${ALLOW_REMAINDERS:-0}" - - templateSrc="${1:-}" - templateDst="${2:-}" - - if [[ ! -f "${templateSrc}" ]]; then - echo "ERROR: Template source '${templateSrc}' needs to exist" - exit 1 - fi - if [[ ! "${templateDst}" ]]; then - echo "ERROR: Template destination '${templateDst}' needs to be specified" - exit 1 - fi - - if [[ "$(command -v perl)" ]]; then - perl -p -e 's/\$\{(\w+)\}/(exists $ENV{$1} ? $ENV{$1} : "\${$1}")/eg' < "${templateSrc}" > "${templateDst}" - else - cp -f "${templateSrc}" "${templateDst}" - - for var in $(env |awk -F= '{print $1}' |grep -E '^(_[A-Z0-9_]+|[A-Z0-9][A-Z0-9_]*)$'); do - sed -i.bak -e "s#\${${var}}#${!var//#/\\#/}#g" "${templateDst}" - # this .bak dance is done for BSD/GNU portability: http://stackoverflow.com/a/22084103/151666 - rm -f "${templateDst}.bak" - done - fi - - # cat "${templateDst}" - - # shellcheck disable=SC2016 - if grep '${' "${templateDst}" && [[ "${ALLOW_REMAINDERS}" = "0" ]]; then - echo "ERROR: Unable to replace the above template vars" - exit 1 - fi -} - -if [[ "${BASH_SOURCE[0]}" != "${0}" ]]; then - export -f templater -else - templater "${@}" - exit ${?} -fi diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/acceptance.sh b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/acceptance.sh deleted file mode 100755 index 392d675..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/acceptance.sh +++ /dev/null @@ -1,232 +0,0 @@ -#!/usr/bin/env bash -# This file: -# -# - Executes one (or all) test scenarios -# - Replaces dynamic things like hostnames, IPs, dates, etc -# - Optionally saves the results as fixtures, that later runs will be compared against -# -# Usage: -# -# ./deploy.sh -# -# Based on a template by BASH3 Boilerplate v2.0.0 -# http://bash3boilerplate.sh/#authors -# -# The MIT License (MIT) -# Copyright (c) 2013 Kevin van Zonneveld and contributors -# You are not obligated to bundle the LICENSE file with your b3bp projects as long -# as you leave these references intact in the header comments of your source files. - -# Exit on error. Append || true if you expect an error. -set -o errexit -# Exit on error inside any functions or subshells. -set -o errtrace -# Do not allow use of undefined vars. Use ${VAR:-} to use an undefined VAR -set -o nounset -# Catch the error in case mysqldump fails (but gzip succeeds) in `mysqldump |gzip` -set -o pipefail -# Turn on traces, useful while debugging but commented out by default -# set -o xtrace - -# Set magic variables for current file, directory, os, etc. -__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -__file="${__dir}/$(basename "${BASH_SOURCE[0]}")" -__base="$(basename "${__file}" .sh)" -__root="$(cd "$(dirname "${__dir}")" && pwd)" - -__sysTmpDir="${TMPDIR:-/tmp}" -__sysTmpDir="${__sysTmpDir%/}" # <-- remove trailing slash on macosx -__accptstTmpDir=$(mktemp -d "${__sysTmpDir}/${__base}.XXXXXX") - -function cleanup_before_exit () { rm -r "${__accptstTmpDir:?}"; } -trap cleanup_before_exit EXIT - -cmdSed="sed" -cmdTimeout="timeout" - -if [[ "${OSTYPE}" = "darwin"* ]]; then - cmdSed="gsed" - cmdTimeout="gtimeout" -fi - -if [[ ! "$(command -v ${cmdSed})" ]]; then - echo "Please install ${cmdSed}" - exit 1 -fi - -if [[ ! "$(command -v ${cmdTimeout})" ]]; then - echo "Please install ${cmdTimeout}" - exit 1 -fi - -__node="$(command -v node)" -__arch="amd64" - -# explicitly setting NO_COLOR to false will make b3bp ignore TERM -# not being "xterm*" or "screen*" and STDERR not being connected to a terminal -# it's the opposite of NO_COLOR="true" - it forces color, no matter what -export NO_COLOR="false" - -# Running prepare before other scenarios is important on Travis, -# so that stdio can diverge - and we can enforce stricter -# stdio comparison on all other tests. -while IFS=$'\n' read -r scenario; do - scenario="$(dirname "${scenario}")" - scenario="${scenario##${__dir}/scenario/}" - - [[ "${scenario}" = "prepare" ]] && continue - [[ "${1:-}" ]] && [[ "${scenario}" != "${1}" ]] && continue - - echo "==> Scenario: ${scenario}" - pushd "${__dir}/scenario/${scenario}" > /dev/null - - # Run scenario - (${cmdTimeout} --kill-after=6m 5m bash ./run.sh \ - > "${__accptstTmpDir}/${scenario}.stdio" 2>&1; \ - echo "${?}" > "${__accptstTmpDir}/${scenario}.exitcode" \ - ) || true - - # Clear out environmental specifics - for typ in stdio exitcode; do - curFile="${__accptstTmpDir}/${scenario}.${typ}" - "${cmdSed}" -i \ - -e "s@${__node}@{node}@g" "${curFile}" \ - -e "s@${__root}@{root}@g" "${curFile}" \ - -e "s@${__sysTmpDir}@{tmpdir}@g" "${curFile}" \ - -e "s@/tmp@{tmpdir}@g" "${curFile}" \ - -e "s@${HOME:-/home/travis}@{home}@g" "${curFile}" \ - -e "s@${USER:-travis}@{user}@g" "${curFile}" \ - -e "s@travis@{user}@g" "${curFile}" \ - -e "s@kvz@{user}@g" "${curFile}" \ - -e "s@{root}/node_modules/\\.bin/node@{node}@g" "${curFile}" \ - -e "s@{home}/build/{user}/fre{node}@{node}@g" "${curFile}" \ - -e "s@${HOSTNAME}@{hostname}@g" "${curFile}" \ - -e "s@${__arch}@{arch}@g" "${curFile}" \ - -e "s@${OSTYPE}@{OSTYPE}@g" "${curFile}" \ - -e "s@OSX@{os}@g" "${curFile}" \ - -e "s@Linux@{os}@g" "${curFile}" \ - || false - - if grep -q 'ACCPTST:STDIO_REPLACE_IPS' "${curFile}"; then - "${cmdSed}" -i \ - -r 's@[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}@{ip}@g' \ - "${curFile}" - - # IPs vary in length. Ansible uses padding. {ip} does not vary in length - # so kill the padding after it for consistent output - "${cmdSed}" -i \ - -r 's@\{ip\}\s+@{ip} @g' \ - "${curFile}" - fi - if grep -q 'ACCPTST:STDIO_REPLACE_UUIDS' "${curFile}"; then - "${cmdSed}" -i \ - -r 's@[0-9a-f\-]{32,40}@{uuid}@g' \ - "${curFile}" - fi - if grep -q 'ACCPTST:STDIO_REPLACE_BIGINTS' "${curFile}"; then - # Such as: 3811298194 - "${cmdSed}" -i \ - -r 's@[0-9]{7,64}@{bigint}@g' \ - "${curFile}" - fi - if grep -q 'ACCPTST:STDIO_REPLACE_DATETIMES' "${curFile}"; then - # Such as: 2016-02-10 15:38:44.420094 - "${cmdSed}" -i \ - -r 's@[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}@{datetime}@g' \ - "${curFile}" - fi - if grep -q 'ACCPTST:STDIO_REPLACE_LONGTIMES' "${curFile}"; then - # Such as: 2016-02-10 15:38:44.420094 - "${cmdSed}" -i \ - -r 's@[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{6}@{longtime}@g' \ - "${curFile}" - fi - if grep -q 'ACCPTST:STDIO_REPLACE_DURATIONS' "${curFile}"; then - # Such as: 0:00:00.001991 - "${cmdSed}" -i \ - -r 's@[0-9]{1,2}:[0-9]{2}:[0-9]{2}.[0-9]{6}@{duration}@g' \ - "${curFile}" - fi - if grep -q 'ACCPTST:STDIO_REPLACE_REMOTE_EXEC' "${curFile}"; then - grep -Ev 'remote-exec\): [ a-zA-Z]' "${curFile}" > "${__sysTmpDir}/accptst-filtered.txt" - mv "${__sysTmpDir}/accptst-filtered.txt" "${curFile}" - fi - done - - # Save these as new fixtures? - if [[ "${SAVE_FIXTURES:-}" = "true" ]]; then - for typ in stdio exitcode; do - curFile="${__accptstTmpDir}/${scenario}.${typ}" - cp -f \ - "${curFile}" \ - "${__dir}/fixture/${scenario}.${typ}" - done - fi - - # Compare - for typ in stdio exitcode; do - curFile="${__accptstTmpDir}/${scenario}.${typ}" - - echo -n " comparing ${typ}.. " - - if [[ "${typ}" = "stdio" ]]; then - if grep -q 'ACCPTST:STDIO_SKIP_COMPARE' "${curFile}"; then - echo "skip" - continue - fi - fi - - if ! diff --strip-trailing-cr "${__dir}/fixture/${scenario}.${typ}" "${curFile}"; then - echo -e "\\n\\n==> MISMATCH OF: ${scenario}.${typ} ---^" - echo -e "\\n\\n==> EXPECTED STDIO: " - cat "${__dir}/fixture/${scenario}.stdio" || true - echo -e "\\n\\n==> ACTUAL STDIO: " - cat "${__accptstTmpDir}/${scenario}.stdio" || true - exit 1 - fi - - echo "✓" - done - - popd > /dev/null -done <<< "$(find "${__dir}/scenario" -type f -iname 'run.sh')" - -[[ "${1:-}" ]] && exit 0 - -# Ensure correct syntax with all available bashes - -# shellcheck disable=SC2230 -# "command -v" is not a substitute for "which -a" -while IFS=$'\n' read -r bash; do - if [[ "${bash:-}" = "" ]]; then - continue - fi - # shellcheck disable=SC2016 - echo "==> ${bash} -n $(${bash} -c 'echo "(${BASH_VERSION})"')" - pushd "${__root}" > /dev/null - - failed="false" - - while IFS=$'\n' read -r file; do - [[ "${file}" =~ ^\./node_modules/ ]] && continue - - echo -n " ${file}.. " - - if ! "${bash}" -n "${file}" 2>> "${__accptstTmpDir}/${bash//\//.}.err"; then - echo "✗" - failed="true" - continue - fi - - echo "✓" - done <<< "$(find . -type f -iname '*.sh')" - - popd > /dev/null - - if [[ "${failed}" = "true" ]]; then - cat "${__accptstTmpDir}/${bash//\//.}.err" - exit 1 - fi -done <<< "$(which -a bash 2>/dev/null)" - -exit 0 diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/.empty b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/.empty deleted file mode 100644 index e69de29..0000000 diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/double-source.exitcode b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/double-source.exitcode deleted file mode 100644 index d00491f..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/double-source.exitcode +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/double-source.stdio b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/double-source.stdio deleted file mode 100644 index 007a82b..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/double-source.stdio +++ /dev/null @@ -1,25 +0,0 @@ -ACCPTST:STDIO_REPLACE_DATETIMES -{datetime} UTC [ debug] cli arg arg_f = () -> {tmpdir}/x -{datetime} UTC [ info] __i_am_main_script: 0 -{datetime} UTC [ info] __file: {root}/example.sh -{datetime} UTC [ info] __dir: {root} -{datetime} UTC [ info] __base: example -{datetime} UTC [ info] OSTYPE: {OSTYPE} -{datetime} UTC [ info] arg_f: {tmpdir}/x -{datetime} UTC [ info] arg_d: 0 -{datetime} UTC [ info] arg_v: 0 -{datetime} UTC [ info] arg_h: 0 -{datetime} UTC [ info] arg_i: 0 -{datetime} UTC [ info] arg_x: 0 -{datetime} UTC [ info] multiple lines example - line #1 -{datetime} UTC [ info] multiple lines example - line #2 -{datetime} UTC [ info] imagine logging the output of 'ls -al /path/' -{datetime} UTC [ debug] Info useful to developers for debugging the application, not useful during operations. -{datetime} UTC [ info] Normal operational messages - may be harvested for reporting, measuring throughput, etc. - no action required. -{datetime} UTC [ notice] Events that are unusual but not error conditions - might be summarized in an email to developers or admins to spot potential problems - no immediate action required. -{datetime} UTC [ warning] Warning messages, not an error, but indication that an error will occur if action is not taken, e.g. file system 85% full - each item must be resolved within a given time. -{datetime} UTC [ error] Non-urgent failures, these should be relayed to developers or admins; each item must be resolved within a given time. -{datetime} UTC [ critical] Should be corrected immediately, but indicates failure in a primary system, an example is a loss of a backup ISP connection. -{datetime} UTC [ alert] Should be corrected immediately, therefore notify staff who can fix the problem. An example would be the loss of a primary ISP connection. -{datetime} UTC [emergency] A "panic" condition usually affecting multiple apps/servers/sites. At this level it would usually notify all tech staff on call. -{datetime} UTC [ info] Cleaning up. Done diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/ini_val.exitcode b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/ini_val.exitcode deleted file mode 100644 index 573541a..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/ini_val.exitcode +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/ini_val.stdio b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/ini_val.stdio deleted file mode 100644 index 28b4c44..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/ini_val.stdio +++ /dev/null @@ -1,42 +0,0 @@ ---> command: Read 3 values -exists -127.0.0.1 -nginx, nodejs - ---> command: Replace three values in-place and show result - -[default] -orphan=no more - -[connection] -host=192.168.0.1 - -[software] -packages=vim - -[comment] -;[command] got this new comment -command=works like a chame -;[new_command] last addition will be moved downwards again after next command -new_command=commented too ---> function: Read 3 values -exists -127.0.0.1 -nginx, nodejs - ---> function: Replace three values in-place and show result - -[default] -orphan=no more - -[connection] -host=192.168.0.1 - -[software] -packages=vim - -[comment] -;[command] got this new comment -command=works like a chame -;[new_command] last addition will be moved downwards again after next command -new_command=commented too diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-debug.exitcode b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-debug.exitcode deleted file mode 100644 index d00491f..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-debug.exitcode +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-debug.stdio b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-debug.stdio deleted file mode 100644 index 0f83fa5..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-debug.stdio +++ /dev/null @@ -1,25 +0,0 @@ -ACCPTST:STDIO_REPLACE_DATETIMES -{datetime} UTC [ debug] cli arg arg_f = () -> {tmpdir}/x -{datetime} UTC [ info] __i_am_main_script: 1 -{datetime} UTC [ info] __file: {root}/main.sh -{datetime} UTC [ info] __dir: {root} -{datetime} UTC [ info] __base: main -{datetime} UTC [ info] OSTYPE: {OSTYPE} -{datetime} UTC [ info] arg_f: {tmpdir}/x -{datetime} UTC [ info] arg_d: 0 -{datetime} UTC [ info] arg_v: 0 -{datetime} UTC [ info] arg_h: 0 -{datetime} UTC [ info] arg_i: 0 -{datetime} UTC [ info] arg_x: 0 -{datetime} UTC [ info] multiple lines example - line #1 -{datetime} UTC [ info] multiple lines example - line #2 -{datetime} UTC [ info] imagine logging the output of 'ls -al /path/' -{datetime} UTC [ debug] Info useful to developers for debugging the application, not useful during operations. -{datetime} UTC [ info] Normal operational messages - may be harvested for reporting, measuring throughput, etc. - no action required. -{datetime} UTC [ notice] Events that are unusual but not error conditions - might be summarized in an email to developers or admins to spot potential problems - no immediate action required. -{datetime} UTC [ warning] Warning messages, not an error, but indication that an error will occur if action is not taken, e.g. file system 85% full - each item must be resolved within a given time. -{datetime} UTC [ error] Non-urgent failures, these should be relayed to developers or admins; each item must be resolved within a given time. -{datetime} UTC [ critical] Should be corrected immediately, but indicates failure in a primary system, an example is a loss of a backup ISP connection. -{datetime} UTC [ alert] Should be corrected immediately, therefore notify staff who can fix the problem. An example would be the loss of a primary ISP connection. -{datetime} UTC [emergency] A "panic" condition usually affecting multiple apps/servers/sites. At this level it would usually notify all tech staff on call. -{datetime} UTC [ info] Cleaning up. Done diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-help.exitcode b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-help.exitcode deleted file mode 100644 index d00491f..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-help.exitcode +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-help.stdio b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-help.stdio deleted file mode 100644 index b8437bd..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-help.stdio +++ /dev/null @@ -1,19 +0,0 @@ -ACCPTST:STDIO_REPLACE_DATETIMES - - Help using {root}/main.sh - - -f --file [arg] Filename to process. Required. - -t --temp [arg] Location of tempfile. Default="{tmpdir}/bar" - -v Enable verbose mode, print script as it is executed - -d --debug Enables debug mode - -h --help This page - -n --no-color Disable color output - -1 --one Do just one thing - -i --input [arg] File to process. Can be repeated. - -x Specify a flag. Can be repeated. - - This is Bash3 Boilerplate's help text. Feel free to add any description of your - program or elaborate more on command-line arguments. This section is not - parsed and will be added as-is to the help. - -{datetime} UTC [ info] Cleaning up. Done diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-longopt.exitcode b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-longopt.exitcode deleted file mode 100644 index 573541a..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-longopt.exitcode +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-longopt.stdio b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-longopt.stdio deleted file mode 100644 index 690d0a6..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-longopt.stdio +++ /dev/null @@ -1,4 +0,0 @@ -ACCPTST:STDIO_REPLACE_DATETIMES -{datetime} UTC [ info] arg_f: {tmpdir}/x -{datetime} UTC [ info] arg_f: {tmpdir}/x -{datetime} UTC [ info] arg_f: {tmpdir}/x diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-nocolor.exitcode b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-nocolor.exitcode deleted file mode 100644 index d00491f..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-nocolor.exitcode +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-nocolor.stdio b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-nocolor.stdio deleted file mode 100644 index 5200e7f..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-nocolor.stdio +++ /dev/null @@ -1,25 +0,0 @@ -ACCPTST:STDIO_REPLACE_DATETIMES -{datetime} UTC [ debug] cli arg arg_f = () -> {tmpdir}/x -{datetime} UTC [ info] __i_am_main_script: 1 -{datetime} UTC [ info] __file: {root}/main.sh -{datetime} UTC [ info] __dir: {root} -{datetime} UTC [ info] __base: main -{datetime} UTC [ info] OSTYPE: {OSTYPE} -{datetime} UTC [ info] arg_f: {tmpdir}/x -{datetime} UTC [ info] arg_d: 0 -{datetime} UTC [ info] arg_v: 0 -{datetime} UTC [ info] arg_h: 0 -{datetime} UTC [ info] arg_i: 0 -{datetime} UTC [ info] arg_x: 0 -{datetime} UTC [ info] multiple lines example - line #1 -{datetime} UTC [ info] multiple lines example - line #2 -{datetime} UTC [ info] imagine logging the output of 'ls -al /path/' -{datetime} UTC [ debug] Info useful to developers for debugging the application, not useful during operations. -{datetime} UTC [ info] Normal operational messages - may be harvested for reporting, measuring throughput, etc. - no action required. -{datetime} UTC [ notice] Events that are unusual but not error conditions - might be summarized in an email to developers or admins to spot potential problems - no immediate action required. -{datetime} UTC [ warning] Warning messages, not an error, but indication that an error will occur if action is not taken, e.g. file system 85% full - each item must be resolved within a given time. -{datetime} UTC [ error] Non-urgent failures, these should be relayed to developers or admins; each item must be resolved within a given time. -{datetime} UTC [ critical] Should be corrected immediately, but indicates failure in a primary system, an example is a loss of a backup ISP connection. -{datetime} UTC [ alert] Should be corrected immediately, therefore notify staff who can fix the problem. An example would be the loss of a primary ISP connection. -{datetime} UTC [emergency] A "panic" condition usually affecting multiple apps/servers/sites. At this level it would usually notify all tech staff on call. -{datetime} UTC [ info] Cleaning up. Done diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-repeated.exitcode b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-repeated.exitcode deleted file mode 100644 index 573541a..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-repeated.exitcode +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-repeated.stdio b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-repeated.stdio deleted file mode 100644 index 5d27ec1..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-repeated.stdio +++ /dev/null @@ -1,9 +0,0 @@ -ACCPTST:STDIO_REPLACE_DATETIMES -{datetime} UTC [ info] arg_i: -{datetime} UTC [ info] - simple_input -{datetime} UTC [ info] - input_in_quotes -{datetime} UTC [ info] - input with spaces -{datetime} UTC [ info] - input with "quotes" -{datetime} UTC [ info] - last_input -{datetime} UTC [ info] arg_x: 3 -{datetime} UTC [ info] arg_x: 4 diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-usage-defaults.exitcode b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-usage-defaults.exitcode deleted file mode 100644 index 573541a..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-usage-defaults.exitcode +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-usage-defaults.stdio b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-usage-defaults.stdio deleted file mode 100644 index 2b93b13..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-usage-defaults.stdio +++ /dev/null @@ -1,7 +0,0 @@ -ACCPTST:STDIO_REPLACE_DATETIMES -{datetime} UTC [ info] arg_1: 0 -{datetime} UTC [ info] arg_2: 0 -{datetime} UTC [ info] arg_3: 'THREE' -{datetime} UTC [ info] arg_4: "FOUR" -{datetime} UTC [ info] arg_5: OOOPS -{datetime} UTC [ info] arg_6: diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-usage-validation.exitcode b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-usage-validation.exitcode deleted file mode 100644 index 573541a..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-usage-validation.exitcode +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-usage-validation.stdio b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-usage-validation.stdio deleted file mode 100644 index e3968cb..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/main-usage-validation.stdio +++ /dev/null @@ -1,169 +0,0 @@ -ACCPTST:STDIO_REPLACE_DATETIMES -# complain about -3 - - Option -3 (--three) requires an argument - - -0 --zero Do nothing. - -1 --one Do one thing. Required. - More description. - -2 --two Do two things. - More. Required. Description. - -3 --three [arg] Do three things. - Required. - -4 --four {arg} Do four things. - -5 --five {arg} Do five things. Required. Maybe. - -6 --six [arg] Do six things. Not Required. - Required, it is not. - -7 --seven [arg] Required. Or bust. - -8 --eight [arg] Do eight things. - More.Required.Description. - -a [arg] Do A. Required. - Default="do-a" - -b {arg} Do B.Default="do-b" - -c [arg] Required. Default="do-c" - -d {arg} Default="do-d" - - This is Bash3 Boilerplate's help text. Feel free to add any description of your - program or elaborate more on command-line arguments. This section is not - parsed and will be added as-is to the help. - -# complain about -4 - - Option -4 (--four) requires an argument - - -0 --zero Do nothing. - -1 --one Do one thing. Required. - More description. - -2 --two Do two things. - More. Required. Description. - -3 --three [arg] Do three things. - Required. - -4 --four {arg} Do four things. - -5 --five {arg} Do five things. Required. Maybe. - -6 --six [arg] Do six things. Not Required. - Required, it is not. - -7 --seven [arg] Required. Or bust. - -8 --eight [arg] Do eight things. - More.Required.Description. - -a [arg] Do A. Required. - Default="do-a" - -b {arg} Do B.Default="do-b" - -c [arg] Required. Default="do-c" - -d {arg} Default="do-d" - - This is Bash3 Boilerplate's help text. Feel free to add any description of your - program or elaborate more on command-line arguments. This section is not - parsed and will be added as-is to the help. - -# complain about -5 - - Option -5 (--five) requires an argument - - -0 --zero Do nothing. - -1 --one Do one thing. Required. - More description. - -2 --two Do two things. - More. Required. Description. - -3 --three [arg] Do three things. - Required. - -4 --four {arg} Do four things. - -5 --five {arg} Do five things. Required. Maybe. - -6 --six [arg] Do six things. Not Required. - Required, it is not. - -7 --seven [arg] Required. Or bust. - -8 --eight [arg] Do eight things. - More.Required.Description. - -a [arg] Do A. Required. - Default="do-a" - -b {arg} Do B.Default="do-b" - -c [arg] Required. Default="do-c" - -d {arg} Default="do-d" - - This is Bash3 Boilerplate's help text. Feel free to add any description of your - program or elaborate more on command-line arguments. This section is not - parsed and will be added as-is to the help. - -# complain about -8 (because -7 syntax is not supported) - - Option -8 (--eight) requires an argument - - -0 --zero Do nothing. - -1 --one Do one thing. Required. - More description. - -2 --two Do two things. - More. Required. Description. - -3 --three [arg] Do three things. - Required. - -4 --four {arg} Do four things. - -5 --five {arg} Do five things. Required. Maybe. - -6 --six [arg] Do six things. Not Required. - Required, it is not. - -7 --seven [arg] Required. Or bust. - -8 --eight [arg] Do eight things. - More.Required.Description. - -a [arg] Do A. Required. - Default="do-a" - -b {arg} Do B.Default="do-b" - -c [arg] Required. Default="do-c" - -d {arg} Default="do-d" - - This is Bash3 Boilerplate's help text. Feel free to add any description of your - program or elaborate more on command-line arguments. This section is not - parsed and will be added as-is to the help. - -# complain about -d (because -d syntax is not supported) - - Option -d requires an argument - - -0 --zero Do nothing. - -1 --one Do one thing. Required. - More description. - -2 --two Do two things. - More. Required. Description. - -3 --three [arg] Do three things. - Required. - -4 --four {arg} Do four things. - -5 --five {arg} Do five things. Required. Maybe. - -6 --six [arg] Do six things. Not Required. - Required, it is not. - -7 --seven [arg] Required. Or bust. - -8 --eight [arg] Do eight things. - More.Required.Description. - -a [arg] Do A. Required. - Default="do-a" - -b {arg} Do B.Default="do-b" - -c [arg] Required. Default="do-c" - -d {arg} Default="do-d" - - This is Bash3 Boilerplate's help text. Feel free to add any description of your - program or elaborate more on command-line arguments. This section is not - parsed and will be added as-is to the help. - -# complain about nothing -{datetime} UTC [ info] arg_0: 0 -{datetime} UTC [ info] arg_1: 0 -{datetime} UTC [ info] arg_2: 0 -{datetime} UTC [ info] arg_3: arg3 -{datetime} UTC [ info] arg_4: arg4 -{datetime} UTC [ info] arg_5: arg5 -{datetime} UTC [ info] arg_6: -{datetime} UTC [ info] arg_7: -{datetime} UTC [ info] arg_8: arg8 -{datetime} UTC [ info] arg_a: do-a -{datetime} UTC [ info] arg_b: do-b -{datetime} UTC [ info] arg_c: do-c -{datetime} UTC [ info] arg_d: argd -# test for issue #108 -{datetime} UTC [ info] arg_0: 1 -{datetime} UTC [ info] arg_1: 0 -{datetime} UTC [ info] arg_2: 0 -{datetime} UTC [ info] arg_3: arg3 -{datetime} UTC [ info] arg_4: value -{datetime} UTC [ info] arg_5: arg5 -{datetime} UTC [ info] arg_6: -{datetime} UTC [ info] arg_7: -{datetime} UTC [ info] arg_8: arg8 -{datetime} UTC [ info] arg_a: do-a -{datetime} UTC [ info] arg_b: do-b -{datetime} UTC [ info] arg_c: do-c -{datetime} UTC [ info] arg_d: argd diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/megamount.exitcode b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/megamount.exitcode deleted file mode 100644 index d00491f..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/megamount.exitcode +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/megamount.stdio b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/megamount.stdio deleted file mode 100644 index 5859c6a..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/megamount.stdio +++ /dev/null @@ -1,2 +0,0 @@ -ERR: Unknown protocol: 'foobarfs://' -ERR: Unknown protocol: 'foobarfs://' diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/parse_url.exitcode b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/parse_url.exitcode deleted file mode 100644 index 573541a..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/parse_url.exitcode +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/parse_url.stdio b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/parse_url.stdio deleted file mode 100644 index 00e30b1..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/parse_url.stdio +++ /dev/null @@ -1,24 +0,0 @@ -abc123 - - Use second argument to return just 1 variable. - parse_url() demo: - - proto: http:// - user: johndoe - pass: abc123 - host: example.com - port: 8080 - path: index.html - -abc123 - - Use second argument to return just 1 variable. - parse_url() demo: - - proto: http:// - user: johndoe - pass: abc123 - host: example.com - port: 8080 - path: index.html - diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/templater.exitcode b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/templater.exitcode deleted file mode 100644 index d00491f..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/templater.exitcode +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/templater.stdio b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/templater.stdio deleted file mode 100644 index 3a63574..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/fixture/templater.stdio +++ /dev/null @@ -1,14 +0,0 @@ --- -[connection] -host = 127.0.0.1 --- -[connection] -host = 127.0.0.1 --- -port = ${I_DONT_EXIST} -[connection] -host = 127.0.0.1 -port = ${I_DONT_EXIST} --- -port = ${I_DONT_EXIST} -ERROR: Unable to replace the above template vars diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/double-source/run.sh b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/double-source/run.sh deleted file mode 100644 index 29d5ccb..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/double-source/run.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env bash -set -o pipefail -set -o errexit -set -o nounset -# set -o xtrace - -__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -__root="$(cd "$(dirname "$(dirname "$(dirname "${__dir}")")")" && pwd)" - -export LOG_LEVEL=7 - -echo "ACCPTST:STDIO_REPLACE_DATETIMES" - -# shellcheck source=example.sh -source "${__root}/example.sh" -f /tmp/x diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/ini_val/data.ini b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/ini_val/data.ini deleted file mode 100644 index 450248d..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/ini_val/data.ini +++ /dev/null @@ -1,8 +0,0 @@ -[default] -orphan=exists - -[connection] -host=127.0.0.1 - -[software] -packages=nginx, nodejs diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/ini_val/run.sh b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/ini_val/run.sh deleted file mode 100755 index efc4941..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/ini_val/run.sh +++ /dev/null @@ -1,54 +0,0 @@ -#!/usr/bin/env bash -set -o pipefail -set -o errexit -set -o nounset -# set -o xtrace - -# Set magic variables for current FILE & DIR -__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -__root="$(cd "$(dirname "$(dirname "$(dirname "${__dir}")")")" && pwd)" - -# echo "ACCPTST:STDIO_REPLACE_DATETIMES" - - -# Use as standalone: -cp -f data.ini dummy.ini -echo "--> command: Read 3 values" -bash "${__root}/src/ini_val.sh" ./dummy.ini orphan -bash "${__root}/src/ini_val.sh" ./dummy.ini connection.host -bash "${__root}/src/ini_val.sh" ./dummy.ini software.packages -bash "${__root}/src/ini_val.sh" ./dummy.ini comment.command - -echo "--> command: Replace three values in-place and show result" -bash "${__root}/src/ini_val.sh" ./dummy.ini orphan "no more" -bash "${__root}/src/ini_val.sh" ./dummy.ini connection.host "192.168.0.1" -bash "${__root}/src/ini_val.sh" ./dummy.ini software.packages "vim" - -bash "${__root}/src/ini_val.sh" ./dummy.ini comment.command "commented" "this key is commented" -bash "${__root}/src/ini_val.sh" ./dummy.ini comment.new_command "commented too" "last addition will be moved downwards again after next command" -bash "${__root}/src/ini_val.sh" ./dummy.ini comment.command "works like a chame" "got this new comment" -cat dummy.ini -rm -f dummy.ini - -# Use as include: -cp -f data.ini dummy.ini - -# shellcheck source=main.sh -source "${__root}/src/ini_val.sh" - -echo "--> function: Read 3 values" -ini_val ./dummy.ini orphan -ini_val ./dummy.ini connection.host -ini_val ./dummy.ini software.packages -ini_val ./dummy.ini comment.command - -echo "--> function: Replace three values in-place and show result" -ini_val ./dummy.ini orphan "no more" -ini_val ./dummy.ini connection.host "192.168.0.1" -ini_val ./dummy.ini software.packages "vim" - -ini_val ./dummy.ini comment.command "commented" "this key is commited" -ini_val ./dummy.ini comment.new_command "commented too" "last addition will be moved downwards again after next command" -ini_val ./dummy.ini comment.command "works like a chame" "got this new comment" -cat dummy.ini -rm -f dummy.ini diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/main-debug/run.sh b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/main-debug/run.sh deleted file mode 100644 index a7407e4..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/main-debug/run.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env bash -set -o pipefail -set -o errexit -set -o nounset -# set -o xtrace - -__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -__root="$(cd "$(dirname "$(dirname "$(dirname "${__dir}")")")" && pwd)" - -echo "ACCPTST:STDIO_REPLACE_DATETIMES" - -env LOG_LEVEL=7 bash "${__root}/main.sh" -f /tmp/x diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/main-help/run.sh b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/main-help/run.sh deleted file mode 100755 index b600c25..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/main-help/run.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env bash -set -o pipefail -set -o errexit -set -o nounset -# set -o xtrace - -__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -__root="$(cd "$(dirname "$(dirname "$(dirname "${__dir}")")")" && pwd)" - -echo "ACCPTST:STDIO_REPLACE_DATETIMES" - -bash "${__root}/main.sh" -f /tmp/x -h diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/main-longopt/run.sh b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/main-longopt/run.sh deleted file mode 100644 index 3d2cc77..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/main-longopt/run.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env bash -# set -o pipefail -# set -o errexit -set -o nounset -# set -o xtrace - -__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -__root="$(cd "$(dirname "$(dirname "$(dirname "${__dir}")")")" && pwd)" - -echo "ACCPTST:STDIO_REPLACE_DATETIMES" - -( - env LOG_LEVEL=6 bash "${__root}/main.sh" --file /tmp/x; - env LOG_LEVEL=6 bash "${__root}/main.sh" --file=/tmp/x; - env LOG_LEVEL=6 bash "${__root}/main.sh" -f /tmp/x -) 2>&1 |grep arg_f diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/main-nocolor/run.sh b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/main-nocolor/run.sh deleted file mode 100644 index a7971bf..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/main-nocolor/run.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env bash -set -o pipefail -set -o errexit -set -o nounset -# set -o xtrace - -__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -__root="$(cd "$(dirname "$(dirname "$(dirname "${__dir}")")")" && pwd)" - -echo "ACCPTST:STDIO_REPLACE_DATETIMES" - -env LOG_LEVEL=7 NO_COLOR=true bash "${__root}/main.sh" -f /tmp/x diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/main-repeated/run.sh b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/main-repeated/run.sh deleted file mode 100644 index b72b7c1..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/main-repeated/run.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env bash -# set -o pipefail -# set -o errexit -set -o nounset -# set -o xtrace - -__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -__root="$(cd "$(dirname "$(dirname "$(dirname "${__dir}")")")" && pwd)" - -echo "ACCPTST:STDIO_REPLACE_DATETIMES" - -( - env LOG_LEVEL="${LOG_LEVEL:-6}" bash "${__root}/main.sh" -f dummy -i simple_input -i "input_in_quotes" -i "input with spaces" -i "input with \"quotes\"" -i last_input -) 2>&1 |grep arg_i -A 5 - -( - env LOG_LEVEL="${LOG_LEVEL:-6}" bash "${__root}/main.sh" -x -f dummy -x -x - env LOG_LEVEL="${LOG_LEVEL:-6}" bash "${__root}/main.sh" -f dummy -xxxx -) 2>&1 |grep arg_x diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/main-usage-defaults/run.sh b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/main-usage-defaults/run.sh deleted file mode 100755 index d0c7703..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/main-usage-defaults/run.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env bash -set -o pipefail -set -o errexit -set -o nounset -# set -o xtrace - -__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -__root="$(cd "$(dirname "$(dirname "$(dirname "${__dir}")")")" && pwd)" - -read -r -d '' __usage <<-'EOF' || true # exits non-zero when EOF encountered - -1 --one Do one thing. Default="ONE" - More description. - -2 --two Do two things. - More description. Default="TWO" - -3 --three [arg] Do three things. Default="'THREE'" - More description. - -4 --four [arg] Do four things. - More description. Default='"FOUR"' - -5 --five [arg] Do five things. Default="FIVE" - More description. Default='OOOPS' - -6 --six [arg] Do six things. - More description. -EOF - -export __usage - -echo "ACCPTST:STDIO_REPLACE_DATETIMES" - -# shellcheck source=main.sh -source "${__root}/main.sh" - -for argument in ${!arg_*}; do info "${argument}: ${!argument}"; done diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/main-usage-validation/run.sh b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/main-usage-validation/run.sh deleted file mode 100755 index 60fa066..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/main-usage-validation/run.sh +++ /dev/null @@ -1,64 +0,0 @@ -#!/usr/bin/env bash -# shellcheck source=main.sh - -set -o pipefail -set -o errexit -set -o nounset -# set -o xtrace - -__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -__root="$(cd "$(dirname "$(dirname "$(dirname "${__dir}")")")" && pwd)" - -read -r -d '' __usage <<-'EOF' || true # exits non-zero when EOF encountered - -0 --zero Do nothing. - -1 --one Do one thing. Required. - More description. - -2 --two Do two things. - More. Required. Description. - -3 --three [arg] Do three things. - Required. - -4 --four {arg} Do four things. - -5 --five {arg} Do five things. Required. Maybe. - -6 --six [arg] Do six things. Not Required. - Required, it is not. - -7 --seven [arg] Required. Or bust. - -8 --eight [arg] Do eight things. - More.Required.Description. - -a [arg] Do A. Required. - Default="do-a" - -b {arg} Do B.Default="do-b" - -c [arg] Required. Default="do-c" - -d {arg} Default="do-d" -EOF - -export __usage -export NO_COLOR="true" - -echo "ACCPTST:STDIO_REPLACE_DATETIMES" - -echo "# complain about -3" -(source "${__root}/main.sh") || true - -echo "# complain about -4" -(source "${__root}/main.sh" -3 arg3) || true - -echo "# complain about -5" -(source "${__root}/main.sh" -3 arg3 -4 arg4) || true - -echo "# complain about -8 (because -7 syntax is not supported)" -(source "${__root}/main.sh" -3 arg3 -4 arg4 -5 arg5) || true - -echo "# complain about -d (because -d syntax is not supported)" -(source "${__root}/main.sh" -3 arg3 -4 arg4 -5 arg5 -8 arg8) || true - -echo "# complain about nothing" -( - source "${__root}/main.sh" -3 arg3 -4 arg4 -5 arg5 -8 arg8 -d argd - for argument in ${!arg_*}; do info "${argument}: ${!argument}"; done -) - -echo "# test for issue #108" -( - source "${__root}/main.sh" -3 arg3 -5 arg5 -8 arg8 -d argd --four value --zero - for argument in ${!arg_*}; do info "${argument}: ${!argument}"; done -) diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/megamount/run.sh b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/megamount/run.sh deleted file mode 100644 index 517cff5..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/megamount/run.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env bash -set -o pipefail -set -o errexit -set -o nounset -# set -o xtrace - -__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -__root="$(cd "$(dirname "$(dirname "$(dirname "${__dir}")")")" && pwd)" - -__sysTmpDir="${TMPDIR:-/tmp}" -__sysTmpDir="${__sysTmpDir%/}" # <-- remove trailing slash on macosx - -# Currently I only know how to test a failing condition here since -# it's too invasive to create actual mounts to play with on a system - -bash "${__root}/src/megamount.sh" 'foobarfs://janedoe:abc123@192.168.0.1/documents' "${__sysTmpDir}/mnt/documents" || true - -# shellcheck source=src/megamount.sh -source "${__root}/src/megamount.sh" - -megamount 'foobarfs://janedoe:abc123@192.168.0.1/documents' "${__sysTmpDir}/mnt/documents" diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/parse_url/run.sh b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/parse_url/run.sh deleted file mode 100644 index 47a18aa..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/parse_url/run.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env bash -set -o pipefail -set -o errexit -set -o nounset -# set -o xtrace - -__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -__root="$(cd "$(dirname "$(dirname "$(dirname "${__dir}")")")" && pwd)" - -bash "${__root}/src/parse_url.sh" 'http://johndoe:abc123@example.com:8080/index.html' pass -bash "${__root}/src/parse_url.sh" 'http://johndoe:abc123@example.com:8080/index.html' - -# shellcheck source=src/parse_url.sh -source "${__root}/src/parse_url.sh" - -parse_url 'http://johndoe:abc123@example.com:8080/index.html' pass -parse_url 'http://johndoe:abc123@example.com:8080/index.html' diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/templater/app.template.cfg b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/templater/app.template.cfg deleted file mode 100644 index dc3f85f..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/templater/app.template.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[connection] -host = ${TARGET_HOST} diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/templater/break.template.cfg b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/templater/break.template.cfg deleted file mode 100644 index e265cba..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/templater/break.template.cfg +++ /dev/null @@ -1,3 +0,0 @@ -[connection] -host = ${TARGET_HOST} -port = ${I_DONT_EXIST} diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/templater/run.sh b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/templater/run.sh deleted file mode 100644 index da0abbf..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/scenario/templater/run.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env bash -set -o pipefail -set -o errexit -set -o nounset -# set -o xtrace - -__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -__file="${__dir}/$(basename "${BASH_SOURCE[0]}")" -__base="$(basename "${__file}" .sh)" - -__root="$(cd "$(dirname "$(dirname "$(dirname "${__dir}")")")" && pwd)" - -__templaterTmpFile=$(mktemp "${TMPDIR:-/tmp}/${__base}.XXXXXX") -function cleanup_before_exit () { rm "${__templaterTmpFile:?}"; } -trap cleanup_before_exit EXIT - -echo "--" -env TARGET_HOST="127.0.0.1" bash "${__root}/src/templater.sh" ./app.template.cfg "${__templaterTmpFile}" -cat "${__templaterTmpFile}" - -echo "--" -export TARGET_HOST="127.0.0.1" - -# shellcheck source=src/templater.sh -source "${__root}/src/templater.sh" - -templater ./app.template.cfg "${__templaterTmpFile}" -cat "${__templaterTmpFile}" - -echo "--" -env ALLOW_REMAINDERS="1" TARGET_HOST="127.0.0.1" bash "${__root}/src/templater.sh" ./break.template.cfg "${__templaterTmpFile}" -cat "${__templaterTmpFile}" - -echo "--" -env TARGET_HOST="127.0.0.1" bash "${__root}/src/templater.sh" ./break.template.cfg "${__templaterTmpFile}" -cat "${__templaterTmpFile}" diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/style.pl b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/style.pl deleted file mode 100755 index 9dffcb5..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/test/style.pl +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/env perl - -use strict; -use warnings; - -die "usage: $0 \n" if (not @ARGV); - -my $rc = 0; -my $file = shift; - -open(my $fh, '<', $file) or die "Cannot open \`$file' for read: $!\n"; -while (<$fh>) { - next if (/^\s*#/); - - my $errors = 0; - - # remove everything between single quotes - # this will remove too much in case of: echo "var='$var'" - # and thus miss an opportunity to complain later on - # also it mangles the input line irreversible - s/'[^']+'/'___'/g; - - # highlight unbraced variables-- - # unless properly backslash'ed - $errors += s/((?:^|[^\\]))(((\\\\)+)?\$\w)/$1\033[31m$2\033[0m/g; - - # highlight single square brackets - $errors += s/((?:^|\s+))\[([^\[].+[^\]])\](\s*(;|&&|\|\|))/$1\033[31m\[\033[0m$2\033[31m\]\033[0m$3/g; - - # highlight double equal sign - $errors += s/(\[\[.*)(==)(.*\]\])/$1\033[31m$2\033[0m$3/g; - - # highlight tabs mixed with whitespace at beginning of lines - $errors += s/^( *)(\t+ *)/\033[31m\[$2\]\033[0m/; - - # highlight trailing whitespace - $errors += s/([ \t]+)$/\033[31m\[$1\]\033[0m/; - - next if (not $errors); - print "${file}[$.]: $_"; - $rc = 1; -} -close($fh); - -exit $rc; diff --git a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/yarn.lock b/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/yarn.lock deleted file mode 100644 index eef5da4..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/bash3boilerplate/yarn.lock +++ /dev/null @@ -1,1372 +0,0 @@ -# This file is generated by running "yarn install" inside your project. -# Manual changes might be lost - proceed with caution! - -__metadata: - version: 6 - cacheKey: 8 - -"ansi-regex@npm:^5.0.1": - version: 5.0.1 - resolution: "ansi-regex@npm:5.0.1" - checksum: 2aa4bb54caf2d622f1afdad09441695af2a83aa3fe8b8afa581d205e57ed4261c183c4d3877cee25794443fde5876417d859c108078ab788d6af7e4fe52eb66b - languageName: node - linkType: hard - -"ansi-styles@npm:^3.2.1": - version: 3.2.1 - resolution: "ansi-styles@npm:3.2.1" - dependencies: - color-convert: ^1.9.0 - checksum: d85ade01c10e5dd77b6c89f34ed7531da5830d2cb5882c645f330079975b716438cd7ebb81d0d6e6b4f9c577f19ae41ab55f07f19786b02f9dfd9e0377395665 - languageName: node - linkType: hard - -"ansi-styles@npm:^4.0.0": - version: 4.3.0 - resolution: "ansi-styles@npm:4.3.0" - dependencies: - color-convert: ^2.0.1 - checksum: 513b44c3b2105dd14cc42a19271e80f386466c4be574bccf60b627432f9198571ebf4ab1e4c3ba17347658f4ee1711c163d574248c0c1cdc2d5917a0ad582ec4 - languageName: node - linkType: hard - -"array-buffer-byte-length@npm:^1.0.0": - version: 1.0.0 - resolution: "array-buffer-byte-length@npm:1.0.0" - dependencies: - call-bind: ^1.0.2 - is-array-buffer: ^3.0.1 - checksum: 044e101ce150f4804ad19c51d6c4d4cfa505c5b2577bd179256e4aa3f3f6a0a5e9874c78cd428ee566ac574c8a04d7ce21af9fe52e844abfdccb82b33035a7c3 - languageName: node - linkType: hard - -"arraybuffer.prototype.slice@npm:^1.0.1": - version: 1.0.1 - resolution: "arraybuffer.prototype.slice@npm:1.0.1" - dependencies: - array-buffer-byte-length: ^1.0.0 - call-bind: ^1.0.2 - define-properties: ^1.2.0 - get-intrinsic: ^1.2.1 - is-array-buffer: ^3.0.2 - is-shared-array-buffer: ^1.0.2 - checksum: e3e9b2a3e988ebfeddce4c7e8f69df730c9e48cb04b0d40ff0874ce3d86b3d1339dd520ffde5e39c02610bc172ecfbd4bc93324b1cabd9554c44a56b131ce0ce - languageName: node - linkType: hard - -"available-typed-arrays@npm:^1.0.5": - version: 1.0.5 - resolution: "available-typed-arrays@npm:1.0.5" - checksum: 20eb47b3cefd7db027b9bbb993c658abd36d4edd3fe1060e83699a03ee275b0c9b216cc076ff3f2db29073225fb70e7613987af14269ac1fe2a19803ccc97f1a - languageName: node - linkType: hard - -"balanced-match@npm:^1.0.0": - version: 1.0.2 - resolution: "balanced-match@npm:1.0.2" - checksum: 9706c088a283058a8a99e0bf91b0a2f75497f185980d9ffa8b304de1d9e58ebda7c72c07ebf01dadedaac5b2907b2c6f566f660d62bd336c3468e960403b9d65 - languageName: node - linkType: hard - -"bash3boilerplate@workspace:.": - version: 0.0.0-use.local - resolution: "bash3boilerplate@workspace:." - dependencies: - fakefile: 1.1.0 - npm-run-all: 4.1.5 - replace: 1.2.2 - languageName: unknown - linkType: soft - -"brace-expansion@npm:^1.1.7": - version: 1.1.11 - resolution: "brace-expansion@npm:1.1.11" - dependencies: - balanced-match: ^1.0.0 - concat-map: 0.0.1 - checksum: faf34a7bb0c3fcf4b59c7808bc5d2a96a40988addf2e7e09dfbb67a2251800e0d14cd2bfc1aa79174f2f5095c54ff27f46fb1289fe2d77dac755b5eb3434cc07 - languageName: node - linkType: hard - -"call-bind@npm:^1.0.0, call-bind@npm:^1.0.2": - version: 1.0.2 - resolution: "call-bind@npm:1.0.2" - dependencies: - function-bind: ^1.1.1 - get-intrinsic: ^1.0.2 - checksum: f8e31de9d19988a4b80f3e704788c4a2d6b6f3d17cfec4f57dc29ced450c53a49270dc66bf0fbd693329ee948dd33e6c90a329519aef17474a4d961e8d6426b0 - languageName: node - linkType: hard - -"camelcase@npm:^5.0.0": - version: 5.3.1 - resolution: "camelcase@npm:5.3.1" - checksum: e6effce26b9404e3c0f301498184f243811c30dfe6d0b9051863bd8e4034d09c8c2923794f280d6827e5aa055f6c434115ff97864a16a963366fb35fd673024b - languageName: node - linkType: hard - -"chalk@npm:2.4.2, chalk@npm:^2.4.1": - version: 2.4.2 - resolution: "chalk@npm:2.4.2" - dependencies: - ansi-styles: ^3.2.1 - escape-string-regexp: ^1.0.5 - supports-color: ^5.3.0 - checksum: ec3661d38fe77f681200f878edbd9448821924e0f93a9cefc0e26a33b145f1027a2084bf19967160d11e1f03bfe4eaffcabf5493b89098b2782c3fe0b03d80c2 - languageName: node - linkType: hard - -"cliui@npm:^6.0.0": - version: 6.0.0 - resolution: "cliui@npm:6.0.0" - dependencies: - string-width: ^4.2.0 - strip-ansi: ^6.0.0 - wrap-ansi: ^6.2.0 - checksum: 4fcfd26d292c9f00238117f39fc797608292ae36bac2168cfee4c85923817d0607fe21b3329a8621e01aedf512c99b7eaa60e363a671ffd378df6649fb48ae42 - languageName: node - linkType: hard - -"color-convert@npm:^1.9.0": - version: 1.9.3 - resolution: "color-convert@npm:1.9.3" - dependencies: - color-name: 1.1.3 - checksum: fd7a64a17cde98fb923b1dd05c5f2e6f7aefda1b60d67e8d449f9328b4e53b228a428fd38bfeaeb2db2ff6b6503a776a996150b80cdf224062af08a5c8a3a203 - languageName: node - linkType: hard - -"color-convert@npm:^2.0.1": - version: 2.0.1 - resolution: "color-convert@npm:2.0.1" - dependencies: - color-name: ~1.1.4 - checksum: 79e6bdb9fd479a205c71d89574fccfb22bd9053bd98c6c4d870d65c132e5e904e6034978e55b43d69fcaa7433af2016ee203ce76eeba9cfa554b373e7f7db336 - languageName: node - linkType: hard - -"color-name@npm:1.1.3": - version: 1.1.3 - resolution: "color-name@npm:1.1.3" - checksum: 09c5d3e33d2105850153b14466501f2bfb30324a2f76568a408763a3b7433b0e50e5b4ab1947868e65cb101bb7cb75029553f2c333b6d4b8138a73fcc133d69d - languageName: node - linkType: hard - -"color-name@npm:~1.1.4": - version: 1.1.4 - resolution: "color-name@npm:1.1.4" - checksum: b0445859521eb4021cd0fb0cc1a75cecf67fceecae89b63f62b201cca8d345baf8b952c966862a9d9a2632987d4f6581f0ec8d957dfacece86f0a7919316f610 - languageName: node - linkType: hard - -"concat-map@npm:0.0.1": - version: 0.0.1 - resolution: "concat-map@npm:0.0.1" - checksum: 902a9f5d8967a3e2faf138d5cb784b9979bad2e6db5357c5b21c568df4ebe62bcb15108af1b2253744844eb964fc023fbd9afbbbb6ddd0bcc204c6fb5b7bf3af - languageName: node - linkType: hard - -"cross-spawn@npm:^6.0.5": - version: 6.0.6 - resolution: "cross-spawn@npm:6.0.6" - dependencies: - nice-try: ^1.0.4 - path-key: ^2.0.1 - semver: ^5.5.0 - shebang-command: ^1.2.0 - which: ^1.2.9 - checksum: a6e2e5b04a0e0f806c1df45f92cd079b65f95fbe5a7650ee1ab60318c33a6c156a8a2f8b6898f57764f7363ec599a0625e9855dfa78d52d2d73dbd32eb11c25e - languageName: node - linkType: hard - -"decamelize@npm:^1.2.0": - version: 1.2.0 - resolution: "decamelize@npm:1.2.0" - checksum: ad8c51a7e7e0720c70ec2eeb1163b66da03e7616d7b98c9ef43cce2416395e84c1e9548dd94f5f6ffecfee9f8b94251fc57121a8b021f2ff2469b2bae247b8aa - languageName: node - linkType: hard - -"define-properties@npm:^1.1.3, define-properties@npm:^1.1.4, define-properties@npm:^1.2.0": - version: 1.2.0 - resolution: "define-properties@npm:1.2.0" - dependencies: - has-property-descriptors: ^1.0.0 - object-keys: ^1.1.1 - checksum: e60aee6a19b102df4e2b1f301816804e81ab48bb91f00d0d935f269bf4b3f79c88b39e4f89eaa132890d23267335fd1140dfcd8d5ccd61031a0a2c41a54e33a6 - languageName: node - linkType: hard - -"emoji-regex@npm:^8.0.0": - version: 8.0.0 - resolution: "emoji-regex@npm:8.0.0" - checksum: d4c5c39d5a9868b5fa152f00cada8a936868fd3367f33f71be515ecee4c803132d11b31a6222b2571b1e5f7e13890156a94880345594d0ce7e3c9895f560f192 - languageName: node - linkType: hard - -"error-ex@npm:^1.3.1": - version: 1.3.2 - resolution: "error-ex@npm:1.3.2" - dependencies: - is-arrayish: ^0.2.1 - checksum: c1c2b8b65f9c91b0f9d75f0debaa7ec5b35c266c2cac5de412c1a6de86d4cbae04ae44e510378cb14d032d0645a36925d0186f8bb7367bcc629db256b743a001 - languageName: node - linkType: hard - -"es-abstract@npm:^1.20.4, es-abstract@npm:^1.22.1": - version: 1.22.1 - resolution: "es-abstract@npm:1.22.1" - dependencies: - array-buffer-byte-length: ^1.0.0 - arraybuffer.prototype.slice: ^1.0.1 - available-typed-arrays: ^1.0.5 - call-bind: ^1.0.2 - es-set-tostringtag: ^2.0.1 - es-to-primitive: ^1.2.1 - function.prototype.name: ^1.1.5 - get-intrinsic: ^1.2.1 - get-symbol-description: ^1.0.0 - globalthis: ^1.0.3 - gopd: ^1.0.1 - has: ^1.0.3 - has-property-descriptors: ^1.0.0 - has-proto: ^1.0.1 - has-symbols: ^1.0.3 - internal-slot: ^1.0.5 - is-array-buffer: ^3.0.2 - is-callable: ^1.2.7 - is-negative-zero: ^2.0.2 - is-regex: ^1.1.4 - is-shared-array-buffer: ^1.0.2 - is-string: ^1.0.7 - is-typed-array: ^1.1.10 - is-weakref: ^1.0.2 - object-inspect: ^1.12.3 - object-keys: ^1.1.1 - object.assign: ^4.1.4 - regexp.prototype.flags: ^1.5.0 - safe-array-concat: ^1.0.0 - safe-regex-test: ^1.0.0 - string.prototype.trim: ^1.2.7 - string.prototype.trimend: ^1.0.6 - string.prototype.trimstart: ^1.0.6 - typed-array-buffer: ^1.0.0 - typed-array-byte-length: ^1.0.0 - typed-array-byte-offset: ^1.0.0 - typed-array-length: ^1.0.4 - unbox-primitive: ^1.0.2 - which-typed-array: ^1.1.10 - checksum: 614e2c1c3717cb8d30b6128ef12ea110e06fd7d75ad77091ca1c5dbfb00da130e62e4bbbbbdda190eada098a22b27fe0f99ae5a1171dac2c8663b1e8be8a3a9b - languageName: node - linkType: hard - -"es-set-tostringtag@npm:^2.0.1": - version: 2.0.1 - resolution: "es-set-tostringtag@npm:2.0.1" - dependencies: - get-intrinsic: ^1.1.3 - has: ^1.0.3 - has-tostringtag: ^1.0.0 - checksum: ec416a12948cefb4b2a5932e62093a7cf36ddc3efd58d6c58ca7ae7064475ace556434b869b0bbeb0c365f1032a8ccd577211101234b69837ad83ad204fff884 - languageName: node - linkType: hard - -"es-to-primitive@npm:^1.2.1": - version: 1.2.1 - resolution: "es-to-primitive@npm:1.2.1" - dependencies: - is-callable: ^1.1.4 - is-date-object: ^1.0.1 - is-symbol: ^1.0.2 - checksum: 4ead6671a2c1402619bdd77f3503991232ca15e17e46222b0a41a5d81aebc8740a77822f5b3c965008e631153e9ef0580540007744521e72de8e33599fca2eed - languageName: node - linkType: hard - -"escape-string-regexp@npm:^1.0.5": - version: 1.0.5 - resolution: "escape-string-regexp@npm:1.0.5" - checksum: 6092fda75c63b110c706b6a9bfde8a612ad595b628f0bd2147eea1d3406723020810e591effc7db1da91d80a71a737a313567c5abb3813e8d9c71f4aa595b410 - languageName: node - linkType: hard - -"fakefile@npm:1.1.0": - version: 1.1.0 - resolution: "fakefile@npm:1.1.0" - dependencies: - fs-extra: 0.26.5 - checksum: eaa56f2d101807bd02e2e6dc11c8790b7e9f51344d52a40fa6e49300e720cd80233c20d9098146cb3e1452cafd16efcabe97f58527ebb4c73b6c32561a8c3902 - languageName: node - linkType: hard - -"find-up@npm:^4.1.0": - version: 4.1.0 - resolution: "find-up@npm:4.1.0" - dependencies: - locate-path: ^5.0.0 - path-exists: ^4.0.0 - checksum: 4c172680e8f8c1f78839486e14a43ef82e9decd0e74145f40707cc42e7420506d5ec92d9a11c22bd2c48fb0c384ea05dd30e10dd152fefeec6f2f75282a8b844 - languageName: node - linkType: hard - -"for-each@npm:^0.3.3": - version: 0.3.3 - resolution: "for-each@npm:0.3.3" - dependencies: - is-callable: ^1.1.3 - checksum: 6c48ff2bc63362319c65e2edca4a8e1e3483a2fabc72fbe7feaf8c73db94fc7861bd53bc02c8a66a0c1dd709da6b04eec42e0abdd6b40ce47305ae92a25e5d28 - languageName: node - linkType: hard - -"fs-extra@npm:0.26.5": - version: 0.26.5 - resolution: "fs-extra@npm:0.26.5" - dependencies: - graceful-fs: ^4.1.2 - jsonfile: ^2.1.0 - klaw: ^1.0.0 - path-is-absolute: ^1.0.0 - rimraf: ^2.2.8 - checksum: c421033be5e30e5f45e39ed885eda933c3e9a318e86dae657254455281f58a24df467bfaf3d248c564c02cd4e147670862f6a6e28b46c5e90d2232783026b592 - languageName: node - linkType: hard - -"fs.realpath@npm:^1.0.0": - version: 1.0.0 - resolution: "fs.realpath@npm:1.0.0" - checksum: 99ddea01a7e75aa276c250a04eedeffe5662bce66c65c07164ad6264f9de18fb21be9433ead460e54cff20e31721c811f4fb5d70591799df5f85dce6d6746fd0 - languageName: node - linkType: hard - -"function-bind@npm:^1.1.1": - version: 1.1.1 - resolution: "function-bind@npm:1.1.1" - checksum: b32fbaebb3f8ec4969f033073b43f5c8befbb58f1a79e12f1d7490358150359ebd92f49e72ff0144f65f2c48ea2a605bff2d07965f548f6474fd8efd95bf361a - languageName: node - linkType: hard - -"function.prototype.name@npm:^1.1.5": - version: 1.1.6 - resolution: "function.prototype.name@npm:1.1.6" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - functions-have-names: ^1.2.3 - checksum: 7a3f9bd98adab09a07f6e1f03da03d3f7c26abbdeaeee15223f6c04a9fb5674792bdf5e689dac19b97ac71de6aad2027ba3048a9b883aa1b3173eed6ab07f479 - languageName: node - linkType: hard - -"functions-have-names@npm:^1.2.3": - version: 1.2.3 - resolution: "functions-have-names@npm:1.2.3" - checksum: c3f1f5ba20f4e962efb71344ce0a40722163e85bee2101ce25f88214e78182d2d2476aa85ef37950c579eb6cf6ee811c17b3101bb84004bb75655f3e33f3fdb5 - languageName: node - linkType: hard - -"get-caller-file@npm:^2.0.1": - version: 2.0.5 - resolution: "get-caller-file@npm:2.0.5" - checksum: b9769a836d2a98c3ee734a88ba712e62703f1df31b94b784762c433c27a386dd6029ff55c2a920c392e33657d80191edbf18c61487e198844844516f843496b9 - languageName: node - linkType: hard - -"get-intrinsic@npm:^1.0.2, get-intrinsic@npm:^1.1.1, get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.0, get-intrinsic@npm:^1.2.1": - version: 1.2.1 - resolution: "get-intrinsic@npm:1.2.1" - dependencies: - function-bind: ^1.1.1 - has: ^1.0.3 - has-proto: ^1.0.1 - has-symbols: ^1.0.3 - checksum: 5b61d88552c24b0cf6fa2d1b3bc5459d7306f699de060d76442cce49a4721f52b8c560a33ab392cf5575b7810277d54ded9d4d39a1ea61855619ebc005aa7e5f - languageName: node - linkType: hard - -"get-symbol-description@npm:^1.0.0": - version: 1.0.0 - resolution: "get-symbol-description@npm:1.0.0" - dependencies: - call-bind: ^1.0.2 - get-intrinsic: ^1.1.1 - checksum: 9ceff8fe968f9270a37a1f73bf3f1f7bda69ca80f4f80850670e0e7b9444ff99323f7ac52f96567f8b5f5fbe7ac717a0d81d3407c7313e82810c6199446a5247 - languageName: node - linkType: hard - -"glob@npm:^7.1.3": - version: 7.2.3 - resolution: "glob@npm:7.2.3" - dependencies: - fs.realpath: ^1.0.0 - inflight: ^1.0.4 - inherits: 2 - minimatch: ^3.1.1 - once: ^1.3.0 - path-is-absolute: ^1.0.0 - checksum: 29452e97b38fa704dabb1d1045350fb2467cf0277e155aa9ff7077e90ad81d1ea9d53d3ee63bd37c05b09a065e90f16aec4a65f5b8de401d1dac40bc5605d133 - languageName: node - linkType: hard - -"globalthis@npm:^1.0.3": - version: 1.0.3 - resolution: "globalthis@npm:1.0.3" - dependencies: - define-properties: ^1.1.3 - checksum: fbd7d760dc464c886d0196166d92e5ffb4c84d0730846d6621a39fbbc068aeeb9c8d1421ad330e94b7bca4bb4ea092f5f21f3d36077812af5d098b4dc006c998 - languageName: node - linkType: hard - -"gopd@npm:^1.0.1": - version: 1.0.1 - resolution: "gopd@npm:1.0.1" - dependencies: - get-intrinsic: ^1.1.3 - checksum: a5ccfb8806e0917a94e0b3de2af2ea4979c1da920bc381667c260e00e7cafdbe844e2cb9c5bcfef4e5412e8bf73bab837285bc35c7ba73aaaf0134d4583393a6 - languageName: node - linkType: hard - -"graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.1.9": - version: 4.2.11 - resolution: "graceful-fs@npm:4.2.11" - checksum: ac85f94da92d8eb6b7f5a8b20ce65e43d66761c55ce85ac96df6865308390da45a8d3f0296dd3a663de65d30ba497bd46c696cc1e248c72b13d6d567138a4fc7 - languageName: node - linkType: hard - -"has-bigints@npm:^1.0.1, has-bigints@npm:^1.0.2": - version: 1.0.2 - resolution: "has-bigints@npm:1.0.2" - checksum: 390e31e7be7e5c6fe68b81babb73dfc35d413604d7ee5f56da101417027a4b4ce6a27e46eff97ad040c835b5d228676eae99a9b5c3bc0e23c8e81a49241ff45b - languageName: node - linkType: hard - -"has-flag@npm:^3.0.0": - version: 3.0.0 - resolution: "has-flag@npm:3.0.0" - checksum: 4a15638b454bf086c8148979aae044dd6e39d63904cd452d970374fa6a87623423da485dfb814e7be882e05c096a7ccf1ebd48e7e7501d0208d8384ff4dea73b - languageName: node - linkType: hard - -"has-property-descriptors@npm:^1.0.0": - version: 1.0.0 - resolution: "has-property-descriptors@npm:1.0.0" - dependencies: - get-intrinsic: ^1.1.1 - checksum: a6d3f0a266d0294d972e354782e872e2fe1b6495b321e6ef678c9b7a06a40408a6891817350c62e752adced73a94ac903c54734fee05bf65b1905ee1368194bb - languageName: node - linkType: hard - -"has-proto@npm:^1.0.1": - version: 1.0.1 - resolution: "has-proto@npm:1.0.1" - checksum: febc5b5b531de8022806ad7407935e2135f1cc9e64636c3916c6842bd7995994ca3b29871ecd7954bd35f9e2986c17b3b227880484d22259e2f8e6ce63fd383e - languageName: node - linkType: hard - -"has-symbols@npm:^1.0.2, has-symbols@npm:^1.0.3": - version: 1.0.3 - resolution: "has-symbols@npm:1.0.3" - checksum: a054c40c631c0d5741a8285010a0777ea0c068f99ed43e5d6eb12972da223f8af553a455132fdb0801bdcfa0e0f443c0c03a68d8555aa529b3144b446c3f2410 - languageName: node - linkType: hard - -"has-tostringtag@npm:^1.0.0": - version: 1.0.0 - resolution: "has-tostringtag@npm:1.0.0" - dependencies: - has-symbols: ^1.0.2 - checksum: cc12eb28cb6ae22369ebaad3a8ab0799ed61270991be88f208d508076a1e99abe4198c965935ce85ea90b60c94ddda73693b0920b58e7ead048b4a391b502c1c - languageName: node - linkType: hard - -"has@npm:^1.0.3": - version: 1.0.3 - resolution: "has@npm:1.0.3" - dependencies: - function-bind: ^1.1.1 - checksum: b9ad53d53be4af90ce5d1c38331e712522417d017d5ef1ebd0507e07c2fbad8686fffb8e12ddecd4c39ca9b9b47431afbb975b8abf7f3c3b82c98e9aad052792 - languageName: node - linkType: hard - -"hosted-git-info@npm:^2.1.4": - version: 2.8.9 - resolution: "hosted-git-info@npm:2.8.9" - checksum: c955394bdab888a1e9bb10eb33029e0f7ce5a2ac7b3f158099dc8c486c99e73809dca609f5694b223920ca2174db33d32b12f9a2a47141dc59607c29da5a62dd - languageName: node - linkType: hard - -"inflight@npm:^1.0.4": - version: 1.0.6 - resolution: "inflight@npm:1.0.6" - dependencies: - once: ^1.3.0 - wrappy: 1 - checksum: f4f76aa072ce19fae87ce1ef7d221e709afb59d445e05d47fba710e85470923a75de35bfae47da6de1b18afc3ce83d70facf44cfb0aff89f0a3f45c0a0244dfd - languageName: node - linkType: hard - -"inherits@npm:2": - version: 2.0.4 - resolution: "inherits@npm:2.0.4" - checksum: 4a48a733847879d6cf6691860a6b1e3f0f4754176e4d71494c41f3475553768b10f84b5ce1d40fbd0e34e6bfbb864ee35858ad4dd2cf31e02fc4a154b724d7f1 - languageName: node - linkType: hard - -"internal-slot@npm:^1.0.5": - version: 1.0.5 - resolution: "internal-slot@npm:1.0.5" - dependencies: - get-intrinsic: ^1.2.0 - has: ^1.0.3 - side-channel: ^1.0.4 - checksum: 97e84046bf9e7574d0956bd98d7162313ce7057883b6db6c5c7b5e5f05688864b0978ba07610c726d15d66544ffe4b1050107d93f8a39ebc59b15d8b429b497a - languageName: node - linkType: hard - -"is-array-buffer@npm:^3.0.1, is-array-buffer@npm:^3.0.2": - version: 3.0.2 - resolution: "is-array-buffer@npm:3.0.2" - dependencies: - call-bind: ^1.0.2 - get-intrinsic: ^1.2.0 - is-typed-array: ^1.1.10 - checksum: dcac9dda66ff17df9cabdc58214172bf41082f956eab30bb0d86bc0fab1e44b690fc8e1f855cf2481245caf4e8a5a006a982a71ddccec84032ed41f9d8da8c14 - languageName: node - linkType: hard - -"is-arrayish@npm:^0.2.1": - version: 0.2.1 - resolution: "is-arrayish@npm:0.2.1" - checksum: eef4417e3c10e60e2c810b6084942b3ead455af16c4509959a27e490e7aee87cfb3f38e01bbde92220b528a0ee1a18d52b787e1458ee86174d8c7f0e58cd488f - languageName: node - linkType: hard - -"is-bigint@npm:^1.0.1": - version: 1.0.4 - resolution: "is-bigint@npm:1.0.4" - dependencies: - has-bigints: ^1.0.1 - checksum: c56edfe09b1154f8668e53ebe8252b6f185ee852a50f9b41e8d921cb2bed425652049fbe438723f6cb48a63ca1aa051e948e7e401e093477c99c84eba244f666 - languageName: node - linkType: hard - -"is-boolean-object@npm:^1.1.0": - version: 1.1.2 - resolution: "is-boolean-object@npm:1.1.2" - dependencies: - call-bind: ^1.0.2 - has-tostringtag: ^1.0.0 - checksum: c03b23dbaacadc18940defb12c1c0e3aaece7553ef58b162a0f6bba0c2a7e1551b59f365b91e00d2dbac0522392d576ef322628cb1d036a0fe51eb466db67222 - languageName: node - linkType: hard - -"is-callable@npm:^1.1.3, is-callable@npm:^1.1.4, is-callable@npm:^1.2.7": - version: 1.2.7 - resolution: "is-callable@npm:1.2.7" - checksum: 61fd57d03b0d984e2ed3720fb1c7a897827ea174bd44402878e059542ea8c4aeedee0ea0985998aa5cc2736b2fa6e271c08587addb5b3959ac52cf665173d1ac - languageName: node - linkType: hard - -"is-core-module@npm:^2.13.0": - version: 2.13.0 - resolution: "is-core-module@npm:2.13.0" - dependencies: - has: ^1.0.3 - checksum: 053ab101fb390bfeb2333360fd131387bed54e476b26860dc7f5a700bbf34a0ec4454f7c8c4d43e8a0030957e4b3db6e16d35e1890ea6fb654c833095e040355 - languageName: node - linkType: hard - -"is-date-object@npm:^1.0.1": - version: 1.0.5 - resolution: "is-date-object@npm:1.0.5" - dependencies: - has-tostringtag: ^1.0.0 - checksum: baa9077cdf15eb7b58c79398604ca57379b2fc4cf9aa7a9b9e295278648f628c9b201400c01c5e0f7afae56507d741185730307cbe7cad3b9f90a77e5ee342fc - languageName: node - linkType: hard - -"is-fullwidth-code-point@npm:^3.0.0": - version: 3.0.0 - resolution: "is-fullwidth-code-point@npm:3.0.0" - checksum: 44a30c29457c7fb8f00297bce733f0a64cd22eca270f83e58c105e0d015e45c019491a4ab2faef91ab51d4738c670daff901c799f6a700e27f7314029e99e348 - languageName: node - linkType: hard - -"is-negative-zero@npm:^2.0.2": - version: 2.0.2 - resolution: "is-negative-zero@npm:2.0.2" - checksum: f3232194c47a549da60c3d509c9a09be442507616b69454716692e37ae9f37c4dea264fb208ad0c9f3efd15a796a46b79df07c7e53c6227c32170608b809149a - languageName: node - linkType: hard - -"is-number-object@npm:^1.0.4": - version: 1.0.7 - resolution: "is-number-object@npm:1.0.7" - dependencies: - has-tostringtag: ^1.0.0 - checksum: d1e8d01bb0a7134c74649c4e62da0c6118a0bfc6771ea3c560914d52a627873e6920dd0fd0ebc0e12ad2ff4687eac4c308f7e80320b973b2c8a2c8f97a7524f7 - languageName: node - linkType: hard - -"is-regex@npm:^1.1.4": - version: 1.1.4 - resolution: "is-regex@npm:1.1.4" - dependencies: - call-bind: ^1.0.2 - has-tostringtag: ^1.0.0 - checksum: 362399b33535bc8f386d96c45c9feb04cf7f8b41c182f54174c1a45c9abbbe5e31290bbad09a458583ff6bf3b2048672cdb1881b13289569a7c548370856a652 - languageName: node - linkType: hard - -"is-shared-array-buffer@npm:^1.0.2": - version: 1.0.2 - resolution: "is-shared-array-buffer@npm:1.0.2" - dependencies: - call-bind: ^1.0.2 - checksum: 9508929cf14fdc1afc9d61d723c6e8d34f5e117f0bffda4d97e7a5d88c3a8681f633a74f8e3ad1fe92d5113f9b921dc5ca44356492079612f9a247efbce7032a - languageName: node - linkType: hard - -"is-string@npm:^1.0.5, is-string@npm:^1.0.7": - version: 1.0.7 - resolution: "is-string@npm:1.0.7" - dependencies: - has-tostringtag: ^1.0.0 - checksum: 323b3d04622f78d45077cf89aab783b2f49d24dc641aa89b5ad1a72114cfeff2585efc8c12ef42466dff32bde93d839ad321b26884cf75e5a7892a938b089989 - languageName: node - linkType: hard - -"is-symbol@npm:^1.0.2, is-symbol@npm:^1.0.3": - version: 1.0.4 - resolution: "is-symbol@npm:1.0.4" - dependencies: - has-symbols: ^1.0.2 - checksum: 92805812ef590738d9de49d677cd17dfd486794773fb6fa0032d16452af46e9b91bb43ffe82c983570f015b37136f4b53b28b8523bfb10b0ece7a66c31a54510 - languageName: node - linkType: hard - -"is-typed-array@npm:^1.1.10, is-typed-array@npm:^1.1.9": - version: 1.1.12 - resolution: "is-typed-array@npm:1.1.12" - dependencies: - which-typed-array: ^1.1.11 - checksum: 4c89c4a3be07186caddadf92197b17fda663a9d259ea0d44a85f171558270d36059d1c386d34a12cba22dfade5aba497ce22778e866adc9406098c8fc4771796 - languageName: node - linkType: hard - -"is-weakref@npm:^1.0.2": - version: 1.0.2 - resolution: "is-weakref@npm:1.0.2" - dependencies: - call-bind: ^1.0.2 - checksum: 95bd9a57cdcb58c63b1c401c60a474b0f45b94719c30f548c891860f051bc2231575c290a6b420c6bc6e7ed99459d424c652bd5bf9a1d5259505dc35b4bf83de - languageName: node - linkType: hard - -"isarray@npm:^2.0.5": - version: 2.0.5 - resolution: "isarray@npm:2.0.5" - checksum: bd5bbe4104438c4196ba58a54650116007fa0262eccef13a4c55b2e09a5b36b59f1e75b9fcc49883dd9d4953892e6fc007eef9e9155648ceea036e184b0f930a - languageName: node - linkType: hard - -"isexe@npm:^2.0.0": - version: 2.0.0 - resolution: "isexe@npm:2.0.0" - checksum: 26bf6c5480dda5161c820c5b5c751ae1e766c587b1f951ea3fcfc973bafb7831ae5b54a31a69bd670220e42e99ec154475025a468eae58ea262f813fdc8d1c62 - languageName: node - linkType: hard - -"json-parse-better-errors@npm:^1.0.1": - version: 1.0.2 - resolution: "json-parse-better-errors@npm:1.0.2" - checksum: ff2b5ba2a70e88fd97a3cb28c1840144c5ce8fae9cbeeddba15afa333a5c407cf0e42300cd0a2885dbb055227fe68d405070faad941beeffbfde9cf3b2c78c5d - languageName: node - linkType: hard - -"jsonfile@npm:^2.1.0": - version: 2.4.0 - resolution: "jsonfile@npm:2.4.0" - dependencies: - graceful-fs: ^4.1.6 - dependenciesMeta: - graceful-fs: - optional: true - checksum: f5064aabbc9e35530dc471d8b203ae1f40dbe949ddde4391c6f6a6d310619a15f0efdae5587df594d1d70c555193aaeee9d2ed4aec9ffd5767bd5e4e62d49c3d - languageName: node - linkType: hard - -"klaw@npm:^1.0.0": - version: 1.3.1 - resolution: "klaw@npm:1.3.1" - dependencies: - graceful-fs: ^4.1.9 - dependenciesMeta: - graceful-fs: - optional: true - checksum: 8f69e4797c26e7c3f2426bfa85f38a3da3c2cb1b4c6bd850d2377aed440d41ce9d806f2885c2e2e224372c56af4b1d43b8a499adecf9a05e7373dc6b8b7c52e4 - languageName: node - linkType: hard - -"load-json-file@npm:^4.0.0": - version: 4.0.0 - resolution: "load-json-file@npm:4.0.0" - dependencies: - graceful-fs: ^4.1.2 - parse-json: ^4.0.0 - pify: ^3.0.0 - strip-bom: ^3.0.0 - checksum: 8f5d6d93ba64a9620445ee9bde4d98b1eac32cf6c8c2d20d44abfa41a6945e7969456ab5f1ca2fb06ee32e206c9769a20eec7002fe290de462e8c884b6b8b356 - languageName: node - linkType: hard - -"locate-path@npm:^5.0.0": - version: 5.0.0 - resolution: "locate-path@npm:5.0.0" - dependencies: - p-locate: ^4.1.0 - checksum: 83e51725e67517287d73e1ded92b28602e3ae5580b301fe54bfb76c0c723e3f285b19252e375712316774cf52006cb236aed5704692c32db0d5d089b69696e30 - languageName: node - linkType: hard - -"memorystream@npm:^0.3.1": - version: 0.3.1 - resolution: "memorystream@npm:0.3.1" - checksum: f18b42440d24d09516d01466c06adf797df7873f0d40aa7db02e5fb9ed83074e5e65412d0720901d7069363465f82dc4f8bcb44f0cde271567a61426ce6ca2e9 - languageName: node - linkType: hard - -"minimatch@npm:3.0.5": - version: 3.0.5 - resolution: "minimatch@npm:3.0.5" - dependencies: - brace-expansion: ^1.1.7 - checksum: a3b84b426eafca947741b864502cee02860c4e7b145de11ad98775cfcf3066fef422583bc0ffce0952ddf4750c1ccf4220b1556430d4ce10139f66247d87d69e - languageName: node - linkType: hard - -"minimatch@npm:^3.0.4, minimatch@npm:^3.1.1": - version: 3.1.2 - resolution: "minimatch@npm:3.1.2" - dependencies: - brace-expansion: ^1.1.7 - checksum: c154e566406683e7bcb746e000b84d74465b3a832c45d59912b9b55cd50dee66e5c4b1e5566dba26154040e51672f9aa450a9aef0c97cfc7336b78b7afb9540a - languageName: node - linkType: hard - -"nice-try@npm:^1.0.4": - version: 1.0.5 - resolution: "nice-try@npm:1.0.5" - checksum: 0b4af3b5bb5d86c289f7a026303d192a7eb4417231fe47245c460baeabae7277bcd8fd9c728fb6bd62c30b3e15cd6620373e2cf33353b095d8b403d3e8a15aff - languageName: node - linkType: hard - -"normalize-package-data@npm:^2.3.2": - version: 2.5.0 - resolution: "normalize-package-data@npm:2.5.0" - dependencies: - hosted-git-info: ^2.1.4 - resolve: ^1.10.0 - semver: 2 || 3 || 4 || 5 - validate-npm-package-license: ^3.0.1 - checksum: 7999112efc35a6259bc22db460540cae06564aa65d0271e3bdfa86876d08b0e578b7b5b0028ee61b23f1cae9fc0e7847e4edc0948d3068a39a2a82853efc8499 - languageName: node - linkType: hard - -"npm-run-all@npm:4.1.5": - version: 4.1.5 - resolution: "npm-run-all@npm:4.1.5" - dependencies: - ansi-styles: ^3.2.1 - chalk: ^2.4.1 - cross-spawn: ^6.0.5 - memorystream: ^0.3.1 - minimatch: ^3.0.4 - pidtree: ^0.3.0 - read-pkg: ^3.0.0 - shell-quote: ^1.6.1 - string.prototype.padend: ^3.0.0 - bin: - npm-run-all: bin/npm-run-all/index.js - run-p: bin/run-p/index.js - run-s: bin/run-s/index.js - checksum: 373b72c6a36564da13c1642c1fd9bb4dcc756bce7a3648f883772f02661095319820834ff813762d2fee403e9b40c1cd27c8685807c107440f10eb19c006d4a0 - languageName: node - linkType: hard - -"object-inspect@npm:^1.12.3, object-inspect@npm:^1.9.0": - version: 1.12.3 - resolution: "object-inspect@npm:1.12.3" - checksum: dabfd824d97a5f407e6d5d24810d888859f6be394d8b733a77442b277e0808860555176719c5905e765e3743a7cada6b8b0a3b85e5331c530fd418cc8ae991db - languageName: node - linkType: hard - -"object-keys@npm:^1.1.1": - version: 1.1.1 - resolution: "object-keys@npm:1.1.1" - checksum: b363c5e7644b1e1b04aa507e88dcb8e3a2f52b6ffd0ea801e4c7a62d5aa559affe21c55a07fd4b1fd55fc03a33c610d73426664b20032405d7b92a1414c34d6a - languageName: node - linkType: hard - -"object.assign@npm:^4.1.4": - version: 4.1.4 - resolution: "object.assign@npm:4.1.4" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.1.4 - has-symbols: ^1.0.3 - object-keys: ^1.1.1 - checksum: 76cab513a5999acbfe0ff355f15a6a125e71805fcf53de4e9d4e082e1989bdb81d1e329291e1e4e0ae7719f0e4ef80e88fb2d367ae60500d79d25a6224ac8864 - languageName: node - linkType: hard - -"once@npm:^1.3.0": - version: 1.4.0 - resolution: "once@npm:1.4.0" - dependencies: - wrappy: 1 - checksum: cd0a88501333edd640d95f0d2700fbde6bff20b3d4d9bdc521bdd31af0656b5706570d6c6afe532045a20bb8dc0849f8332d6f2a416e0ba6d3d3b98806c7db68 - languageName: node - linkType: hard - -"p-limit@npm:^2.2.0": - version: 2.3.0 - resolution: "p-limit@npm:2.3.0" - dependencies: - p-try: ^2.0.0 - checksum: 84ff17f1a38126c3314e91ecfe56aecbf36430940e2873dadaa773ffe072dc23b7af8e46d4b6485d302a11673fe94c6b67ca2cfbb60c989848b02100d0594ac1 - languageName: node - linkType: hard - -"p-locate@npm:^4.1.0": - version: 4.1.0 - resolution: "p-locate@npm:4.1.0" - dependencies: - p-limit: ^2.2.0 - checksum: 513bd14a455f5da4ebfcb819ef706c54adb09097703de6aeaa5d26fe5ea16df92b48d1ac45e01e3944ce1e6aa2a66f7f8894742b8c9d6e276e16cd2049a2b870 - languageName: node - linkType: hard - -"p-try@npm:^2.0.0": - version: 2.2.0 - resolution: "p-try@npm:2.2.0" - checksum: f8a8e9a7693659383f06aec604ad5ead237c7a261c18048a6e1b5b85a5f8a067e469aa24f5bc009b991ea3b058a87f5065ef4176793a200d4917349881216cae - languageName: node - linkType: hard - -"parse-json@npm:^4.0.0": - version: 4.0.0 - resolution: "parse-json@npm:4.0.0" - dependencies: - error-ex: ^1.3.1 - json-parse-better-errors: ^1.0.1 - checksum: 0fe227d410a61090c247e34fa210552b834613c006c2c64d9a05cfe9e89cf8b4246d1246b1a99524b53b313e9ac024438d0680f67e33eaed7e6f38db64cfe7b5 - languageName: node - linkType: hard - -"path-exists@npm:^4.0.0": - version: 4.0.0 - resolution: "path-exists@npm:4.0.0" - checksum: 505807199dfb7c50737b057dd8d351b82c033029ab94cb10a657609e00c1bc53b951cfdbccab8de04c5584d5eff31128ce6afd3db79281874a5ef2adbba55ed1 - languageName: node - linkType: hard - -"path-is-absolute@npm:^1.0.0": - version: 1.0.1 - resolution: "path-is-absolute@npm:1.0.1" - checksum: 060840f92cf8effa293bcc1bea81281bd7d363731d214cbe5c227df207c34cd727430f70c6037b5159c8a870b9157cba65e775446b0ab06fd5ecc7e54615a3b8 - languageName: node - linkType: hard - -"path-key@npm:^2.0.1": - version: 2.0.1 - resolution: "path-key@npm:2.0.1" - checksum: f7ab0ad42fe3fb8c7f11d0c4f849871e28fbd8e1add65c370e422512fc5887097b9cf34d09c1747d45c942a8c1e26468d6356e2df3f740bf177ab8ca7301ebfd - languageName: node - linkType: hard - -"path-parse@npm:^1.0.7": - version: 1.0.7 - resolution: "path-parse@npm:1.0.7" - checksum: 49abf3d81115642938a8700ec580da6e830dde670be21893c62f4e10bd7dd4c3742ddc603fe24f898cba7eb0c6bc1777f8d9ac14185d34540c6d4d80cd9cae8a - languageName: node - linkType: hard - -"path-type@npm:^3.0.0": - version: 3.0.0 - resolution: "path-type@npm:3.0.0" - dependencies: - pify: ^3.0.0 - checksum: 735b35e256bad181f38fa021033b1c33cfbe62ead42bb2222b56c210e42938eecb272ae1949f3b6db4ac39597a61b44edd8384623ec4d79bfdc9a9c0f12537a6 - languageName: node - linkType: hard - -"pidtree@npm:^0.3.0": - version: 0.3.1 - resolution: "pidtree@npm:0.3.1" - bin: - pidtree: bin/pidtree.js - checksum: eb49025099f1af89a4696f7673351421f13420f3397b963c901fe23a1c9c2ff50f4750321970d4472c0ffbb065e4a6c3c27f75e226cc62284b19e21d32ce7012 - languageName: node - linkType: hard - -"pify@npm:^3.0.0": - version: 3.0.0 - resolution: "pify@npm:3.0.0" - checksum: 6cdcbc3567d5c412450c53261a3f10991665d660961e06605decf4544a61a97a54fefe70a68d5c37080ff9d6f4cf51444c90198d1ba9f9309a6c0d6e9f5c4fde - languageName: node - linkType: hard - -"read-pkg@npm:^3.0.0": - version: 3.0.0 - resolution: "read-pkg@npm:3.0.0" - dependencies: - load-json-file: ^4.0.0 - normalize-package-data: ^2.3.2 - path-type: ^3.0.0 - checksum: 398903ebae6c7e9965419a1062924436cc0b6f516c42c4679a90290d2f87448ed8f977e7aa2dbba4aa1ac09248628c43e493ac25b2bc76640e946035200e34c6 - languageName: node - linkType: hard - -"regexp.prototype.flags@npm:^1.5.0": - version: 1.5.0 - resolution: "regexp.prototype.flags@npm:1.5.0" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - functions-have-names: ^1.2.3 - checksum: c541687cdbdfff1b9a07f6e44879f82c66bbf07665f9a7544c5fd16acdb3ec8d1436caab01662d2fbcad403f3499d49ab0b77fbc7ef29ef961d98cc4bc9755b4 - languageName: node - linkType: hard - -"replace@npm:1.2.2": - version: 1.2.2 - resolution: "replace@npm:1.2.2" - dependencies: - chalk: 2.4.2 - minimatch: 3.0.5 - yargs: ^15.3.1 - bin: - replace: bin/replace.js - search: bin/search.js - checksum: 1d69f43937a5fdf9dea278e78d6f3b51c1889ba5135bd201918bbda6330684adf8276e8e90e1c021034420dd4df239e51c23ca40752cb9bc6180c153d6d46a37 - languageName: node - linkType: hard - -"require-directory@npm:^2.1.1": - version: 2.1.1 - resolution: "require-directory@npm:2.1.1" - checksum: fb47e70bf0001fdeabdc0429d431863e9475e7e43ea5f94ad86503d918423c1543361cc5166d713eaa7029dd7a3d34775af04764bebff99ef413111a5af18c80 - languageName: node - linkType: hard - -"require-main-filename@npm:^2.0.0": - version: 2.0.0 - resolution: "require-main-filename@npm:2.0.0" - checksum: e9e294695fea08b076457e9ddff854e81bffbe248ed34c1eec348b7abbd22a0d02e8d75506559e2265e96978f3c4720bd77a6dad84755de8162b357eb6c778c7 - languageName: node - linkType: hard - -"resolve@npm:^1.10.0": - version: 1.22.4 - resolution: "resolve@npm:1.22.4" - dependencies: - is-core-module: ^2.13.0 - path-parse: ^1.0.7 - supports-preserve-symlinks-flag: ^1.0.0 - bin: - resolve: bin/resolve - checksum: 23f25174c2736ce24c6d918910e0d1f89b6b38fefa07a995dff864acd7863d59a7f049e691f93b4b2ee29696303390d921552b6d1b841ed4a8101f517e1d0124 - languageName: node - linkType: hard - -"resolve@patch:resolve@^1.10.0#~builtin": - version: 1.22.4 - resolution: "resolve@patch:resolve@npm%3A1.22.4#~builtin::version=1.22.4&hash=c3c19d" - dependencies: - is-core-module: ^2.13.0 - path-parse: ^1.0.7 - supports-preserve-symlinks-flag: ^1.0.0 - bin: - resolve: bin/resolve - checksum: c45f2545fdc4d21883861b032789e20aa67a2f2692f68da320cc84d5724cd02f2923766c5354b3210897e88f1a7b3d6d2c7c22faeead8eed7078e4c783a444bc - languageName: node - linkType: hard - -"rimraf@npm:^2.2.8": - version: 2.7.1 - resolution: "rimraf@npm:2.7.1" - dependencies: - glob: ^7.1.3 - bin: - rimraf: ./bin.js - checksum: cdc7f6eacb17927f2a075117a823e1c5951792c6498ebcce81ca8203454a811d4cf8900314154d3259bb8f0b42ab17f67396a8694a54cae3283326e57ad250cd - languageName: node - linkType: hard - -"safe-array-concat@npm:^1.0.0": - version: 1.0.0 - resolution: "safe-array-concat@npm:1.0.0" - dependencies: - call-bind: ^1.0.2 - get-intrinsic: ^1.2.0 - has-symbols: ^1.0.3 - isarray: ^2.0.5 - checksum: f43cb98fe3b566327d0c09284de2b15fb85ae964a89495c1b1a5d50c7c8ed484190f4e5e71aacc167e16231940079b326f2c0807aea633d47cc7322f40a6b57f - languageName: node - linkType: hard - -"safe-regex-test@npm:^1.0.0": - version: 1.0.0 - resolution: "safe-regex-test@npm:1.0.0" - dependencies: - call-bind: ^1.0.2 - get-intrinsic: ^1.1.3 - is-regex: ^1.1.4 - checksum: bc566d8beb8b43c01b94e67de3f070fd2781685e835959bbbaaec91cc53381145ca91f69bd837ce6ec244817afa0a5e974fc4e40a2957f0aca68ac3add1ddd34 - languageName: node - linkType: hard - -"semver@npm:2 || 3 || 4 || 5": - version: 5.3.0 - resolution: "semver@npm:5.3.0" - bin: - semver: ./bin/semver - checksum: 2717b14299c76a4b35aec0aafebca22a3644da2942d2a4095f26e36d77a9bbe17a9a3a5199795f83edd26323d5c22024a2d9d373a038dec4e023156fa166d314 - languageName: node - linkType: hard - -"semver@npm:^5.5.0": - version: 5.7.2 - resolution: "semver@npm:5.7.2" - bin: - semver: bin/semver - checksum: fb4ab5e0dd1c22ce0c937ea390b4a822147a9c53dbd2a9a0132f12fe382902beef4fbf12cf51bb955248d8d15874ce8cd89532569756384f994309825f10b686 - languageName: node - linkType: hard - -"set-blocking@npm:^2.0.0": - version: 2.0.0 - resolution: "set-blocking@npm:2.0.0" - checksum: 6e65a05f7cf7ebdf8b7c75b101e18c0b7e3dff4940d480efed8aad3a36a4005140b660fa1d804cb8bce911cac290441dc728084a30504d3516ac2ff7ad607b02 - languageName: node - linkType: hard - -"shebang-command@npm:^1.2.0": - version: 1.2.0 - resolution: "shebang-command@npm:1.2.0" - dependencies: - shebang-regex: ^1.0.0 - checksum: 9eed1750301e622961ba5d588af2212505e96770ec376a37ab678f965795e995ade7ed44910f5d3d3cb5e10165a1847f52d3348c64e146b8be922f7707958908 - languageName: node - linkType: hard - -"shebang-regex@npm:^1.0.0": - version: 1.0.0 - resolution: "shebang-regex@npm:1.0.0" - checksum: 404c5a752cd40f94591dfd9346da40a735a05139dac890ffc229afba610854d8799aaa52f87f7e0c94c5007f2c6af55bdcaeb584b56691926c5eaf41dc8f1372 - languageName: node - linkType: hard - -"shell-quote@npm:^1.6.1": - version: 1.8.1 - resolution: "shell-quote@npm:1.8.1" - checksum: 5f01201f4ef504d4c6a9d0d283fa17075f6770bfbe4c5850b074974c68062f37929ca61700d95ad2ac8822e14e8c4b990ca0e6e9272e64befd74ce5e19f0736b - languageName: node - linkType: hard - -"side-channel@npm:^1.0.4": - version: 1.0.4 - resolution: "side-channel@npm:1.0.4" - dependencies: - call-bind: ^1.0.0 - get-intrinsic: ^1.0.2 - object-inspect: ^1.9.0 - checksum: 351e41b947079c10bd0858364f32bb3a7379514c399edb64ab3dce683933483fc63fb5e4efe0a15a2e8a7e3c436b6a91736ddb8d8c6591b0460a24bb4a1ee245 - languageName: node - linkType: hard - -"spdx-correct@npm:^3.0.0": - version: 3.2.0 - resolution: "spdx-correct@npm:3.2.0" - dependencies: - spdx-expression-parse: ^3.0.0 - spdx-license-ids: ^3.0.0 - checksum: e9ae98d22f69c88e7aff5b8778dc01c361ef635580e82d29e5c60a6533cc8f4d820803e67d7432581af0cc4fb49973125076ee3b90df191d153e223c004193b2 - languageName: node - linkType: hard - -"spdx-exceptions@npm:^2.1.0": - version: 2.3.0 - resolution: "spdx-exceptions@npm:2.3.0" - checksum: cb69a26fa3b46305637123cd37c85f75610e8c477b6476fa7354eb67c08128d159f1d36715f19be6f9daf4b680337deb8c65acdcae7f2608ba51931540687ac0 - languageName: node - linkType: hard - -"spdx-expression-parse@npm:^3.0.0": - version: 3.0.1 - resolution: "spdx-expression-parse@npm:3.0.1" - dependencies: - spdx-exceptions: ^2.1.0 - spdx-license-ids: ^3.0.0 - checksum: a1c6e104a2cbada7a593eaa9f430bd5e148ef5290d4c0409899855ce8b1c39652bcc88a725259491a82601159d6dc790bedefc9016c7472f7de8de7361f8ccde - languageName: node - linkType: hard - -"spdx-license-ids@npm:^3.0.0": - version: 3.0.13 - resolution: "spdx-license-ids@npm:3.0.13" - checksum: 3469d85c65f3245a279fa11afc250c3dca96e9e847f2f79d57f466940c5bb8495da08a542646086d499b7f24a74b8d0b42f3fc0f95d50ff99af1f599f6360ad7 - languageName: node - linkType: hard - -"string-width@npm:^4.1.0, string-width@npm:^4.2.0": - version: 4.2.3 - resolution: "string-width@npm:4.2.3" - dependencies: - emoji-regex: ^8.0.0 - is-fullwidth-code-point: ^3.0.0 - strip-ansi: ^6.0.1 - checksum: e52c10dc3fbfcd6c3a15f159f54a90024241d0f149cf8aed2982a2d801d2e64df0bf1dc351cf8e95c3319323f9f220c16e740b06faecd53e2462df1d2b5443fb - languageName: node - linkType: hard - -"string.prototype.padend@npm:^3.0.0": - version: 3.1.4 - resolution: "string.prototype.padend@npm:3.1.4" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 - checksum: 76e07238fe31dc12177428f0436b7ed6985f6a7ba97470fd53e4f0a6d9860bfee127d81957f3073cc879b434233df143825d140581e1340278053ad993c92f6c - languageName: node - linkType: hard - -"string.prototype.trim@npm:^1.2.7": - version: 1.2.7 - resolution: "string.prototype.trim@npm:1.2.7" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 - checksum: 05b7b2d6af63648e70e44c4a8d10d8cc457536df78b55b9d6230918bde75c5987f6b8604438c4c8652eb55e4fc9725d2912789eb4ec457d6995f3495af190c09 - languageName: node - linkType: hard - -"string.prototype.trimend@npm:^1.0.6": - version: 1.0.6 - resolution: "string.prototype.trimend@npm:1.0.6" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 - checksum: 0fdc34645a639bd35179b5a08227a353b88dc089adf438f46be8a7c197fc3f22f8514c1c9be4629b3cd29c281582730a8cbbad6466c60f76b5f99cf2addb132e - languageName: node - linkType: hard - -"string.prototype.trimstart@npm:^1.0.6": - version: 1.0.6 - resolution: "string.prototype.trimstart@npm:1.0.6" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 - checksum: 89080feef416621e6ef1279588994305477a7a91648d9436490d56010a1f7adc39167cddac7ce0b9884b8cdbef086987c4dcb2960209f2af8bac0d23ceff4f41 - languageName: node - linkType: hard - -"strip-ansi@npm:^6.0.0, strip-ansi@npm:^6.0.1": - version: 6.0.1 - resolution: "strip-ansi@npm:6.0.1" - dependencies: - ansi-regex: ^5.0.1 - checksum: f3cd25890aef3ba6e1a74e20896c21a46f482e93df4a06567cebf2b57edabb15133f1f94e57434e0a958d61186087b1008e89c94875d019910a213181a14fc8c - languageName: node - linkType: hard - -"strip-bom@npm:^3.0.0": - version: 3.0.0 - resolution: "strip-bom@npm:3.0.0" - checksum: 8d50ff27b7ebe5ecc78f1fe1e00fcdff7af014e73cf724b46fb81ef889eeb1015fc5184b64e81a2efe002180f3ba431bdd77e300da5c6685d702780fbf0c8d5b - languageName: node - linkType: hard - -"supports-color@npm:^5.3.0": - version: 5.5.0 - resolution: "supports-color@npm:5.5.0" - dependencies: - has-flag: ^3.0.0 - checksum: 95f6f4ba5afdf92f495b5a912d4abee8dcba766ae719b975c56c084f5004845f6f5a5f7769f52d53f40e21952a6d87411bafe34af4a01e65f9926002e38e1dac - languageName: node - linkType: hard - -"supports-preserve-symlinks-flag@npm:^1.0.0": - version: 1.0.0 - resolution: "supports-preserve-symlinks-flag@npm:1.0.0" - checksum: 53b1e247e68e05db7b3808b99b892bd36fb096e6fba213a06da7fab22045e97597db425c724f2bbd6c99a3c295e1e73f3e4de78592289f38431049e1277ca0ae - languageName: node - linkType: hard - -"typed-array-buffer@npm:^1.0.0": - version: 1.0.0 - resolution: "typed-array-buffer@npm:1.0.0" - dependencies: - call-bind: ^1.0.2 - get-intrinsic: ^1.2.1 - is-typed-array: ^1.1.10 - checksum: 3e0281c79b2a40cd97fe715db803884301993f4e8c18e8d79d75fd18f796e8cd203310fec8c7fdb5e6c09bedf0af4f6ab8b75eb3d3a85da69328f28a80456bd3 - languageName: node - linkType: hard - -"typed-array-byte-length@npm:^1.0.0": - version: 1.0.0 - resolution: "typed-array-byte-length@npm:1.0.0" - dependencies: - call-bind: ^1.0.2 - for-each: ^0.3.3 - has-proto: ^1.0.1 - is-typed-array: ^1.1.10 - checksum: b03db16458322b263d87a702ff25388293f1356326c8a678d7515767ef563ef80e1e67ce648b821ec13178dd628eb2afdc19f97001ceae7a31acf674c849af94 - languageName: node - linkType: hard - -"typed-array-byte-offset@npm:^1.0.0": - version: 1.0.0 - resolution: "typed-array-byte-offset@npm:1.0.0" - dependencies: - available-typed-arrays: ^1.0.5 - call-bind: ^1.0.2 - for-each: ^0.3.3 - has-proto: ^1.0.1 - is-typed-array: ^1.1.10 - checksum: 04f6f02d0e9a948a95fbfe0d5a70b002191fae0b8fe0fe3130a9b2336f043daf7a3dda56a31333c35a067a97e13f539949ab261ca0f3692c41603a46a94e960b - languageName: node - linkType: hard - -"typed-array-length@npm:^1.0.4": - version: 1.0.4 - resolution: "typed-array-length@npm:1.0.4" - dependencies: - call-bind: ^1.0.2 - for-each: ^0.3.3 - is-typed-array: ^1.1.9 - checksum: 2228febc93c7feff142b8c96a58d4a0d7623ecde6c7a24b2b98eb3170e99f7c7eff8c114f9b283085cd59dcd2bd43aadf20e25bba4b034a53c5bb292f71f8956 - languageName: node - linkType: hard - -"unbox-primitive@npm:^1.0.2": - version: 1.0.2 - resolution: "unbox-primitive@npm:1.0.2" - dependencies: - call-bind: ^1.0.2 - has-bigints: ^1.0.2 - has-symbols: ^1.0.3 - which-boxed-primitive: ^1.0.2 - checksum: b7a1cf5862b5e4b5deb091672ffa579aa274f648410009c81cca63fed3b62b610c4f3b773f912ce545bb4e31edc3138975b5bc777fc6e4817dca51affb6380e9 - languageName: node - linkType: hard - -"validate-npm-package-license@npm:^3.0.1": - version: 3.0.4 - resolution: "validate-npm-package-license@npm:3.0.4" - dependencies: - spdx-correct: ^3.0.0 - spdx-expression-parse: ^3.0.0 - checksum: 35703ac889d419cf2aceef63daeadbe4e77227c39ab6287eeb6c1b36a746b364f50ba22e88591f5d017bc54685d8137bc2d328d0a896e4d3fd22093c0f32a9ad - languageName: node - linkType: hard - -"which-boxed-primitive@npm:^1.0.2": - version: 1.0.2 - resolution: "which-boxed-primitive@npm:1.0.2" - dependencies: - is-bigint: ^1.0.1 - is-boolean-object: ^1.1.0 - is-number-object: ^1.0.4 - is-string: ^1.0.5 - is-symbol: ^1.0.3 - checksum: 53ce774c7379071729533922adcca47220228405e1895f26673bbd71bdf7fb09bee38c1d6399395927c6289476b5ae0629863427fd151491b71c4b6cb04f3a5e - languageName: node - linkType: hard - -"which-module@npm:^2.0.0": - version: 2.0.1 - resolution: "which-module@npm:2.0.1" - checksum: 1967b7ce17a2485544a4fdd9063599f0f773959cca24176dbe8f405e55472d748b7c549cd7920ff6abb8f1ab7db0b0f1b36de1a21c57a8ff741f4f1e792c52be - languageName: node - linkType: hard - -"which-typed-array@npm:^1.1.10, which-typed-array@npm:^1.1.11": - version: 1.1.11 - resolution: "which-typed-array@npm:1.1.11" - dependencies: - available-typed-arrays: ^1.0.5 - call-bind: ^1.0.2 - for-each: ^0.3.3 - gopd: ^1.0.1 - has-tostringtag: ^1.0.0 - checksum: 711ffc8ef891ca6597b19539075ec3e08bb9b4c2ca1f78887e3c07a977ab91ac1421940505a197758fb5939aa9524976d0a5bbcac34d07ed6faa75cedbb17206 - languageName: node - linkType: hard - -"which@npm:^1.2.9": - version: 1.3.1 - resolution: "which@npm:1.3.1" - dependencies: - isexe: ^2.0.0 - bin: - which: ./bin/which - checksum: f2e185c6242244b8426c9df1510e86629192d93c1a986a7d2a591f2c24869e7ffd03d6dac07ca863b2e4c06f59a4cc9916c585b72ee9fa1aa609d0124df15e04 - languageName: node - linkType: hard - -"wrap-ansi@npm:^6.2.0": - version: 6.2.0 - resolution: "wrap-ansi@npm:6.2.0" - dependencies: - ansi-styles: ^4.0.0 - string-width: ^4.1.0 - strip-ansi: ^6.0.0 - checksum: 6cd96a410161ff617b63581a08376f0cb9162375adeb7956e10c8cd397821f7eb2a6de24eb22a0b28401300bf228c86e50617cd568209b5f6775b93c97d2fe3a - languageName: node - linkType: hard - -"wrappy@npm:1": - version: 1.0.2 - resolution: "wrappy@npm:1.0.2" - checksum: 159da4805f7e84a3d003d8841557196034155008f817172d4e986bd591f74aa82aa7db55929a54222309e01079a65a92a9e6414da5a6aa4b01ee44a511ac3ee5 - languageName: node - linkType: hard - -"y18n@npm:^4.0.0": - version: 4.0.3 - resolution: "y18n@npm:4.0.3" - checksum: 014dfcd9b5f4105c3bb397c1c8c6429a9df004aa560964fb36732bfb999bfe83d45ae40aeda5b55d21b1ee53d8291580a32a756a443e064317953f08025b1aa4 - languageName: node - linkType: hard - -"yargs-parser@npm:^18.1.2": - version: 18.1.3 - resolution: "yargs-parser@npm:18.1.3" - dependencies: - camelcase: ^5.0.0 - decamelize: ^1.2.0 - checksum: 60e8c7d1b85814594d3719300ecad4e6ae3796748b0926137bfec1f3042581b8646d67e83c6fc80a692ef08b8390f21ddcacb9464476c39bbdf52e34961dd4d9 - languageName: node - linkType: hard - -"yargs@npm:^15.3.1": - version: 15.4.1 - resolution: "yargs@npm:15.4.1" - dependencies: - cliui: ^6.0.0 - decamelize: ^1.2.0 - find-up: ^4.1.0 - get-caller-file: ^2.0.1 - require-directory: ^2.1.1 - require-main-filename: ^2.0.0 - set-blocking: ^2.0.0 - string-width: ^4.2.0 - which-module: ^2.0.0 - y18n: ^4.0.0 - yargs-parser: ^18.1.2 - checksum: 40b974f508d8aed28598087720e086ecd32a5fd3e945e95ea4457da04ee9bdb8bdd17fd91acff36dc5b7f0595a735929c514c40c402416bbb87c03f6fb782373 - languageName: node - linkType: hard diff --git a/vendor/git.knownelement.com/ExternalVendorCode/markdown-resume/README.md b/vendor/git.knownelement.com/ExternalVendorCode/markdown-resume/README.md deleted file mode 100644 index 37a6b87..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/markdown-resume/README.md +++ /dev/null @@ -1,10 +0,0 @@ -# markdown-resume -The simplest possible resume workflow from markdown source. - -Changing the content or styling of a resume or CV is a relatively common event that can be a frustrating, time-consuming hassle. This repo contains starter files for the simplest possible workflow where resume *content* is maintained in a simple markdown file and generating `.html`, `.pdf` and `.docx` output formats can be automated with two tools: `pandoc` and `wkhtmltopdf`. - -**Still trying to decide if this is the workflow for you? Here are the original markdown files and the three output files for your persual**: - -[Markdown](resume.md) . [HTML](resume.html) . [PDF](resume.pdf) . [Word Doc](resume.docx) - -[Full work flow details](http://sdsawtelle.github.io/blog/output/simple-markdown-resume-with-pandoc-and-wkhtmltopdf.html) are contained in a short blog post. diff --git a/vendor/git.knownelement.com/ExternalVendorCode/markdown-resume/resume-css-stylesheet.css b/vendor/git.knownelement.com/ExternalVendorCode/markdown-resume/resume-css-stylesheet.css deleted file mode 100644 index e81c913..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/markdown-resume/resume-css-stylesheet.css +++ /dev/null @@ -1,440 +0,0 @@ -/*! normalize.css v2.1.3 | MIT License | git.io/normalize */ - -/* ========================================================================== - HTML5 display definitions - ========================================================================== */ - -/** - * Correct `block` display not defined in IE 8/9. - */ - -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -main, -nav, -section, -summary { - display: block; -} - -/** - * Correct `inline-block` display not defined in IE 8/9. - */ - -audio, -canvas, -video { - display: inline-block; -} - -/** - * Prevent modern browsers from displaying `audio` without controls. - * Remove excess height in iOS 5 devices. - */ - -audio:not([controls]) { - display: none; - height: 0; -} - -/** - * Address `[hidden]` styling not present in IE 8/9. - * Hide the `template` element in IE, Safari, and Firefox < 22. - */ - -[hidden], -template { - display: none; -} - -/* ========================================================================== - Base - ========================================================================== */ - -/** - * 1. Set default font family to sans-serif. - * 2. Prevent iOS text size adjust after orientation change, without disabling - * user zoom. - */ - -html { - font-family: sans-serif; /* 1 */ - -ms-text-size-adjust: 100%; /* 2 */ - -webkit-text-size-adjust: 100%; /* 2 */ -} - -/** - * Remove default margin. - */ - -body { - margin: 0; -} - -/* ========================================================================== - Links - ========================================================================== */ - -/** - * Remove the gray background color from active links in IE 10. - */ - -a { - background: transparent; -} - -/** - * Address `outline` inconsistency between Chrome and other browsers. - */ - -a:focus { - outline: thin dotted; -} - -/** - * Improve readability when focused and also mouse hovered in all browsers. - */ - -a:active, -a:hover { - outline: 0; -} - -/* ========================================================================== - Typography - ========================================================================== */ - -/** - * Address variable `h1` font-size and margin within `section` and `article` - * contexts in Firefox 4+, Safari 5, and Chrome. - */ - -h1 { - font-size: 2em; - margin: 0.67em 0; -} - -/** - * Address styling not present in IE 8/9, Safari 5, and Chrome. - */ - -abbr[title] { - border-bottom: 1px dotted; -} - -/** - * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome. - */ - -b, -strong { - font-weight: bold; -} - -/** - * Address styling not present in Safari 5 and Chrome. - */ - -dfn { - font-style: italic; -} - -/** - * Address differences between Firefox and other browsers. - */ - -hr { - -moz-box-sizing: content-box; - box-sizing: content-box; - height: 0; -} - -/** - * Address styling not present in IE 8/9. - */ - -mark { - background: #ff0; - color: #000; -} - -/** - * Correct font family set oddly in Safari 5 and Chrome. - */ - -code, -kbd, -pre, -samp { - font-family: monospace, serif; - font-size: 1em; -} - -/** - * Improve readability of pre-formatted text in all browsers. - */ - -pre { - white-space: pre-wrap; -} - -/** - * Set consistent quote types. - */ - -q { - quotes: "\201C" "\201D" "\2018" "\2019"; -} - -/** - * Address inconsistent and variable font size in all browsers. - */ - -small { - font-size: 80%; -} - -/** - * Prevent `sub` and `sup` affecting `line-height` in all browsers. - */ - -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} - -sup { - top: -0.5em; -} - -sub { - bottom: -0.25em; -} - -/* ========================================================================== - Embedded content - ========================================================================== */ - -/** - * Remove border when inside `a` element in IE 8/9. - */ - -img { - border: 0; -} - -/** - * Correct overflow displayed oddly in IE 9. - */ - -svg:not(:root) { - overflow: hidden; -} - -/* ========================================================================== - Figures - ========================================================================== */ - -/** - * Address margin not present in IE 8/9 and Safari 5. - */ - -figure { - margin: 0; -} - -/* ========================================================================== - Forms - ========================================================================== */ - -/** - * Define consistent border, margin, and padding. - */ - -fieldset { - border: 1px solid #c0c0c0; - margin: 0 2px; - padding: 0.35em 0.625em 0.75em; -} - -/** - * 1. Correct `color` not being inherited in IE 8/9. - * 2. Remove padding so people aren't caught out if they zero out fieldsets. - */ - -legend { - border: 0; /* 1 */ - padding: 0; /* 2 */ -} - -/** - * 1. Correct font family not being inherited in all browsers. - * 2. Correct font size not being inherited in all browsers. - * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome. - */ - -button, -input, -select, -textarea { - font-family: inherit; /* 1 */ - font-size: 100%; /* 2 */ - margin: 0; /* 3 */ -} - -/** - * Address Firefox 4+ setting `line-height` on `input` using `!important` in - * the UA stylesheet. - */ - -button, -input { - line-height: normal; -} - -/** - * Address inconsistent `text-transform` inheritance for `button` and `select`. - * All other form control elements do not inherit `text-transform` values. - * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+. - * Correct `select` style inheritance in Firefox 4+ and Opera. - */ - -button, -select { - text-transform: none; -} - -/** - * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` - * and `video` controls. - * 2. Correct inability to style clickable `input` types in iOS. - * 3. Improve usability and consistency of cursor style between image-type - * `input` and others. - */ - -button, -html input[type="button"], /* 1 */ -input[type="reset"], -input[type="submit"] { - -webkit-appearance: button; /* 2 */ - cursor: pointer; /* 3 */ -} - -/** - * Re-set default cursor for disabled elements. - */ - -button[disabled], -html input[disabled] { - cursor: default; -} - -/** - * 1. Address box sizing set to `content-box` in IE 8/9/10. - * 2. Remove excess padding in IE 8/9/10. - */ - -input[type="checkbox"], -input[type="radio"] { - box-sizing: border-box; /* 1 */ - padding: 0; /* 2 */ -} - -/** - * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome. - * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome - * (include `-moz` to future-proof). - */ - -input[type="search"] { - -webkit-appearance: textfield; /* 1 */ - -moz-box-sizing: content-box; - -webkit-box-sizing: content-box; /* 2 */ - box-sizing: content-box; -} - -/** - * Remove inner padding and search cancel button in Safari 5 and Chrome - * on OS X. - */ - -input[type="search"]::-webkit-search-cancel-button, -input[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} - -/** - * Remove inner padding and border in Firefox 4+. - */ - -button::-moz-focus-inner, -input::-moz-focus-inner { - border: 0; - padding: 0; -} - -/** - * 1. Remove default vertical scrollbar in IE 8/9. - * 2. Improve readability and alignment in all browsers. - */ - -textarea { - overflow: auto; /* 1 */ - vertical-align: top; /* 2 */ -} - -/* ========================================================================== - Tables - ========================================================================== */ - -/** - * Remove most spacing between table cells. - */ - -table { - border-collapse: collapse; - border-spacing: 0; -} - -.go-top { -position: fixed; -bottom: 2em; -right: 2em; -text-decoration: none; -background-color: #E0E0E0; -font-size: 12px; -padding: 1em; -display: inline; -} - -/* Github css */ - - -@font-face { - font-family: 'FONT_LOCAL'; - src: url('C:/Users/Sonya/Box Sync/Projects/markdown-resume/comic.ttf') format('truetype'); - font-weight: normal; - font-style: normal; -} - -@font-face { - font-family: 'Roboto'; - font-style: normal; - font-weight: 100; - src: local('Roboto Thin'), local('Roboto-Thin'), url(http://themes.googleusercontent.com/static/fonts/roboto/v10/vzIUHo9z-oJ4WgkpPOtg1_esZW2xOQ-xsNqO47m55DA.woff) format('woff'); -} - - -html,body{ margin: auto; - padding-right: 1em; - padding-left: 1em; - max-width: 44em; color:black;}*:not('#mkdbuttons'){margin:0;padding:0}body{font:13.34pxHelvetica;-webkit-font-smoothing:subpixel-antialiased;line-height:1.4;padding:3px;background:#fff;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px}p{margin:1em 0}a{color:#4183c4;text-decoration:none}body{background-color:#fff;padding:30px;margin:0px;font-size:14px;line-height:1.6}body>*:first-child{margin-top:0!important}body>*:last-child{margin-bottom:0!important}@media screen{body{box-shadow: none}}h1,h2,h3,h4,h5,h6{margin:20px 0 10px;padding:0;font-weight:bold;-webkit-font-smoothing:subpixel-antialiased;cursor:text}h1{font-size:37px;color:#000;text-align:center}h2{font-size:24px;border-bottom:1px solid #ccc;color:#f39}h3{font-size:18px;color:#333}h4{font-size:16px;color:#333;text-align:center;-webkit-margin-before:0.02em;-webkit-margin-after:0.02em;}h5{font-size:14px;color:#333;text-align:center}h6{color:#777;font-size:14px;text-align:center;-webkit-margin-before:0.05em}p,blockquote,table,pre{margin:15px 0}ul{padding-left:30px}ol{padding-left:30px}ol li ul:first-of-type{margin-top:0}hr{background:transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAECAYAAACtBE5DAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+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 0 0;border:0 none;color:#ccc;height:4px;padding:0}body>h2:first-child{margin-top:0;padding-top:0}body>h1:first-child{margin-top:0;padding-top:0}body>h1:first-child+h2{margin-top:0;padding-top:0}body>h3:first-child,body>h4:first-child,body>h5:first-child,body>h6:first-child{margin-top:0;padding-top:0}a:first-child h1,a:first-child h2,a:first-child h3,a:first-child h4,a:first-child h5,a:first-child h6{margin-top:0;padding-top:0}h1+p,h2+p,h3+p,h4+p,h5+p,h6+p,ul li>:first-child,ol li>:first-child{margin-top:0}dl{padding:0}dl dt{font-size:14px;font-weight:bold;font-style:italic;padding:0;margin:15px 0 5px}dl dt:first-child{padding:0}dl dt>:first-child{margin-top:0}dl dt>:last-child{margin-bottom:0}dl dd{margin:0 0 15px;padding:0 15px}dl dd>:first-child{margin-top:0}dl dd>:last-child{margin-bottom:0}blockquote{border-left:4px solid #DDD;padding:0 15px;color:#777}blockquote>:first-child{margin-top:0}blockquote>:last-child{margin-bottom:0}table{border-collapse:collapse;border-spacing:0;font-size:100%;font:inherit}table th{font-weight:bold;border:1px solid #ccc;padding:6px 13px}table td{border:1px solid #ccc;padding:6px 13px}table tr{border-top:1px solid #ccc;background-color:#fff}table tr:nth-child(2n){background-color:#f8f8f8}img{max-width:100%}code,tt{margin:0 2px;padding:0 5px;white-space:nowrap;border:1px solid #eaeaea;background-color:#f8f8f8;border-radius:3px;font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;color:#333}pre>code{margin:0;padding:0;white-space:pre;border:0;background:transparent}.highlight pre{background-color:#f8f8f8;border:1px solid #ccc;font-size:13px;line-height:19px;overflow:auto;padding:6px 10px;border-radius:3px}pre{background-color:#f8f8f8;border:1px solid #ccc;font-size:13px;line-height:19px;overflow:auto;padding:6px 10px;border-radius:3px}pre code,pre tt{background-color:transparent;border:0}.poetry pre{font-family:Georgia,Garamond,serif!important;font-style:italic;font-size:110%!important;line-height:1.6em;display:block;margin-left:1em}.poetry pre code{font-family:Georgia,Garamond,serif!important;word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;hyphens:auto;white-space:pre-wrap}sup,sub,a.footnote{font-size:1.4ex;height:0;line-height:1;vertical-align:super;position:relative}sub{vertical-align:sub;top:-1px}@media print{body{background:#fff}img,pre,blockquote,table,figure{page-break-inside:avoid}body{background:#fff;border:0}code{background-color:#fff;color:#333!important;padding:0 .2em;border:1px solid #dedede}pre{background:#fff}pre code{background-color:white!important;overflow:visible}}@media screen{body.inverted{color:#eee!important;border-color:#555;box-shadow:none}.inverted body,.inverted hr .inverted p,.inverted td,.inverted li,.inverted h1,.inverted h2,.inverted h3,.inverted h4,.inverted h5,.inverted h6,.inverted th,.inverted .math,.inverted caption,.inverted dd,.inverted dt,.inverted blockquote{color:#eee!important;border-color:#555;box-shadow:none}.inverted td,.inverted th{background:#333}.inverted h2{border-color:#555}.inverted hr{border-color:#777;border-width:1px!important}::selection{background:rgba(157,193,200,0.5)}h1::selection{background-color:rgba(45,156,208,0.3)}h2::selection{background-color:rgba(90,182,224,0.3)}h3::selection,h4::selection,h5::selection,h6::selection,li::selection,ol::selection{background-color:rgba(133,201,232,0.3)}code::selection{background-color:rgba(0,0,0,0.7);color:#eee}code span::selection{background-color:rgba(0,0,0,0.7)!important;color:#eee!important}a::selection{background-color:rgba(255,230,102,0.2)}.inverted a::selection{background-color:rgba(255,230,102,0.6)}td::selection,th::selection,caption::selection{background-color:rgba(180,237,95,0.5)}.inverted{background:#0b2531;background:#252a2a}.inverted body{background:#252a2a}.inverted a{color:#acd1d5}}.highlight .c{color:#998;font-style:italic}.highlight .err{color:#a61717;background-color:#e3d2d2}.highlight .k,.highlight .o{font-weight:bold}.highlight .cm{color:#998;font-style:italic}.highlight .cp{color:#999;font-weight:bold}.highlight .c1{color:#998;font-style:italic}.highlight .cs{color:#999;font-weight:bold;font-style:italic}.highlight .gd{color:#000;background-color:#fdd}.highlight .gd .x{color:#000;background-color:#faa}.highlight .ge{font-style:italic}.highlight .gr{color:#a00}.highlight .gh{color:#999}.highlight .gi{color:#000;background-color:#dfd}.highlight .gi .x{color:#000;background-color:#afa}.highlight .go{color:#888}.highlight .gp{color:#555}.highlight .gs{font-weight:bold}.highlight .gu{color:#800080;font-weight:bold}.highlight .gt{color:#a00}.highlight .kc,.highlight .kd,.highlight .kn,.highlight .kp,.highlight .kr{font-weight:bold}.highlight .kt{color:#458;font-weight:bold}.highlight .m{color:#099}.highlight .s{color:#d14}.highlight .na{color:#008080}.highlight .nb{color:#0086b3}.highlight .nc{color:#458;font-weight:bold}.highlight .no{color:#008080}.highlight .ni{color:#800080}.highlight .ne,.highlight .nf{color:#900;font-weight:bold}.highlight .nn{color:#555}.highlight .nt{color:#000080}.highlight .nv{color:#008080}.highlight .ow{font-weight:bold}.highlight .w{color:#bbb}.highlight .mf,.highlight .mh,.highlight .mi,.highlight .mo{color:#099}.highlight .sb,.highlight .sc,.highlight .sd,.highlight .s2,.highlight .se,.highlight .sh,.highlight .si,.highlight .sx{color:#d14}.highlight .sr{color:#009926}.highlight .s1{color:#d14}.highlight .ss{color:#990073}.highlight .bp{color:#999}.highlight .vc,.highlight .vg,.highlight .vi{color:#008080}.highlight .il{color:#099}.highlight .gc{color:#999;background-color:#eaf2f5}.type-csharp .highlight .k,.type-csharp .highlight .kt{color:#00F}.type-csharp .highlight .nf{color:#000;font-weight:normal}.type-csharp .highlight .nc{color:#2b91af}.type-csharp .highlight .nn{color:#000}.type-csharp .highlight .s,.type-csharp .highlight .sc{color:#a31515} diff --git a/vendor/git.knownelement.com/ExternalVendorCode/markdown-resume/resume-docx-reference.docx b/vendor/git.knownelement.com/ExternalVendorCode/markdown-resume/resume-docx-reference.docx deleted file mode 100644 index f631233c87107679084ef87ae526a99832f938e3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16716 zcmeHv1AAr5wsvgWM#t&cwr$(CJGPw_tD}xP?AUh4=&)lOUwWUj&)%o+e!f3&?^;jQ z%v`hHF;O*Yj9KFyQIG}&Lj!^Uf&u~pA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bt+Ql*b7KF|%WW;{C4Ott(Cm;e^Mgo(j zW)p{%3ZVQJCRYp{f-kB?$Q@!bfPZIe&9dtCvieDwFITRbvz@3JA~T8+rS6lXXV+aK zo1VGv&ssi+A4vtF^co>V{yY3tn}x!21SwUrkWNyk(@40DL1gBEhypwhi)5UgnXr5U zwd)n1S!T|6Y-*d)+8x3fh&2k)XLNSm3k&5t`VTuWwM{{~N6`e~Z3Owng9d4fSo+zw z>(I)1h-NV6>C0>6FPUKR=xXOjdNRGzs_LM@-j0ym^Dgz+M@&9J>JSJN#;G!OTGl(O zy{JH6_Ng7`6(}Ms#j|1YekC?cZWNSWEnMqms_HXKDCG#a>RUfxMdDNct}by$cN1zK zo}FUk4IeZoBv*Ej4MAN_E z)9+FDKj6R9PJb8iJ4@&<5$d@A7V&q^(C_fy1O0!&X9@oe|1IqQyM*6^-+xH}CjRpR z{u2uS9sK*N`(NMy#(#tV>qY)|{C_)|f1%$O0@#3n{)gN7JN$Pa;V%KH9REJO+57)8 s_>af%JN~~-%3o+8pi-{Co&MhjMnM|A-sPB-WB94@2|c82UdRuZU6uP diff --git a/vendor/git.knownelement.com/ExternalVendorCode/markdown-resume/resume.docx b/vendor/git.knownelement.com/ExternalVendorCode/markdown-resume/resume.docx deleted file mode 100644 index 0bf4f5c7a90cf681de726a86bb925bba10673a3d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 13627 zcmZ{L1ymhLwC%;+3GObz-5r8^aCdiiC%6W80>Rzg-Q9w_LvZ_Kh!MNa*`mRr~qI{NWgqusCX0{+M*T^06+o`0H6Q>01Y7{{dtwdEQPZva%qZ>cWZ+lekI99I7JImM;mT zqiq8!+foHwdGT<8-_ysI*s-fXOC7&ekEDBz>&!r~(pZySw}m9jRYY=V5I%~H=V|&O zF*x9TRHj0Y;CF|UJPUe8mfUd3o8n0tCsLKFn%C{y!KA91Pi{Rqa5$FS{^(}@WL}aE zbzT<-Tr`?S#m9-kKae>TN%OYxjn5QQnw7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ZFJ-D52mD3p&Ajs{bui5%z_>#q zO?2POhc!KO&%-5Ss@5a*ZTwAlG3_p-@L`i11Ki|UHl)jOlCNjNz2^bbdmfH6V9M;Z z{P@nt8JkJtgX70;drIYn4cm_udBpHX18_!Ac4r@kkiY8?cB_^ZeylNO*!X7$JZbrSa8?q=? zH^ul(XD%apYqs#vKDI{WoYGC=qH{vSvWD+=VvS+Lb5OD*69@||+K(tnNq!HzUzuDb zLeQo#0-O-NcRM+)iuwXu-B`lhUSm3H$ zV|Ae1R`n_lHGL#-`~Dy+XV3;PVuzlR>AeYSEO#5P{X#Ghsc%>}>T~j7A9tz~kk;|f z^X21yL{m?#FX`tFR z6g1%mGo1xewOSqtcP}?yZ0DD_if57sRx!n9DPUGsufYX^+h-PtF_uM=jx)hwPHkL~ zrIut**{L6IahyEPZIl-y%gmEo=YnxDyn`g9x#sjoj|Gml-mGoZ=pWH9ntTH+yn)P<1FUY?LBouXNr9J0P^9YO{4O*1 z_6s4_<{wpvPRajgjsbcn4*u^~Gv2HH>+`?7s39l$n}grpCin*(^?nKd^=`rMz~2@4 z{{Z9Pd-(t9@qdT^u5J7W?h5r6{Qpoo{_g2_z1}~b&Y=I}=|6ncAL_l|UHvX|`^Ob9 z>|d__BYOKC|GPxwA3XRw*YihA{t=A)4*s2E`v(k6@E7<$XYf1zcV_7yycFU8!ZZDX z)BH7({x@3XA9xhezu6NT~nk{Qs3t{eJ$x yFS!5US!n(a{=a6C-<$t^=J^M1LH`&0w|PiT66~FJ007|MzY*^%eG0>`U;htn#Ji#Z diff --git a/vendor/git.knownelement.com/ExternalVendorCode/markdown-resume/resume.html b/vendor/git.knownelement.com/ExternalVendorCode/markdown-resume/resume.html deleted file mode 100644 index b1ae1a0..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/markdown-resume/resume.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - - -

Sonya Sawtelle

-

Data enthusiast with a strong background in math, science and programming.

-
[ sdsawtelle.github.io ] . [ sonya.sawtelle@yale.edu ] . [ 802 461 3429 ]
-

Education

-

Ph.D. program in Applied Physics, Yale University (2012-present)

-
    -
  • Research on transport in metal nanostructures.
  • -
  • Coursework in physics, engineering, and statistics.
  • -
-

B.S. in Physics, Indiana University (2008-2011)

-
    -
  • Baccalaureate with Departmental Honors and Highest Distinction, 3.98/4.0 GPA
  • -
-

MOOCs (ongoing)

-
    -
  • Machine Learning (Stanford, Andrew Ng)
  • -
-

Experience

-

Independent Researcher, Yale University (2012-present, New Haven CT)

-
    -
  • Data analysis and simulation in Python and MATLAB, and instrument control in C++. Designed and executed experiments across four projects and managed several undegraduate students.
  • -
-

MCAT Instructor, Kaplan Test Prep (2011-2012, New Haven CT)

-
    -
  • Planned and delivered lectures on core content in undergraduate Physics, Chemistry and Biology to medium-sized groups of undergraduates.
  • -
-

Skills

-

Programming: Python, MATLAB, SQL, R, git, HTML/CSS

-

Python SciPy Tools: Pandas, Numpy, Matplotlib, Scikit-learn

-

Awards

-
    -
  • Sterling Prize Fellowship, Yale University (2013). Awarded to 30 out of 10,500 applicants.
  • -
  • IU Founders Scholar, Indiana University (2012)
  • -
  • Baccalaureate with Highest Distinction, Indiana University (2012). Granted to 5 students out of 498 in the class.
  • -
-

Projects

-

Evening Sessions: Explorations in Data Science and Python Blog (2015-present)

-
    -
  • Authored a series of articles covering a wide variety of topics and tools related to pure Python programming, data science and statistics.
  • -
- - diff --git a/vendor/git.knownelement.com/ExternalVendorCode/markdown-resume/resume.md b/vendor/git.knownelement.com/ExternalVendorCode/markdown-resume/resume.md deleted file mode 100644 index 55fab60..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/markdown-resume/resume.md +++ /dev/null @@ -1,49 +0,0 @@ -Sonya Sawtelle -====== - -#### Data enthusiast with a strong background in math, science and programming. -###### [ [sdsawtelle.github.io](http://sdsawtelle.github.io) ] . [ sonya.sawtelle@yale.edu ] . [ 802 461 3429 ] - - -Education ---------- -**Ph.D. program in Applied Physics, Yale University** (2012-present) - -- Research on transport in metal nanostructures. -- Coursework in physics, engineering, and statistics. - -**B.S. in Physics, Indiana University** (2008-2011) - -- Baccalaureate with Departmental Honors and Highest Distinction, 3.98/4.0 GPA - -**MOOCs** (ongoing) - -- Machine Learning (Stanford, Andrew Ng) - -Experience ---------- -**Independent Researcher, Yale University** (2012-present, New Haven CT) - -- Data analysis and simulation in Python and MATLAB, and instrument control in C++. Designed and executed experiments across four projects and managed several undegraduate students. - -**MCAT Instructor, Kaplan Test Prep** (2011-2012, New Haven CT) - -- Planned and delivered lectures on core content in undergraduate Physics, Chemistry and Biology to medium-sized groups of undergraduates. - -Skills ------- -**Programming:** Python, MATLAB, SQL, R, git, HTML/CSS - -**Python SciPy Tools:** Pandas, Numpy, Matplotlib, Scikit-learn - -Awards ------- -- **Sterling Prize Fellowship**, Yale University (2013). Awarded to 30 out of 10,500 applicants. -- **IU Founders Scholar**, Indiana University (2012) -- **Baccalaureate with Highest Distinction**, Indiana University (2012). Granted to 5 students out of 498 in the class. - -Projects --------- -**[*Evening Sessions: Explorations in Data Science and Python* Blog](http://sdsawtelle.github.io/blog/output/index.html)** (2015-present) - -- Authored a series of articles covering a wide variety of topics and tools related to pure Python programming, data science and statistics. diff --git a/vendor/git.knownelement.com/ExternalVendorCode/markdown-resume/resume.pdf b/vendor/git.knownelement.com/ExternalVendorCode/markdown-resume/resume.pdf deleted file mode 100644 index 81508484ae2123fe0e23e01179e1a96e6108fd1f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 32085 zcmcG!WmsHI(=JK~!6mo_7~I|6-QC^Y-3cBf5Zv7%5ZobnaCdiiw=*P9UfJI{XJ7lr z9k`^jsKXF2O0r@Fay3wRpr@e&E}#ET%P+17FwwVi{4JyJXbGT|v9&S& zw?EAPnAZeO@8o3cU<05PGIlXHG*%E5(EjT*%m47<&DS@N9gJ<9{&AUB(ALHY*mVTZ z)BRopt%9+mt+Rt6a8dMc%T|D<<+ri1eG~YzNLp!QBXfNLTQ`8_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64ui5zoB5PMTF=iI6J%F)+1C@UV@?qR5b|Z*bMu zi;5jD<;?B-^;8RQ&NX7A7E$v*`Pr|$FHQge@E1S(pXGi1B_#gW!oGgujejTX>!&1x z%B_EuU^kNM=J?nCMs?jB|Ej&wT{p+S+JBydh5+5@Fd%gQtM;buX1l4o*>0}CIrnS( zCCq;H_v^Zw{f&UTIe)X=^n25G^ZKTbUwz)_H+BxL+rFXW-i&c`-LKkT{oY*jheZ2V zV{^BN2?xi|*tGu(9{W3|?7x#}Pylr!(e9WT@D6j`DXu%ybtlno;T6Yi<1bP6yEeOZ zVs}anc!#-eJG)C9`;{?v=dW%R7v#1Qay!DWq_W$t@9fzx=yfO9ZfVyYmAk`gkh^nt z_Uv|qUwG_}gx%fWZxRi7mzs80a@))AE)9H#&TduQFSd6_$?k6Y_UO)@0q-Vwcbj*C zY_~i1+vj5h}vVm_t zAOC1$14DK3pKTE6XX_trP)rB?x4HTG`x$`Qp{DouHUP9gsM!9k4#39okGVkWApg7% z=z?5-UJLbsf3^YH*dTw73uI$w`|~+N>%jkfrqG49{ul!YfN=f!{D53sH*)f~`v9?l zApe*P7Z>!2{8eXXqXS)B%jV}Y=nBRz1~ a - a c.0 => a - b d => d.b - b d.d => d.b - a d => d.a - a d.d => d.a - c.0 d => c.0 - d.b d => d.b - '' c => c - '' c.0 => c.0 - Returns nothing. - - -`mo::join()` ------------- - -Internal: Join / implode an array - -* $1 - Variable name to receive the joined content -* $2 - Joiner -* $3-@ - Elements to join - -Returns nothing. - - -`mo::evaluateFunction()` ------------------------- - -Internal: Call a function. - -* $1 - Variable for output -* $2 - Content to pass -* $3 - Function to call -* $4-@ - Additional arguments as list of type, value/name - -Returns nothing. - - -`mo::standaloneCheck()` ------------------------ - -Internal: Check if a tag appears to have only whitespace before it and after it on a line. There must be a new line before and there must be a newline after or the end of a string - -No arguments. - -Returns 0 if this is a standalone tag, 1 otherwise. - - -`mo::standaloneProcess()` -------------------------- - -Internal: Process content before and after a tag. Remove prior whitespace up to the previous newline. Remove following whitespace up to and including the next newline. - -No arguments. - -Returns nothing. - - -`mo::indentLines()` -------------------- - -Internal: Apply indentation before any line that has content in MO_UNPARSED. - -* $1 - Destination variable name. -* $2 - The indentation string. -* $3 - The content that needs the indentation string prepended on each line. - -Returns nothing. - - -`mo::escape()` --------------- - -Internal: Escape a value - -* $1 - Destination variable name -* $2 - Value to escape - -Returns nothing - - -`mo::getContentUntilClose()` ----------------------------- - -Internal: Get the content up to the end of the block by minimally parsing and balancing blocks. Returns the content before the end tag to the caller and removes the content + the end tag from MO_UNPARSED. This can change the delimiters, adjusting MO_OPEN_DELIMITER and MO_CLOSE_DELIMITER. - -* $1 - Destination variable name -* $2 - Token string to match for a closing tag - -Returns nothing. - - -`mo::tokensToString()` ----------------------- - -Internal: Convert a list of tokens to a string - -* $1 - Destination variable for the string -* $2-$@ - Token list - -Returns nothing. - - -`mo::getContentTrim()` ----------------------- - -Internal: Trims content from MO_UNPARSED, returns trimmed content. - -* $1 - Destination variable - -Returns nothing. - - -`mo::getContentComment()` -------------------------- - -Get the content up to and including a close tag - -* $1 - Destination variable - -Returns nothing. - - -`mo::getContentDelimiter()` ---------------------------- - -Get the content up to and including a close tag. First two non-whitespace tokens become the new open and close tag. - -* $1 - Destination variable - -Returns nothing. - - -`mo::getContentWithinTag()` ---------------------------- - -Get the content up to and including a close tag. First two non-whitespace tokens become the new open and close tag. - -* $1 - Destination variable, an array -* $2 - Terminator string - -The array contents: [0] The raw content within the tag - [1] The parsed tokens as a single string - -Returns nothing. - - -`mo::tokenizeTagContents()` ---------------------------- - -Internal: Parse MO_UNPARSED and retrieve the content within the tag delimiters. Converts everything into an array of string values. - -* $1 - Destination variable for the array of contents. -* $2 - Stop processing when this content is found. - -The list of tokens are in RPN form. The first item in the resulting array is the number of actual tokens (after combining command tokens) in the list. - -Given: a 'bc' "de\"\n" (f {g 'h'}) Result: ([0]=4 [1]=NAME [2]=a [3]=VALUE [4]=bc [5]=VALUE [6]=$'de\"\n' [7]=NAME [8]=f [9]=NAME [10]=g [11]=VALUE [12]=h [13]=BRACE [14]=2 [15]=PAREN [16]=2 - -Returns nothing - - -`mo::tokenizeTagContentsName()` -------------------------------- - -Internal: Get the contents of a variable name. - -* $1 - Destination variable name for the token list (array of strings) - -Returns nothing - - -`mo::tokenizeTagContentsDoubleQuote()` --------------------------------------- - -Internal: Get the contents of a tag in double quotes. Parses the backslash sequences. - -* $1 - Destination variable name for the token list (array of strings) - -Returns nothing. - - -`mo::tokenizeTagContentsSingleQuote()` --------------------------------------- - -Internal: Get the contents of a tag in single quotes. Only gets the raw value. - -* $1 - Destination variable name for the token list (array of strings) - -Returns nothing. - - -`MO_ORIGINAL_COMMAND` ---------------------- - -Save the original command's path for usage later - - -[mo]: ./mo -[tomdoc.sh]: https://github.com/tests-always-included/tomdoc.sh diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/Dockerfile b/vendor/git.knownelement.com/ExternalVendorCode/mo/Dockerfile deleted file mode 100644 index 663495e..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/Dockerfile +++ /dev/null @@ -1,7 +0,0 @@ -FROM alpine - -RUN apk add --no-cache bash -ADD mo /usr/local/bin/mo -RUN chmod +x /usr/local/bin/mo - -ENTRYPOINT /usr/local/bin/mo diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/LICENSE.md b/vendor/git.knownelement.com/ExternalVendorCode/mo/LICENSE.md deleted file mode 100644 index 93622a5..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/LICENSE.md +++ /dev/null @@ -1,7 +0,0 @@ -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -Except as contained in this notice, the name(s) of the above copyright holders shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization. - -The end-user documentation included with the redistribution, if any, must include the following acknowledgment: "This product includes software developed by contributors", in the same place and form as other third-party acknowledgments. Alternately, this acknowledgment may appear in the software itself, in the same form and location as other such third-party acknowledgments. diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/README.md b/vendor/git.knownelement.com/ExternalVendorCode/mo/README.md deleted file mode 100644 index 7f6af1c..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/README.md +++ /dev/null @@ -1,340 +0,0 @@ -Mo - Mustache Templates in Bash -=============================== - -[Mustache] templates are simple, logic-less templates. Because of their simplicity, they are able to be ported to many languages. The syntax is quite simple. - - Hello, {{NAME}}. - - I hope your {{TIME_PERIOD}} was fun. - -The above file is [`demo/fun-trip.mo`](demo/fun-trip.mo). Let's try using this template some data from bash's environment. Go to your checked out copy of the project and run a command like this: - - NAME=Tyler TIME_PERIOD=weekend ./mo demo/fun-trip.mo - -Your result? - - Hello, Tyler. - - I hope your weekend was fun. - -This bash version supports conditionals, functions (both as filters and as values), as well as indexed arrays (for iteration). You are able to leverage these additional features by adding more information into the environment. It is easiest to do this when you source `mo`. See the [demo scripts](demo/) for further examples. - - -Requirements ------------- - -* Bash 3.x (the aim is to make it work on Macs) -* The "coreutils" package (`basename` and `cat`) -* ... that's it. Why? Because bash **can**! - -If you intend to develop this and run the official specs, you also need node.js. - - -Installation ------------- - -There are a few ways you can install this tool. How you install it depends on how you want to use it. - - -### Globally; For Everyone - -You can install this file in `/usr/local/bin/` or `/usr/bin/` by simply downloading it, changing the permissions, then moving it to the right location. Double check that your system's PATH includes the destination folder, otherwise users may have a hard time starting the command. - - # Download - curl -sSL https://raw.githubusercontent.com/tests-always-included/mo/master/mo -o mo - - # Make executable - chmod +x mo - - # Move to the right folder - sudo mv mo /usr/local/bin/ - - # Test - echo "works" | mo - - -### Locally; For Yourself - -This is very similar to installing it globally but it does not require root privileges. It is very important that your PATH includes the destination folder otherwise it won't work. Some local folders that are typically used are `~/bin/` and `~/.local/bin/`. - - # Download - curl -sSL https://raw.githubusercontent.com/tests-always-included/mo/master/mo -o mo - - # Make executable - chmod +x mo - - # Ensure destination folder exists - mkdir -p ~/.local/bin/ - - # Move to the right folder - mv mo ~/.local/bin/ - - # Test - echo "works" | mo - - -### As A Library; For A Tool - -Bash scripts can source `mo` to include the functionality in their own routines. This usage typically would have `mo` saved to a `lib/` folder in an application and your other scripts would use `. lib/mo` to bring it into your project. - - # Download - curl -sSL https://raw.githubusercontent.com/tests-always-included/mo/master/mo -o mo - - # Move into your project folder - mv mo ~/projects/amazing-things/lib/ - -To allow it to work this way, you either should source the file (`. "lib/mo"`) or make it executable (`chmod +x lib/mo`) and run it from your scripts. - - -How to Use ----------- - -If you only plan using strings and numbers, nothing could be simpler. In your shell script you can choose to export the variables. The below script is [`demo/using-strings`](demo/using-strings). - - #!/usr/bin/env bash - cd "$(dirname "$0")" # Go to the script's directory - export TEST="This is a test" - echo "Your message: {{TEST}}" | ../mo - -The result? "Your message: This is a test". - -Using arrays adds a slight level of complexity. *You must source `mo`.* Look at [`demo/using-arrays`](demo/using-arrays). - - #!/usr/bin/env bash - cd "$(dirname "$0")" # Go to the script's directory - export ARRAY=( one two "three three three" four five ) - . ../mo # This loads the "mo" function - cat << EOF | mo - Here are the items in the array: - {{#ARRAY}} - * {{.}} - {{/ARRAY}} - EOF - -The result? You get a list of the five elements in the array. It is vital that you source `mo` and run the function when you want arrays to work because you can not execute a command and have arrays passed to that command's environment. Instead, we first source the file to load the function and then run the function directly. - -There are more scripts available in the [demos directory](demo/) that could help illustrate how you would use this program. - -There are additional features that the program supports. Try using `mo --help` to see what is available. - -Please note that this command is written in Bash and pulls data from either the environment or (when using `--source`) from a text file that will be sourced and loaded into the environment, which means you will need to have Bash-style variables defined. Please see the examples in `demo/` for different ways you can use `mo`. - - -Enhancements ------------- - -In addition to many of the features built-in to Mustache, `mo` includes a number of unique features that make it a bit more powerful. - -### Loop @key - -`mo` implements Handlebar's `@key` references for outputting the key inside of a loop: - -Env: -```bash -myarr=( foo bar ) - -# Bash v4+ -declare -A myassoc -myassoc[hello]="mo" -myassoc[world]="is great" -``` - -Template: -```handlebars -{{#myarr}} - - {{@key}} {{.}} -{{/myarr}} - -{{#myassoc}} - * {{@key}} {{.}} -{{/myassoc}} -``` - -Output: -```markdown - - 0 foo - - 1 bar - - * hello mo - * world is great -``` - - -### Helpers / Function Arguments - -Function Arguments are not a part of the official Mustache implementation, and are more often associated with Handlebar's Helper functionality. - -`mo` allows for passing strings to functions. - -```handlebars -{{myfunc foo bar}} -``` - -For security reasons, these arguments are not immediately available to function calls without a flag. - -#### with `--allow-function-arguments` - -```bash -myfunc() { - # Outputs "foo, bar" - echo "$1, $2"; -} -``` - -#### Using `$MO_FUNCTION_ARGS` - -```bash -myfunc() { - # Outputs "foo, bar" - echo "${MO_FUNCTION_ARGS[0]}, ${MO_FUNCTION_ARGS[1]}"; -} -``` - -### Triple Mustache, Parenthesis, and Quotes - -Normally, triple mustache syntax, such as `{{{var}}}` will avoid HTML escaping of the variable. Because HTML escaping is not supported in `mo`, this is now used differently. Anything within braces will be looked up and the values will be concatenated together and the result will be treated as a value. Anything in parenthesis will be looked up, concatenated, and treated as a name. Also, anything in single quotes is passed as a value; double quoted things first are unescaped and then passed as a value. - -``` -# Example input -var=abc -user=admin -admin=Administrator -u=user -abc=([0]=zero [1]=one [2]=two) -``` - -| Mustache syntax | Resulting output | Notes | -|-----------------|------------------|-------| -| `{{var}}` | `abc` | Normal behavior | -| `{{var us}}` | `abcus` | Concatenation | -| `{{'var'}}` | `var` | Passing as a value | -| `{{"a\tb"}}` | `a b` | There was an escaped tab in the value | -| `{{u}}` | `user` | Normal behavior | -| `{{{u}}}` | `user` | Look up "$u", treat as the value `{{'user'}}` | -| `{{(u)}}` | `admin` | Look up "$u", treat as the name `{{user}}` | -| `{{var user}}` | `abcuser` | Concatenation | -| `{{(var '.1')}}` | `one` | Look up "$var", treat as "abc", then concatenate ".1" and look up `{{abc.1}}` | - -In double-quoted strings, the following escape sequences are defined. - -* `\"` - Quote -* `\b` - Bell -* `\e` - Escape (note that Bash typically uses $'\E' for the same thing) -* `\f` - Form feed -* `\n` - Newline -* `\r` - Carriage return -* `\t` - Tab -* `\v` - Vertical tab -* Anything else will skip the `\` and place the next character. However, this implementation is allowed to change in the future if a different escape character mapping becomes commonplace. - - -Environment Variables and Functions ------------------------------------ - -There are several functions and variables used to process templates. `mo` reserves variables that start with `MO_` for variables exposing data or configuration, functions starting with `mo::`, and local variables starting with `mo[A-Z]`. You are welcome to use internal functions, though only ones that are marked as "Public" should not change their interface. Scripts may also read any of the variables. - -Functions are all executed in a subshell, with another subshell for lambdas. Thus, your lambda can't affect the parsing of a template. There's more information about lambdas when talking about tests that fail. - -* `MO_ALLOW_FUNCTION_ARGUMENTS` - When set to a non-empty value, this allows functions referenced in templates to receive additional options and arguments. -* `MO_CLOSE_DELIMITER` - The string used when closing a tag. Defaults to "}}". Used internally. -* `MO_CLOSE_DELIMITER_DEFAULT` - The default value of `MO_CLOSE_DELIMITER`. Used when resetting the close delimiter, such as when parsing a partial. -* `MO_CURRENT` - Variable name to use for ".". -* `MO_DEBUG` - When set to a non-empty value, additional debug information is written to stderr. -* `MO_FUNCTION_ARGS` - Arguments passed to the function. -* `MO_FAIL_ON_FILE` - If a filename from the command-line is missing or a partial does not exist, abort with an error. -* `MO_FAIL_ON_FUNCTION` - If a function returns a non-zero status code, abort with an error. -* `MO_FAIL_ON_UNSET` - When set to a non-empty value, expansion of an unset env variable will be aborted with an error. -* `MO_FALSE_IS_EMPTY` - When set to a non-empty value, the string "false" will be treated as an empty value for the purposes of conditionals. -* `MO_OPEN_DELIMITER` - The string used when opening a tag. Defaults to "{{". Used internally. -* `MO_OPEN_DELIMITER_DEFAULT` - The default value of MO_OPEN_DELIMITER. Used when resetting the open delimiter, such as when parsing a partial. -* `MO_ORIGINAL_COMMAND` - Used to find the `mo` program in order to generate a help message. -* `MO_PARSED` - Content that has made it through the template engine. -* `MO_STANDALONE_CONTENT` - The unparsed content that preceeded the current tag. When a standalone tag is encountered, this is checked to see if it only contains whitespace. If this and the whitespace condition after a tag is met, then this will be reset to $'\n'. -* `MO_UNPARSED` - Template content yet to make it through the parser. - - -Concessions ------------ - -I admit that implementing everything in bash just doesn't make a lot of sense. For example, the following things just don't work because they don't really mesh with the "bash way". - -Pull requests to solve the following issues would be helpful. - - -### Mustache Syntax - -* Dotted names are supported but only for associative arrays (Bash 4). See [`demo/associative-arrays`](demo/associative-arrays) for an example. -* There's no "top level" object, so `echo '{{.}}' | ./mo` does not do anything useful. In other languages you can say the data for the template is a string and in `mo` the data is always the environment. Luckily this type of usage is rare and `{{.}}` works great when iterating over an array. -* [Parents](https://mustache.github.io/mustache.5.html#Parents), where a template can override chunks of a partial, are not supported. -* HTML encoding is not built into `mo`. `{{{var}}}`, `{{&var}}` and `{{var}}` all do the same thing. `echo '{{TEST}}' | TEST='' mo` will give you "``" instead of "`>b<`". - - -### General Scripting Issues - -* Using binary files as templates is simply not allowed. -* Bash does not support anything more complex than strings/numbers inside of associative arrays. I'm not able to add objects nor nested arrays to bash - it's just a shell after all! -* You must make sure the data is in the environment when `mo` runs. The easiest way to do that is to source `mo` in your shell script after setting up lots of other environment variables / functions. - - -Developing ----------- - -Check out the code and hack away. Please add tests to show off bugs before fixing them. New functionality should also be covered by a test. - -First, make sure you install Node.js. After that, run `npm run install-tests` to get the dependencies and the repository of YAML tests. Run `npm run test` to run the JavaScript tests. There's over 100 of them, which is great. Not all of them will pass, but that's discussed later. - -When submitting patches, make sure to run them past [ShellCheck] and ensure no problems are found. Also please use Bash 3 syntax if you are manipulating arrays. - - -### Porting and Backporting - -In case of problems, setting MO_DEBUG to a non-empty value will give you LOTS of output. - - MO_DEBUG=1 ./mo my-template - - -### Failed Specs - -It is acceptable for some of the official spec tests to fail. The spec runner has specific exclusions and overrides to test similar functionality that avoid the following issues. - - * Using `{{.}}` outside of a loop - In order to access any variable, you must use its name. In a loop, `{{.}}` will refer to the current value, but outside the loop you are unable to use this dot notation because there is no current value. - * Deeply nested data - Bash doesn't support complex data structure. Basically, just strings and arrays of strings. - * Interpolation; Multiple Calls: This fails because lambdas execute in a subshell so their output can be captured. If you want state to be preserved, you will need to write it outside of the current environment and load it again later. - * HTML Escaping - Since bash is not often executed in a web server context, it makes no sense to have the output escaped as HTML. Performing shell escaping of variables may be an option in the future if there's a demand. - * Lambdas - Function results are *not* automatically interpreted again. If you want to parse the results as Mustache content, use `mo::parse`. When they use `mo::parse`, it will use the current delimiters. - - For lambdas, these examples may help. - - ```bash - # Retrieve content into a variable. - content=$(cat) - - # Retrieve all content and do not trim newlines at the end. - content=$(cat; echo -n '.') - content=${content%.} - - # Parse content using the current delimiters - mo::parse results "This is my content. Hello, {{username}}" - echo -n "$results" - - # Parse content using the default delimiters - MO_OPEN_DELIMITER=$MO_OPEN_DELIMITER_DEFAULT - MO_CLOSE_DELIMITER=$MO_CLOSE_DELIMITER_DEFAULT - mo::parse results "This is my content. Hello, {{username}}" - echo -n "$results" - ``` - - -### Future Enhancements - -There's a few places in the code marked with `TODO` to signify areas that could use improvement. Care to help? Keep in mind that this uses bash exclusively, so it might not look the prettiest. - - -License -------- - -This program is licensed under an MIT license with an additional non-advertising clause. See [LICENSE.md](LICENSE.md) for the full text. - - -[Mustache]: https://mustache.github.io/ -[ShellCheck]: https://github.com/koalaman/shellcheck diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/demo/associative-arrays b/vendor/git.knownelement.com/ExternalVendorCode/mo/demo/associative-arrays deleted file mode 100755 index f0d8950..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/demo/associative-arrays +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env bash - -cd "$(dirname "$0")" # Go to the script's directory - -declare -A DATA -export DATA=([one]=111 [two]=222) -. ../mo - -cat < partial}} - -And here's the same partial with a 4-space indent: - - {{> partial}} - -:-) -EOF diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/demo/partial b/vendor/git.knownelement.com/ExternalVendorCode/mo/demo/partial deleted file mode 100644 index 367d1bb..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/demo/partial +++ /dev/null @@ -1 +0,0 @@ -{{data}} diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/demo/sourcing b/vendor/git.knownelement.com/ExternalVendorCode/mo/demo/sourcing deleted file mode 100755 index c5fe201..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/demo/sourcing +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash -# -# This sources a simple script with the env. variables needed for the template. - -cd "$(dirname "$0")" # Go to the script's directory - -cat <&2 - exit 1 - fi - ;; - - -o=* | --open=*) - if [[ "$arg" == --open=* ]]; then - MO_OPEN_DELIMITER_DEFAULT="${arg#--open=}" - else - MO_OPEN_DELIMITER_DEFAULT="${arg#-o=}" - fi - ;; - - -c=* | --close=*) - if [[ "$arg" == --close=* ]]; then - MO_CLOSE_DELIMITER_DEFAULT="${arg#--close=}" - else - MO_CLOSE_DELIMITER_DEFAULT="${arg#-c=}" - fi - ;; - - -d | --debug) - MO_DEBUG=true - ;; - - --) - #: Set a flag indicating we've encountered double hyphens - moDoubleHyphens=true - ;; - - -*) - mo::error "Unknown option: $arg (See --help for options)" - ;; - - *) - #: Every arg that is not a flag or a option should be a file - moFiles=(${moFiles[@]+"${moFiles[@]}"} "$arg") - ;; - esac - fi - done - fi - - mo::debug "Debug enabled" - MO_OPEN_DELIMITER="$MO_OPEN_DELIMITER_DEFAULT" - MO_CLOSE_DELIMITER="$MO_CLOSE_DELIMITER_DEFAULT" - mo::content moContent ${moFiles[@]+"${moFiles[@]}"} || return 1 - mo::parse moParsed "$moContent" - echo -n "$moParsed" -) - - -# Internal: Show a debug message -# -# $1 - The debug message to show -# -# Returns nothing. -mo::debug() { - if [[ -n "${MO_DEBUG:-}" ]]; then - echo "DEBUG ${FUNCNAME[1]:-?} - $1" >&2 - fi -} - - -# Internal: Show a debug message and internal state information -# -# No arguments -# -# Returns nothing. -mo::debugShowState() { - if [[ -z "${MO_DEBUG:-}" ]]; then - return - fi - - local moState moTemp moIndex moDots - - mo::escape moTemp "$MO_OPEN_DELIMITER" - moState="open: $moTemp" - mo::escape moTemp "$MO_CLOSE_DELIMITER" - moState="$moState close: $moTemp" - mo::escape moTemp "$MO_STANDALONE_CONTENT" - moState="$moState standalone: $moTemp" - mo::escape moTemp "$MO_CURRENT" - moState="$moState current: $moTemp" - moIndex=$((${#MO_PARSED} - 20)) - moDots=... - - if [[ "$moIndex" -lt 0 ]]; then - moIndex=0 - moDots= - fi - - mo::escape moTemp "${MO_PARSED:$moIndex}" - moState="$moState parsed: $moDots$moTemp" - - moDots=... - - if [[ "${#MO_UNPARSED}" -le 20 ]]; then - moDots= - fi - - mo::escape moTemp "${MO_UNPARSED:0:20}$moDots" - moState="$moState unparsed: $moTemp" - - echo "DEBUG ${FUNCNAME[1]:-?} - $moState" >&2 -} - -# Internal: Show an error message and exit -# -# $1 - The error message to show -# $2 - Error code -# -# Returns nothing. Exits the program. -mo::error() { - echo "ERROR: $1" >&2 - exit "${2:-1}" -} - - -# Internal: Show an error message with a snippet of context and exit -# -# $1 - The error message to show -# $2 - The starting point -# $3 - Error code -# -# Returns nothing. Exits the program. -mo::errorNear() { - local moEscaped - - mo::escape moEscaped "${2:0:40}" - echo "ERROR: $1" >&2 - echo "ERROR STARTS NEAR: $moEscaped" - exit "${3:-1}" -} - - -# Internal: Displays the usage for mo. Pulls this from the file that -# contained the `mo` function. Can only work when the right filename -# comes is the one argument, and that only happens when `mo` is called -# with `$0` set to this file. -# -# $1 - Filename that has the help message -# -# Returns nothing. -mo::usage() { - while read -r line; do - if [[ "${line:0:2}" == "#/" ]]; then - echo "${line:3}" - fi - done < "$MO_ORIGINAL_COMMAND" - echo "" - echo "MO_VERSION=$MO_VERSION" -} - - -# Internal: Fetches the content to parse into MO_UNPARSED. Can be a list of -# partials for files or the content from stdin. -# -# $1 - Destination variable name -# $2-@ - File names (optional), read from stdin otherwise -# -# Returns nothing. -mo::content() { - local moTarget moContent moFilename - - moTarget=$1 - shift - moContent="" - - if [[ "${#@}" -gt 0 ]]; then - for moFilename in "$@"; do - mo::debug "Using template to load content from file: $moFilename" - #: This is so relative paths work from inside template files - moContent="$moContent$MO_OPEN_DELIMITER>$moFilename$MO_CLOSE_DELIMITER" - done - else - mo::debug "Will read content from stdin" - mo::contentFile moContent || return 1 - fi - - local "$moTarget" && mo::indirect "$moTarget" "$moContent" -} - - -# Internal: Read a file into MO_UNPARSED. -# -# $1 - Destination variable name. -# $2 - Filename to load - if empty, defaults to /dev/stdin -# -# Returns nothing. -mo::contentFile() { - local moFile moResult moContent - - #: The subshell removes any trailing newlines. We forcibly add - #: a dot to the content to preserve all newlines. Reading from - #: stdin with a `read` loop does not work as expected, so `cat` - #: needs to stay. - moFile=${2:-/dev/stdin} - - if [[ -e "$moFile" ]]; then - mo::debug "Loading content: $moFile" - moContent=$( - set +Ee - cat -- "$moFile" - moResult=$? - echo -n '.' - exit "$moResult" - ) || return 1 - moContent=${moContent%.} #: Remove last dot - elif [[ -n "${MO_FAIL_ON_FILE-}" ]]; then - mo::error "No such file: $moFile" - else - mo::debug "File does not exist: $moFile" - moContent="" - fi - - local "$1" && mo::indirect "$1" "$moContent" -} - - -# Internal: Send a variable up to the parent of the caller of this function. -# -# $1 - Variable name -# $2 - Value -# -# Examples -# -# callFunc () { -# local "$1" && mo::indirect "$1" "the value" -# } -# callFunc dest -# echo "$dest" # writes "the value" -# -# Returns nothing. -mo::indirect() { - unset -v "$1" - printf -v "$1" '%s' "$2" -} - - -# Internal: Send an array as a variable up to caller of a function -# -# $1 - Variable name -# $2-@ - Array elements -# -# Examples -# -# callFunc () { -# local myArray=(one two three) -# local "$1" && mo::indirectArray "$1" "${myArray[@]}" -# } -# callFunc dest -# echo "${dest[@]}" # writes "one two three" -# -# Returns nothing. -mo::indirectArray() { - unset -v "$1" - - #: IFS must be set to a string containing space or unset in order for - #: the array slicing to work regardless of the current IFS setting on - #: bash 3. This is detailed further at - #: https://github.com/fidian/gg-core/pull/7 - eval "$(printf "IFS= %s=(\"\${@:2}\") IFS=%q" "$1" "$IFS")" -} - - -# Internal: Trim leading characters from MO_UNPARSED -# -# Returns nothing. -mo::trimUnparsed() { - local moI moC - - moI=0 - moC=${MO_UNPARSED:0:1} - - while [[ "$moC" == " " || "$moC" == $'\r' || "$moC" == $'\n' || "$moC" == $'\t' ]]; do - moI=$((moI + 1)) - moC=${MO_UNPARSED:$moI:1} - done - - if [[ "$moI" != 0 ]]; then - MO_UNPARSED=${MO_UNPARSED:$moI} - fi -} - - -# Internal: Remove whitespace and content after whitespace -# -# $1 - Name of the destination variable -# $2 - The string to chomp -# -# Returns nothing. -mo::chomp() { - local moTemp moR moN moT - - moR=$'\r' - moN=$'\n' - moT=$'\t' - moTemp=${2%% *} - moTemp=${moTemp%%"$moR"*} - moTemp=${moTemp%%"$moN"*} - moTemp=${moTemp%%"$moT"*} - - local "$1" && mo::indirect "$1" "$moTemp" -} - - -# Public: Parses text, interpolates mustache tags. Utilizes the current value -# of MO_OPEN_DELIMITER, MO_CLOSE_DELIMITER, and MO_STANDALONE_CONTENT. Those -# three variables shouldn't be changed by user-defined functions. -# -# $1 - Destination variable name - where to store the finished content -# $2 - Content to parse -# $3 - Preserve standalone status/content - truthy if not empty. When set to a -# value, that becomes the standalone content value -# -# Returns nothing. -mo::parse() { - local moOldParsed moOldStandaloneContent moOldUnparsed moResult - - #: The standalone content is a trick to make the standalone tag detection - #: possible. When it's set to content with a newline and if the tag supports - #: it, the standalone content check happens. This check ensures only - #: whitespace is after the last newline up to the tag, and only whitespace - #: is after the tag up to the next newline. If that is the case, remove - #: whitespace and the trailing newline. By setting this to $'\n', we're - #: saying we are at the beginning of content. - mo::debug "Starting parse of ${#2} bytes" - moOldParsed=${MO_PARSED:-} - moOldUnparsed=${MO_UNPARSED:-} - MO_PARSED="" - MO_UNPARSED="$2" - - if [[ -z "${3:-}" ]]; then - moOldStandaloneContent=${MO_STANDALONE_CONTENT:-} - MO_STANDALONE_CONTENT=$'\n' - else - MO_STANDALONE_CONTENT=$3 - fi - - MO_CURRENT=${MO_CURRENT:-} - mo::parseInternal - moResult="$MO_PARSED$MO_UNPARSED" - MO_PARSED=$moOldParsed - MO_UNPARSED=$moOldUnparsed - - if [[ -z "${3:-}" ]]; then - MO_STANDALONE_CONTENT=$moOldStandaloneContent - fi - - local "$1" && mo::indirect "$1" "$moResult" -} - - -# Internal: Parse MO_UNPARSED, writing content to MO_PARSED. Interpolates -# mustache tags. -# -# No arguments -# -# Returns nothing. -mo::parseInternal() { - local moChunk - - mo::debug "Starting parse" - - while [[ -n "$MO_UNPARSED" ]]; do - mo::debugShowState - moChunk=${MO_UNPARSED%%"$MO_OPEN_DELIMITER"*} - MO_PARSED="$MO_PARSED$moChunk" - MO_STANDALONE_CONTENT="$MO_STANDALONE_CONTENT$moChunk" - MO_UNPARSED=${MO_UNPARSED:${#moChunk}} - - if [[ -n "$MO_UNPARSED" ]]; then - MO_UNPARSED=${MO_UNPARSED:${#MO_OPEN_DELIMITER}} - mo::trimUnparsed - - case "$MO_UNPARSED" in - '#'*) - #: Loop, if/then, or pass content through function - mo::parseBlock false - ;; - - '^'*) - #: Display section if named thing does not exist - mo::parseBlock true - ;; - - '>'*) - #: Load partial - get name of file relative to cwd - mo::parsePartial - ;; - - '/'*) - #: Closing tag - mo::errorNear "Unbalanced close tag" "$MO_UNPARSED" - ;; - - '!'*) - #: Comment - ignore the tag content entirely - mo::parseComment - ;; - - '='*) - #: Change delimiters - #: Any two non-whitespace sequences separated by whitespace. - mo::parseDelimiter - ;; - - '&'*) - #: Unescaped - mo doesn't escape/unescape - MO_UNPARSED=${MO_UNPARSED#&} - mo::trimUnparsed - mo::parseValue - ;; - - *) - #: Normal environment variable, string, subexpression, - #: current value, key, or function call - mo::parseValue - ;; - esac - fi - done -} - - -# Internal: Handle parsing a block -# -# $1 - Invert condition ("true" or "false") -# -# Returns nothing -mo::parseBlock() { - local moInvertBlock moTokens moTokensString - - moInvertBlock=$1 - MO_UNPARSED=${MO_UNPARSED:1} - mo::tokenizeTagContents moTokens "$MO_CLOSE_DELIMITER" - MO_UNPARSED=${MO_UNPARSED#"$MO_CLOSE_DELIMITER"} - mo::tokensToString moTokensString "${moTokens[@]:1}" - mo::debug "Parsing block: $moTokensString" - - if mo::standaloneCheck; then - mo::standaloneProcess - fi - - if [[ "${moTokens[1]}" == "NAME" ]] && mo::isFunction "${moTokens[2]}"; then - mo::parseBlockFunction "$moInvertBlock" "$moTokensString" "${moTokens[@]:1}" - elif [[ "${moTokens[1]}" == "NAME" ]] && mo::isArray "${moTokens[2]}"; then - mo::parseBlockArray "$moInvertBlock" "$moTokensString" "${moTokens[@]:1}" - else - mo::parseBlockValue "$moInvertBlock" "$moTokensString" "${moTokens[@]:1}" - fi -} - - -# Internal: Handle parsing a block whose first argument is a function -# -# $1 - Invert condition ("true" or "false") -# $2-@ - The parsed tokens from inside the block tags -# -# Returns nothing -mo::parseBlockFunction() { - local moTarget moInvertBlock moTokens moTemp moUnparsed moTokensString - - moInvertBlock=$1 - moTokensString=$2 - shift 2 - moTokens=(${@+"$@"}) - mo::debug "Parsing block function: $moTokensString" - mo::getContentUntilClose moTemp "$moTokensString" - #: Pass unparsed content to the function. - #: Keep the updated delimiters if they changed. - - if [[ "$moInvertBlock" != "true" ]]; then - mo::evaluateFunction moResult "$moTemp" "${moTokens[@]:1}" - MO_PARSED="$MO_PARSED$moResult" - fi - - mo::debug "Done parsing block function: $moTokensString" -} - - -# Internal: Handle parsing a block whose first argument is an array -# -# $1 - Invert condition ("true" or "false") -# $2-@ - The parsed tokens from inside the block tags -# -# Returns nothing -mo::parseBlockArray() { - local moInvertBlock moTokens moResult moArrayName moArrayIndexes moArrayIndex moTemp moUnparsed moOpenDelimiterBefore moCloseDelimiterBefore moOpenDelimiterAfter moCloseDelimiterAfter moParsed moTokensString moCurrent - - moInvertBlock=$1 - moTokensString=$2 - shift 2 - moTokens=(${@+"$@"}) - mo::debug "Parsing block array: $moTokensString" - moOpenDelimiterBefore=$MO_OPEN_DELIMITER - moCloseDelimiterBefore=$MO_CLOSE_DELIMITER - mo::getContentUntilClose moTemp "$moTokensString" - moOpenDelimiterAfter=$MO_OPEN_DELIMITER - moCloseDelimiterAfter=$MO_CLOSE_DELIMITER - moArrayName=${moTokens[1]} - eval "moArrayIndexes=(\"\${!${moArrayName}[@]}\")" - - if [[ "${#moArrayIndexes[@]}" -lt 1 ]]; then - #: No elements - if [[ "$moInvertBlock" == "true" ]]; then - #: Restore the delimiter before parsing - MO_OPEN_DELIMITER=$moOpenDelimiterBefore - MO_CLOSE_DELIMITER=$moCloseDelimiterBefore - moCurrent=$MO_CURRENT - MO_CURRENT=$moArrayName - mo::parse moParsed "$moTemp" "blockArrayInvert$MO_STANDALONE_CONTENT" - MO_CURRENT=$moCurrent - MO_PARSED="$MO_PARSED$moParsed" - fi - else - if [[ "$moInvertBlock" != "true" ]]; then - #: Process for each element in the array - moUnparsed=$MO_UNPARSED - - for moArrayIndex in "${moArrayIndexes[@]}"; do - #: Restore the delimiter before parsing - MO_OPEN_DELIMITER=$moOpenDelimiterBefore - MO_CLOSE_DELIMITER=$moCloseDelimiterBefore - moCurrent=$MO_CURRENT - MO_CURRENT=$moArrayName.$moArrayIndex - mo::debug "Iterate over array using element: $MO_CURRENT" - mo::parse moParsed "$moTemp" "blockArray$MO_STANDALONE_CONTENT" - MO_CURRENT=$moCurrent - MO_PARSED="$MO_PARSED$moParsed" - done - - MO_UNPARSED=$moUnparsed - fi - fi - - MO_OPEN_DELIMITER=$moOpenDelimiterAfter - MO_CLOSE_DELIMITER=$moCloseDelimiterAfter - mo::debug "Done parsing block array: $moTokensString" -} - - -# Internal: Handle parsing a block whose first argument is a value -# -# $1 - Invert condition ("true" or "false") -# $2-@ - The parsed tokens from inside the block tags -# -# Returns nothing -mo::parseBlockValue() { - local moInvertBlock moTokens moResult moUnparsed moOpenDelimiterBefore moOpenDelimiterAfter moCloseDelimiterBefore moCloseDelimiterAfter moParsed moTemp moTokensString moCurrent - - moInvertBlock=$1 - moTokensString=$2 - shift 2 - moTokens=(${@+"$@"}) - mo::debug "Parsing block value: $moTokensString" - moOpenDelimiterBefore=$MO_OPEN_DELIMITER - moCloseDelimiterBefore=$MO_CLOSE_DELIMITER - mo::getContentUntilClose moTemp "$moTokensString" - moOpenDelimiterAfter=$MO_OPEN_DELIMITER - moCloseDelimiterAfter=$MO_CLOSE_DELIMITER - - #: Variable, value, or list of mixed things - mo::evaluateListOfSingles moResult "${moTokens[@]}" - - if mo::isTruthy "$moResult" "$moInvertBlock"; then - mo::debug "Block is truthy: $moResult" - #: Restore the delimiter before parsing - MO_OPEN_DELIMITER=$moOpenDelimiterBefore - MO_CLOSE_DELIMITER=$moCloseDelimiterBefore - moCurrent=$MO_CURRENT - MO_CURRENT=${moTokens[1]} - mo::parse moParsed "$moTemp" "blockValue$MO_STANDALONE_CONTENT" - MO_PARSED="$MO_PARSED$moParsed" - MO_CURRENT=$moCurrent - fi - - MO_OPEN_DELIMITER=$moOpenDelimiterAfter - MO_CLOSE_DELIMITER=$moCloseDelimiterAfter - mo::debug "Done parsing block value: $moTokensString" -} - - -# Internal: Handle parsing a partial -# -# No arguments. -# -# Indentation will be applied to the entire partial's contents before parsing. -# This indentation is based on the whitespace that ends the previously parsed -# content. -# -# Returns nothing -mo::parsePartial() { - local moFilename moResult moIndentation moN moR moTemp moT - - MO_UNPARSED=${MO_UNPARSED:1} - mo::trimUnparsed - mo::chomp moFilename "${MO_UNPARSED%%"$MO_CLOSE_DELIMITER"*}" - MO_UNPARSED="${MO_UNPARSED#*"$MO_CLOSE_DELIMITER"}" - moIndentation="" - - if mo::standaloneCheck; then - moN=$'\n' - moR=$'\r' - moT=$'\t' - moIndentation="$moN${MO_PARSED//"$moR"/"$moN"}" - moIndentation=${moIndentation##*"$moN"} - moTemp=${moIndentation// } - moTemp=${moTemp//"$moT"} - - if [[ -n "$moTemp" ]]; then - moIndentation= - fi - - mo::debug "Adding indentation to partial: '$moIndentation'" - mo::standaloneProcess - fi - - mo::debug "Parsing partial: $moFilename" - - #: Execute in subshell to preserve current cwd and environment - moResult=$( - #: It would be nice to remove `dirname` and use a function instead, - #: but that is difficult when only given filenames. - cd "$(dirname -- "$moFilename")" || exit 1 - echo "$( - local moPartialContent moPartialParsed - - if ! mo::contentFile moPartialContent "${moFilename##*/}"; then - exit 1 - fi - - #: Reset delimiters before parsing - mo::indentLines moPartialContent "$moIndentation" "$moPartialContent" - MO_OPEN_DELIMITER="$MO_OPEN_DELIMITER_DEFAULT" - MO_CLOSE_DELIMITER="$MO_CLOSE_DELIMITER_DEFAULT" - mo::parse moPartialParsed "$moPartialContent" - - #: Fix bash handling of subshells and keep trailing whitespace. - echo -n "$moPartialParsed." - )" || exit 1 - ) || exit 1 - - if [[ -z "$moResult" ]]; then - mo::debug "Error detected when trying to read the file" - exit 1 - fi - - MO_PARSED="$MO_PARSED${moResult%.}" -} - - -# Internal: Handle parsing a comment -# -# No arguments. -# -# Returns nothing -mo::parseComment() { - local moContent moContent - - MO_UNPARSED=${MO_UNPARSED#*"$MO_CLOSE_DELIMITER"} - mo::debug "Parsing comment" - - if mo::standaloneCheck; then - mo::standaloneProcess - fi -} - - -# Internal: Handle parsing the change of delimiters -# -# No arguments. -# -# Returns nothing -mo::parseDelimiter() { - local moContent moOpen moClose - - MO_UNPARSED=${MO_UNPARSED:1} - mo::trimUnparsed - mo::chomp moOpen "$MO_UNPARSED" - MO_UNPARSED=${MO_UNPARSED:${#moOpen}} - mo::trimUnparsed - mo::chomp moClose "${MO_UNPARSED%%="$MO_CLOSE_DELIMITER"*}" - MO_UNPARSED=${MO_UNPARSED#*="$MO_CLOSE_DELIMITER"} - mo::debug "Parsing delimiters: $moOpen $moClose" - - if mo::standaloneCheck; then - mo::standaloneProcess - fi - - MO_OPEN_DELIMITER="$moOpen" - MO_CLOSE_DELIMITER="$moClose" -} - - -# Internal: Handle parsing value or function call -# -# No arguments. -# -# Returns nothing -mo::parseValue() { - local moUnparsedOriginal moTokens - - moUnparsedOriginal=$MO_UNPARSED - mo::tokenizeTagContents moTokens "$MO_CLOSE_DELIMITER" - mo::evaluate moResult "${moTokens[@]:1}" - MO_PARSED="$MO_PARSED$moResult" - - if [[ "${MO_UNPARSED:0:${#MO_CLOSE_DELIMITER}}" != "$MO_CLOSE_DELIMITER" ]]; then - mo::errorNear "Did not find closing tag" "$moUnparsedOriginal" - fi - - if mo::standaloneCheck; then - mo::standaloneProcess - fi - - MO_UNPARSED=${MO_UNPARSED:${#MO_CLOSE_DELIMITER}} -} - - -# Internal: Determine if the given name is a defined function. -# -# $1 - Function name to check -# -# Be extremely careful. Even if strict mode is enabled, it is not honored -# in newer versions of Bash. Any errors that crop up here will not be -# caught automatically. -# -# Examples -# -# moo () { -# echo "This is a function" -# } -# if mo::isFunction moo; then -# echo "moo is a defined function" -# fi -# -# Returns 0 if the name is a function, 1 otherwise. -mo::isFunction() { - local moFunctionName - - for moFunctionName in "${MO_FUNCTION_CACHE_HIT[@]}"; do - if [[ "$moFunctionName" == "$1" ]]; then - return 0 - fi - done - - for moFunctionName in "${MO_FUNCTION_CACHE_MISS[@]}"; do - if [[ "$moFunctionName" == "$1" ]]; then - return 1 - fi - done - - if declare -F "$1" &> /dev/null; then - MO_FUNCTION_CACHE_HIT=( ${MO_FUNCTION_CACHE_HIT[@]+"${MO_FUNCTION_CACHE_HIT[@]}"} "$1" ) - - return 0 - fi - - MO_FUNCTION_CACHE_MISS=( ${MO_FUNCTION_CACHE_MISS[@]+"${MO_FUNCTION_CACHE_MISS[@]}"} "$1" ) - - return 1 -} - - -# Internal: Determine if a given environment variable exists and if it is -# an array. -# -# $1 - Name of environment variable -# -# Be extremely careful. Even if strict mode is enabled, it is not honored -# in newer versions of Bash. Any errors that crop up here will not be -# caught automatically. -# -# Examples -# -# var=(abc) -# if moIsArray var; then -# echo "This is an array" -# echo "Make sure you don't accidentally use \$var" -# fi -# -# Returns 0 if the name is not empty, 1 otherwise. -mo::isArray() { - #: Namespace this variable so we don't conflict with what we're testing. - local moTestResult - - moTestResult=$(declare -p "$1" 2>/dev/null) || return 1 - [[ "${moTestResult:0:10}" == "declare -a" ]] && return 0 - [[ "${moTestResult:0:10}" == "declare -A" ]] && return 0 - - return 1 -} - - -# Internal: Determine if an array index exists. -# -# $1 - Variable name to check -# $2 - The index to check -# -# Has to check if the variable is an array and if the index is valid for that -# type of array. -# -# Returns true (0) if everything was ok, 1 if there's any condition that fails. -mo::isArrayIndexValid() { - local moDeclare moTest - - moDeclare=$(declare -p "$1") - moTest="" - - if [[ "${moDeclare:0:10}" == "declare -a" ]]; then - #: Numerically indexed array - must check if the index looks like a - #: number because using a string to index a numerically indexed array - #: will appear like it worked. - if [[ "$2" == "0" ]] || [[ "$2" =~ ^[1-9][0-9]*$ ]]; then - #: Index looks like a number - eval "moTest=\"\${$1[$2]+ok}\"" - fi - elif [[ "${moDeclare:0:10}" == "declare -A" ]]; then - #: Associative array - eval "moTest=\"\${$1[$2]+ok}\"" - fi - - if [[ -n "$moTest" ]]; then - return 0; - fi - - return 1 -} - - -# Internal: Determine if a variable is assigned, even if it is assigned an empty -# value. -# -# $1 - Variable name to check. -# -# Can not use logic like this in case invalid variable names are passed. -# [[ "${!1-a}" == "${!1-b}" ]] -# -# Using logic like this gives false positives. -# [[ -v "$a" ]] -# -# Declaring a variable is not the same as assigning the variable. -# export x -# declare -p x # Output: declare -x x -# export y="" -# declare -p y # Output: declare -x y="" -# unset z -# declare -p z # Error code 1 and output: bash: declare: z: not found -# -# Returns true (0) if the variable is set, 1 if the variable is unset. -mo::isVarSet() { - if declare -p "$1" &> /dev/null && [[ -v "$1" ]]; then - return 0 - fi - - return 1 -} - - -# Internal: Determine if a value is considered truthy. -# -# $1 - The value to test -# $2 - Invert the value, either "true" or "false" -# -# Returns true (0) if truthy, 1 otherwise. -mo::isTruthy() { - local moTruthy - - moTruthy=true - - if [[ -z "${1-}" ]]; then - moTruthy=false - elif [[ -n "${MO_FALSE_IS_EMPTY-}" ]] && [[ "${1-}" == "false" ]]; then - moTruthy=false - fi - - #: XOR the results - #: moTruthy inverse desiredResult - #: true false true - #: true true false - #: false false false - #: false true true - if [[ "$moTruthy" == "$2" ]]; then - mo::debug "Value is falsy, test result: $moTruthy inverse: $2" - return 1 - fi - - mo::debug "Value is truthy, test result: $moTruthy inverse: $2" - return 0 -} - - -# Internal: Convert token list to values -# -# $1 - Destination variable name -# $2-@ - Tokens to convert -# -# Sample call: -# -# mo::evaluate dest NAME username VALUE abc123 PAREN 2 -# -# Returns nothing. -mo::evaluate() { - local moTarget moStack moValue moType moIndex moCombined moResult - - moTarget=$1 - shift - - #: Phase 1 - remove all command tokens (PAREN, BRACE) - moStack=() - - while [[ $# -gt 0 ]]; do - case "$1" in - PAREN|BRACE) - moType=$1 - moValue=$2 - mo::debug "Combining $moValue tokens" - moIndex=$((${#moStack[@]} - (2 * moValue))) - mo::evaluateListOfSingles moCombined "${moStack[@]:$moIndex}" - - if [[ "$moType" == "PAREN" ]]; then - moStack=("${moStack[@]:0:$moIndex}" NAME "$moCombined") - else - moStack=("${moStack[@]:0:$moIndex}" VALUE "$moCombined") - fi - ;; - - *) - moStack=(${moStack[@]+"${moStack[@]}"} "$1" "$2") - ;; - esac - - shift 2 - done - - #: Phase 2 - check if this is a function or if we should just concatenate values - if [[ "${moStack[0]:-}" == "NAME" ]] && mo::isFunction "${moStack[1]}"; then - #: Special case - if the first argument is a function, then the rest are - #: passed to the function. - mo::debug "Evaluating function: ${moStack[1]}" - mo::evaluateFunction moResult "" "${moStack[@]:1}" - else - #: Concatenate - mo::debug "Concatenating ${#moStack[@]} stack items" - mo::evaluateListOfSingles moResult ${moStack[@]+"${moStack[@]}"} - fi - - local "$moTarget" && mo::indirect "$moTarget" "$moResult" -} - - -# Internal: Convert an argument list to individual values. -# -# $1 - Destination variable name -# $2-@ - A list of argument types and argument name/value. -# -# This assumes each value is separate from the rest. In contrast, mo::evaluate -# will pass all arguments to a function if the first value is a function. -# -# Sample call: -# -# mo::evaluateListOfSingles dest NAME username VALUE abc123 -# -# Returns nothing. -mo::evaluateListOfSingles() { - local moResult moTarget moTemp - - moTarget=$1 - shift - moResult="" - - while [[ $# -gt 1 ]]; do - mo::evaluateSingle moTemp "$1" "$2" - moResult="$moResult$moTemp" - shift 2 - done - - mo::debug "Evaluated list of singles: $moResult" - - local "$moTarget" && mo::indirect "$moTarget" "$moResult" -} - - -# Internal: Evaluate a single argument -# -# $1 - Name of variable for result -# $2 - Type of argument, either NAME or VALUE -# $3 - Argument -# -# Returns nothing -mo::evaluateSingle() { - local moResult moType moArg - - moType=$2 - moArg=$3 - mo::debug "Evaluating $moType: $moArg ($MO_CURRENT)" - - if [[ "$moType" == "VALUE" ]]; then - moResult=$moArg - elif [[ "$moArg" == "." ]]; then - mo::evaluateVariable moResult "" - elif [[ "$moArg" == "@key" ]]; then - mo::evaluateKey moResult - elif mo::isFunction "$moArg"; then - mo::evaluateFunction moResult "" "$moArg" - else - mo::evaluateVariable moResult "$moArg" - fi - - local "$1" && mo::indirect "$1" "$moResult" -} - - -# Internal: Return the value for @key based on current's name -# -# $1 - Name of variable for result -# -# Returns nothing -mo::evaluateKey() { - local moResult - - if [[ "$MO_CURRENT" == *.* ]]; then - moResult="${MO_CURRENT#*.}" - else - moResult="${MO_CURRENT}" - fi - - local "$1" && mo::indirect "$1" "$moResult" -} - - -# Internal: Handle a variable name -# -# $1 - Destination variable name -# $2 - Variable name -# -# Returns nothing. -mo::evaluateVariable() { - local moResult moArg moNameParts - - moArg=$2 - moResult="" - mo::findVariableName moNameParts "$moArg" - mo::debug "Evaluate variable ($moArg, $MO_CURRENT): ${moNameParts[*]}" - - if [[ -z "${moNameParts[1]}" ]]; then - if mo::isArray "${moNameParts[0]}"; then - eval mo::join moResult "," "\${${moNameParts[0]}[@]}" - else - if mo::isVarSet "${moNameParts[0]}"; then - moResult=${moNameParts[0]} - moResult="${!moResult}" - elif [[ -n "${MO_FAIL_ON_UNSET-}" ]]; then - mo::error "Environment variable not set: ${moNameParts[0]}" - fi - fi - else - if mo::isArray "${moNameParts[0]}"; then - eval "set +u;moResult=\"\${${moNameParts[0]}[${moNameParts[1]%%.*}]}\"" - else - mo::error "Unable to index a scalar as an array: $moArg" - fi - fi - - local "$1" && mo::indirect "$1" "$moResult" -} - - -# Internal: Find the name of a variable to use -# -# $1 - Destination variable name, receives an array -# $2 - Variable name from the template -# -# The array contains the following values -# [0] - Variable name -# [1] - Array index, or empty string -# -# Example variables -# a="a" -# b="b" -# c=("c.0" "c.1") -# d=([b]="d.b" [d]="d.d") -# -# Given these inputs (function input, current value), produce these outputs -# a c => a -# a c.0 => a -# b d => d.b -# b d.d => d.b -# a d => d.a -# a d.d => d.a -# c.0 d => c.0 -# d.b d => d.b -# '' c => c -# '' c.0 => c.0 -# Returns nothing. -mo::findVariableName() { - local moVar moNameParts moResultBase moResultIndex moCurrent - - moVar=$2 - moResultBase=$moVar - moResultIndex="" - - if [[ -z "$moVar" ]]; then - moResultBase=${MO_CURRENT%%.*} - - if [[ "$MO_CURRENT" == *.* ]]; then - moResultIndex=${MO_CURRENT#*.} - fi - elif [[ "$moVar" == *.* ]]; then - mo::debug "Find variable name; name has dot: $moVar" - moResultBase=${moVar%%.*} - moResultIndex=${moVar#*.} - elif [[ -n "$MO_CURRENT" ]]; then - moCurrent=${MO_CURRENT%%.*} - mo::debug "Find variable name; look in array: $moCurrent" - - if mo::isArrayIndexValid "$moCurrent" "$moVar"; then - moResultBase=$moCurrent - moResultIndex=$moVar - fi - fi - - local "$1" && mo::indirectArray "$1" "$moResultBase" "$moResultIndex" -} - - -# Internal: Join / implode an array -# -# $1 - Variable name to receive the joined content -# $2 - Joiner -# $3-@ - Elements to join -# -# Returns nothing. -mo::join() { - local joiner part result target - - target=$1 - joiner=$2 - result=$3 - shift 3 - - for part in "$@"; do - result="$result$joiner$part" - done - - local "$target" && mo::indirect "$target" "$result" -} - - -# Internal: Call a function. -# -# $1 - Variable for output -# $2 - Content to pass -# $3 - Function to call -# $4-@ - Additional arguments as list of type, value/name -# -# Returns nothing. -mo::evaluateFunction() { - local moArgs moContent moFunctionResult moTarget moFunction moTemp moFunctionCall - - moTarget=$1 - moContent=$2 - moFunction=$3 - shift 3 - moArgs=() - - while [[ $# -gt 1 ]]; do - mo::evaluateSingle moTemp "$1" "$2" - moArgs=(${moArgs[@]+"${moArgs[@]}"} "$moTemp") - shift 2 - done - - mo::escape moFunctionCall "$moFunction" - - if [[ -n "${MO_ALLOW_FUNCTION_ARGUMENTS-}" ]]; then - mo::debug "Function arguments are allowed" - - if [[ ${#moArgs[@]} -gt 0 ]]; then - for moTemp in "${moArgs[@]}"; do - mo::escape moTemp "$moTemp" - moFunctionCall="$moFunctionCall $moTemp" - done - fi - fi - - mo::debug "Calling function: $moFunctionCall" - - #: Call the function in a subshell for safety. Employ the trick to preserve - #: whitespace at the end of the output. - moContent=$( - export MO_FUNCTION_ARGS=(${moArgs[@]+"${moArgs[@]}"}) - echo -n "$moContent" | eval "$moFunctionCall ; moFunctionResult=\$? ; echo -n '.' ; exit \"\$moFunctionResult\"" - ) || { - moFunctionResult=$? - if [[ -n "${MO_FAIL_ON_FUNCTION-}" && "$moFunctionResult" != 0 ]]; then - mo::error "Function failed with status code $moFunctionResult: $moFunctionCall" "$moFunctionResult" - fi - } - - local "$moTarget" && mo::indirect "$moTarget" "${moContent%.}" -} - - -# Internal: Check if a tag appears to have only whitespace before it and after -# it on a line. There must be a new line before and there must be a newline -# after or the end of a string -# -# No arguments. -# -# Returns 0 if this is a standalone tag, 1 otherwise. -mo::standaloneCheck() { - local moContent moN moR moT - - moN=$'\n' - moR=$'\r' - moT=$'\t' - - #: Check the content before - moContent=${MO_STANDALONE_CONTENT//"$moR"/"$moN"} - - #: By default, signal to the next check that this one failed - MO_STANDALONE_CONTENT="" - - if [[ "$moContent" != *"$moN"* ]]; then - mo::debug "Not a standalone tag - no newline before" - - return 1 - fi - - moContent=${moContent##*"$moN"} - moContent=${moContent//"$moT"/} - moContent=${moContent// /} - - if [[ -n "$moContent" ]]; then - mo::debug "Not a standalone tag - non-whitespace detected before tag" - - return 1 - fi - - #: Check the content after - moContent=${MO_UNPARSED//"$moR"/"$moN"} - moContent=${moContent%%"$moN"*} - moContent=${moContent//"$moT"/} - moContent=${moContent// /} - - if [[ -n "$moContent" ]]; then - mo::debug "Not a standalone tag - non-whitespace detected after tag" - - return 1 - fi - - #: Signal to the next check that this tag removed content - MO_STANDALONE_CONTENT=$'\n' - - return 0 -} - - -# Internal: Process content before and after a tag. Remove prior whitespace up -# to the previous newline. Remove following whitespace up to and including the -# next newline. -# -# No arguments. -# -# Returns nothing. -mo::standaloneProcess() { - local moI moTemp - - mo::debug "Standalone tag - processing content before and after tag" - moI=$((${#MO_PARSED} - 1)) - mo::debug "zero done ${#MO_PARSED}" - mo::escape moTemp "$MO_PARSED" - mo::debug "$moTemp" - - while [[ "${MO_PARSED:$moI:1}" == " " || "${MO_PARSED:$moI:1}" == $'\t' ]]; do - moI=$((moI - 1)) - done - - if [[ $((moI + 1)) != "${#MO_PARSED}" ]]; then - MO_PARSED="${MO_PARSED:0:${moI}+1}" - fi - - moI=0 - - while [[ "${MO_UNPARSED:${moI}:1}" == " " || "${MO_UNPARSED:${moI}:1}" == $'\t' ]]; do - moI=$((moI + 1)) - done - - if [[ "${MO_UNPARSED:${moI}:1}" == $'\r' ]]; then - moI=$((moI + 1)) - fi - - if [[ "${MO_UNPARSED:${moI}:1}" == $'\n' ]]; then - moI=$((moI + 1)) - fi - - if [[ "$moI" != 0 ]]; then - MO_UNPARSED=${MO_UNPARSED:${moI}} - fi -} - - -# Internal: Apply indentation before any line that has content in MO_UNPARSED. -# -# $1 - Destination variable name. -# $2 - The indentation string. -# $3 - The content that needs the indentation string prepended on each line. -# -# Returns nothing. -mo::indentLines() { - local moContent moIndentation moResult moN moR moChunk - - moIndentation=$2 - moContent=$3 - - if [[ -z "$moIndentation" ]]; then - mo::debug "Not applying indentation, empty indentation" - - local "$1" && mo::indirect "$1" "$moContent" - return - fi - - if [[ -z "$moContent" ]]; then - mo::debug "Not applying indentation, empty contents" - - local "$1" && mo::indirect "$1" "$moContent" - return - fi - - moResult= - moN=$'\n' - moR=$'\r' - - mo::debug "Applying indentation: '${moIndentation}'" - - while [[ -n "$moContent" ]]; do - moChunk=${moContent%%"$moN"*} - moChunk=${moChunk%%"$moR"*} - moContent=${moContent:${#moChunk}} - - if [[ -n "$moChunk" ]]; then - moResult="$moResult$moIndentation$moChunk" - fi - - moResult="$moResult${moContent:0:1}" - moContent=${moContent:1} - done - - local "$1" && mo::indirect "$1" "$moResult" -} - - -# Internal: Escape a value -# -# $1 - Destination variable name -# $2 - Value to escape -# -# Returns nothing -mo::escape() { - local moResult - - moResult=$2 - moResult=$(declare -p moResult) - moResult=${moResult#*=} - - local "$1" && mo::indirect "$1" "$moResult" -} - - -# Internal: Get the content up to the end of the block by minimally parsing and -# balancing blocks. Returns the content before the end tag to the caller and -# removes the content + the end tag from MO_UNPARSED. This can change the -# delimiters, adjusting MO_OPEN_DELIMITER and MO_CLOSE_DELIMITER. -# -# $1 - Destination variable name -# $2 - Token string to match for a closing tag -# -# Returns nothing. -mo::getContentUntilClose() { - local moChunk moResult moTemp moTokensString moTokens moTarget moTagStack moResultTemp - - moTarget=$1 - moTagStack=("$2") - mo::debug "Get content until close tag: ${moTagStack[0]}" - moResult="" - - while [[ -n "$MO_UNPARSED" ]] && [[ "${#moTagStack[@]}" -gt 0 ]]; do - moChunk=${MO_UNPARSED%%"$MO_OPEN_DELIMITER"*} - moResult="$moResult$moChunk" - MO_UNPARSED=${MO_UNPARSED:${#moChunk}} - - if [[ -n "$MO_UNPARSED" ]]; then - moResultTemp="$MO_OPEN_DELIMITER" - MO_UNPARSED=${MO_UNPARSED:${#MO_OPEN_DELIMITER}} - mo::getContentTrim moTemp - moResultTemp="$moResultTemp$moTemp" - mo::debug "First character within tag: ${MO_UNPARSED:0:1}" - - case "$MO_UNPARSED" in - '#'*) - #: Increase block - moResultTemp="$moResultTemp${MO_UNPARSED:0:1}" - MO_UNPARSED=${MO_UNPARSED:1} - mo::getContentTrim moTemp - mo::getContentWithinTag moTemp "$MO_CLOSE_DELIMITER" - moResultTemp="$moResultTemp${moTemp[0]}" - moTagStack=("${moTemp[1]}" "${moTagStack[@]}") - ;; - - '^'*) - #: Increase block - moResultTemp="$moResultTemp${MO_UNPARSED:0:1}" - MO_UNPARSED=${MO_UNPARSED:1} - mo::getContentTrim moTemp - mo::getContentWithinTag moTemp "$MO_CLOSE_DELIMITER" - moResultTemp="$moResultTemp${moTemp[0]}" - moTagStack=("${moTemp[1]}" "${moTagStack[@]}") - ;; - - '>'*) - #: Partial - ignore - moResultTemp="$moResultTemp${MO_UNPARSED:0:1}" - MO_UNPARSED=${MO_UNPARSED:1} - mo::getContentTrim moTemp - mo::getContentWithinTag moTemp "$MO_CLOSE_DELIMITER" - moResultTemp="$moResultTemp${moTemp[0]}" - ;; - - '/'*) - #: Decrease block - moResultTemp="$moResultTemp${MO_UNPARSED:0:1}" - MO_UNPARSED=${MO_UNPARSED:1} - mo::getContentTrim moTemp - mo::getContentWithinTag moTemp "$MO_CLOSE_DELIMITER" - - if [[ "${moTagStack[0]}" == "${moTemp[1]}" ]]; then - moResultTemp="$moResultTemp${moTemp[0]}" - moTagStack=("${moTagStack[@]:1}") - - if [[ "${#moTagStack[@]}" -eq 0 ]]; then - #: Erase all portions of the close tag - moResultTemp="" - fi - else - mo::errorNear "Unbalanced closing tag, expected: ${moTagStack[0]}" "${moTemp[0]}${MO_UNPARSED}" - fi - ;; - - '!'*) - #: Comment - ignore - mo::getContentComment moTemp - moResultTemp="$moResultTemp$moTemp" - ;; - - '='*) - #: Change delimiters - mo::getContentDelimiter moTemp - moResultTemp="$moResultTemp$moTemp" - ;; - - '&'*) - #: Unescaped - bypass one then ignore - moResultTemp="$moResultTemp${MO_UNPARSED:0:1}" - MO_UNPARSED=${MO_UNPARSED:1} - mo::getContentTrim moTemp - moResultTemp="$moResultTemp$moTemp" - mo::getContentWithinTag moTemp "$MO_CLOSE_DELIMITER" - moResultTemp="$moResultTemp${moTemp[0]}" - ;; - - *) - #: Normal variable - ignore - mo::getContentWithinTag moTemp "$MO_CLOSE_DELIMITER" - moResultTemp="$moResultTemp${moTemp[0]}" - ;; - esac - - moResult="$moResult$moResultTemp" - fi - done - - MO_STANDALONE_CONTENT="$MO_STANDALONE_CONTENT$moResult" - - if mo::standaloneCheck; then - moResultTemp=$MO_PARSED - MO_PARSED=$moResult - mo::standaloneProcess - moResult=$MO_PARSED - MO_PARSED=$moResultTemp - fi - - local "$moTarget" && mo::indirect "$moTarget" "$moResult" -} - - -# Internal: Convert a list of tokens to a string -# -# $1 - Destination variable for the string -# $2-$@ - Token list -# -# Returns nothing. -mo::tokensToString() { - local moTarget moString moTokens - - moTarget=$1 - shift 1 - moTokens=("$@") - moString=$(declare -p moTokens) - moString=${moString#*=} - - local "$moTarget" && mo::indirect "$moTarget" "$moString" -} - - -# Internal: Trims content from MO_UNPARSED, returns trimmed content. -# -# $1 - Destination variable -# -# Returns nothing. -mo::getContentTrim() { - local moChar moResult - - moChar=${MO_UNPARSED:0:1} - moResult="" - - while [[ "$moChar" == " " ]] || [[ "$moChar" == $'\r' ]] || [[ "$moChar" == $'\t' ]] || [[ "$moChar" == $'\n' ]]; do - moResult="$moResult$moChar" - MO_UNPARSED=${MO_UNPARSED:1} - moChar=${MO_UNPARSED:0:1} - done - - local "$1" && mo::indirect "$1" "$moResult" -} - - -# Get the content up to and including a close tag -# -# $1 - Destination variable -# -# Returns nothing. -mo::getContentComment() { - local moResult - - mo::debug "Getting content for comment" - moResult=${MO_UNPARSED%%"$MO_CLOSE_DELIMITER"*} - MO_UNPARSED=${MO_UNPARSED:${#moResult}} - - if [[ "$MO_UNPARSED" == "$MO_CLOSE_DELIMITER"* ]]; then - moResult="$moResult$MO_CLOSE_DELIMITER" - MO_UNPARSED=${MO_UNPARSED#"$MO_CLOSE_DELIMITER"} - fi - - local "$1" && mo::indirect "$1" "$moResult" -} - - -# Get the content up to and including a close tag. First two non-whitespace -# tokens become the new open and close tag. -# -# $1 - Destination variable -# -# Returns nothing. -mo::getContentDelimiter() { - local moResult moTemp moOpen moClose - - mo::debug "Getting content for delimiter" - moResult="" - mo::getContentTrim moTemp - moResult="$moResult$moTemp" - mo::chomp moOpen "$MO_UNPARSED" - MO_UNPARSED="${MO_UNPARSED:${#moOpen}}" - moResult="$moResult$moOpen" - mo::getContentTrim moTemp - moResult="$moResult$moTemp" - mo::chomp moClose "${MO_UNPARSED%%="$MO_CLOSE_DELIMITER"*}" - MO_UNPARSED="${MO_UNPARSED:${#moClose}}" - moResult="$moResult$moClose" - mo::getContentTrim moTemp - moResult="$moResult$moTemp" - MO_OPEN_DELIMITER="$moOpen" - MO_CLOSE_DELIMITER="$moClose" - - local "$1" && mo::indirect "$1" "$moResult" -} - - -# Get the content up to and including a close tag. First two non-whitespace -# tokens become the new open and close tag. -# -# $1 - Destination variable, an array -# $2 - Terminator string -# -# The array contents: -# [0] The raw content within the tag -# [1] The parsed tokens as a single string -# -# Returns nothing. -mo::getContentWithinTag() { - local moUnparsed moTokens - - moUnparsed=${MO_UNPARSED} - mo::tokenizeTagContents moTokens "$MO_CLOSE_DELIMITER" - MO_UNPARSED=${MO_UNPARSED#"$MO_CLOSE_DELIMITER"} - mo::tokensToString moTokensString "${moTokens[@]:1}" - moParsed=${moUnparsed:0:$((${#moUnparsed} - ${#MO_UNPARSED}))} - - local "$1" && mo::indirectArray "$1" "$moParsed" "$moTokensString" -} - - -# Internal: Parse MO_UNPARSED and retrieve the content within the tag -# delimiters. Converts everything into an array of string values. -# -# $1 - Destination variable for the array of contents. -# $2 - Stop processing when this content is found. -# -# The list of tokens are in RPN form. The first item in the resulting array is -# the number of actual tokens (after combining command tokens) in the list. -# -# Given: a 'bc' "de\"\n" (f {g 'h'}) -# Result: ([0]=4 [1]=NAME [2]=a [3]=VALUE [4]=bc [5]=VALUE [6]=$'de\"\n' -# [7]=NAME [8]=f [9]=NAME [10]=g [11]=VALUE [12]=h -# [13]=BRACE [14]=2 [15]=PAREN [16]=2 -# -# Returns nothing -mo::tokenizeTagContents() { - local moResult moTerminator moTemp moUnparsedOriginal moTokenCount - - moTerminator=$2 - moResult=() - moUnparsedOriginal=$MO_UNPARSED - moTokenCount=0 - mo::debug "Tokenizing tag contents until terminator: $moTerminator" - - while true; do - mo::trimUnparsed - - case "$MO_UNPARSED" in - "") - mo::errorNear "Did not find matching terminator: $moTerminator" "$moUnparsedOriginal" - ;; - - "$moTerminator"*) - mo::debug "Found terminator" - local "$1" && mo::indirectArray "$1" "$moTokenCount" ${moResult[@]+"${moResult[@]}"} - return - ;; - - '('*) - #: Do not tokenize the open paren - treat this as RPL - MO_UNPARSED=${MO_UNPARSED:1} - mo::tokenizeTagContents moTemp ')' - moResult=(${moResult[@]+"${moResult[@]}"} "${moTemp[@]:1}" PAREN "${moTemp[0]}") - MO_UNPARSED=${MO_UNPARSED:1} - ;; - - '{'*) - #: Do not tokenize the open brace - treat this as RPL - MO_UNPARSED=${MO_UNPARSED:1} - mo::tokenizeTagContents moTemp '}' - moResult=(${moResult[@]+"${moResult[@]}"} "${moTemp[@]:1}" BRACE "${moTemp[0]}") - MO_UNPARSED=${MO_UNPARSED:1} - ;; - - ')'* | '}'*) - mo::errorNear "Unbalanced closing parenthesis or brace" "$MO_UNPARSED" - ;; - - "'"*) - mo::tokenizeTagContentsSingleQuote moTemp - moResult=(${moResult[@]+"${moResult[@]}"} "${moTemp[@]}") - ;; - - '"'*) - mo::tokenizeTagContentsDoubleQuote moTemp - moResult=(${moResult[@]+"${moResult[@]}"} "${moTemp[@]}") - ;; - - *) - mo::tokenizeTagContentsName moTemp - moResult=(${moResult[@]+"${moResult[@]}"} "${moTemp[@]}") - ;; - esac - - mo::debug "Got chunk: ${moTemp[0]} ${moTemp[1]}" - moTokenCount=$((moTokenCount + 1)) - done -} - - -# Internal: Get the contents of a variable name. -# -# $1 - Destination variable name for the token list (array of strings) -# -# Returns nothing -mo::tokenizeTagContentsName() { - local moTemp - - mo::chomp moTemp "${MO_UNPARSED%%"$MO_CLOSE_DELIMITER"*}" - moTemp=${moTemp%%(*} - moTemp=${moTemp%%)*} - moTemp=${moTemp%%\{*} - moTemp=${moTemp%%\}*} - MO_UNPARSED=${MO_UNPARSED:${#moTemp}} - mo::trimUnparsed - mo::debug "Parsed default token: $moTemp" - - local "$1" && mo::indirectArray "$1" "NAME" "$moTemp" -} - - -# Internal: Get the contents of a tag in double quotes. Parses the backslash -# sequences. -# -# $1 - Destination variable name for the token list (array of strings) -# -# Returns nothing. -mo::tokenizeTagContentsDoubleQuote() { - local moResult moUnparsedOriginal - - moUnparsedOriginal=$MO_UNPARSED - MO_UNPARSED=${MO_UNPARSED:1} - moResult= - mo::debug "Getting double quoted tag contents" - - while true; do - if [[ -z "$MO_UNPARSED" ]]; then - mo::errorNear "Unbalanced double quote" "$moUnparsedOriginal" - fi - - case "$MO_UNPARSED" in - '"'*) - MO_UNPARSED=${MO_UNPARSED:1} - local "$1" && mo::indirectArray "$1" "VALUE" "$moResult" - return - ;; - - \\b*) - moResult="$moResult"$'\b' - MO_UNPARSED=${MO_UNPARSED:2} - ;; - - \\e*) - #: Note, \e is ESC, but in Bash $'\E' is ESC. - moResult="$moResult"$'\E' - MO_UNPARSED=${MO_UNPARSED:2} - ;; - - \\f*) - moResult="$moResult"$'\f' - MO_UNPARSED=${MO_UNPARSED:2} - ;; - - \\n*) - moResult="$moResult"$'\n' - MO_UNPARSED=${MO_UNPARSED:2} - ;; - - \\r*) - moResult="$moResult"$'\r' - MO_UNPARSED=${MO_UNPARSED:2} - ;; - - \\t*) - moResult="$moResult"$'\t' - MO_UNPARSED=${MO_UNPARSED:2} - ;; - - \\v*) - moResult="$moResult"$'\v' - MO_UNPARSED=${MO_UNPARSED:2} - ;; - - \\*) - moResult="$moResult${MO_UNPARSED:1:1}" - MO_UNPARSED=${MO_UNPARSED:2} - ;; - - *) - moResult="$moResult${MO_UNPARSED:0:1}" - MO_UNPARSED=${MO_UNPARSED:1} - ;; - esac - done -} - - -# Internal: Get the contents of a tag in single quotes. Only gets the raw -# value. -# -# $1 - Destination variable name for the token list (array of strings) -# -# Returns nothing. -mo::tokenizeTagContentsSingleQuote() { - local moResult moUnparsedOriginal - - moUnparsedOriginal=$MO_UNPARSED - MO_UNPARSED=${MO_UNPARSED:1} - moResult= - mo::debug "Getting single quoted tag contents" - - while true; do - if [[ -z "$MO_UNPARSED" ]]; then - mo::errorNear "Unbalanced single quote" "$moUnparsedOriginal" - fi - - case "$MO_UNPARSED" in - "'"*) - MO_UNPARSED=${MO_UNPARSED:1} - local "$1" && mo::indirectArray "$1" VALUE "$moResult" - return - ;; - - *) - moResult="$moResult${MO_UNPARSED:0:1}" - MO_UNPARSED=${MO_UNPARSED:1} - ;; - esac - done -} - - -# Save the original command's path for usage later -MO_ORIGINAL_COMMAND="$(cd "${BASH_SOURCE[0]%/*}" || exit 1; pwd)/${BASH_SOURCE[0]##*/}" -MO_VERSION="3.0.7" - -# If sourced, load all functions. -# If executed, perform the actions as expected. -if [[ "$0" == "${BASH_SOURCE[0]}" ]] || [[ -z "${BASH_SOURCE[0]}" ]]; then - mo "$@" -fi diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/run-spec b/vendor/git.knownelement.com/ExternalVendorCode/mo/run-spec deleted file mode 100755 index 132f057..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/run-spec +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env bash - -# Install or update the specs -if [[ ! -d spec ]]; then - git clone https://github.com/mustache/spec.git spec -else - ( - cd spec - git pull - ) -fi - -if [[ "$BASH_VERSION" == 3.* ]]; then - echo "WARNING! Specs assume you are using a version of Bash with associative arrays!" -fi - -# Actually run the specs -node run-spec.js spec/specs/*.json - -if [[ "$BASH_VERSION" == 3.* ]]; then - echo "Some tests may have failed because they assume Bash supports associative arays" -fi diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/run-spec.js b/vendor/git.knownelement.com/ExternalVendorCode/mo/run-spec.js deleted file mode 100644 index 786a6ec..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/run-spec.js +++ /dev/null @@ -1,512 +0,0 @@ -#!/usr/bin/env node - -const exec = require("child_process").exec; -const fsPromises = require("fs").promises; - -// Skip or override portions of tests. The goal is to still have as much -// coverage as possible, but skip things that Bash does not support. -// -// To skip a test, define a "skip" property and explain why the test is -// skipped. -// -// To override any test property, just define that property. It replaces the -// original property, not augmenting it. -const testOverrides = { - "Comments -> Variable Name Collision": { - // Can't use variables with exclamation points easily - data: { - comment: 4 - } - }, - "Interpolation -> Dotted Names - Arbitrary Depth": { - skip: "Not able to use more than one level of depth" - }, - "Interpolation -> Dotted Names - Broken Chain Resolution": { - data: { - a: { - b: "wrong" - }, - name: "Jim" - }, - template: '"{{a.name}}" == ""' - }, - "Interpolation -> Dotted Names - Initial Resolution": { - data: { - a: { - name: "Phil" - }, - name: "Wrong" - }, - template: "\"{{#a}}{{name}}{{/a}}\" == \"Phil\"" - }, - "Interpolation -> Implicit Iterators - Ampersand": { - skip: "HTML escaping is not supported" - }, - "Interpolation -> Implicit Iterators - Basic Interpolation": { - skip: "Can not use {{.}} outside of a loop. Need to use a variable name." - }, - "Interpolation -> Implicit Iterators - Basic Integer Interpolation": { - skip: "Can not use {{.}} outside of a loop. Need to use a variable name." - }, - "Interpolation -> Implicit Iterators - Triple Mustache": { - skip: "Can not use {{.}} outside of a loop. Need to use a variable name." - }, - "Interpolation -> HTML Escaping": { - skip: "HTML escaping is not supported" - }, - "Interpolation -> Implicit Iterators - HTML Escaping": { - skip: "HTML escaping is not supported" - }, - "Inverted -> Dotted Names - Falsey": { - data: { - a: { - b: "" - } - }, - template: '"{{^a.b}}Not Here{{/a.b}}" == "Not Here"' - }, - "Inverted -> Dotted Names - Truthy": { - data: { - a: { - b: "1" - } - }, - template: '"{{^a.b}}Not Here{{/a.b}}" == ""' - }, - "Lambdas -> Escaping": { - skip: "HTML escaping is not supported" - }, - "Lambdas -> Interpolation - Alternate Delimiters": { - skip: "There is no difference between a lamba used as a value and a lambda used as a block. Both will parse using the current delimiters." - }, - "Lambdas -> Inverted Section": { - // This one passed mostly by accident. Correcting so the test still - // tests what is was designed to illustrate. - data: { - static: "static", - lambda: { - __tag__: 'code', - bash: 'false' - } - } - }, - "Lambdas -> Interpolation": { - data: { - lambda: { - __tag__: 'code', - bash: 'echo -n "world"' - } - } - }, - "Lambdas -> Interpolation - Expansion": { - data: { - lambda: { - __tag__: 'code', - bash: 'mo::parse result "{{planet}}"; echo -n "$result"' - }, - planet: 'world' - } - }, - "Lambdas -> Interpolation - Multiple Calls": { - skip: "Calls are not cached, but they run in isolated environments, so saving a global variable does not work." - }, - "Lambdas -> Section": { - data: { - lambda: { - __tag__: 'code', - bash: 'if [[ "$(cat)" == "{{x}}" ]]; then echo -n yes; else echo -n no; fi' - }, - x: "Error!" - } - }, - "Lambdas -> Section - Alternate Delimiters": { - data: { - lambda: { - __tag__: 'code', - bash: 'local content=$(cat); mo::parse content "$content{{planet}} => |planet|$content"; echo -n "$content"' - }, - planet: 'Earth' - } - }, - "Lambdas -> Section - Expansion": { - data: { - lambda: { - __tag__: 'code', - bash: 'local content=$(cat); mo::parse content "$content{{planet}}$content"; echo -n "$content"' - }, - planet: "Earth" - } - }, - "Lambdas -> Section - Multiple Calls": { - data: { - lambda: { - __tag__: 'code', - bash: 'echo -n "__$(cat)__"' - } - } - }, - "Partials -> Recursion": { - skip: "Complex objects are not supported and context is reset to the global level, so the recursion will loop forever" - }, - "Sections -> Deeply Nested Contexts": { - skip: "Nested objects are not supported" - }, - "Sections -> Dotted Names - Broken Chains": { - // Complex objects are not supported - template: `"{{#a.b}}Here{{/a.b}}" == ""` - }, - "Sections -> Dotted Names - Falsey": { - // Complex objects are not supported - data: { a: { b: false } }, - template: `"{{#a.b}}Here{{/a.b}}" == ""` - }, - "Sections -> Dotted Names - Truthy": { - // Complex objects are not supported - data: { a: { b: true } }, - template: `"{{#a.b}}Here{{/a.b}}" == "Here"` - }, - "Sections -> Implicit Iterator - Array": { - skip: "Nested arrays are not supported" - }, - "Sections -> List": { - // Arrays of objects are not supported - data: { list: [1, 2, 3] }, - template: `"{{#list}}{{.}}{{/list}}"` - }, - "Sections -> List Context": { - skip: "Deeply nested objects are not supported" - }, - "Sections -> List Contexts": { - skip: "Deeply nested objects are not supported" - } -}; - -function specFileToName(file) { - return file - .replace(/.*\//, "") - .replace(".json", "") - .replace("~", "") - .replace(/(^|-)[a-z]/g, function (match) { - return match.toUpperCase(); - }); -} - -function processArraySequentially(array, callback) { - function processCopy() { - if (arrayCopy.length) { - const item = arrayCopy.shift(); - return Promise.resolve(item) - .then(callback) - .then((singleResult) => { - result.push(singleResult); - - return processCopy(); - }); - } else { - return Promise.resolve(result); - } - } - - const result = []; - const arrayCopy = array.slice(); - - return processCopy(); -} - -function debug(...args) { - if (process.env.DEBUG) { - console.debug(...args); - } -} - -function makeShellString(value) { - if (typeof value === "boolean") { - return value ? '"true"' : '""'; - } - - if (typeof value === "string") { - // Newlines are tricky - return value - .split(/\n/) - .map(function (chunk) { - return JSON.stringify(chunk); - }) - .join('"\n"'); - } - - if (typeof value === "number") { - return value; - } - - return "ERR_CONVERTING"; -} - -function addToEnvironmentArray(name, value) { - const result = ["("]; - value.forEach(function (subValue) { - result.push(makeShellString(subValue)); - }); - result.push(")"); - - return name + "=" + result.join(" "); -} - -function addToEnvironmentObjectConvertedToAssociativeArray(name, value) { - const values = []; - - for (const [k, v] of Object.entries(value)) { - if (typeof v === "object") { - if (v) { - // An object - abort - return `# ${name}.${k} is an object that can not be converted to an associative array`; - } - - // null - values.push(`[${k}]=`); - } else { - values.push(`[${k}]=${makeShellString(v)}`); - } - } - - return `declare -A ${name}\n${name}=(${values.join(" ")})`; -} - -function addToEnvironmentObject(name, value) { - if (!value) { - // null - return `#${name} is null`; - } - - if (value.__tag__ === "code") { - return `${name}() { ${value.bash || 'echo "NO BASH VERSION OF CODE"'}; }`; - } - - return addToEnvironmentObjectConvertedToAssociativeArray(name, value); -} - -function addToEnvironment(name, value) { - if (Array.isArray(value)) { - return addToEnvironmentArray(name, value); - } - - if (typeof value === "object") { - return addToEnvironmentObject(name, value); - } - - return `${name}=${makeShellString(value)}`; -} - -function buildScript(test) { - const script = ["#!/usr/bin/env bash"]; - Object.keys(test.data).forEach(function (name) { - script.push(addToEnvironment(name, test.data[name])); - }); - script.push(". ./mo"); - script.push("mo spec-runner/spec-template"); - script.push(""); - - return script.join("\n"); -} - -function writePartials(test) { - return processArraySequentially( - Object.keys(test.partials), - (partialName) => { - debug("Writing partial:", partialName); - - return fsPromises.writeFile( - "spec-runner/" + partialName, - test.partials[partialName] - ); - } - ); -} - -function setupEnvironment(test) { - return cleanup() - .then(() => fsPromises.mkdir("spec-runner/")) - .then(() => - fsPromises.writeFile("spec-runner/spec-script", test.script) - ) - .then(() => - fsPromises.writeFile("spec-runner/spec-template", test.template) - ) - .then(() => writePartials(test)); -} - -function executeScript(test) { - return new Promise((resolve) => { - exec( - "bash spec-runner/spec-script 2>&1", - { - timeout: 2000 - }, - (err, stdout) => { - if (err) { - test.scriptError = err.toString(); - } - - test.output = stdout; - resolve(); - } - ); - }); -} - -function cleanup() { - return fsPromises.rm("spec-runner/", { force: true, recursive: true }); -} - -function detectFailure(test) { - if (test.scriptError) { - return true; - } - - if (test.output !== test.expected) { - return true; - } - - return false; -} - -function showFailureDetails(test) { - console.log(`FAILURE: ${test.fullName}`); - console.log(""); - console.log(test.desc); - console.log(""); - console.log(JSON.stringify(test, null, 4)); -} - -function applyTestOverrides(test) { - const overrides = testOverrides[test.fullName]; - const originals = {}; - - if (!overrides) { - return; - } - - for (const [key, value] of Object.entries(overrides)) { - originals[key] = test[key]; - test[key] = value; - } - - test.overridesApplied = true; - test.valuesBeforeOverride = originals; -} - -function runTest(testSet, test) { - test.partials = test.partials || {}; - test.fullName = `${testSet.name} -> ${test.name}`; - applyTestOverrides(test); - test.script = buildScript(test); - - if (test.skip) { - debug("Skipping test:", test.fullName, `(${test.skip})`); - - return Promise.resolve(); - } - - debug("Running test:", test.fullName); - - return setupEnvironment(test) - .then(() => executeScript(test)) - .then(cleanup) - .then(() => { - test.isFailure = detectFailure(test); - - if (test.isFailure) { - showFailureDetails(test); - } else { - debug('Test pass:', test.fullName); - } - }); -} - -function processSpecFile(filename) { - debug("Read spec file:", filename); - - return fsPromises.readFile(filename, "utf8").then((fileContents) => { - const testSet = JSON.parse(fileContents); - testSet.name = specFileToName(filename); - - return processArraySequentially(testSet.tests, (test) => - runTest(testSet, test) - ).then(() => { - testSet.pass = 0; - testSet.fail = 0; - testSet.skip = 0; - testSet.passOverride = 0; - - for (const test of testSet.tests) { - if (test.isFailure) { - testSet.fail += 1; - } else if (test.skip) { - testSet.skip += 1; - } else { - testSet.pass += 1; - - if (test.overridesApplied) { - testSet.passOverride += 1; - } - } - } - console.log( - `### ${testSet.name} Results = ${testSet.pass} passed (with ${testSet.passOverride} overridden), ${testSet.fail} failed, ${testSet.skip} skipped` - ); - - return testSet; - }); - }); -} - -// 0 = node, 1 = script, 2 = file -if (process.argv.length < 3) { - console.log("Specify one or more JSON spec files on the command line"); - process.exit(); -} - -processArraySequentially(process.argv.slice(2), processSpecFile).then( - (result) => { - console.log("========================================="); - console.log(""); - console.log("Failed Test Summary"); - console.log(""); - let pass = 0, - fail = 0, - skip = 0, - total = 0, - passOverride = 0; - - for (const testSet of result) { - pass += testSet.pass; - fail += testSet.fail; - skip += testSet.skip; - total += testSet.tests.length; - passOverride += testSet.passOverride; - - console.log( - `* ${testSet.name}: ${testSet.tests.length} total, ${testSet.pass} pass (with ${passOverride} overridden), ${testSet.fail} fail, ${testSet.skip} skip` - ); - - for (const test of testSet.tests) { - if (test.isFailure) { - console.log(` * Failure: ${test.name}`); - } - } - } - - console.log(""); - console.log( - `Final result: ${total} total, ${pass} pass (with ${passOverride} overridden), ${fail} fail, ${skip} skip` - ); - - if (fail) { - process.exit(1); - } - }, - (err) => { - console.error(err); - console.error("FAILURE RUNNING SCRIPT"); - console.error("Testing artifacts are left in script-runner/ folder"); - } -); diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/run-tests b/vendor/git.knownelement.com/ExternalVendorCode/mo/run-tests deleted file mode 100755 index 774d649..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/run-tests +++ /dev/null @@ -1,162 +0,0 @@ -#!/usr/bin/env bash -# -# Run one or more tests. -# -# Command-line usage to run all tests. -# -# ./run-tests -# -# To run only one test, run "tests/test-name". -# -# Usage within a test as a template. Source run-tests to get functions, export -# any necessary variables, then call runTest. -# -# #!/usr/bin/env bash -# cd "${0%/*}" || exit 1 -# . ../run-tests -# -# export template="This is a template" -# export expected="This is a template" -# runTest -# -# When used within the test, you control various aspects with environment -# variables or functions. -# -# - The content passed into mo is either the variable "$template" or the output -# of the function called template. -# - The expected result is either "$expected" or the function called expected. -# - The expected return code is "$returnCode" and defaults to 0. -# - The arguments to pass to mo is the array "${arguments[@]}" and defaults to (). -# -# When $MO_DEBUG is set to a non-empty value, the test does not run, but mo is -# simply executed directly. This allows for calling mo in the same manner as -# the test but does not buffer output nor expect the output to match the -# expected. -# -# When $MO_DEBUG_TEST is set to a non-empty value, the expected and actual -# results are shown using "declare -p" to provide an easier time seeing the -# differences, especially with whitespace. - -testCase() { - echo "Input: $1" - echo "Expected: $2" -} - -indirect() { - unset -v "$1" - printf -v "$1" '%s' "$2" -} - -getValue() { - local name temp len hardSpace - - name=$2 - hardSpace=" " - - if declare -f "$name" &> /dev/null; then - temp=$("$name"; echo -n "$hardSpace") - len=$((${#temp} - 1)) - - if [[ "${temp:$len}" == "$hardSpace" ]]; then - temp=${temp:0:$len} - fi - else - temp=${!name} - fi - - local "$1" && indirect "$1" "$temp" -} - -runTest() ( - local testTemplate testExpected testActual hardSpace len testReturnCode testFail - - hardSpace=" " - . ../mo - - getValue testTemplate template - getValue testExpected expected - - if [[ -n "${MO_DEBUG:-}" ]]; then - echo -n "$testTemplate" | mo ${arguments[@]+"${arguments[@]}"} 2>&1 - - return $? - fi - - testActual=$(echo -n "$testTemplate" | mo ${arguments[@]+"${arguments[@]}"} 2>&1; echo -n "$hardSpace$?") - testReturnCode=${testActual##*$hardSpace} - testActual=${testActual%$hardSpace*} - testFail=false - - if [[ "$testActual" != "$testExpected" ]]; then - echo "Failure" - echo "Expected:" - echo "$testExpected" - echo "Actual:" - echo "$testActual" - - if [[ -n "${MO_DEBUG_TEST-}" ]]; then - declare -p testExpected - # Align the two declare outputs - echo -n " " - declare -p testActual - fi - - testFail=true - fi - - if [[ "$testReturnCode" != "$returnCode" ]]; then - echo "Expected return code $returnCode, but got $testReturnCode" - testFail=true - fi - - if [[ "$testFail" == "true" ]]; then - return 1 - fi - - return 0 -) - -runTestFile() ( - local file=$1 - - echo "Test: $file" - "$file" -) - -runTests() ( - PASS=0 - FAIL=0 - - if [[ $# -gt 0 ]]; then - for TEST in "$@"; do - runTestFile "$TEST" && PASS=$((PASS + 1)) || FAIL=$((FAIL + 1)) - done - else - cd "${0%/*}" - for TEST in tests/*; do - if [[ -f "$TEST" ]]; then - runTestFile "$TEST" && PASS=$((PASS + 1)) || FAIL=$((FAIL + 1)) - fi - done - fi - - echo "" - echo "Pass: $PASS" - echo "Fail: $FAIL" - - if [[ $FAIL -gt 0 ]]; then - exit 1 - fi -) - -# Clear test related variables -template="Template not defined" -expected="Expected not defined" -returnCode=0 -arguments=() - -# If sourced, load functions. -# If executed, perform the actions as expected. -if [[ "$0" == "${BASH_SOURCE[0]}" ]] || [[ -z "${BASH_SOURCE[0]}" ]]; then - runTests ${@+"${@}"} -fi diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/ampersand b/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/ampersand deleted file mode 100755 index ff8914f..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/ampersand +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env bash -cd "${0%/*}" || exit 1 -. ../run-tests - -export thing="Works" -export template="{{&thing}}" -export expected="Works" - -runTest diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/array b/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/array deleted file mode 100755 index 6ca5a2b..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/array +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env bash -cd "${0%/*}" || exit 1 -. ../run-tests - -export repo=( "resque" "hub" "rip" ) -template() { - cat <{{@key}} - {{.}} -{{/repo}} -EOF -} -expected() { - cat <0 - resque - 1 - hub - 2 - rip -EOF -} - -runTest diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/assoc-array b/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/assoc-array deleted file mode 100755 index 338ef0b..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/assoc-array +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env bash -cd "${0%/*}" || exit 1 -. ../run-tests - -declare -A repo -# The order of the array elements can be shuffled depending on the version of -# Bash. Keeping this to a minimal set and alphabetized seems to help. -repo[hub]="Hub" -repo[rip]="Rip" -export repo -template() { - cat <{{@key}} - {{.}} -{{/repo}} -EOF -} -expected() { - cat <hub - Hub - rip - Rip -EOF -} - -runTest diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/comment b/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/comment deleted file mode 100755 index 7a8708d..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/comment +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env bash -cd "${0%/*}" || exit 1 -. ../run-tests - -export template="Wor{{!comment}}ks" -export expected="Works" - -runTest diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/comment-newline b/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/comment-newline deleted file mode 100755 index 0c1fea8..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/comment-newline +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env bash -cd "${0%/*}" || exit 1 -. ../run-tests - -template() { - cat <Today{{! ignore me -and this can -run through multiple -lines}}. -EOF -} -export expected=$'

Today.

\n' - -runTest diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/comment-with-spaces b/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/comment-with-spaces deleted file mode 100755 index c8f8d5b..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/comment-with-spaces +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env bash -cd "${0%/*}" || exit 1 -. ../run-tests - -export template="Wor{{! comment }}ks" -export expected="Works" - -runTest diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/concatenated-variables b/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/concatenated-variables deleted file mode 100755 index 0bd06aa..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/concatenated-variables +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env bash -cd "${0%/*}" || exit 1 -. ../run-tests - -export thing="Wor" -export thing2="ks" -export template="{{thing thing2}}" -export expected="Works" - -runTest diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/delimiters b/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/delimiters deleted file mode 100755 index a041811..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/delimiters +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env bash -cd "${0%/*}" || exit 1 -. ../run-tests - -export thing="Works" -export template="{{=| |=}}|thing|" -export expected="Works" - -runTest diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/double-hyphen b/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/double-hyphen deleted file mode 100755 index 3fc8d48..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/double-hyphen +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env bash -cd "${0%/*}" || exit 1 -. ../run-tests - -export arguments=(--fail-on-file -- --help) -export returnCode=1 -export template="" -export expected=$'ERROR: No such file: --help\n' - -runTest diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/double-quote b/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/double-quote deleted file mode 100755 index 526ac6a..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/double-quote +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env bash -cd "${0%/*}" || exit 1 -. ../run-tests - -export template='{{"Works"}}' -export expected="Works" - -runTest diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/fail-not-set b/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/fail-not-set deleted file mode 100755 index 3104367..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/fail-not-set +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash -cd "${0%/*}" || exit 1 -. ../run-tests - -unset __NO_SUCH_VAR -export POPULATED="words" -export EMPTY="" -export arguments=(--fail-not-set) -export returnCode=1 - -template() { - cat < -> diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/fixtures/multi-line-partial.partial b/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/fixtures/multi-line-partial.partial deleted file mode 100644 index da32746..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/fixtures/multi-line-partial.partial +++ /dev/null @@ -1 +0,0 @@ -{{multilineData}} diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/fixtures/partial.partial b/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/fixtures/partial.partial deleted file mode 100644 index e25759d..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/fixtures/partial.partial +++ /dev/null @@ -1 +0,0 @@ -{{.}} diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/fixtures/source-multiple-1.vars b/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/fixtures/source-multiple-1.vars deleted file mode 100644 index 433ea91..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/fixtures/source-multiple-1.vars +++ /dev/null @@ -1,2 +0,0 @@ -export A=from1 -export B=from1 diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/fixtures/source-multiple-2.vars b/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/fixtures/source-multiple-2.vars deleted file mode 100644 index 55b5263..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/fixtures/source-multiple-2.vars +++ /dev/null @@ -1,2 +0,0 @@ -export B=from2 -export C=from2 diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/fixtures/source.vars b/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/fixtures/source.vars deleted file mode 100644 index fad535f..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/fixtures/source.vars +++ /dev/null @@ -1,5 +0,0 @@ -export VAR=value -export ARR=(1 2 3) -declare -A ASSOC_ARR -# Can not export associative arrays, otherwise they turn into indexed arrays -ASSOC_ARR=([a]=AAA [b]=BBB) diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/fixtures/standalone-indentation.partial b/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/fixtures/standalone-indentation.partial deleted file mode 100644 index 96d7a30..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/fixtures/standalone-indentation.partial +++ /dev/null @@ -1,3 +0,0 @@ -| -{{content}} -| diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/function b/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/function deleted file mode 100755 index 967a128..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/function +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env bash -cd "${0%/*}" || exit 1 -. ../run-tests - -export name=Willy -wrapped() { - # Wrapping 'cat' in a subshell eats the trailing whitespace - # The echo adds a newline, which is preserved. - echo "$(cat)" -} -template() { - cat < {{name}} is awesome.\n... this is the last line.\n' - -runTest diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/function-alternate-delimiters b/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/function-alternate-delimiters deleted file mode 100755 index a4fa6a8..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/function-alternate-delimiters +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env bash -cd "${0%/*}" || exit 1 -. ../run-tests - -export planet=Earth -lambda() { - local content - - content=$(cat) - mo::parse content "$content{{planet}} => |planet|$content" - echo -n "$content" -} -export template="{{= | | =}}<|#lambda|-|/lambda|>" -export expected="<-{{planet}} => Earth->" - -runTest diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/function-args b/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/function-args deleted file mode 100755 index a7958d6..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/function-args +++ /dev/null @@ -1,35 +0,0 @@ -#!/usr/bin/env bash -cd "${0%/*}" || exit 1 -. ../run-tests - -export name=Willy -MO_ALLOW_FUNCTION_ARGUMENTS=true - -pipeTo() { - cat | "$1" -} - -testArgs() { - printf "%d" "$#" - - # Display all arguments - printf " %q" ${@+"$@"} -} -template() { - cat < Willy is awesome.\n... this is the last line.\n' - -runTest diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/globals-in-loop b/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/globals-in-loop deleted file mode 100755 index 538d5f1..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/globals-in-loop +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env bash -cd "${0%/*}" || exit 1 -. ../run-tests - -export STR=abc -export DATA=(111 222) -template() { - cat < fixtures/indented-partials.partial}} - - {{> fixtures/indented-partials.partial}} - -Without spacing - {{> fixtures/indented-partials.partial}} - {{> fixtures/indented-partials.partial}} - -With text - {{> fixtures/indented-partials.partial}} - text - {{> fixtures/indented-partials.partial}} - -In a conditional -{{#thisIsTrue}} - {{> fixtures/indented-partials.partial}} -{{/thisIsTrue}} -EOF -} -expected() { - cat < fixtures/inline-indentation}} -EOF -} -expected() { - cat < -> - -EOF -} - -runTest diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/internal-whitespace b/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/internal-whitespace deleted file mode 100755 index 8228215..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/internal-whitespace +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env bash -cd "${0%/*}" || exit 1 -. ../run-tests - -export boolean=true -export template=$' | {{#boolean}} {{! Important Whitespace }}\n {{/boolean}} | \n' -export expected=$' | \n | \n' - -runTest diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/invalid-option b/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/invalid-option deleted file mode 100755 index 8817896..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/invalid-option +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env bash -cd "${0%/*}" || exit 1 -. ../run-tests - -export person="" -export template="" -export returnCode=1 -export arguments=(--something) -export expected=$'ERROR: Unknown option: --something (See --help for options)\n' - -runTest diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/inverted b/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/inverted deleted file mode 100755 index f706a04..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/inverted +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env bash -cd "${0%/*}" || exit 1 -. ../run-tests - -export repo=() -template() { - cat <{{.}} -{{/repo}} -{{^repo}} - No repos :( -{{/repo}} -EOF -} -export expected=$' No repos :(\n' - -runTest diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/issue-75 b/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/issue-75 deleted file mode 100755 index 6816dfd..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/issue-75 +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env bash -cd "${0%/*}" || exit 1 -. ../run-tests - -export uv -export template='{{^uv}}OK{{/uv}}{{#uv}}FAIL{{/uv}}' -export expected='OK' - -runTest diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/list-contexts b/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/list-contexts deleted file mode 100755 index 9025d9b..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/list-contexts +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env bash -cd "${0%/*}" || exit 1 -. ../run-tests - -export a=foo -export b=wrong -declare -A sec -sec=([b]="bar") -export sec -declare -A c -c=([d]="baz") -export c -export template="{{#sec}}{{a}} {{b}} {{c.d}}{{/sec}}" -export expected="foo bar baz" - -runTest diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/miss b/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/miss deleted file mode 100755 index 900f070..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/miss +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env bash -cd "${0%/*}" || exit 1 -. ../run-tests - -export name="Chris" -export company="GitHub" -template() { - cat <GitHub. -* .GitHub. -EOF -} - -runTest diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/multi-line-partial b/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/multi-line-partial deleted file mode 100755 index 0922f69..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/multi-line-partial +++ /dev/null @@ -1,35 +0,0 @@ -#!/usr/bin/env bash -cd "${0%/*}" || exit 1 -. ../run-tests - -export multilineData=$'line 1\nline 2' -template() { - cat < fixtures/multi-line-partial.partial}} - -Indented: - - {{> fixtures/multi-line-partial.partial}} -EOF -} -expected() { - cat <Names -{{#names}} - {{> fixtures/partial.partial}} -{{/names}} -EOF -} -expected() { - cat <Names - Tyler - Abc -EOF -} - -runTest diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/partial-bad-file b/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/partial-bad-file deleted file mode 100755 index 94906fa..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/partial-bad-file +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env bash -cd "${0%/*}" || exit 1 -. ../run-tests - -# This file intentionally does not exist -export template="{{>fixtures/partial-bad-file.partial}}" -export expected="" - -runTest diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/partial-missing b/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/partial-missing deleted file mode 100755 index 6ca5b7b..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/partial-missing +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env bash -cd "${0%/*}" || exit 1 -. ../run-tests - -export returnCode=1 -export arguments=(--fail-on-file) -export person="" -template() { - cat < fixtures/partial-missing.partial}} -EOF -} -expected() { - cat <' -template() { - cat <<'EOF' -\ - {{>fixtures/standalone-indentation.partial}} -/ -EOF -} -expected() { - cat <<'EOF' -\ - | - < --> - | -/ -EOF -} - -runTest diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/triple-brace b/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/triple-brace deleted file mode 100755 index 1eb3616..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/triple-brace +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env bash -cd "${0%/*}" || exit 1 -. ../run-tests - -export thing="Works" -export template="{{{thing}}}" -export expected="Works" - -runTest diff --git a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/typical b/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/typical deleted file mode 100755 index 2274852..0000000 --- a/vendor/git.knownelement.com/ExternalVendorCode/mo/tests/typical +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/env bash -cd "${0%/*}" || exit 1 -. ../run-tests - -export NAME="Chris" -export VALUE=10000 -export TAXED_VALUE=6000 -export IN_CA=true -template() { - cat <