fix: remove hardcoded 'johba' references — use dynamic project config instead #241
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#241
Loading…
Add table
Add a link
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?
Problem
The codebase has hardcoded references to 'johba' (the original developer's username) scattered across multiple files. When other users run
disinto initfor their own project, these references are wrong.Examples found:
${forge_url}/api/v1/users/johba/repos— hardcoded fallback in setup_ops_repo$FORGE_URL/api/v1/repos/johba/disinto/...in step descriptionsProposed solution
Audit and replace all hardcoded 'johba' references with dynamic values from project config:
${FORGE_REPO}for the code repo (e.g. disinto-admin/disinto)${FORGE_OPS_REPO}for the ops repo (e.g. disinto-admin/disinto-ops)disinto-adminfor the admin user (this is the standard admin account name)To find all occurrences:
Formula step descriptions that reference specific API URLs should use variable placeholders like $FORGE_URL/api/v1/repos/$FORGE_REPO/... instead of hardcoded paths.
Affected files
Acceptance criteria
grep -rn 'johba' bin/ lib/ formulas/ docker/returns zero matchesdisinto initon a fresh box with a different username produces no johba references