mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-28 11:40:11 +03:00
Merge pull request #5253 from urbit/m/local-docket-install
kiln, docket: fix local installation
This commit is contained in:
commit
ca20da55ae
@ -496,6 +496,10 @@
|
|||||||
~> %slog.0^leaf/"kiln: local install {here}"
|
~> %slog.0^leaf/"kiln: local install {here}"
|
||||||
=. vats (update-running-apps (get-apps-diff our loc now rein.rak))
|
=. vats (update-running-apps (get-apps-diff our loc now rein.rak))
|
||||||
=. vats (emit listen:pass)
|
=. vats (emit listen:pass)
|
||||||
|
::NOTE for foreign desks, the download triggers a "real" commit, because
|
||||||
|
:: we actually download the data. for local desks we do not download
|
||||||
|
:: any data, it's already there, so we emit a commit "manually".
|
||||||
|
=. vats (emit (diff:give %commit lac rak))
|
||||||
vats
|
vats
|
||||||
:: +reset: resync after failure
|
:: +reset: resync after failure
|
||||||
::
|
::
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
:: $chad: State of a docket
|
:: $chad: State of a docket
|
||||||
::
|
::
|
||||||
+$ chad
|
+$ chad
|
||||||
|
$~ [%install ~]
|
||||||
$% :: Done
|
$% :: Done
|
||||||
[%glob =glob]
|
[%glob =glob]
|
||||||
[%site ~]
|
[%site ~]
|
||||||
|
@ -602,7 +602,10 @@
|
|||||||
(poke-our:(pass %install) %hood kiln-install+!>([desk ship remote]))
|
(poke-our:(pass %install) %hood kiln-install+!>([desk ship remote]))
|
||||||
++ uninstall
|
++ uninstall
|
||||||
(poke-our:(pass %uninstall) %hood kiln-uninstall+!>(desk))
|
(poke-our:(pass %uninstall) %hood kiln-uninstall+!>(desk))
|
||||||
++ new-docket |=(d=^docket (~(jab by charges) desk |=(charge +<(docket d))))
|
++ new-docket
|
||||||
|
|= d=^docket
|
||||||
|
%+ ~(put by charges) desk
|
||||||
|
[d chad:(~(gut by charges) desk *charge)]
|
||||||
++ new-chad |=(c=chad (~(jab by charges) desk |=(charge +<(chad c))))
|
++ new-chad |=(c=chad (~(jab by charges) desk |=(charge +<(chad c))))
|
||||||
++ fetch-glob
|
++ fetch-glob
|
||||||
^- (list card)
|
^- (list card)
|
||||||
|
Loading…
Reference in New Issue
Block a user