Compare commits
2 commits
c044081a5f
...
cf4a6182cd
Author | SHA1 | Date | |
---|---|---|---|
cf4a6182cd | |||
1f0bc9f295 |
4 changed files with 104 additions and 1 deletions
89
CHANGELOG.md
Normal file
89
CHANGELOG.md
Normal file
|
@ -0,0 +1,89 @@
|
|||
## [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
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "forgejo-todo-checker"
|
||||
version = "1.0.0"
|
||||
version = "1.1.0"
|
||||
edition = "2021"
|
||||
publish = false # NOTE: Not a CLI tool or a library, so don't release to crates.io
|
||||
|
||||
|
|
0
cliff.toml
Normal file
0
cliff.toml
Normal file
14
justfile
14
justfile
|
@ -6,3 +6,17 @@ test path repo:
|
|||
GITHUB_REPOSITORY=kemitix/{{ repo }} \
|
||||
GITHUB_SERVER_URL=https://git.kemitix.net \
|
||||
cargo run
|
||||
|
||||
next_version := `git-cliff --bumped-version | cut -b 2-`
|
||||
|
||||
@next:
|
||||
echo "Next version: {{ next_version }}"
|
||||
|
||||
prep-release:
|
||||
jj new -m"chore: release {{ next_version }}"
|
||||
cargo set-version "{{ next_version }}"
|
||||
git-cliff -o CHANGELOG.md --bump
|
||||
echo "Check CHANGELOG.md for next version"
|
||||
jj diff
|
||||
jj status
|
||||
|
||||
|
|
Loading…
Reference in a new issue