US03-02 — Define Album Naming Policy #16

Closed
opened 2026-07-13 13:10:42 +02:00 by domverse · 3 comments
Owner

Source specification: delivery_backlog/stories/US03-02-naming-policy.md

US03-02 — Define Album Naming Policy

Epic: E03

As a user, I want configurable naming templates and validation so proposed album names
are readable and safe on supported filesystems.

Acceptance criteria

  • Templates define allowed evidence, formatting, length, separators, and fallbacks.
  • Validation handles forbidden characters, reserved names, whitespace, Unicode,
    case-insensitive collisions, existing destinations, and empty results.
  • Validation returns structured issues and suggestions without mutating files.

Automated tests

  • Property tests generate names across platforms and prove paths stay inside the root.
  • Golden cases cover valid names, collisions, normalization, and template fallbacks.

Dependencies

  • US03-01
Source specification: [delivery_backlog/stories/US03-02-naming-policy.md](https://git.domverse-berlin.eu/domverse/photoanalyzer/src/branch/main/delivery_backlog/stories/US03-02-naming-policy.md) # US03-02 — Define Album Naming Policy Epic: [E03](https://git.domverse-berlin.eu/domverse/photoanalyzer/src/branch/main/delivery_backlog/E03-album-proposals.md) As a user, I want configurable naming templates and validation so proposed album names are readable and safe on supported filesystems. ## Acceptance criteria - Templates define allowed evidence, formatting, length, separators, and fallbacks. - Validation handles forbidden characters, reserved names, whitespace, Unicode, case-insensitive collisions, existing destinations, and empty results. - Validation returns structured issues and suggestions without mutating files. ## Automated tests - Property tests generate names across platforms and prove paths stay inside the root. - Golden cases cover valid names, collisions, normalization, and template fallbacks. ## Dependencies - US03-01
domverse added this to the E03 — Album Proposals milestone 2026-07-13 13:10:42 +02:00
domverse added the area/filesystemtype/featurepriority/normalarea/backend labels 2026-07-13 13:10:42 +02:00
domverse added a new dependency 2026-07-13 13:11:21 +02:00
domverse added a new dependency 2026-07-13 13:11:21 +02:00
domverse added a new dependency 2026-07-13 13:11:22 +02:00
domverse added this to the Photo Analyzer Delivery project 2026-07-13 13:19:45 +02:00
domverse added the status/backlog label 2026-07-13 13:52:48 +02:00
domverse added status/in-progress and removed status/backlog labels 2026-08-15 13:33:47 +02:00
domverse self-assigned this 2026-08-15 13:33:48 +02:00
Author
Owner

Claimed for implementation on branch us/US03-02-define-album-naming-policy.

Claimed for implementation on branch `us/US03-02-define-album-naming-policy`.
domverse added status/review and removed status/in-progress labels 2026-08-15 13:42:41 +02:00
Author
Owner

Submitted for review: #62

Tests passed:

  • work_item/scripts/python -m unittest discover -s work_item/tests -v
  • work_item/scripts/python -m pytest tests -q
  • work_item/scripts/python -m pytest tests/unit/test_naming_policy.py -q
Submitted for review: https://git.domverse-berlin.eu/domverse/photoanalyzer/pulls/62 Tests passed: - `work_item/scripts/python -m unittest discover -s work_item/tests -v` - `work_item/scripts/python -m pytest tests -q` - `work_item/scripts/python -m pytest tests/unit/test_naming_policy.py -q`
domverse added status/done and removed status/review labels 2026-08-15 13:42:53 +02:00
Author
Owner

Completed and merged via PR #62.

Completed and merged via PR #62.
domverse moved this to Done in Photo Analyzer Delivery on 2026-08-16 11:58:38 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: domverse/photoanalyzer#16