Make project name a link to the actual repo on forge.marvin8.zone #19
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The repo / project name shown in BOARD.md should be a direct link to the repo on forge.marvin8.zone
Documenting the design discussion for this issue.
Edit surface
{owner}/{repo}is rendered in three places inrenderer.py, each becoming[{owner}/{repo}](https://forge.marvin8.zone/{owner}/{repo}):| {owner}/{repo} | ...### {owner}/{repo}¹ **{owner}/{repo}** — {status_md}The monorepo sub-rows (
· pkg-a) are packages, not repos — leave plain.The one real decision: host source of truth
render_board(repos, date)takes no config, and the host is hardcoded in two independent places that already disagree:config.py:base_url = "https://forge.marvin8.zone/api/v1"(the API host, configurable)http_client.pyraw_url: hardcodeshttps://forge.marvin8.zone/.../raw/branch/main/, ignoringapi.base_urlSo today a codeberg.org
api.base_urlsends API calls to Codeberg but raw-file fetches still hit forge.marvin8.zone — a pre-existing inconsistency. The link needs the web host (neither of those directly). Cleanest: derive a web base fromapi.base_url(strip/api/v1) or add an explicitweb.base_urlconfig field, and pass it intorender_board. Avoid hardcoding a thirdforge.marvin8.zoneliteral. This is a good moment to collapse all host references onto one source of truth (ties into the config-drift cleanup already flagged in #17).Test impact
"alice/myrepo" in line— still matches inside[alice/myrepo](...), so they survive.result.index("### alice/myrepo")and break when the heading becomes### [alice/myrepo](...)— update those.Minor decisions
[a-z0-9._-], so no escaping needed today; revisit only if a repo name ever carries a special char.Non-issues
Pure rendering change — no data-model, snapshot, or diff change. Independent of #17/#18; can land on its own branch.
Finalized plan (board-automation design):
Closed via commit
7706ac3: project names in BOARD.md are now clickable links to their repositories on forge.marvin8.zone.