Commit Graph

475 Commits

Author SHA1 Message Date
Pyry Kovanen
bb8ba2455e
Merge branch 'develop' into next/kelvin/411 2024-01-31 16:35:29 +02:00
silnem2
6ce270ffa4 drum: fix off-by-one error in wrd:offset 2024-01-09 06:53:38 -08:00
Pyry Kovanen
e09788f2b3
Merge branch 'next/kelvin/411' into next/hoon/138 2023-10-06 21:16:38 +03:00
Joe Bryan
8b1e66c6a1 Merge branch 'next/kelvin/411' into next/hoon/138 2023-10-04 21:58:48 -04:00
tinnus-napbus
387a780ca9
Merge branch 'next/kelvin/411' into desk-publisher-switcher 2023-09-30 13:13:47 +13:00
Pyry Kovanen
6b94db25be
Revert "Revert "kiln: OTA merge approval (UIP 114)"" 2023-09-21 13:55:55 +03:00
Pyry Kovanen
bca8e46895
Revert "kiln: OTA merge approval (UIP 114)" 2023-09-21 13:39:23 +03:00
Tinnus Napbus
e9a618e184 kiln: change jump-related @p printing to scow's 2023-09-16 02:53:41 +12:00
Tinnus Napbus
b59525a203 kiln: OTA merge control
- let users disable automatic OTA merging for a sync or globally
- a sync can be set to manual, automatic or global default
- unapproved non-auto updates must be approved by the user
2023-09-15 22:20:42 +12:00
Tinnus Napbus
c8ab40c87a Merge branch 'next/kelvin/411' into desk-publisher-switcher 2023-08-31 01:44:40 +12:00
Tinnus Napbus
4440eaced6 kiln: make publisher change requests require approval 2023-08-07 21:24:52 +12:00
Tinnus Napbus
f1c1205fe2 kiln: let publishers tell subs to switch source
This adds a %kiln-change-source poke that changes the sync source
for all syncs from the given remote ship/desk to a new ship/source.

This poke works remotely iff it comes from the publisher, allowing
publishers to migrate app distribution.

A %kiln-change-publisher poke is also added to kiln which sends this out
to all desk subscribers with the let+1 %w %sing that %kiln uses.
2023-07-28 21:35:38 +12:00
Pyry Kovanen
897d00334f
Merge branch 'next/kelvin/412' into yu/enable-close-flows 2023-07-24 16:58:13 +03:00
Marcus
be853b5a1a kiln: avoid downloading updates for uninstalled desks 2023-07-24 16:15:48 +03:00
silnem2
b254524aaf kiln: change deprecated %cd scry 2023-07-24 15:10:54 +03:00
silnem2
23bb0eb35e kiln: rewrite +poke-uninstall to unsync suspended desks 2023-07-24 15:10:54 +03:00
Alex Shelkovnykov
9509254a2d hoon: remove rut:by, duplicate of urn:by 2023-06-17 13:37:26 -04:00
yosoyubik
68db0b4e03 ames: move +on-kroc logic to |close-flows
+on-kroc was cluttered with ad-hoc logic to indentify stale flows from
failed resubscriptions that were not properly %corked. Here we move
that logic to a generator that, if not in dry mode, will call %ames with a
(list  [ship bone]) to %cork them.

Another option would be to move the logic in the generator to a state
update in ames, which will trigger possibly thousands of %ames messages
to be sent, on every ship that runs the state migration—these flows are
not causing a problem that neds to be addressed, and only take extra
space.

If we decide that this needs to be run by everyone, one solution could be
to set up a timer (maybe taking advantage of the fact that ships don't get
the OTA a the same time) that will eventually poke %hood with a
%helm-ames-kroc task.
2023-06-07 15:55:50 +02:00
silnem2
d363f01080 kiln: add +poke-suspend-many and rewrite +poke-suspend 2023-04-21 15:12:38 -06:00
silnem2
6a0f66b836 kiln: update +poke-suspend to use a list of desks 2023-04-13 08:40:14 -06:00
Pyry Kovanen
cb819b2091
Merge pull request #6413 from urbit/i/6407/zeal
clay: stop failed kelvin upgrades from retrying immediately
2023-03-24 18:36:09 +02:00
Philip Monk
89500460f7 clay: stop failed kelvin upgrades from retrying immediately
We were retrying failed kelvin upgrades as many times as we had apps
that needed to be suspended, because suspending an app triggers an
attempt to run the next kelvin upgrade.  This suspends all those apps in
one batch move, and then tries the next kelvin upgrade only once at the
end.

Fixes #6407

Partially addresses #6285
2023-03-24 18:19:48 +02:00
yosoyubik
003613d1d5 Merge branch 'develop' into yu/ames-snub-whitelist 2023-03-17 14:05:38 +01:00
Josh Lehman
dbe6f7fd20
Merge branch 'develop' into i/6264/ames-snub-whitelist 2023-03-16 08:30:57 -07:00
yosoyubik
02f01cf14c Merge branch 'develop' into i/6103/ames-refactor 2023-03-16 09:27:22 +01:00
yosoyubik
2724523a26 Merge branch 'develop' into i/6103/ames-refactor 2023-03-12 09:46:44 +01:00
Marcus
df233c1acd kiln: fix uninstall 2023-03-10 14:22:09 -03:00
Marcus
3b91a3f0be ames: snubbed scry and whitelist 2023-03-02 18:21:36 -03:00
yosoyubik
5e64bdd833 ames: add |ames-cong 2023-02-23 13:45:59 +01:00
fang
1cc647938d
drum: make |knob work again
This should no longer go into dill, but instead be controlled by drum
directly, since that's where system output gets rendered now (in the
common/default case).
2023-02-21 17:29:16 +01:00
fang
707249beb9
drum: print dill %logs
Dill's new %logs endpoint can be used to receive system output as $told
nouns. Dill no longer prints system output itself, leaving the display
of it up to terminal handlers (or the runtime). For now, to maintain the
status quo, drum subscribes to dill %logs, and prints them inline in the
default session.
2023-02-21 16:51:45 +01:00
yosoyubik
21158d6d54 ames: style fixes and comments 2023-02-14 06:06:41 +01:00
Philip Monk
1c0bf96525 clay: correctly restart syncs when source breaches
Fixes #6313
2023-02-09 13:21:43 -07:00
yosoyubik
1d8214530a ames: fix |close-flows generator 2023-02-06 16:38:50 +01:00
yosoyubik
ad712caccf ames, gall: move |close-flows logic to vanes
This modifies the %rake task in %gall, to select what kind of
subscriptions we try to close:

=mode %o: kill old pre-nonce subscriptions
=mode %z: kill old pre-nonce subscriptions, including sub-nonce = 0
=mode %r: kills all stale resubscription flows

It also adds a dry-run option to both tasks (%kroc in ames, %rake in gall)
2023-02-06 16:36:32 +01:00
yosoyubik
872db0efcc ames, +close-flows: combine stale flows
This combines two types of flows that can be closed:

- nacking %watch pleas
- resubscriptions that were not properly corked
2023-02-06 16:36:31 +01:00
yosoyubik
7d4959db2e ames: don't send %kroc cards in |close-flows 2023-02-06 16:36:30 +01:00
yosoyubik
3a7bd3a67f ames: add tool for removing failed %watch flows 2023-02-06 16:36:27 +01:00
Philip Monk
735eedcf6e
Merge pull request #6249 from urbit/i/6244/kids
kiln: Keep %kids desk in sync after kelvin update
2023-01-26 16:07:23 -07:00
Philip Monk
821ed641ea
Merge pull request #6243 from urbit/i/6231/autoprop
autoprop: automated pill (& other boot prop) building
2023-01-26 16:07:01 -07:00
Philip Monk
d328c7ad8c kiln: update comment 2023-01-26 14:55:15 -07:00
Josh Lehman
6cd9fa56ae Revert "Merge pull request #6199 from urbit/philip/install-once"
This reverts commit 427e219b5b, reversing
changes made to 86cf63986b.
2023-01-24 16:00:35 -08:00
Philip Monk
bd4e093ada kiln: keep %kids desk in sync after kelvin update
This is the fourth option described in #6244.

Fixes #6244
2023-01-24 15:49:43 -07:00
fang
74e653053d
lib: move pill creation into /lib/pill
In preparation for pill building from outside the generators.
2023-01-23 20:24:02 +01: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
ecdd16dcf3 Merge remote-tracking branch 'origin/next/arvo' into lf/ames-snub 2023-01-17 15:06:11 -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
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