Commit Graph

6537 Commits

Author SHA1 Message Date
Philip Monk
9d56637916 clay: Drop foreign %wris responses
This flow is not supported, and it was causing issues releasing
416.  This change just drops the responses to avoid crashing, but at
some point we should either support this flow or reject the request in
the first place.
2023-01-18 17:28:51 -07:00
Philip Monk
8a013d147d Merge remote-tracking branch 'origin/master' into next/arvo 2023-01-18 16:13:44 -07:00
Philip Monk
cb95c641a1
Merge pull request #6057 from urbit/jm/recurse-rm
kiln: recursive `|rm`
2023-01-17 15:32:30 -07:00
Philip Monk
d9e5ebe806
Merge pull request #6117 from urbit/lf/lure
hoon: add +lure, for turning a singleton into a list
2023-01-17 15:22:58 -07:00
Philip Monk
77616520c3 ames: add logging for snubbing 2023-01-17 15:16:35 -07:00
Philip Monk
ecdd16dcf3 Merge remote-tracking branch 'origin/next/arvo' into lf/ames-snub 2023-01-17 15:06:11 -07:00
Philip Monk
899712383a
Merge pull request #6160 from urbit/jon/remove-plat
hoon: remove $plat
2023-01-17 15:00:27 -07:00
Philip Monk
427e219b5b
Merge pull request #6199 from urbit/philip/install-once
kiln: add `once` flag to |install
2023-01-17 14:55:55 -07:00
fang
0556e30e08
dill: clean up old-style userspace subscriptions
As of version %5, dill uses a new wire format for its userspace
subscriptions. Its existing subscriptions (read: the one subscription
into %hood for the default session) was never updated to use this new
style.

We observed a bug on one ship, where it had both old-style and new-style
subscriptions into hood, resulting in output being rendered twice. How
exactly this happened remains as of yet unclear.

Here, we forcefully clean up the old-style subscription, and
(re)establish the equivalent new-style subscription. This will prevent
issues like this from reoccurring.
2023-01-17 19:07:57 +01:00
Philip Monk
86cf63986b Merge remote-tracking branch 'origin/jon/bartar-crusade' into next/415 2023-01-13 17:58:12 -07:00
Philip Monk
0791c455a6 hoon: put doccords behind parser flag 2023-01-13 17:41:07 -07:00
Philip Monk
40451fa727 Revert "Revert "Merge pull request #6039 from tadad/da/apt-in""
This reverts commit e306d32c74.
2023-01-13 16:13:03 -07:00
Philip Monk
a7a3790346 kelvin: bump to 139 2023-01-13 16:12:35 -07:00
Philip Monk
cdaae65786 dojo: mule calls to doccords 2023-01-12 13:53:15 -07:00
Philip Monk
0119eef28d Merge branch 'next/arvo' into jon/doccords 2023-01-12 13:14:06 -07:00
Philip Monk
3efce771d5 kiln: add once flag to |install
It's often useful to |merge a desk, but if you're still getting updates
from your sync source, you may get overwritten in the future.  In this
case, you want to merge and clear the sync source.  With this change,
you can do this with:

```
|install ~ship %desk, =once &
```
2023-01-12 12:38:28 -07:00
Philip Monk
e306d32c74 Revert "Merge pull request #6039 from tadad/da/apt-in"
This reverts commit 31bb93846c, reversing
changes made to 7940dd442b.

Reverting because we can't upgrade jetted code without ensuring the jets
change in lockstep.
2023-01-11 15:12:11 -07:00
Philip Monk
7bbcceebaf hoon: typo 2023-01-11 14:47:13 -07:00
Philip Monk
f36591493c kelvin: landscape is only compatible with 416 2023-01-11 14:44:55 -07:00
fang
b78902c30e
Merge branch 'next/dill' into next/arvo 2023-01-10 20:22:29 +01:00
fang
5b160f0c74
zuse: bump kelvin to 416
And lull to 327.
2023-01-06 23:31:16 +01:00
Philip Monk
9031128759
Merge pull request #6047 from bacwyls/team_patch
zuse: change team:title to return false for moons
2023-01-05 15:23:03 -07:00
drbeefsupreme
5b99f74c94 hoon: remove deprecated lustar parser
See #6052. This is completely different from the +* used at the top
of doors, and has almost entirely been replaced by |$. The exception is
the use of the `%made` spec, not present in `|$`. I do not see an
obvious way to change `|$` to use `%made` since this `+*` parser uses
the name of the arm in the `%made` structure, unless we change the
AST of |$.
2023-01-04 18:33:47 -05:00
fang
ff84878c8b
lens: update for sole protocol changes
Dojo had also been incorrectly updated, assuming the type of
%lens-command changed to match. Since lens should only ever be used for
running commands on the local ship (and even that being contentious (; ),
we simply auto-fill the sole session id with the local ship name.
2023-01-04 19:10:33 +01:00
drbeefsupreme
d5bf903f56 Merge branch 'next/arvo' into jon/doccords 2023-01-04 10:22:17 -05:00
fang
36731f92e7
Merge branch 'next/dill' into m/drum-sessions
Also cleans up some remaining merge artefacts.
2023-01-03 19:08:41 +01:00
fang
721fa05519
Merge branch 'next/arvo' into next/dill 2023-01-03 18:56:33 +01:00
fang
a15111a35c
Merge branch 'next/arvo' into m/drum-sessions 2023-01-03 17:19:32 +01:00
drbeefsupreme
d7edbd63da hoon: doccordsify hoon.hoon comments
making hoon.hoon more legible to doccords. also moving some things
around that seemed to be in the wrong place
2022-12-16 15:47:09 -05:00
drbeefsupreme
3da062594e hoon: sweeten =+ foo |@ ++ $ bar -- patterns
|*  foo  bar is sugar for =+  foo  |@  ++  $  bar  --, and newbies find
the old style confusing. this switches out the |@ pattern for the |*
one, at least in layer <=4. the only ones remaining are +toad, +rune,
and +runo, which are already tweaked in #5873 so we omit them here.
2022-12-16 12:46:13 -05:00
Zach Alberico
a2173f1eb3
Merge branch 'next/arvo' into lf/ames-snub 2022-12-15 17:40:04 -08:00
drbeefsupreme
4d084005d7 dprint: call $ arms $ arms 2022-12-15 15:06:02 -05:00
drbeefsupreme
835428d820 dprint: cut off signatures of length >= 3
anytime a gate prints with a complicated sample or product type it is
frequently extremely long. 3 is probably too low of a cutoff number, but
ideally a future version will have verbosity settings that will help
control this.
2022-12-15 15:04:33 -05:00
Liam Fitzgerald
c0be44f790 helm: add ames passthrough for %snub 2022-12-15 13:47:36 -06:00
Liam Fitzgerald
14baf6f3d6 ames: add %snub functionality
Adds .snub to ames-state, a global blocklist for ships. If a packet is
received from a ship that is in the .snub set, it is immediately
dropped. Adds %snub to ames' $task, to allow manipulating this list
2022-12-15 13:37:14 -06:00
drbeefsupreme
e04262ed2d hoon: swap ?. for ?: on +loaf and +loan
no idea how this ended up happening, but apparently it was my fault.
2022-12-15 14:24:38 -05:00
drbeefsupreme
517945c582 hoon: remove $plat
$plat was a type of $plot added in
bc6ad0456d

plots are no longer a thing, so
neither should be plats.
2022-12-14 20:43:39 -05:00
drbeefsupreme
44aa90c9ad hoon: remove +hint:ax
all this did was set .nut. while it could be used with doccords, it is
currently unused, and none of the other values in the sample of _ax are
set this way (bug, def, cox, hay, dom). i experimented a little bit with
trying to make use of this but it made things overall more unreadable,
and it wouldn't make sense to do it without doing the same for other
values of the sample. im guessing this is just an old style.
2022-12-14 20:27:08 -05:00
drbeefsupreme
68c2ab5e25 hoon: fix .nut comment
notes aren't just for doccords, of course
2022-12-14 16:25:04 -05:00
drbeefsupreme
25dba7e672 hoon: remove extra hoon casts in +decorate
everything appears to work fine without them and I don't think it is any
less unclear what this gate is doing.
2022-12-14 16:02:41 -05:00
fang
94dd77bb0e
jael: also send %ruin breaches to catch-all subs
Previously, fake breaches triggered by a %ruin task would only get sent to
subscribers watching for the affected ship specifically. Now, we send them to
both those subscribers, and the ones watching for pubkey changes on all ships.
2022-12-13 23:52:10 +01:00
Liam Fitzgerald
4584067e7d Merge branch 'lf/gladio-2' 2022-12-09 15:23:18 +10:00
drbeefsupreme
a350b12c36 dprint: uncomment chapter names in _hunt 2022-12-08 14:39:41 -05:00
drbeefsupreme
d508c8c507 hoon: add comment about .nut in +ax 2022-12-07 16:17:57 -05:00
drbeefsupreme
fc8449d69e dprint: add casting to some _hunt arms 2022-12-07 15:20:23 -05:00
drbeefsupreme
627827f029 hoon: revise leap:docs and apse:docs
when +apse sees a link, it presume that the following a batch comment,
and stops parsing so that it can be picked up by apex:docs next

this required a change to +leap, which has been rewritten to pretty much
look like +gap but stop parsing when encountering doccords.
2022-12-06 14:30:31 -05:00
Philip Monk
287b2f132c Merge remote-tracking branch 'origin/master' into next/417 2022-12-06 11:21:57 -07:00
drbeefsupreme
b76134fb1d hoon: attach all untagged arm docs
previously we just threw them out and wasn't sure whether it was the
right answer. this violates the principle of least surprise - even
though it hard to see the value of attaching multiple empty $cuff notes
to an arm, we shouldn't stop the programmer from doing it without any
indication or explanation as to why. its the behaviour you'd expect
given how doccords is structured.
2022-12-06 13:16:45 -05:00
drbeefsupreme
75cf230d54 hoon: revise doccord intermediate parse structures
it is desirable for both apex:docs and apse:docs to parse into an
intermediate representation that never ends up in an AST so that it is
clear that these parsed representations may be altered in the future
without worrying about old types nesting with new types. this was
already the case for $whit, but apse:docs parsed directly as a $help,
which is used in ASTs. so apse:docs now parses as a $whiz, which is
simply a cord. in the future, if postfix comments are used for something
like invariants, or allow $links, we may want to change this.

this also changes $whit to remove .use, which was unused. similarly,
+glom is removed since its not used anywhere.
2022-12-06 12:12:45 -05:00
drbeefsupreme
3b6f0f5808 hoon: remove comment on batch arm docs above chap
this might actually be undesirable, don't want to leave this as a trap
for somebody in the future thinking we knew it was definitely the right
answer. having batch comments follow the chapter declaration does make a
certain amount of sense, stylistically
2022-12-05 18:13:42 -05:00