forgejo-todo-checker/CHANGELOG.md

1.7 KiB

[1.1.0] - 2024-09-22

Build

  • Add justfile for self-testing
  • Add test and build checks to workflows
  • Use codeberg mirror to self-test todo action
  • Configure release-plz
  • Customise release-plz
  • Drop release-plz
  • Add prep-release recipie to justfile

Chore

  • Clean up output

Feat

  • Detect and ignore non-text files
  • Log errors as they are found
  • Improve error messageso

Fix

  • Only look for issue number within the comment

Refactor

  • Abstract printer via Printer trait

[1.0.0] - 2024-09-20

Build

  • Don't check README for TODO/FIXME comments
  • Use v1.0.0 of the todo checker

Chore

  • (deps) Update actions/checkout action to v4

Docs

  • Add instructions in README

Feat

  • Add skeleton action
  • Use Dockerfile (hello world)
  • List contents of current directory
  • Check env vars are all set
  • Collect useful environment vars
  • Collect env into Config and note planned operations
  • Scan for TODO and FIXME markers
  • Log progress ignoring files listed in .gitignore, .ignore and .rgignore
  • Pretty-print found markers
  • Fetch open issues
  • Flag markers where issue is closed
  • Log any invalid/closed markers and exit if any found

Fix

  • Specify url correctly for action
  • Specify valid value for runs.using
  • Recheck tests

Refactor

  • Prepare for adding tests
  • Markers as enum parsed from lines
  • Comment out unused code in line
  • Split up main
  • Collapse empty modules
  • Clean up issue regex

Test

  • Add skeleton self-test
  • Allow workflow to be run manually
  • Add first tests for pattern matching
  • Add tests for markers

Tests

  • Add tests for Config
  • Add tests for init module
  • Add tests for scanner module
  • Add tests for main