Repository navigation
Conversation
sjaeckel
left a comment
There was a problem hiding this comment.
Thanks for the PR! Looks useful.
Could you please add documentation on how this file can be maintained? I'm not too keen on editing an XML file manually, sorry :)
DocumentationFor maintainers and developers I transmit my knowledge about DOAP and DOAP-XMPP extension. DOAP projectThe DOAP file is written in RDF dialect, itself XML dialect. It is dedicated to describe a software project. ProjectThe main element is class <?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="http://www.w3.org/2000/01/rdf-schema#"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://usefulinc.com/ns/doap#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:xmpp="https://linkmauve.fr/ns/xmpp-doap#"
xmlns:schema="https://schema.org/">
<Project>
<!-- Project properties -->
</Project>
</rdf:RDF>NameThe element <name>libstrophe</name>Natural languageThe element <language>en</language>Creation dateThe element <created>2005-06-14</created>Short descriptionThe element <shortdesc xml:lang="en">C library for XMPP clients</shortdesc>Long descriptionThe element <description xml:lang="fr">libstrophe est une bibliothèque légère […].
Elle a un minimum de dépendances […].</description>LicenseThe element <license
rdf:resource="https://github.com/strophe/libstrophe/blob/master/COPYING" />Programming languageThe element <programming-language>C</programming-language>Operating systemThe element <os>Linux</os>PlatformThe element <platform>Firefox</platform>Home pageThe element <homepage rdf:resource="https://strophe.im/libstrophe/" />Download pageThe element <download-page rdf:resource="https://github.com/strophe/libstrophe/releases" />DocumentationThe element <documentation rdf:resource="https://strophe.im/libstrophe/doc/0.13.0" />Bug databaseThe element <bug-database rdf:resource="https://github.com/strophe/libstrophe/issues" />Developer forumThe element <developer-forum rdf:resource="https://groups.google.com/g/libstrophe" />Support forumThe element <support-forum rdf:resource="https://groups.google.com/g/libstrophe" />Mailing listThe element <mailing-list rdf:resource="mailto:libstrophe@googlegroups.com" />ReleaseThe element <release>
<Version>
<revision>0.14.0</revision>
<created>2025-03-13</created>
<file-release
rdf:resource="https://github.com/strophe/libstrophe/releases/download/0.14.0/libstrophe-0.14.0.tar.gz" />
</Version>
</release>The release includes its revision MaintainerThe element <maintainer>
<foaf:Person>
<foaf:name>Steffen “sjaeckel” Jaeckel</foaf:name>
<foaf:mbox rdf:resource="mailto:gh@jaeckel.eu" />
<foaf:homepage rdf:resource="https://github.com/sjaeckel" />
</foaf:Person>
</maintainer>Maintainer is named by element AudienceThe element <audience xml:lang="en">Developers</audience>RepositoryThe element <repository>
<GitRepository>
<location rdf:resource="https://github.com/strophe/libstrophe.git"/>
<browse rdf:resource="https://github.com/strophe/libstrophe"/>
</GitRepository>
</repository>ImplementationThe element <implements rdf:resource="https://www.rfc-editor.org/info/rfc6120/" />XMPP-DOAP extensionDefined by XEP-0453 XMPP-DOAP includes specificity of XMPP. ImplementationThe element <implements>
<xmpp:SupportedXep>
<xmpp:xep rdf:resource="https://xmpp.org/extensions/xep-0030.html" />
<xmpp:status>complete</xmpp:status>
<xmpp:version>2.5.0</xmpp:version>
<xmpp:since>0.7.0</xmpp:since>
<xmpp:note xml:lang="en">Service Discovery</xmpp:note>
</xmpp:SupportedXep>
</implements>To describe XEP an element
Footnotes
|
Do you prefer I document :
|
I would prefer if you could document which tools one can use in order to not write XML by hand. If there are no tools to maintain this (and therefore be able to at least halfway automate it) I doubt it will be kept up-to-date since I don't plan to edit XML files manually. |
|
Thanks for your last commit. That's the perfect case in point of why I would hesitate to merge this, since there's no tooling to maintain it. |
|
Just my 2ct: We have a doap file in Profanity since some time: https://github.com/profanity-im/profanity/blob/master/profanity.doap |
Implement XEP-0453
Today the XMPP Standard Foundation advertises XMPP based programs in it's database. To be correctly registered each program needs a new metadata file : DOAP1 to describe the software project.
Request to Strophe
In practice a new file
doap.xmlcan be written in the Git repository of libstrophe. Each XMPP RFC or XEP has to be added after implementation.As you can see I began my code analysis to identify the first RFC and XEP implemented in this library.
I recommend this DOAP file because Strophe project deserves more visibility.
Request to XSF
After acceptation of this request I'll can request to XSF the link to this DOAP file2. After each update of
doap.xml, libstrophe's description will be automatically updated in XSF`s library list.Footnotes
DOAP usage in XMPP : https://xmpp.org/extensions/xep-0453.html. ↩
XSF's software list : https://github.com/xsf/xmpp.org/blob/master/data/software.json. ↩