Software / code / prosody
File
tools/xepchanges.sh @ 13833:497efa2cbf2c 13.0
mod_storage_sql: Add shell command to create tables and indices (again)
This is meant as a way to diagnose e.g. issues creating indices.
It would have been nice to capture e.g. PostgreSQL notices, but LuaDBI
would need support for this first, see https://github.com/mwild1/luadbi/issues/62
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 09 Apr 2025 15:06:48 +0200 |
| parent | 13383:091667bd2f0e |
line wrap: on
line source
#!/bin/sh -eu wget -N https://xmpp.org/extensions/xeplist.xml xml2 <xeplist.xml | 2csv xep-infos/xep number version | grep -v ^xxxx,| sort -g > xepinfos.csv xml2 < doc/doap.xml | 2csv -d ' ' xmpp:SupportedXep @rdf:resource xmpp:version | sed -r 's/https?:\/\/xmpp\.org\/extensions\/xep-0*([1-9][0-9]*)\.html/\1/' | while read -r xep ver ; do grep "^$xep," xepinfos.csv | awk -F, "\$2 != \"$ver\" { print (\"XEP-\"\$1\" updated to \"\$2\" from $ver\") }" done