Skip to content

Commit

Permalink
channels: fix v8 v-channel migration
Browse files Browse the repository at this point in the history
  • Loading branch information
mikolajpp committed Dec 5, 2024
1 parent 844162f commit 802a1eb
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions desk/lib/channel-utils.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -1067,12 +1067,24 @@
(log-7-to-8 log.v)
=/ [count=@ud =v-posts:c]
(v-posts-7-to-8 posts.v mod)
%* . *v-channel:c
count count
posts v-posts
::
=- %= w - :: change local in w
:* posts.w
count
order.w
view.w
sort.w
perm.w
*(rev:c (unit @t)) :: meta
==
==
^= w
%= v
:: global
posts v-posts
:: local
log log
future (future-8 log)
perm perm.v
==
++ v-posts-7-to-8
|= [vp=v-posts:v7:old:c mod=(map id-post:c time)]
Expand Down

0 comments on commit 802a1eb

Please sign in to comment.