-
lovetox
Link Mauve, the doap files for extension
-
lovetox
i think they miss a name attribute
-
lovetox
or is that supposed to be added by some automation that transforms this into a html page
-
lovetox
like if you look at the one for gajim https://gajim.org/support/extensions/
-
lovetox
i think thats not so useful for people dont know by heart the xep numbers
-
Link Mauve
lovetox, you can pick those from the xeps.xml pretty easily though.
-
Link Mauve
I you need any metadata about the XEPs themselves, they’re all there.
-
lovetox
hm, but was there not a project who does the conversion to html
-
lovetox
im pretty sure we didnt develop this ourself
-
pulkomandy
I wrote the xslt to generate html. If you need something added there I can have a look
-
lovetox
pulkomandy, is there a github project?
-
lovetox
where i could open a feature request
-
lovetox
is there any client that does something special with https://xmpp.org/extensions/xep-0461.html
-
lovetox
i dont have a idea GUI wise what i should do with the information that a message is a reply to some other message
-
lovetox
ah i can pull metadata from the other message and display it, like time and username which sent the original messasge
-
pulkomandy
https://github.com/pulkomandy/xmpp-doap
-
nav
lovetox: Or do a tap/click to scroll/focus the original message into view.
-
nav
With reference to https://github.com/pulkomandy/xmpp-doap/issues/10, there is https://xmpp.org/extensions/xeplist.xml that gets generated via the Makefile, though given the format of the current DOAP samples, it would appear to be simpler to s/.html$/.xml/ on <xmpp:xep rdf:resource="…"/> which would land you on the relevant XEP .xml.
-
nav
Aside from the name, it would be nice to also pull the version number of the latest XEP, to compare with the implemented version.
-
Zash
A tool that compares XEP version numbers from DOAP with the latest ones would be really nice to have, so you can check if there's something that needs to be updated. Not that it's too difficult to wrangle both into csv and compare
-
lovetox
python command line tool would be ok? `$ doap-version-compare https://gajim.org/gajim.doap`
-
lovetox
and the you get all outdated xeps with info to the version?
-
pulkomandy
It seems xslt can load data from other xml files, I'll see if that works, if it does I can use it to load the xeps and get the title and latest version from there
-
lovetox
that would be great
-
lovetox
like one column with XEP newest Version
-
lovetox
and then one column with XEP Name
-
pulkomandy
Yes, something like that, I keep it in mind for next time I sit in front of a computer
-
Zash
xml2 < doc/doap.xml | 2csv implements @rdf:resource xmpp:version
-
Zash
curl -s https://xmpp.org/extensions/xeplist.xml | xml2 | 2csv xep-infos/xep number last-revision/version | grep -v ^xxxx,
-
Zash
slap some sed and diff on it and call it a day! 🙂
-
nav
I've hacked https://github.com/pulkomandy/xmpp-doap/blob/master/style.xsl to extract the title and abstract from the xmpp.org XMLs.
-
nav
(not without running into a spot of bother with xsltproc and switching to Saxon)
-
nav
I'll see if I can get the latest version
-
nav
Not difficult *if* the newest version is always the first <revision/> element.
-
jonas’
nav, that is guaranteed™
-
jonas’
nav, but even better, use xeplist.xml
-
jonas’
nav, https://xmpp.org/extensions/xeplist.xml that has that information readily extracted
-
nav
jonas’: It's more difficult to match against xeplist.xml
-
jonas’
what would be needed to make it easier?
-
nav
This is what I have so far: https://labs.navlost.eu/pub/doap.html
-
nav
jonas’: Four digit XEP numbers
-
nav
https://labs.navlost.eu/pub/doap-style.xsl
-
nav
Ok, there goes my latest version:
-
nav
https://labs.navlost.eu/pub/doap.html
-
nav
Source file: https://labs.navlost.eu/pub/doap.xml (note that it would render directly on the browser if https://xmpp.org/extensions had the appropriate CORS headers).
-
jonas’
nav, https://github.com/xsf/xeps/blob/master/tools/extract-metadata.py#L130 wanna change it?
-
nav
XSLT: https://labs.navlost.eu/pub/doap-style.xsl
-
nav
CSS: https://labs.navlost.eu/pub/doap-style.css
-
nav
jonas’: I like going to the individual XEP better because that allows me to extract the date of the implemented version (as well as the date and number of the latest version, which is in xeplist)
-
nav
I then put the date on the "title" attribute.
-
lovetox
great nav, that looks like good improvements
-
lovetox
one nitpick, can we name it "Version implemented"
-
lovetox
Use version sounds like some lib we use
-
wurstsalat
"Latest Version" "Implemented Version" sounds good to me :) nav, great to see somebody working on this!
-
nav
lovetox: Roger, why not. I've just uploaded a new version of https://labs.navlost.eu/pub/doap-style.xsl (cleaned up a bit).
-
nav
Better now? https://labs.navlost.eu/pub/doap.html
-
nav
wurstsalat: It was either this or doing the taxes. 😬
-
lovetox
i find wurstsalat suggestion better than mine
-
lovetox
would be great if you could do a PR against https://github.com/pulkomandy/xmpp-doap with your changes
-
wurstsalat
nav, good choice ;) yeah please do a PR! I have some styling ideas I'd like to try
-
nav
wurstsalat: I'm not touching Github with a bargepole. Here's a diff instead.
-
nav
https://xmpp.labs.navlost.eu/upload/4f883a857d1fd410d36f3b5a55395c7b1d631fe5/mlHcvPRS68ttlw3Xh7QIk2v4oxKpSgb5N5pab6hm/0001-Add-classes-for-styling-of-XEP-revision.patch
-
nav
https://xmpp.labs.navlost.eu/upload/4f883a857d1fd410d36f3b5a55395c7b1d631fe5/k4ceq5sWCRrmUNO8KBwyA9fUNpVYkb7Rez8XkWz0/0002-Add-XEP-revision-details.patch
-
Martin
You may also git-email it to someone or a mailing list instead.
-
aliex@exploit.im
Y
-
nav
Martin: One is more of an XMPP type. 😊
-
nav
Not that I've seen an email (or for that matter, XMPP) address in that Github page anyway (though you can get them from the git log).
-
nav
Anyway, I'm working on making it possible to send patches via XMPP to GitLab & Gitea repositories, so you don't have to have an account to contribute.
-
nav
It is already possible to file bug reports via XMPP without an account on the relevant GitLab / Gitea server, provided that someone with write access to the project configures an appropriate XMPP endpoint.
-
nav
https://gitlab.com/navlost.eu/xmpp/components/webhooks/-/commit/e4950b1308bbbd8008d9c0348c099474ce302498
-
whiterok77
hello friends