1531
Well well 🤨 (sh.itjust.works)
you are viewing a single comment's thread
view the rest of the comments
[-] terribleplan@lemmy.nrd.li 4 points 1 year ago

Migration of ActivityPub stuff is pretty rough... Everything has an ID, and that ID is the URL, so the ID of the post you replied to is literally https://lemmy.nrd.li/comment/227095... AFAIK there are some (non-standard, at least not in core AP) ways you can mark things to be like "yeah, this moved to over here", but that isn't built in to the spec so whether those mechanisms actually work is a crapshoot.

[-] LachlanUnchained@lemmyunchained.net 2 points 1 year ago* (last edited 1 year ago)

Looking at my sql databases, I noticed there’s other identifiers on users and content. Not the url.

It may be that the url is linked to the ID. And that ID can just change.

I’m pretty much a noob. Just a lurker on the matrix chats.

[-] terribleplan@lemmy.nrd.li 4 points 1 year ago

I'm talking purely from an ActivityPub/Activity Streams/Activity Vocabulary/JSON-LD perspective. There are some other local identifiers for things in Lemmy, but those do not matter for the purposes of federation. Any Object that is federated is expected to have an ID that is a URL at which you can make a GET request with the proper Accept header and you will get the latest version of that Object. AFAIK there is no provision for IDs to change.

Understood. I don’t know how the devs intend to overcome that challenge. If if it’s even a realistic goal. I just know it gets discussed often.

[-] Tetsuo@jlai.lu 2 points 1 year ago* (last edited 1 year ago)

I think we should expect/aim to just have some "mass repost script" that can take an extract of a community's content and just "repost" it on a new community.

Basically, a script that would "replay" a community in one go. I don't know if you could create "new comments" that immitates perfectly the original commenter but that would be the idea for a quick and very dirty "community mover script".

A bit like in GIT when you want to change/remove a specific commit, you can only replay/rebuild everything from the start by creating new everything posts/comments.

Or maybe that's a terrible plan ;)

this post was submitted on 04 Jul 2023
1531 points (96.5% liked)

Selfhosted

39251 readers
209 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS