fix: fix: remove hardcoded 'johba' references — use dynamic project config instead (#241) #243
No reviewers
Labels
No labels
action
backlog
blocked
bug-report
in-progress
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
tech-debt
underspecified
vision
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#243
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-241"
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?
Fixes #241
Changes
AI Review
Summary
Good intent: replaces hardcoded
johbawith dynamic config throughout. Most changes are correct and clean. One real bug was introduced.Issues
high
formulas/release.toml:109:${FORGE_REPO_OWNER}is used to construct the Codeberg mirror remote URL but this variable is never defined or exported anywhere in the codebase.lib/load-project.shexportsFORGE_REPO(e.g.disinto-admin/disinto) but notFORGE_REPO_OWNER. When the release formula agent runs this step, the variable will be empty (or fail underset -u), producing a broken Codeberg remote URL.Fix options:
FORGE_REPO_OWNERfromlib/load-project.shderived fromFORGE_REPO(e.g.FORGE_REPO_OWNER="${FORGE_REPO%%/*}"), orgit@codeberg.org:${FORGE_REPO%%/*}/${PROJECT_NAME}.gitLooks Good
johba→ dynamic-variable replacements are correct.${FORGE_REPO%%/*}extraction insetup_ops_repofallback (bin/disinto:1011) is correct.FORGE_REPOandFORGE_OPS_REPOare sensible.PROJECT_NAMEis exported bylib/load-project.sh, so its use in the formula is fine.lib/branch-protection.shandlib/load-project.share accurate.Verdict
REQUEST_CHANGES — FORGE_REPO_OWNER is undefined — introduced by this PR in formulas/release.toml:109
Reviewed at
2b4c8be| AGENTS.mdAI Review: REQUEST_CHANGES — FORGE_REPO_OWNER is undefined — introduced by this PR in formulas/release.toml:109
AI Re-review (round 2)
Previous Findings
FORGE_REPO_OWNERundefined informulas/release.toml:109→ FIXED:lib/load-project.shnow exportsFORGE_REPO_OWNER="${FORGE_REPO%%/*}"inside the existingif [ -n "$FORGE_REPO" ]block. The extraction pattern is correct and matches the suggestion from the prior review.New Issues
None.
Verdict
APPROVE — Previous finding fixed: FORGE_REPO_OWNER is now exported from lib/load-project.sh
Reviewed at
e4acd03| Previous:2b4c8be| AGENTS.mdAI Re-review (round 2): APPROVE — Previous finding fixed: FORGE_REPO_OWNER is now exported from lib/load-project.sh