pump-io / pump.io

Social server with an ActivityStreams API
http://pump.io/
Apache License 2.0
2.21k stars 334 forks source link

Import a backup from StatusNet #260

Open evanp opened 11 years ago

evanp commented 11 years ago

We should be able to import a backup file from StatusNet.

Erkan-Yilmaz commented 11 years ago

I hope the backup file includes (dents, bookmarks, followers, following, ...)

How is assured that the original persons from let's say identi.ca stay the same ? There could be a warning at import time: on this pumpIO instance there is already userX What would you like to do? Action A, B, C

evanp commented 11 years ago

The default backup file for StatusNet users includes: notices, followers and following, likes, group membership.

I think it's most likely that I'll do a site-wide import process first (since I need it to port identi.ca over), then a per-user import.

maiki commented 11 years ago

I should write this up in longer form, but here is how I retired a StatusNet instance and merged it into WordPress:

It mostly worked out well, except of course the conversations are swiss cheese.

@evanp What would a site-wide import contain? If we can build a StatusNet-like service on top of pump.io, then I am going to do the same with denot.es.

mlinksva commented 11 years ago

This may be an independent issue, happy to add one if so.

I hope that an import will include setting up permanent redirects (or using old URLs, though I don't expect that) for SN notices and conversations. Cool URIs and all that (but I'm mostly self-interested in that I link to and occasionally even refer back to old identi.ca notices/conversations).

maiki commented 11 years ago

@mlinksva, do you mean for site-wide exports? I've only done individual accounts, so I am not sure how the URLs should work in that case. This is probably related to #199.

mlinksva commented 11 years ago

@maiki a SN backup (I speculate) includes a canonical identifier for each notice, as does the Atom/AS for a single notice, eg http://identi.ca/api/statuses/show/1.atom includes id = http://identi.ca/notice/1

If importing that export, /notice/1 ought redirect to wherever pump.io prefers it to be, or supported directly.

evanp commented 11 years ago

I think the URLs should change but the IDs should not.

evanp commented 11 years ago

Oh, and for backing up identi.ca on StatusNet to identi.ca on pump.io, I think we'll just redirect the URLs.

strugee commented 6 years ago

I wonder if we still really need this? Happy to keep it open but the migration from StatusNet to pump.io happened so long ago, I don't know if it's still relevant