diff --git a/internal/install/install.go b/internal/install/install.go index 567243e1..90e56603 100644 --- a/internal/install/install.go +++ b/internal/install/install.go @@ -221,9 +221,23 @@ func (s Spec) Entry(event string) (json.RawMessage, error) { return b, nil } +// legacyForms maps an event to older subcommands a previous release wrote +// for it. Owner recognises a listed form as ours, for an entry a release +// renames: it still refreshes and still detaches, not lost until the user's +// next watch happens to touch it and not left behind for detach to miss +// (LUI-3, LUI-4). Nothing has been renamed yet, so every list here is empty. +var legacyForms = map[string][]string{} + // Owner returns the install id an entry claims for an event, or "" for an // entry that is not ours. Ownership is carried in the command line itself, // which survives every round trip a settings file can take. +// +// A command matches only as a WHOLE: everything after its first shell word +// (the executable, bare or quoted) must read exactly "