2021-03-16 21:01:17 +03:00
|
|
|
/- spider,
|
2021-04-02 02:57:36 +03:00
|
|
|
met=metadata-store,
|
|
|
|
graph=graph-store
|
2021-03-16 21:01:17 +03:00
|
|
|
/+ strandio, resource, graph-view
|
|
|
|
::
|
|
|
|
=* strand strand:spider
|
|
|
|
=* poke-our poke-our:strandio
|
|
|
|
::
|
|
|
|
^- thread:spider
|
|
|
|
|= arg=vase
|
|
|
|
=/ m (strand ,vase)
|
|
|
|
^- form:m
|
|
|
|
=+ !<([~ =action:graph-view] arg)
|
2021-03-16 21:07:36 +03:00
|
|
|
?> ?=(%disable-group-feed -.action)
|
2021-03-16 21:01:17 +03:00
|
|
|
;< =bowl:spider bind:m get-bowl:strandio
|
|
|
|
?. =(our.bowl entity.group.action)
|
|
|
|
(strand-fail:strandio %bad-request ~)
|
|
|
|
;< association=(unit association:met) bind:m
|
|
|
|
%+ scry:strandio (unit association:met)
|
|
|
|
%- zing
|
|
|
|
:~ /gx/metadata-store/metadata/groups
|
|
|
|
(en-path:resource group.action)
|
|
|
|
/noun
|
|
|
|
==
|
|
|
|
?~ association
|
|
|
|
~|('No group exists, cannot make group feed.' !!)
|
|
|
|
=* metadatum metadatum.u.association
|
|
|
|
?> ?=(%group -.config.metadatum)
|
|
|
|
?> ?| ?=(~ feed.config.metadatum)
|
|
|
|
?=([~ ^] feed.config.metadatum)
|
|
|
|
==
|
|
|
|
;< ~ bind:m
|
|
|
|
%+ poke-our %metadata-push-hook
|
2021-07-09 05:54:55 +03:00
|
|
|
:- %metadata-update-2
|
2021-03-16 21:01:17 +03:00
|
|
|
!> ^- action:met
|
|
|
|
:^ %add
|
|
|
|
group.action
|
|
|
|
groups+group.action
|
|
|
|
metadatum(feed.config [~ ~])
|
2021-04-02 02:57:36 +03:00
|
|
|
?: ?=([~ ^] feed.config.metadatum)
|
|
|
|
;< ~ bind:m
|
|
|
|
%+ poke-our %graph-store
|
2021-09-28 02:43:36 +03:00
|
|
|
:- %graph-update-3
|
2021-04-02 02:57:36 +03:00
|
|
|
!> ^- update:graph
|
|
|
|
[now.bowl [%archive-graph resource.u.u.feed.config.metadatum]]
|
|
|
|
(pure:m !>(~))
|
2021-03-16 21:01:17 +03:00
|
|
|
(pure:m !>(~))
|