Skip to content

feat(rm-handlers): W7 — SCM-light (Repository + Changeset, read-only)#17

Merged
AdaWorldAPI merged 1 commit into
mainfrom
claude/w7-repository-changeset-handlers
Jun 22, 2026
Merged

feat(rm-handlers): W7 — SCM-light (Repository + Changeset, read-only)#17
AdaWorldAPI merged 1 commit into
mainfrom
claude/w7-repository-changeset-handlers

Conversation

@AdaWorldAPI

Copy link
Copy Markdown
Owner

W7 from the Redmine Integration Plan

SCM-light: read-only browse over Repository + Changeset metadata. No live VCS driver — that's a later sprint, exactly as the plan scopes W7 ("read-only; no Git driver yet").

Route class_id URL key
/repositories[+/:id] 0x010A project_repository record-key (Redmine numeric PK, no slug)
/changesets[+/:revision] 0x0112 project_changeset revision slug, percent-encoded

Shape

DoD pinned by 12 new tests

6 store (round-trip / NotFound / list per resource) + 6 handler (empty-state class_id, list+detail, 404 per resource). All three CI gates green: 153 tests across 5 crates.

Status: 7 of 8 width tracks shipped

W1 ✓ W2 ✓ W3 ✓ W4 ✓ W5 ✓ W6 ✓ W7 ✓. Remaining standalone: W8 (Query + IssueRelation). Deferred: nested sets (W4 Member/MemberRole/Watcher, W6 Comment/Message/Forum/Attachment), W5 CustomField (ties to D1 forms).

🤖 Generated with Claude Code

W7 of the Redmine Integration Plan. Read-only browse over SCM
metadata — no live VCS driver (that's a later sprint per the plan:
'W7 SCM-light (read-only; no Git driver yet)').

# Routes

- GET /repositories      + /repositories/:id       (0x010A project_repository)
- GET /changesets        + /changesets/:revision   (0x0112 project_changeset)

# URL keys

- Repository: record-key URL (Redmine keys repos by numeric PK;
  no natural slug — url + scm_type are the only attributes).
- Changeset: revision-slug URL (Redmine's /repository/revisions/:rev),
  percent-encoded via common::encode_path_segment.

# DoD pinned by 12 new tests

Store (scm.rs, 6): repository + changeset round-trip, NotFound,
list empty/populated for each.
Handlers (scm.rs, 6): repository list empty-state w/ 0x010A, repo
list+detail by record key, repo detail 404; changeset list
empty-state w/ 0x0112, changeset list+detail by revision slug,
changeset detail 404.

# Status: 7/8 width tracks shipped

W1 Issue, W2 Project, W3 TimeEntry, W4 User+Role, W5 Taxonomy(3/4),
W6 News+WikiPage, W7 Repository+Changeset. Remaining standalone:
W8 Query + IssueRelation. Plus deferred nested sets (W4 Member/
MemberRole/Watcher, W6 Comment/Message/Forum/Attachment) and
W5 CustomField (ties to D1 forms).

cargo fmt --check + cargo clippy --all-targets -- -D warnings +
cargo test --workspace all green; 153 tests across 5 crates.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@AdaWorldAPI AdaWorldAPI merged commit 8793fd3 into main Jun 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant