Commit Graph

23060 Commits

Author SHA1 Message Date
matildepark
9e3722d581
Merge pull request #4262 from urbit/lf/hark-autorebuild
hark-store: Fix channel marking as read crash
2021-01-11 17:48:30 -05:00
matildepark
c44ac6210b
Merge pull request #4261 from urbit/lf/hark-remove-fixes
hark-store: fix dangling unreads
2021-01-11 17:48:09 -05:00
Liam Fitzgerald
99bc912fc5
hark-store: add rebuild printf 2021-01-12 08:31:10 +10:00
matildepark
fb2c60a025
Merge pull request #4233 from urbit/m/tally
tally: add generator for measuring group activity
2021-01-11 17:20:55 -05:00
Liam Fitzgerald
9c7ac3773a
hark, graph-store: address L review 2021-01-12 08:15:14 +10:00
Liam Fitzgerald
a82c0bb2fe
hark-store: address L style review 2021-01-12 08:05:40 +10:00
fang
0613b5b297
tally: also list the groups we're in 2021-01-11 22:56:02 +01:00
fang
578f10180a
tally: add generator for measuring group activity
Scrapes groups and graphs for member counts and recent activity respectively,
and uses that to print out a "tally" of activity for all local groups and their
channels. Since this output is intended to be shared with other parties,
anonymizes resource identifiers by default.
2021-01-11 22:55:48 +01:00
matildepark
0fd5ba6054
Merge pull request #4244 from urbit/la/fix-4217
hark-group-hook: add type checking to vase sent to %hark-store, fix #4217
2021-01-11 15:01:47 -05:00
matildepark
1f6420a33d
Merge pull request #4263 from urbit/lf/hark-muting
hark-graph-hook: fix muting on %remove-graph
2021-01-11 15:00:33 -05:00
Liam Fitzgerald
dfc3ef0c0e
hark-graph-hook: dismiss unreads for a node when it is deleted 2021-01-11 17:44:25 +10:00
Liam Fitzgerald
1ed0477663
graph-store: emit affected descended nodes in %remove-nodes
When %remove-nodes is sent as an update, it may refer to a parent node,
in which case the deletion of all the parent's children is implied. If
we hold onto references to nodes outside of graph-store, we are unable
to tell which of our references were affected, other than iterating over
every reference to check if one of the deleted indices is a prefix of
the reference. This is obviously undesirable, so we emit all of the
nodes we deleted, including the nodes deleted implicitly.
2021-01-11 17:44:25 +10:00
Liam Fitzgerald
18301fa7d7
hark-store: cleanup dangling unreads
Creates a noun poke %fix-dangling, which iterates through the unreads
and dismiss those which refer to nodes which no longer exist.
Additionally, adds a migration which runs this poke.
2021-01-11 17:44:25 +10:00
Liam Fitzgerald
7e0af9cfca
graph-store: add node existence query 2021-01-11 17:44:25 +10:00
Liam Fitzgerald
d01f1f62e5
hark-graph-hook: fix muting on %remove-graph
*_watching was bunting to watching (i.e. a no-op), causing watching to
be wiped everytimne a graph was removed
2021-01-11 17:43:58 +10:00
Liam Fitzgerald
1529113d6f
hark-store: fix mark channel as read issue
Addresses root cause of #4201
2021-01-11 17:43:02 +10:00
Liam Fitzgerald
8fe8cfd29e
hark-store: rebuild cache on inconsistency, instead of crashing
Addresses #4201, although the root cause of the cache inconsistency is
still at large.
2021-01-11 17:42:54 +10:00
Logan Allen
83036c0cc3 hark-group-hook: add type checking to vase sent to %hark-store, fix #4217 2021-01-07 14:03:03 -06:00
Matilde Park
85435e9a81 release: urbit-os-v2.13 2021-01-06 17:38:34 -05:00
Matilde Park
d9be43ea6f Merge branch 'la/fix-4160' (#4234)
* origin/la/fix-4160:
  graph-delete thread: properly remove entry from metadata-store and hook

Signed-off-by: Matilde Park <matilde.park@gmail.com>
2021-01-06 17:28:14 -05:00
Logan Allen
c99bf65d81 graph-delete thread: properly remove entry from metadata-store and hook 2021-01-06 15:32:16 -06:00
Matilde Park
dde827b2d3 Merge branch 'mp/meta/deploy' (#4222)
* origin/mp/meta/deploy:
  meta: update MAINTAINERS for auto-deploy
  meta: add CD development stream information

Signed-off-by: Matilde Park <matilde.park@gmail.com>
2021-01-06 12:36:14 -05:00
Matilde Park
3612b35e99 meta: update MAINTAINERS for auto-deploy 2021-01-06 12:34:39 -05:00
Jared Tobin
3204e3b44d
Merge pull request #4232 from urbit/jt/merge-workflow
Add a GitHub workflow that auto-merges master to release/next-js on push
2021-01-06 20:49:21 +04:00
Jared Tobin
169908a1a4
meta: add merge action 2021-01-06 20:25:44 +04:00
Jared Tobin
eae48b76c6
meta: stage a merge workflow
Adds a workflow that, on any push to master, will merge master to
release/next-js.

Presently targeted at another branch for testing.
2021-01-06 20:25:44 +04:00
matildepark
b5258fc916
glob.yml: remove on-PR globbing
Sorry for direct push, just a critical issue.
2021-01-05 21:55:26 -05:00
Jared Tobin
cb006f1992
Merge pull request #4223 from urbit/jt/glob-action-tweaks
meta: glob action tweaks
2021-01-06 03:53:00 +04:00
Jared Tobin
17f3431b43
meta: glob action tweaks
Sets two environment variables, LANDSCAPE_STREAM and
LANDSCAPE_SHORTHASH, to be employed by landscape builds.  Also reverts
the janeway version used to v0.13.1 as the --dev flag is unnecessary.
2021-01-06 03:40:46 +04:00
Jared Tobin
af03292f48
Merge pull request #4198 from urbit/jt/lacd
Add GitHub Action & Workflow for glob + OTA
2021-01-06 00:17:22 +04:00
Jared Tobin
1f7e454a90
meta: use janeway v0.13.2 in glob action 2021-01-05 20:32:56 +04:00
Jared Tobin
d6e21e1519
meta: invoke janeway with --dev
The --dev flag injects a development modal in Landscape when globbing.
2021-01-05 19:15:14 +04:00
Matilde Park
63c2c95ba3 release: urbit-os-v2.12 2021-01-04 19:49:10 -05:00
Matilde Park
d44d1c0b64 Merge branch 'lf/update-log-order' (#4166)
* origin/lf/update-log-order:
  graph-store: use +bap for update-log listification
  graph-store: add TODO comment for backwards tap
  graph-store: run update log in correct order

Signed-off-by: Matilde Park <matilde.park@gmail.com>
2021-01-04 19:32:21 -05:00
Liam Fitzgerald
44ac3130f8
graph-store: use +bap for update-log listification 2021-01-05 08:23:12 +10:00
Liam Fitzgerald
3e1207283b
Merge remote-tracking branch 'origin/master' into lf/update-log-order 2021-01-05 08:18:12 +10:00
Jared Tobin
daad76b5e2
meta: pull in lfs files when using checkout action
Some other commits have been squashed in:

meta: remove user declarations for glob action

This is a tricky problem.  SSH needs UID 0 to exist, and intuitively it
does (root), but we can't enforce that when GitHub is running our
container.  Specifying "USER 0:0" in the actions Dockerfile doesn't cut
it.

Instead it seems best to try and construct a shadow-utils setup on the
underlying Docker image.

meta: target glob workflow at release/next-js
2020-12-19 13:18:15 -03:30
Jared Tobin
0e2cb45121
meta: don't sequence arguments in glob action defn 2020-12-19 10:46:55 -03:30
Jared Tobin
aa2cfe4767
meta: fix glob action location 2020-12-19 10:45:22 -03:30
Jared Tobin
e862dfa971
meta: don't sequence glob action arguments 2020-12-19 10:44:17 -03:30
Jared Tobin
03ed832737
meta: stage a 'glob' GitHub workflow
Adds a workflow that executes the 'glob' action on every push and pull
request to the 'release/next-js' branch.

(For now this is just staged to the 'jt/lacd' branch for testing.)
2020-12-19 10:40:20 -03:30
Jared Tobin
7b1b4d8cc6
meta: add a 'glob' GitHub action
This action, when supplied with the appropriate arguments, will create a
Landscape glob from GITHUB_SHA [1] and deploy it OTA to the appropriate
ship.

It needs to be supplied the following:

* ship name
* base64-encoded GCP Service Account credentials
* a base64-encoded SSH secret key to be used for GCP actions
* the corresponding base64-encoded SSH public key

[1]: https://docs.github.com/en/free-pro-team@latest/actions/reference/environment-variables
2020-12-19 10:30:59 -03:30
Philip Monk
598a46d1f7
Merge remote-tracking branch 'origin/la/spider-fix' into philip/gall-vega 2020-12-18 17:04:02 -08:00
Philip Monk
e0dfbc8083
gall: fix huck wires 2020-12-18 16:28:43 -08:00
Philip Monk
548e2dcea8
gall: don't molt on vega
We can't molt until clay has gotten its pork or else we'll build the old
app against the new kernel.  This ignores vegas, since we should get a
notification from clay on /sys/lyv.
2020-12-18 15:33:58 -08:00
janeway
327a542952
glob: update to 0v5.hvt1e.ie7it.b7i7l.1r7jj.dn9ib 2020-12-18 13:06:18 -08:00
Philip Monk
39cc1c51ec
Merge remote-tracking branch 'origin/la/fix-archivebox' into release/next-sys 2020-12-18 12:55:08 -08:00
Philip Monk
bb29b7c749
Merge remote-tracking branch 'origin/master' into release/next-sys 2020-12-18 12:46:13 -08:00
Philip Monk
a5993cc3e7
Merge remote-tracking branch 'origin/release/next-hoon' into release/next-sys 2020-12-18 12:43:07 -08:00
Philip Monk
e03030b80c
Merge pull request #4136 from urbit/m/redo-hint
hoon: add jet hint for +redo
2020-12-18 12:42:12 -08:00