XSF Editor Team - 2022-12-27


  1. pep.

    It looks like 'dependencies' in xep.xsd has maxOccurs='unbounded', that should be 1? (the default?), as it's a container for <spec/>s

  2. pep.

    Ah nvm

  3. pep.

    I can't read xsd. It's about specs being unbounded

  4. pep.

    I'm adding <tags><tag/></>. <tags/> being optional I wonder if I should use minOccurs='1' for <tag> instead of 0

  5. jonas’

    make it 0

  6. jonas’

    keep it simple for the poor humans

  7. pep.

    heh.

  8. jonas’

    note that we mainly use the .dtd, not the .xsd

  9. jonas’

    at least AFAIK

  10. pep.

    Yeah I already modified the dtd

  11. pep.

    And it's 0+ there indeed. I just copied dependencies, except tags is optional

  12. pep.

    I wonder if the shortname should be automatically added to tags if it exists

  13. jonas’

    don't think so

  14. pep.

    What kind of metadata does extract-metadata.py gather? tags should also go in there? That's what the list (/extensions/) uses you said?

  15. jonas’

    yes & yes & yes

  16. jonas’

    if that's what's called by make xeplist.xml

  17. pep.

    Yeah it looks like it

  18. pep.

    Ok

  19. pep. relearns how to use etree

  20. pep.

    https://github.com/xsf/xeps/pull/1258

  21. pep.

    Any hints regarding the generation of /extensions/ ? Not sure where to find it

  22. pep.

    In the website repo?

  23. pep.

    Ok there's a prepare_xep_list.py script there

  24. pep.

    "This file is used to download the xeplist and convert it to JSON" wat

  25. jonas’

    yes, website repo

  26. wurstsalat

    pep.: that's for xmpp.org/

  27. wurstsalat

    nothing for /extensions/ is hosted there

  28. jonas’

    except the index

  29. jonas’

    i.e. this page: https://xmpp.org/extensions/

  30. pep.

    prepare_xep_list.py doesn't look like it

  31. pep.

    Ah that's the time I need to learn about hugo extensions :/

  32. pep.

    I guess

  33. pep.

    I think I'll leave that to people who know web stuff :x

  34. pep.

    Not entirely sure how to present the data