mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 13:54:57 +00:00
docs: todo,scan,todos (4 files)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# TODO Scan Report
|
||||
|
||||
- Generated: `2025-12-25 20:56:07Z` (UTC)
|
||||
- Repo root: `/Users/rmac/Documents/GitHub/metabuilder`
|
||||
- Generated: `2025-12-25 20:57:28Z` (UTC)
|
||||
- Report directory: `docs/todo`
|
||||
- Pattern: `\b(TODO|FIXME|HACK|XXX)\b`
|
||||
- Excludes: `docs/todo/`, `**/node_modules/`, `**/.next/`, `**/coverage/`, `**/dist/`, `**/build/`, `**/.git/`
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# TODO List Status
|
||||
|
||||
- Generated: `2025-12-25 20:56:07Z` (UTC)
|
||||
- Directory: `/Users/rmac/Documents/GitHub/metabuilder/docs/todo`
|
||||
- Generated: `2025-12-25 20:57:28Z` (UTC)
|
||||
- Directory: `docs/todo`
|
||||
- Total items: **852** (`open`=829, `done`=23)
|
||||
|
||||
| File | Open | Done | Total |
|
||||
|
||||
@@ -102,6 +102,8 @@ def _render_scan_report(
|
||||
repo_root: Path, out_path: Path, matches: list[TodoMatch]
|
||||
) -> None:
|
||||
now = datetime.now(timezone.utc).strftime("%Y-%m-%d %H:%M:%SZ")
|
||||
report_dir = out_path.parent
|
||||
report_dir_display = str(report_dir.relative_to(repo_root))
|
||||
|
||||
by_dir: dict[str, list[TodoMatch]] = defaultdict(list)
|
||||
for match in matches:
|
||||
@@ -114,7 +116,7 @@ def _render_scan_report(
|
||||
lines.append("# TODO Scan Report")
|
||||
lines.append("")
|
||||
lines.append(f"- Generated: `{now}` (UTC)")
|
||||
lines.append(f"- Repo root: `{repo_root}`")
|
||||
lines.append(f"- Report directory: `{report_dir_display}`")
|
||||
lines.append(f"- Pattern: `{PATTERN}`")
|
||||
lines.append(
|
||||
"- Excludes: `docs/todo/`, `**/node_modules/`, `**/.next/`, `**/coverage/`, `**/dist/`, `**/build/`, `**/.git/`"
|
||||
@@ -176,7 +178,11 @@ def _render_todo_status(todo_dir: Path, out_path: Path) -> None:
|
||||
lines.append("# TODO List Status")
|
||||
lines.append("")
|
||||
lines.append(f"- Generated: `{now}` (UTC)")
|
||||
lines.append(f"- Directory: `{todo_dir}`")
|
||||
try:
|
||||
directory_display = str(todo_dir.relative_to(_repo_root(todo_dir)))
|
||||
except ValueError:
|
||||
directory_display = str(todo_dir)
|
||||
lines.append(f"- Directory: `{directory_display}`")
|
||||
lines.append(f"- Total items: **{total_open + total_done}** (`open`={total_open}, `done`={total_done})")
|
||||
lines.append("")
|
||||
lines.append("| File | Open | Done | Total |")
|
||||
@@ -202,4 +208,3 @@ def main() -> None:
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
import { describe, it, expect, beforeEach, vi } from 'vitest'
|
||||
import type { PageDefinition } from './page-renderer'
|
||||
import type { User } from '../types/level-types'
|
||||
import type { User, UserRole } from '../types/level-types'
|
||||
|
||||
// Mock Database
|
||||
const { Database, MockLuaEngine } = vi.hoisted(() => {
|
||||
|
||||
Reference in New Issue
Block a user