Pleroma 2.10.2 runs in the pasture from its OTP release (libvips, the dedupe question, and hackney pointed at the system CA bundle); its driver is Akkoma's on its own container and database. The pair passes 241 cells, after its first run showed Pleroma dropping Follows it could not verify yet. The PrivaPub driver finds the group an earlier run made instead of failing on the name; the seeder posts a quote or reply of a post from its own round after that post. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LsXgEaXee4GCU1hwYgPJXw
33 lines
949 B
Python
33 lines
949 B
Python
"""The platform registry: name -> driver class and its site."""
|
|
from dialects.akkoma import Akkoma
|
|
from dialects.gts import Gts
|
|
from dialects.hollo import Hollo
|
|
from dialects.iceshrimp import Iceshrimp
|
|
from dialects.lemmy_api import LemmyApi
|
|
from dialects.mastodon import Mastodon
|
|
from dialects.misskey_api import Misskey, Sharkey
|
|
from dialects.pleroma import Pleroma
|
|
from dialects.privapub import PrivaPub
|
|
|
|
DRIVERS = {
|
|
"privapub": (PrivaPub, "privapub.test"),
|
|
"gts": (Gts, "gts.test"),
|
|
"mastodon": (Mastodon, "mastodon.test"),
|
|
"misskey": (Misskey, "misskey.test"),
|
|
"sharkey": (Sharkey, "sharkey.test"),
|
|
"akkoma": (Akkoma, "akkoma.test"),
|
|
"lemmy": (LemmyApi, "lemmy.test"),
|
|
"hollo": (Hollo, "hollo.test"),
|
|
"iceshrimp": (Iceshrimp, "iceshrimp.test"),
|
|
"pleroma": (Pleroma, "pleroma.test"),
|
|
}
|
|
|
|
_made = {}
|
|
|
|
|
|
def driver(platform):
|
|
if platform not in _made:
|
|
cls, host = DRIVERS[platform]
|
|
_made[platform] = cls(host)
|
|
return _made[platform]
|