shrub/pkg/arvo/app/metadata-hook.hoon

33 lines
613 B
Plaintext
Raw Normal View History

:: metadata-hook [landscape]:
::
:: allow syncing foreign metadata
2020-02-15 03:31:52 +03:00
::
2020-02-22 03:13:22 +03:00
:: watch paths:
:: /group/%group-path all updates related to this group
::
2020-02-19 04:35:00 +03:00
/- *metadata-store, *metadata-hook
2020-12-02 10:03:05 +03:00
/+ default-agent, dbug, verb, grpl=group, *migrate
~% %metadata-hook-top ..part ~
2020-02-15 03:31:52 +03:00
|%
+$ card card:agent:gall
+$ versioned-state
2020-02-15 03:31:52 +03:00
$% state-zero
2020-07-23 08:02:54 +03:00
state-one
2020-02-15 03:31:52 +03:00
==
::
+$ state-zero
$: %0
2020-02-19 04:35:00 +03:00
synced=(map group-path ship)
2020-02-15 03:31:52 +03:00
==
2020-07-23 08:02:54 +03:00
+$ state-one
$: %1
synced=(map group-path ship)
==
2020-02-15 03:31:52 +03:00
--
2020-07-23 08:02:54 +03:00
=| state-one
2020-02-15 03:31:52 +03:00
=* state -
2020-03-27 03:30:30 +03:00
%- agent:dbug
2020-05-25 08:52:54 +03:00
%+ verb |
2020-02-15 03:31:52 +03:00
^- agent:gall
2021-01-12 07:26:19 +03:00
(default-agent *agent:gall %|)