Sonderfall für Host: src/ui/contribution.json direkt ohne Unterverzeichnis-Scan #5
Labels
No labels
coordination/cross-repo
coordination/needed
effort
large
effort
medium
effort
small
meta/duplicate
meta/planning
meta/wontfix
priority
high
priority
low
priority
medium
session
blocker
session
handover
session
next
status
blocked
status
done
status
in-progress
status
review
status
to-go
type
admin
type
bug
type
config
type
deployment
type
docs
type/documentation
type
enhancement
type
feature
type
handover
type
infrastructure
type
installation
type
maintenance
type
migration
type/refactor
type
research
type
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
DAW/daw-modul-berhtjan-core#5
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?
Ziel
scanner.luasoll nicht nur Unterverzeichnisse eines Scan-Roots durchsuchen,sondern auch den Root selbst als Host-Contribution erkennen.
Hintergrund
Jedes DAW-Host-Programm hat eigene Commands die in
src/ui/contribution.jsondeklariert sind. Der Host traegt sich selbst in den Scan-Roots ein:
Damit
scan_root("src")die Host-Contribution findet, muss es pruefen obsrc/ui/contribution.json+config/module.confim Root selbst liegen --nicht nur in seinen Unterverzeichnissen.
Akzeptanzkriterien
scan_root(root)prueft zusaetzlich:<root>/ui/contribution.json+<project-root>/config/module.conflua.requireausmodule.confwird alsrequire_pathverwendetTechnische Notes
Erkennung: wenn
<root>/ui/contribution.jsonexistiert, suchemodule.confrelativ zum Root (
../config/module.confwenn root =src).Einfachster Weg: separater Check am Anfang von
scan_rootvor demfs.list_dirsLoop.Resolved by existing check_host_root() implementation in scanner.lua.
scan_root() checks path/config/ui/contribution.json + path/config/module.conf
before the subdir scan. Flat repo structure means scan root == project root,
so no relative path adjustment needed.