Notices where this attachment appears
-
Embed this notice
@phnt @fwc @i Oh, and the "Pleroma" is stored in a different column. (They're different fields in the nodeinfo; it's designed to more or less capture nodeinfo.) So this would be "2.4.53-2105-g75fee846.develop+soapbox", 37 bytes. The important part is only the first 21 bytes, though: you can get the rest by just looking at 75fee846. Owncast put at some point put version, platform, and entire git commit: "Owncast v0.0.13-linux-64bit (1d6151c867ebb2f766815d3b116358085bc1c25e)".
Also it looks like it's only truncated in the <table>, not in the DB. I went looking for where I was enforcing this and it looks like I'm only ever showing it that way in the table. You look at the table and it's truncated, but on the page (e.g., https://fedilist.com/instance/pajcevina.net ), it shows the full version. When that table gets generated, there's a "heavy" flag that ignores some columns based on the number of results, so I've adjusted it: 16 characters on a "heavy" page and 64 otherwise instead of 32 every time.
I think probably the git commit shouldn't be in the version, like it should be reasonable to specify that information in a different field in the AP spec. For reference, here's the list of all of the versions that ever been given to the crawler, with the number of records matching that version (`SELECT count(*), "version" FROM "instance_log" GROUP BY "version"`).
all-version.tsv