mirror of
https://github.com/urbit/shrub.git
synced 2025-01-07 05:26:56 +03:00
push-hook: remove old resource-for-update
This commit is contained in:
parent
e83efcb932
commit
e3ae98123b
@ -92,27 +92,6 @@
|
|||||||
%run-updates (is-allowed resource.q.update bowl %.y)
|
%run-updates (is-allowed resource.q.update bowl %.y)
|
||||||
==
|
==
|
||||||
::
|
::
|
||||||
++ resource-for-update
|
|
||||||
|= =vase
|
|
||||||
^- (unit resource:res)
|
|
||||||
=/ =update:store !<(update:store vase)
|
|
||||||
?- -.q.update
|
|
||||||
%add-graph `resource.q.update
|
|
||||||
%remove-graph `resource.q.update
|
|
||||||
%add-nodes `resource.q.update
|
|
||||||
%remove-nodes `resource.q.update
|
|
||||||
%add-signatures `resource.uid.q.update
|
|
||||||
%remove-signatures `resource.uid.q.update
|
|
||||||
%archive-graph `resource.q.update
|
|
||||||
%unarchive-graph ~
|
|
||||||
%add-tag ~
|
|
||||||
%remove-tag ~
|
|
||||||
%keys ~
|
|
||||||
%tags ~
|
|
||||||
%tag-queries ~
|
|
||||||
%run-updates `resource.q.update
|
|
||||||
==
|
|
||||||
::
|
|
||||||
++ initial-watch
|
++ initial-watch
|
||||||
|= [=path =resource:res]
|
|= [=path =resource:res]
|
||||||
^- vase
|
^- vase
|
||||||
|
@ -81,15 +81,6 @@
|
|||||||
==
|
==
|
||||||
--
|
--
|
||||||
::
|
::
|
||||||
++ resource-for-update
|
|
||||||
|= =vase
|
|
||||||
^- (unit resource)
|
|
||||||
=/ =update:store
|
|
||||||
!<(update:store vase)
|
|
||||||
?: ?=(%initial -.update)
|
|
||||||
~
|
|
||||||
`resource.update
|
|
||||||
::
|
|
||||||
++ take-update
|
++ take-update
|
||||||
|= =vase
|
|= =vase
|
||||||
^- [(list card) agent]
|
^- [(list card) agent]
|
||||||
|
@ -67,16 +67,6 @@
|
|||||||
|* =config
|
|* =config
|
||||||
$_ ^|
|
$_ ^|
|
||||||
|_ bowl:gall
|
|_ bowl:gall
|
||||||
::
|
|
||||||
:: +resource-for-update: get affected resource from an update
|
|
||||||
::
|
|
||||||
:: Given a vase of the update, the mark of which is
|
|
||||||
:: update-mark.config, produce the affected resource, if any.
|
|
||||||
::
|
|
||||||
++ resource-for-update
|
|
||||||
|~ vase
|
|
||||||
*(unit resource)
|
|
||||||
::
|
|
||||||
:: +take-update: handle update from store
|
:: +take-update: handle update from store
|
||||||
::
|
::
|
||||||
:: Given an update from the store, do other things after proxying
|
:: Given an update from the store, do other things after proxying
|
||||||
|
Loading…
Reference in New Issue
Block a user