one resource_id per site: split the ids used more than once #30

Closed
opened 2026-11-17 19:05:20 +01:00 by michael · 1 comment
Owner

Problem

The rule "every site that produces a message has its own resource_id"
(DAW/daw-contracts#22) is checked by fragjan code . (DAW/fragjan#152).
The rule reports 33 sites that share 13 ids; 20 of them need a new id (the first site of each id keeps it). Eight ids are copy-pasted between files.

Scope

  • every site after the first one gets a new UUID
  • a new resource in i18n/en.json (the context names the new site) and
    i18n/de.json (the same text, a new source_hash)
  • no change of text, code or behavior

Acceptance criteria

  • fragjan code . reports no resource_id used more than once
  • tests and make test (Lua 5.1 and 5.4) pass

DAW/daw-contracts#22, DAW/fragjan#152

## Problem The rule "every site that produces a message has its own `resource_id`" (DAW/daw-contracts#22) is checked by `fragjan code .` (DAW/fragjan#152). The rule reports 33 sites that share 13 ids; 20 of them need a new id (the first site of each id keeps it). Eight ids are copy-pasted between files. ## Scope - every site after the first one gets a new UUID - a new resource in `i18n/en.json` (the context names the new site) and `i18n/de.json` (the same text, a new `source_hash`) - no change of text, code or behavior ## Acceptance criteria - [ ] `fragjan code .` reports no `resource_id` used more than once - [ ] tests and `make test` (Lua 5.1 and 5.4) pass ## Related DAW/daw-contracts#22, DAW/fragjan#152
Author
Owner

Implemented on develop

Commits: 21ae85d

Pushed. Follow-up points, if any, are tracked in their own issues.

## Implemented on develop Commits: 21ae85d Pushed. Follow-up points, if any, are tracked in their own issues.
michael 2026-11-18 11:57:07 +01: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
DAW/daw-module-manager#30
No description provided.