Open nikclayton opened 8 months ago
Hi. I don't think replacing mastodon
with glitch-soc
here is very helpful, considering how close glitch-soc is to upstream Mastodon. If you are interested in supporting individual features that glitch-soc implements on top of Mastodon, there are usually better discovery mechanisms.
nodeinfo is an anti pattern and clients shouldn't rely on it for anything except aggregated statistics.
nodeinfo is an anti pattern and clients shouldn't rely on it for anything except aggregated statistics.
Why do you think it's an anti-pattern? A single defined endpoint with a discoverable, extensible, versioned schema is hugely useful to clients.
considering how close glitch-soc is to upstream Mastodon.
"close" doesn't mean it's Mastodon though.
Spot the odd one out -- https://github.com/pachli/pachli-android/blob/54d788831699b549f49fbc8023de1a4f2643b0ac/core/network/src/main/kotlin/app/pachli/core/network/Server.kt#L322-L341
Unless all software that parses the nodeinfo does that glitch is going to be missed. I note, for example, that glitch doesn't show up in the stats at https://fediverse.observer/ or https://fedidb.org,
Steps to reproduce the problem
nodeinfo
for a glitch-soc server (by following ahref
entry at.well-known/nodeinfo
)Expected behaviour
The
software.name
property should indicate this is the glitch-soc forkActual behaviour
There is a
glitch
string in the build metadata portion of the version stringDetailed description
Hi, Pachli (https://pachli.app) author here. I'm working to improve Pachli's support for non-Mastodon servers, which led me to this.
Here's the
software
block from a server running Glitch:This is a problem for a few reasons.
1. This makes things more difficult for any client trying to determine the server it's talking to, as it has to inspect the version as well as the name.
2. This is inconsistent with other Fediverse software that implements the Mastodon API, whether it's direct Mastodon forks like Hometown and Fedibird (which set the
name
tohometown
andfedibird
respectively), or non-forks like Pleroma, Friendica, and GoToSocial.3. The nodeinfo schema definition (https://github.com/jhass/nodeinfo/blob/main/schemas/2.1/schema.json) describes the
software.name
property as "The canonical name of this server software.", and I don't think "mastodon" is the canonical name of this fork.4. For something that looks like a Semantic Version (https://semver.org) putting this here in the version is also wrong.
I think it's a stretch to consider "glitch" to be "build metadata"
Please consider changing the
software.name
property to clearly indicate this is the glitch-soc fork (note that onlya-z
,0-9
, and-
are valid characters in the name). Perhaps using the org + repository would suffice, soglitch-soc-mastodon
?Mastodon instance
No response
Mastodon version
No response
Technical details
No response