summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2024-10-03 20:13:38 +0200
committerGravatar default2024-10-03 20:13:38 +0200
commitd8487e5c9bef7c02f1b96f215f0f23c84f1a2723 (patch)
treecf537af63e9fe939d2de87dd7dbd29e8ae0a5877
parentAdd the apostrophe as another stop char for hashtags. (diff)
downloadsnac2-d8487e5c9bef7c02f1b96f215f0f23c84f1a2723.tar.gz
snac2-d8487e5c9bef7c02f1b96f215f0f23c84f1a2723.tar.xz
snac2-d8487e5c9bef7c02f1b96f215f0f23c84f1a2723.zip
Updated documentation.
-rw-r--r--doc/snac.12
-rw-r--r--doc/snac.876
2 files changed, 76 insertions, 2 deletions
diff --git a/doc/snac.1 b/doc/snac.1
index 14f1b96..0bb97a9 100644
--- a/doc/snac.1
+++ b/doc/snac.1
@@ -269,7 +269,7 @@ for a job to be assigned), input or output (processing I/O packets)
269or stopped (not running, only to be seen while starting or stopping 269or stopped (not running, only to be seen while starting or stopping
270the server). 270the server).
271.El 271.El
272.Ss Migrating an account from Mastodon 272.Ss Migrating an account to/from Mastodon
273See 273See
274.Xr snac 8 274.Xr snac 8
275for details. 275for details.
diff --git a/doc/snac.8 b/doc/snac.8
index ab1bc24..9299efd 100644
--- a/doc/snac.8
+++ b/doc/snac.8
@@ -381,7 +381,81 @@ is supported. Intentionally, the
381and 381and
382.Pa /following 382.Pa /following
383paths return empty lists. 383paths return empty lists.
384.Ss Migrating from Mastodon 384.Ss Migrating from snac to Mastodon
385Since version 2.60, you can migrate your
386.Nm
387account to other ActivityPub instances. I will describe the process to do it from
388.Nm
389to Mastodon; on other software implementations, it will surely be very different. All
390the steps regarding your
391.Nm
392account must be done from the command line. For the sake of the example, let's
393say that you want to migrate from an account named @origin@snac.example.org to
394another one named @destination@mastodon.example.com and that both of them
395already exist. I've used this very informative page as a guideline:
396.Pp
397.Lk https://fedi.tips/transferring-your-mastodon-account-to-another-server/
398.Pp
3991. On your
400.Nm
401server, first export your data to CSV by running:
402.Bd -literal -offset indent
403snac export_csv $SNAC_BASEDIR origin
404.Ed
405.Pp
406You'll find the following CSV files in the current directory:
407.Pa bookmarks.csv ,
408.Pa blocked_accounts.csv ,
409.Pa lists.csv , and
410.Pa following_accounts.csv .
411.Pp
4122. In the web interface of your new Mastodon account, click on
413.Vt Preferences
414>
415.Vt Import and Export
416>
417.Vt Import
418and upload the CSV files one at a time. You must specify the type of
419file you are uploading.
420.Pp
4213. Still in the web interface of your new Mastodon account, click on
422.Vt Preferences
423>
424.Vt Account
425>
426.Vt Moving From a Different Account ,
427then click on
428.Vt Create an account alias
429and follow the instructions. (When it asks you to
430write your old account’s handle, it needs to include the @ at the start
431as well as the @ in the middle, in our example, @origin@snac.example.org).
432According to the link above, you must wait at least five minutes for
433this to be effective.
434.Pp
4354. Meanwhile, you must tell
436.Nm
437about your new account by creating an alias from your current one.
438So, on your
439.Nm
440server, run
441.Bd -literal -offset indent
442snac alias $SNAC_BASEDIR origin "@destination@mastodon.example.com"
443.Ed
444.Pp
4455. Finally, you must order
446.Nm
447to start the migration process, that will consist in iterating all the
448people that follows your account and sending them a
449.Vt Move
450message, notifying all of them that they must unfollow your old account
451and follow the new one. The command is
452.Bd -literal -offset indent
453snac migrate $SNAC_BASEDIR origin
454.Ed
455.Pp
456This process can be very long and unreliable. I recommend you to read
457the document I linked above to know how heartbreaking it can be.
458.Ss Migrating from Mastodon to snac
385User migration from different Fediverse instances is a pain in the ass 459User migration from different Fediverse instances is a pain in the ass
386that has been implemented everywhere as a kludgy afterthought. There is 460that has been implemented everywhere as a kludgy afterthought. There is
387not much that can be done, other than importing the list of people you 461not much that can be done, other than importing the list of people you