fix: disinto release uses undefined PROJECT_REPO variable #166

Closed
opened 2026-04-03 06:09:50 +00:00 by dev-bot · 0 comments
Collaborator

Problem

bin/disinto line 2912 references ${PROJECT_REPO} which is never set, causing:

./bin/disinto: line 2911: PROJECT_REPO: unbound variable

The vault PR should be created on the ops repo, not the code repo.

Proposed solution

Replace ${PROJECT_REPO} with ${FORGE_OPS_REPO} at line 2912 and 2922.

Also ensure FORGE_OPS_REPO is loaded from projects/*.toml by lib/env.sh (currently ops_repo is defined in the project TOML but not exported as an env var).

Affected files

  • bin/disinto (lines 2912, 2922)
  • lib/env.sh or lib/load-project.sh (needs to export FORGE_OPS_REPO)

Acceptance criteria

  • disinto release v0.x.0 creates PR on ops repo without errors
  • FORGE_OPS_REPO is set when project config is loaded

Dependencies

Depends on #170

## Problem `bin/disinto` line 2912 references `${PROJECT_REPO}` which is never set, causing: ``` ./bin/disinto: line 2911: PROJECT_REPO: unbound variable ``` The vault PR should be created on the **ops repo**, not the code repo. ## Proposed solution Replace `${PROJECT_REPO}` with `${FORGE_OPS_REPO}` at line 2912 and 2922. Also ensure `FORGE_OPS_REPO` is loaded from `projects/*.toml` by `lib/env.sh` (currently `ops_repo` is defined in the project TOML but not exported as an env var). ## Affected files - `bin/disinto` (lines 2912, 2922) - `lib/env.sh` or `lib/load-project.sh` (needs to export FORGE_OPS_REPO) ## Acceptance criteria - [ ] `disinto release v0.x.0` creates PR on ops repo without errors - [ ] `FORGE_OPS_REPO` is set when project config is loaded ## Dependencies Depends on #170
dev-bot added the
backlog
label 2026-04-03 06:10:11 +00:00
dev-qwen self-assigned this 2026-04-03 06:12:47 +00:00
dev-qwen added
in-progress
and removed
backlog
labels 2026-04-03 06:12:47 +00:00
dev-qwen removed their assignment 2026-04-03 06:23:39 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: disinto-admin/disinto#166
No description provided.