- Standardize bash shebangs to `#!/usr/bin/env bash` for portability
- Remove `function` keyword from definitions, use `func-name() {` syntax
- Replace `[ ]` conditionals with `[[ ]]` for improved functionality
- Convert local variables to lowercase with `local` keyword
- Update arithmetic comparisons to use `(( ))` syntax
- Enhance `save-dotenv-to-keepass` script with entry existence check and attachment handling
- Fix function name typo in `save-pass-to-keepass`
- Improve CSS formatting and layout for documentation
- Clean up markdown formatting in library and patterns docs
2.5 KiB
2.5 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
[Unreleased]
Added
- New CHANGELOG.md file to document project changes following Keep a Changelog specifications
Changed
- Updated
taskscript to follow AGENTS.md bash guidelines:- Changed shebang from
#!/bin/bashto#!/usr/bin/env bashfor portability - Removed
functionkeyword from all function definitions, usingfunc-name() {syntax - Updated all conditional tests from
[ ]to[[ ]]for better functionality - Converted local variables in
help-table()function to lowercase withlocalkeyword:CMD_WIDTH→local cmd_widthOPT_WIDTH→local opt_widthDESC_WIDTH→local desc_widthCOLUMN→local column
- Updated printf statements to use new lowercase variable names
- Changed shebang from
- Updated
image/entrypoint.shscript to follow AGENTS.md bash guidelines:- Changed shebang from
#!/bin/bashto#!/usr/bin/env bashfor portability - Updated all conditional tests from
[ ]to[[ ]]:if [[ -z "$GIT_URL" ]]if [[ ! -d "$GIT_PATH" ]]if [[ -f "$GIT_PATH/.gitmodules" ]]if [[ -f "${GIT_PATH}/task" ]]if [[ -z "$TASK_COMMANDS" ]]
- Changed shebang from
- Updated bash code snippets in README.md to follow AGENTS.md bash guidelines:
- Updated shebangs to use
#!/usr/bin/env bash - Removed
functionkeyword from all function definitions - Updated conditional tests from
[ ]to[[ ]] - Updated arithmetic comparisons to use
(( ))syntax where appropriate - Updated local variables within functions to use lowercase names with
localkeyword:DATABASE→local databaseindrop-db()functionFOLDER→local folderinrender()function- Variables in
convert-vault-file()function: - Variables in
process-data()function:
- Updated
deploy()function to use[[ -z "$1" ]]instead oftest -z "$1"
- Updated shebangs to use
- Further updated bash code snippets in README.md to ensure full compliance with AGENTS.md guidelines:
- Updated remaining
[ -n "$1" ]conditions to use[[ -n "$1" ]]syntax - Updated remaining
test -z "$1"conditions to use[[ -z "$1" ]]syntax - Ensured all local variables follow lowercase naming convention
- Verified all conditional expressions use
[[ ]]instead of[ ]ortest
- Updated remaining