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

Feature: migration support (embark/disembark in shuttle terminology) #67

Open
ringtailsoftware opened this issue Dec 26, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@ringtailsoftware
Copy link
Contributor

Feature request, support migration to/from Mastodon.

From what I've seen, migrating to Shuttlecraft just needs us to add knownAs to the account, then we will acquire new followers when Mastodon tells them to move.

To move from Shuttlecraft to Mastodon (once the user sets up knownAs on their target server), we just send all followers an ActivityPub Move message telling them where we've gone to.

mastodon/mastodon#9629
https://www.w3.org/TR/activitystreams-vocabulary/#dfn-move

@benbrown benbrown added the enhancement New feature or request label Jan 5, 2023
@aTylerRobertson
Copy link

Not sure if this will help, but I was just able to migrate my personal account from Hometown (a Mastodon fork) to Shuttlecraft with these steps:

In .data/account.json, add this object to the @context array:

{
  "alsoKnownAs": {
    "@id": "as:alsoKnownAs",
    "@type": "@id"
  }
}

Then add alsoKnownAs value to the actor object, with the value set to the ID of the old account. For example, here's what I added to move from my previous account:

  "alsoKnownAs": "https://goshdarn.fun/users/tyler",

Then, I was able to log into my Mastodon account and begin the move with these steps. That sends the Move request to my followers, and everyone automatically began following my new account.

@benbrown
Copy link
Owner

benbrown commented Feb 8, 2023

Thanks for the update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants