hero_mail — bring repo up to canonical Hero layout (buildenv, build_lib shim, build-linux workflow, license, README socket-path typo) #1
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_mail#1
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?
Bring
hero_mailup to canonical Hero layoutCompanion issue to
lhumina_code/hero_skills#158 (service_mail.nulifecycle module). The Nushell skill module landed and works against the current binaries, but thehero_mailrepo itself is missing several canonical Hero conventions — these don't blockservice_mail.nubut do affect CI / release / cross-tree consistency.Items
buildenv.sh(orscripts/buildenv.sh) declaringPROJECT_NAME,BINARIES,VERSIONfor the standardbuild_lib.shflow. Mirrors the convention used byhero_browser,hero_books,hero_livekit, etc.scripts/build_lib.shsymlink/shim so the standard CI / release helpers can drive the build the same way they do for sibling repos..forgejo/workflows/build-linux.yamlso tagged releases publish prebuilt Linux binaries (amd64 musl at minimum). See theforge-release-workflowskill / sibling repos for the canonical shape.~/.hero/var/sockets/hero_mail_*.sock(note the leading dot beforehero/). The actual binaries default to~/hero/var/sockets/hero_mail_*.sock(no dot) percrates/hero_mail_server/src/main.rs::default_socket_pathandcrates/hero_mail_ui/src/main.rs::default_ui_socket_path. Update the README to the correct paths, and ideally to the canonical Hero per-service-subdir layout (~/hero/var/sockets/hero_mail/{rpc,ui}.sock) — the latter is whatservice_mail.nupins via--bindflags today.~/hero/var/sockets/hero_mail/rpc.sockand~/hero/var/sockets/hero_mail/ui.sockinstead of the current flat layout, the--bind/--serveroverrides currently inservice_mail.nucan be dropped entirely.Why these matter
Without
buildenv.sh+build_lib.shshim, hero_mail can't be built/released through the same CI path as the rest of Hero — every operator has to know to usecargo build --workspacedirectly. License inconsistency surfaces at redistribution time. README typo wastes operator time when troubleshooting socket connections.Out of scope
Stalwart integration itself is tracked separately. This issue is purely about repo-layout / packaging conventions.