Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bedrock spaces paths syncing better #1964

Merged
merged 2 commits into from
Aug 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion desks/realm/app/bedrock.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,6 @@
state
$(index +(index), state (process-db-change:db dbpath change state bowl), result-cards (weld (weld result-cards new-scry) pokes))
%db-path
~& %here
=/ full=fullpath !<(fullpath +.+.sign)
:: insert pathrow
=. received-at.path-row.full now.bowl
Expand Down
3 changes: 2 additions & 1 deletion desks/realm/lib/db.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,7 @@
=/ pr (snag index prs)
=/ prole role:(need space.pr)
?: ?| =(prole %member)
=(prole %initiate)
?& =(prole %admin)
|(=(max-role %host) =(max-role %admin))
==
Expand All @@ -498,7 +499,7 @@
=/ new (add-peer [path.pr ship max-role] +.cs bowl)
$(index +(index), cs [(weld -.cs -.new) +.new])
:: else, move on
$(index +(index))
$(index +(index), cs cs)
::
++ on-kicked
|= [path=space-path:sstore =ship]
Expand Down