mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-26 08:25:04 +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}"
|
||||
=. vats (update-running-apps (get-apps-diff our loc now rein.rak))
|
||||
=. 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
|
||||
:: +reset: resync after failure
|
||||
::
|
||||
|
@ -24,6 +24,7 @@
|
||||
:: $chad: State of a docket
|
||||
::
|
||||
+$ chad
|
||||
$~ [%install ~]
|
||||
$% :: Done
|
||||
[%glob =glob]
|
||||
[%site ~]
|
||||
|
@ -602,7 +602,10 @@
|
||||
(poke-our:(pass %install) %hood kiln-install+!>([desk ship remote]))
|
||||
++ uninstall
|
||||
(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))))
|
||||
++ fetch-glob
|
||||
^- (list card)
|
||||
|
Loading…
Reference in New Issue
Block a user