Files
git.taskfile.build/CHANGELOG.md
T

6.2 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
  • Make help table with dynamic
  • Add .gitignore and AGENTS.md template files
  • Add update-template command to sync task.template with library.md rows
  • Add update-changelog-with-llm command to update CHANGELOG.md using LLM based on git diff
  • Add new prompt files for LLM features: prompts/03_update-with-llm-path.md and prompts/04_add-command-update-changelog-from-git-diff.md
  • Add support for file paths in update-with-llm command's last parameter
  • Rename .prompt/ directory to prompts/ for better organization
  • Add update-changelog-with-llm command implementation in bin/update-changelog-with-llm
  • Add update-changelog-with-llm documentation to library.md
  • Add update-changelog-with-llm to help table in task.template
  • Add new prompt file prompts/07_run-shellcheck-and-fix-issues.md for shellcheck linting and fixing
  • Add create-prompt command to create new prompt files from template with sequential numbering
  • Add list-prompt command to display all prompt files in a formatted table
  • Add prompt.md.template file as base template for new prompts
  • Add prompts/08_add-prompt-commands.md prompt file documenting the addition of prompt management commands
  • Add create-prompt and list-prompt commands to help table in task.template
  • Add create-prompt and list-prompt documentation to library.md

Changed

  • Updated task script to follow AGENTS.md bash guidelines:
    • Changed shebang from #!/bin/bash to #!/usr/bin/env bash for portability
    • Removed function keyword from all function definitions, using func-name() { syntax
    • Updated all conditional tests from [ ] to [[ ]] for better functionality
    • Converted local variables in help-table() function to lowercase with local keyword:
      • CMD_WIDTH → local cmd_width
      • OPT_WIDTH → local opt_width
      • DESC_WIDTH → local desc_width
      • COLUMN → local column
    • Updated printf statements to use new lowercase variable names
  • Updated image/entrypoint.sh script to follow AGENTS.md bash guidelines:
    • Changed shebang from #!/bin/bash to #!/usr/bin/env bash for 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" ]]
  • Updated bash code snippets in README.md to follow AGENTS.md bash guidelines:
    • Updated shebangs to use #!/usr/bin/env bash
    • Removed function keyword 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 local keyword:
      • DATABASE → local database in drop-db() function
      • FOLDER → local folder in render() function
      • Variables in convert-vault-file() function:
      • Variables in process-data() function:
    • Updated deploy() function to use [[ -z "$1" ]] instead of test -z "$1"
  • 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 [ ] or test
  • Updated init-project script to create prompt directory instead of .prompt
  • Enhanced update-with-llm to support reading prompts from files
  • Added documentation for update-with-llm supporting file paths in library.md
  • Added update-template command to help table in task script
  • Added update-changelog-with-llm command to LLM section in library.md
  • Updated help() function in task, task.template, and README.md to use local grep_pattern variable for improved readability and maintainability
  • Updated lint() function in task to run shellcheck on both task and task.template files
  • Added export statements for BUILDX_PLATFORM, CONTAINER_REGISTRY, CONTAINER_TAG, and DOCKERFILE variables in task script
  • Added # shellcheck disable=SC1090 comment before sourcing files in task and task.template to suppress shellcheck warnings
  • Updated update-template() function in task to use local temp_file declaration before assignment for better variable scoping
  • Updated help() function in task.template to use help "$@" instead of help when displaying unknown command error
  • Removed disable=SC2059 from .shellcheckrc as it's no longer needed after code improvements
  • Updated task.template to include create-prompt, list-prompt, and setup-completion commands in help table
  • Updated library.md to include create-prompt and list-prompt commands in LLM section
  • Enhanced help-table() function in task, task.template, and README.md to support grouped sections with <<<Group>>> syntax, displaying group headers centered with separators above and below
  • Updated task.template to include section headers for better organization:
    • Added <<<Task>>> section
    • Added <<<Files>>> section
    • Added <<<Python>>> section
    • Added <<<Environment>>> section
    • Added <<<LLM>>> section
    • Added <<<Logging>>> section
    • Added <<<Git>>> section
    • Added <<<Pass>>> section
    • Added <<<KeePass>>> section
    • Added <<<Kubernetes>>> section
    • Added <<<Docker>>> section
    • Added <<<Ansible>>> section
  • Updated clean-git-folder, push-git-folder, and reset-git-folder commands in task.template to accept optional [path] parameter for flexibility
  • Updated task.template help table to use consistent formatting with grouped sections and improved visual separation