Compare commits
No commits in common. "f1646375abbc3ebdf99d997aef55a41dbf5c1d05" and "941116704daca882b848b6569c0918fadb7ff6c6" have entirely different histories.
f1646375ab
...
941116704d
4 changed files with 1 additions and 104 deletions
89
CHANGELOG.md
89
CHANGELOG.md
|
@ -1,89 +0,0 @@
|
||||||
## [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]
|
[package]
|
||||||
name = "forgejo-todo-checker"
|
name = "forgejo-todo-checker"
|
||||||
version = "1.1.0"
|
version = "1.0.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
publish = false # NOTE: Not a CLI tool or a library, so don't release to crates.io
|
publish = false # NOTE: Not a CLI tool or a library, so don't release to crates.io
|
||||||
|
|
||||||
|
|
14
justfile
14
justfile
|
@ -6,17 +6,3 @@ test path repo:
|
||||||
GITHUB_REPOSITORY=kemitix/{{ repo }} \
|
GITHUB_REPOSITORY=kemitix/{{ repo }} \
|
||||||
GITHUB_SERVER_URL=https://git.kemitix.net \
|
GITHUB_SERVER_URL=https://git.kemitix.net \
|
||||||
cargo run
|
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