WikiLog: filter to sidecar edits only (author @bincio.wiki)

This commit is contained in:
brutsalvadi
2026-05-08 09:08:25 +02:00
parent a85a2eeb6d
commit f46316ce0a
+1 -1
View File
@@ -245,7 +245,7 @@ app.add_middleware(
async def get_wiki_log(user: User = Depends(require_auth)) -> JSONResponse: async def get_wiki_log(user: User = Depends(require_auth)) -> JSONResponse:
env = _git_env() env = _git_env()
proc = await asyncio.create_subprocess_exec( proc = await asyncio.create_subprocess_exec(
"git", "log", "--format=%h|%ar|%aN|%s", "-n", "50", "--", "pages/", "blog/", "git", "log", "--format=%h|%ar|%aN|%s", "--author=@bincio.wiki", "-n", "50", "--", "pages/", "blog/",
cwd=str(_ROOT), env=env, cwd=str(_ROOT), env=env,
stdout=asyncio.subprocess.PIPE, stderr=asyncio.subprocess.DEVNULL, stdout=asyncio.subprocess.PIPE, stderr=asyncio.subprocess.DEVNULL,
) )