-
Notifications
You must be signed in to change notification settings - Fork 25
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
Group cloning for testing refactor migration on large groups #3015
Conversation
LAND-1218 meta: cloning tlon local backlog for mainnet testing
We need to test the Hack Week migration with a real, large group. Let's use the large archive of posts from Tlon Local as a corpus for testing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments, but this seems fine overall.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes, this should suffice!
(tbc, ftr, we don't want to merge & release this broadly, only on a manual per-ship basis)
desk/app/groups.hoon
Outdated
=. cor | ||
(emit %pass /groups/(scot %p our.bowl)/[q.flag]/create %agent [our.bowl %groups] %poke %group-create !>(create)) | ||
=. cor | ||
(emit %pass /groups/(scot %p p.flag)/[q.flag]/clone %agent [p.flag %groups] %watch /groups/(scot %p p.flag)/[q.flag]/clone) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we sent this to our.bowl
instead of p.flag
would that let us clone groups w/o installing this on the host? seems like it might work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this does in fact work (except on tlon local, likely because we trimmed the logs and the channel creation deltas are missing)
This expands on the existing transfer/import-channel code for archiving by allowing moves between ships
Fixes LAND-1218