From c03f9c7084f7aaeb9bb06d19035be6f799e28b44 Mon Sep 17 00:00:00 2001 From: Ben Winston Date: Mon, 11 Aug 2025 22:38:51 -0400 Subject: add BUGS and TODO --- BUGS.md | 7 +++++++ TODO | 1 + 2 files changed, 8 insertions(+) create mode 100644 BUGS.md create mode 100644 TODO diff --git a/BUGS.md b/BUGS.md new file mode 100644 index 0000000..76f90a9 --- /dev/null +++ b/BUGS.md @@ -0,0 +1,7 @@ +- [ ] `add` and `edit` require an empty line at the end of the file (this is brittle) +- [x] `parse_book` expects to hit an '=' on any given line, but if we're gonna support + long lines (e.g. quotes) then we'll want to check for '\n' as well +- [x] `get_string_field` and `get_number_field` should return the pointer to the field + so we can actually use it in `search` and `parse_book` +- [ ] fix unknown fields parsing and editing (capture, don't just skip) +- [ ] when an int can't be parsed, it reports it for every line in the file, should only report it once diff --git a/TODO b/TODO new file mode 100644 index 0000000..cbd6d20 --- /dev/null +++ b/TODO @@ -0,0 +1 @@ +- create backup of existing file, move fixed.toml to booki file -- cgit v1.2.3