This is an automated email from the ASF dual-hosted git repository. sbp pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tooling-trusted-release.git
The following commit(s) were added to refs/heads/main by this push: new 01507f8 Fix loading of committee pages 01507f8 is described below commit 01507f8152404a4af035044dc2f7545fccff075c Author: Sean B. Palmer <s...@miscoranda.com> AuthorDate: Fri Aug 1 17:12:33 2025 +0100 Fix loading of committee pages --- atr/routes/committees.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/atr/routes/committees.py b/atr/routes/committees.py index 006d01b..17ae55d 100644 --- a/atr/routes/committees.py +++ b/atr/routes/committees.py @@ -48,9 +48,14 @@ async def directory() -> str: async def view(name: str) -> str: # TODO: Could also import this from keys.py async with db.session() as data: - committee = await data.committee(name=name, _projects=True, _public_signing_keys=True).demand( - http.client.HTTPException(404) - ) + committee = await data.committee( + name=name, + _projects=True, + _public_signing_keys=True, + ).demand(http.client.HTTPException(404)) + for project in committee.projects: + # Workaround for the usual loading problem + project.committee = committee return await template.render( "committee-view.html", committee=committee, --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@tooling.apache.org For additional commands, e-mail: commits-h...@tooling.apache.org