Commit Graph

196 Commits

Author SHA1 Message Date
Hunter Miller
5481d4f590 glob: updating grid and landscape 2021-09-28 14:12:06 -05:00
Fang
dca7742321
treaty: fix the other un-versioned mark instance 2021-09-28 22:59:47 +04:00
Fang
899aadf750
treaty: send treaty with the versioned mark 2021-09-28 22:33:40 +04:00
Hunter Miller
ce587b0c1e
Merge pull request #5260 from urbit/lf/fe-fixes
dist: FE fixes
2021-09-28 12:42:48 -05:00
Fang
e03ec03fc0
docket: set chad to %hung if glob hashes mismatch 2021-09-28 20:53:08 +04:00
Fang
8c368e639e
docket: always %leave previous fetch-glob
This just no-ops if it doesn't exist. If it does, we avoid the
duplicate-subscription-wire problem.
2021-09-28 20:52:19 +04:00
Fang
526e60b04c
strandio: fail when http request gets cancelled
Instead of waiting for a proper response. Iris doesn't currently retry!

Also updates docket to detect this case and retry appropriately.
2021-09-28 20:51:51 +04:00
Fang
d0091baa62
desk-jams: update
Also cleans docket back up.
2021-09-28 19:30:07 +04:00
Fang
6277213079
tmp: debug printfs 2021-09-28 18:30:12 +04:00
Fang
5cae9185f0
meta: fixup merge 2021-09-28 17:40:46 +04:00
Fang
400d2e4f44
Merge remote-tracking branch 'origin/lf/versioning-marks-dist' into dist 2021-09-28 17:13:33 +04:00
Liam Fitzgerald
8219f25093 garden: fix notification archival
Fixes urbit/landscape#1214
2021-09-28 14:32:38 +10:00
Liam Fitzgerald
77f7b05939 kiln: version external marks 2021-09-28 12:50:45 +10:00
Liam Fitzgerald
f3f13b1261 garden: version treaty, docket 2021-09-28 12:50:45 +10:00
ryjm
7fd9e6fcaa spider garden: restore |. 2021-09-27 21:23:46 -04:00
ryjm
472f16fd2e garden spider: address comments 2021-09-27 21:23:46 -04:00
ryjm
47a6aa2753 spider garden: remove sigpams and move glob mark 2021-09-27 21:23:46 -04:00
ryjm
3fd6722f90 garden: update glob thread for ames 2021-09-27 21:23:46 -04:00
ryjm
ddf9e769ae spider, docket: move back to threads 2021-09-27 21:23:46 -04:00
Fang
4785dbbee5
docket: %leave glob subscriptions if necessary
If we're about to re-%watch on the same wire, we need to %leave first to
avoid getting into a duplicate wire situation.
2021-09-27 23:57:39 +04:00
Ted Blackman
7665e75849 manual merge @liam-fitzgerald misc. fixes PR 2021-09-27 14:50:58 -04:00
Fang
1640ff6d38
dist: add glob mark, merge base-dev into others
This had fallen off the wagon at some point.
2021-09-27 13:34:23 +04:00
Ted Blackman
2544b79e4b kiln,desks: remove %fish from /desk/bill; fix some other kiln issues 2021-09-26 17:03:26 -04:00
Fang
09c74dbaff
docket: fix "do we have this glob yet" check
We were incorrectly assuming we were comparing against a unit value.

Also makes a ~| more useful.
2021-09-26 21:55:22 +04:00
Fang
131cd82fc8
docket: include hash and target in glob wires
To avoid running into "duplicate wire" situations when we're just trying
to request the latest thing.

Additionally now does hash validation on http globs, and just silently
no-ops if the result we got came from a previous request.
2021-09-26 21:53:13 +04:00
Fang
2836fbde50
docket: better hash mismatch output
Could be useful to know both hashes when a mismatch happens.
2021-09-26 12:49:27 +04:00
Hunter Miller
b5c4ce1e15 grid: updating glob 2021-09-25 17:16:13 -05:00
Fang
cf73edb73c
docket: don't crash on adding a brand new docket
If we didn't have a charge for it yet, adding its new docket would
previously fail. Here we make sure this doesn't crash.

The local install case was hitting this.
2021-09-25 18:27:14 +04:00
Hunter Miller
cdf4782a8a grid: fixing glob 2021-09-24 12:15:54 -05:00
Liam Fitzgerald
862eab4097 garden,landscape: update globs 2021-09-24 14:41:56 +10:00
Liam Fitzgerald
2680e4512d various: update copy 2021-09-24 14:12:53 +10:00
Liam Fitzgerald
4267f69e3c hark: cleanup edges 2021-09-24 11:10:02 +10:00
Liam Fitzgerald
5dadee5375 Merge remote-tracking branch 'origin/dist' into m/dist-ames-glob-fixes 2021-09-23 15:50:55 +10:00
Liam Fitzgerald
b0f6f59b01 docket: move hash outside buccen 2021-09-23 15:45:13 +10:00
Liam Fitzgerald
42e19b53f6 grid, interface: glob 2021-09-23 15:08:31 +10:00
Liam Fitzgerald
6c6b7a526c grid, interface: glob 2021-09-22 14:25:01 +10:00
Liam Fitzgerald
eedf6edf4d garden,landscape: update globs 2021-09-22 10:55:11 +10:00
Liam Fitzgerald
7b262c78ce docket: remove index.html caching 2021-09-22 10:11:31 +10:00
Fang
514c54b46e
docket: change chad to %hung if glob watch fails 2021-09-21 19:28:52 +02:00
Fang
b41aaf8f10
docket: stop eating fresh globs and their hashes
When we uploaded a glob we hosted, we'd write a new docket to clay,
triggering a %commit.
The handling of this would:
- fail to update the docket in state,
- and discard our new glob, because the docket had changed.

Here we properly update the docket mirror in state, and make sure to
keep the glob around if its hash lines up.
2021-09-21 18:19:38 +02:00
Fang
75cc6aa28a
docket: add explicit hash to http globs 2021-09-21 17:52:45 +02:00
Fang
f1bb35fcee
docket: update docket file's glob hash on upload
If the docket says the glob is a local ames glob, then update the hash
to match the newly uploaded glob.

One would naively expect this to result in a %commit fact being
received, letting us update our state through the usual mechanism.
This is, for some reason, not the case...
2021-09-21 17:42:45 +02:00
Fang
4e453a9051
docket: hash-based glob-ames, handle within app
Instead of going through the thread. This works around a mark
definition issue and lets the docket file be more precise about
version selection. (Though older globs likely won't be kept around.)
2021-09-21 16:18:41 +02:00
Fang
976a071e5c
docket: stub out only glob _data_ in dbug state
And make it (hopefully) more obvious that it's getting stubbed out.
2021-09-21 16:17:53 +02:00
Liam Fitzgerald
f6b5377d8f treaty: hardcode default ally 2021-09-21 14:53:32 +10:00
Liam Fitzgerald
7194b3586c garden,landscape: update globs 2021-09-21 14:28:45 +10:00
Liam Fitzgerald
55da88a32a hark-system-hook: reconfigure update notifications 2021-09-21 12:51:03 +10:00
Fang
da28fbfed9
Merge dist into m/distpilled 2021-09-20 19:35:51 +02:00
Fang
5cf8e5a484
docket: account for new kiln fact mark 2021-09-20 19:30:26 +02:00
fang
5afa9f4974
Merge pull request #5220 from urbit/m/dist-glob-upload-docs
dist: docket: improve upload page
2021-09-20 19:16:48 +02:00
Liam Fitzgerald
ea5570655b garden: hark-store typo 2021-09-20 14:51:01 +10:00
Liam Fitzgerald
afc42760ea grid, interface: glob 2021-09-20 14:39:49 +10:00
Liam Fitzgerald
0655d72fd4 hark-store: fix %archive-all 2021-09-20 14:15:19 +10:00
Liam Fitzgerald
71f8b9a90b settings-store: handle missing desk 2021-09-20 12:17:54 +10:00
Liam Fitzgerald
7b9b0c62b7 various: update symbolic merges 2021-09-17 14:54:01 +10:00
Liam Fitzgerald
143a8e08e6 various: fix dependencies & tests 2021-09-17 14:51:19 +10:00
Liam Fitzgerald
caad190e22 garden-dev: fix hark-store sur/ packaging 2021-09-17 10:51:30 +10:00
Liam Fitzgerald
1d94d08d60 garden: rework hark-store timeboxing 2021-09-17 10:44:35 +10:00
Fang
b23d9d7002
docket: loosen restrictions on glob uploads
Now also lets you upload globs that the local ship isn't the canonical
source for. Could come in handy for troubleshooting, among other things.
2021-09-14 23:29:07 +02:00
Fang
177ef73d37
docket: improve upload page
Most notably, we further restrict the desks eligible for glob upload
to just the ones whose glob is said to be hosted on the local ship.

On the upload page, we replace the desk input field with a dropdown
from which eligible desks can be selected.
Additionally we now display some instructions, instead of leaving
developers entirely on their own.
2021-09-14 16:38:20 +02:00
Liam Fitzgerald
a433e4f911 Merge remote-tracking branch 'origin/dist' into lf/nu-hark-store 2021-09-14 12:40:52 +10:00
Ted Blackman
57fdb12852 fix broken :treaty|ally 2021-09-13 12:44:17 +03:00
Liam Fitzgerald
613f43cb32 grid: update glob 2021-09-13 15:45:33 +10:00
Liam Fitzgerald
10885ac57a settings-store: fix typo 2021-09-13 11:42:10 +10:00
Liam Fitzgerald
e4fad4f7b1 various: fix packaging 2021-09-10 14:37:17 +10:00
Liam Fitzgerald
553e848554 various: update globs 2021-09-10 14:31:30 +10:00
Liam Fitzgerald
cc3fe23ae4 hark-store: add time field to %seen-index 2021-09-10 13:45:23 +10:00
Liam Fitzgerald
00d08a4543 Merge remote-tracking branch 'origin/dist' into lf/app-linking 2021-09-10 10:22:43 +10:00
Liam Fitzgerald
f2e1e2fe93 garden: proper lag notifications w/ autodismiss 2021-09-09 14:53:26 +10:00
Liam Fitzgerald
8745980f56 landscape: amend for setting-store namespacing 2021-09-09 11:59:25 +10:00
Liam Fitzgerald
3ed00eda9d settings-store: query by desk 2021-09-09 11:35:57 +10:00
Liam Fitzgerald
f31c119ba0 settings-store: namespace by desk 2021-09-09 10:41:39 +10:00
Liam Fitzgerald
e08ac991b3 garden: move settings-store 2021-09-09 09:52:56 +10:00
Liam Fitzgerald
b3e634db48 treaty: request treaties from outside alliance 2021-09-08 12:59:05 +10:00
Ted Blackman
83be5162ed docket: manual merge of @Fang- web glob upload 2021-09-06 22:37:13 +03:00
Ted Blackman
18019b3eb4 minor cleanups 2021-09-06 21:59:24 +03:00
Ted Blackman
5fbaa143d5 fix find/replace miss 2021-09-06 21:59:13 +03:00
Ted Blackman
8d523eed8e garden/desk.docket: fix commented-out glob-http 2021-09-06 21:33:01 +03:00
Ted Blackman
f58d115ce5 Merge remote-tracking branch 'ryjm/jm/ship-globs' into dist 2021-09-06 21:29:38 +03:00
Liam Fitzgerald
f24fbe3eba Merge remote-tracking branch 'origin/dist' into lf/nu-hark-store 2021-09-06 14:34:46 +10:00
Liam Fitzgerald
613980c511 garden: update hark-store for third party distro 2021-09-06 13:22:25 +10:00
Ted Blackman
f3e15396f3 %garden-dev desk; also cleaned up %base-dev 2021-09-02 00:37:56 +03:00
ryjm
ad8f6f681e docket: download globs over ames
Kind of a pain to test, need a better way to insert a `charge` directly.
Either that or rework `chad`, but I don't entirely understand why the
`chad` lifecycle is the way it is.
2021-09-01 02:22:54 -04:00
Liam Fitzgerald
962ab54f40 garden: move hark-store 2021-09-01 14:36:31 +10:00
Hunter Miller
0351220374 types: fixing type issues and updating grid glob 2021-08-31 14:59:32 -05:00
Liam Fitzgerald
cdbb44f736 garden: update desk.docket 2021-08-31 10:02:08 +10:00
Liam Fitzgerald
9053a994b8 garden: fix varable shadow 2021-08-27 17:13:01 +10:00
Liam Fitzgerald
2cce688d6e garden: update desk.docket 2021-08-27 13:35:41 +10:00
Liam Fitzgerald
b1ff1eb3ff treaty: fix allied treaties query 2021-08-27 12:24:59 +10:00
Liam Fitzgerald
54eea393b6 various: update globs 2021-08-26 13:24:21 +10:00
Liam Fitzgerald
7cc12bb867 grid: use kiln diffs for update notifs 2021-08-26 10:45:42 +10:00
Liam Fitzgerald
17293ba758 treaty: fix updates after initial 2021-08-24 13:53:01 +10:00
Liam Fitzgerald
c4bf395f5f docket: fix dockets not updating 2021-08-23 14:10:22 +10:00
Liam Fitzgerald
6567ec5e64 docket/treaty: cleanup marks, generators 2021-08-23 14:09:03 +10:00
Liam Fitzgerald
52fb35227d docket: react to suspension & revival 2021-08-23 13:32:22 +10:00
Liam Fitzgerald
86dc350cda grid: rename backend to garden 2021-08-23 11:51:50 +10:00