Merge pull request #5253 from urbit/m/local-docket-install

kiln, docket: fix local installation
This commit is contained in:
Ted Blackman 2021-09-25 15:43:10 -04:00 committed by GitHub
commit ca20da55ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 1 deletions

View File

@ -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
::

View File

@ -24,6 +24,7 @@
:: $chad: State of a docket
::
+$ chad
$~ [%install ~]
$% :: Done
[%glob =glob]
[%site ~]

View File

@ -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)