mirror of
https://github.com/urbit/shrub.git
synced 2024-12-20 09:21:42 +03:00
Merge pull request #6670 from urbit/jb/vats-defaults
vats: add source ship, remove base hash from default output
This commit is contained in:
commit
df86465bdf
@ -22,7 +22,7 @@
|
|||||||
%- zing
|
%- zing
|
||||||
%+ turn
|
%+ turn
|
||||||
%+ sort
|
%+ sort
|
||||||
=/ sed .^((set desk) %cd /(scot %p p.bec)/base/(scot %da now))
|
=/ sed .^((set desk) %cd /(scot %p p.bec)//(scot %da now))
|
||||||
(sort ~(tap in sed) |=([a=@ b=@] !(aor a b)))
|
(sort ~(tap in sed) |=([a=@ b=@] !(aor a b)))
|
||||||
|=([a=desk b=desk] ?|(=(a %kids) =(b %base)))
|
|=([a=desk b=desk] ?|(=(a %kids) =(b %base)))
|
||||||
|=(syd=desk (report-vat (report-prep p.bec now) p.bec now syd verb))
|
|=(syd=desk (report-vat (report-prep p.bec now) p.bec now syd verb))
|
||||||
|
@ -159,16 +159,10 @@
|
|||||||
|= [=weft =tape]
|
|= [=weft =tape]
|
||||||
(welp " {<[lal num]:weft>}" tape)
|
(welp " {<[lal num]:weft>}" tape)
|
||||||
?. verb
|
?. verb
|
||||||
=/ cut=(list tape) (turn meb truncate-hash)
|
|
||||||
=/ len (lent cut)
|
|
||||||
=/ base-hash
|
|
||||||
?: =(0 len) "~"
|
|
||||||
?: =(1 len) (head cut)
|
|
||||||
"~[{`tape`(zing (join " " `(list tape)`cut))}]"
|
|
||||||
:~ leaf/"/sys/kelvin: {kul}"
|
:~ leaf/"/sys/kelvin: {kul}"
|
||||||
leaf/"base hash ends in: {base-hash}"
|
|
||||||
leaf/"%cz hash ends in: {(truncate-hash hash)}"
|
leaf/"%cz hash ends in: {(truncate-hash hash)}"
|
||||||
leaf/"app status: {sat}"
|
leaf/"app status: {sat}"
|
||||||
|
leaf/"source ship: {?~(sink <~> <her.u.sink>)}"
|
||||||
leaf/"pending updates: {<`(list [@tas @ud])`~(tap in wic.dek)>}"
|
leaf/"pending updates: {<`(list [@tas @ud])`~(tap in wic.dek)>}"
|
||||||
==
|
==
|
||||||
::
|
::
|
||||||
|
Loading…
Reference in New Issue
Block a user