jdev - 2020-11-24


  1. sonny

    hi there - what's the latest/greatest work on file sending with metadata? https://xmpp.org/extensions/xep-0385.html ?

  2. sonny

    (interop is not of concern ATM)

  3. jonas’

    sonny, the File Metadata ProtoXEPs currently in the pipeline

  4. jonas’

    wait until tomorrow for them to get numbers

  5. jonas’

    (though there is a chance > 0 that one of them is vetoed)

  6. jonas’

    see https://xmpp.org/extensions/inbox/file-metadata.html for a preview

  7. Ge0rG

    damn, I need to do something about them.

  8. jonas’

    Ge0rG, yes you do

  9. jonas’

    please don’t let those expire, either

  10. Zash

    A/B XEPs yeeeeeee

  11. jonas’

    sonny, s/tomorrow/today/, we’re on tuesday alreay

  12. sonny

    thanks - I don't understand the premise of that XEP - it removes a dependency to add a new one (and fragmention) while still relying on said removed dependency for thumbnails

  13. sonny

    I'll go with 0385 for now and see if I can contribute my thoughts to the list

  14. jonas’

    sonny, huh?

  15. jonas’

    it does not depend on jingle for thumbnails

  16. jonas’

    and '385 does more than just file sending, it also does markup

  17. sonny

    > A thumbnail element of the file, using the <thumbnail/> element defined in File Transfer Thumbnails (XEP-0264)

  18. sonny

    https://xmpp.org/extensions/xep-0264.html

  19. jonas’

    I do not see '264 depending on jingle.

  20. sonny

    my point is that it shows that depending on an external XEP isn't an issue - so I don't understand the premise of the XEP

  21. jonas’

    oh, it was about which specific XEPs to depend on

  22. sonny

    if the issue is that Jingle is too big why not taking what's there and splitting

  23. sonny

    without breaking changes / fragmentation

  24. jonas’

    it’s not possible to do it without breaking changes as it’s in jingle’s namespace

  25. jonas’

    the entire point is to remove it from jingle’s namespace

  26. jonas’

    to avoid tying it in with jingfle

  27. sonny

    ok I think the problem is that I don't understand how using a subset of the Jingle namespace may be problematic ?

  28. jonas’

    when jingle gets updated, an entire mess starts

  29. jonas’

    the jingle namespace changes

  30. jonas’

    soo ... what now? do we leave the namespace of <file/> on the old "version", creating confusion? do we bump it, rendering the element invisible to everyone and causing massive breakage? do we bump it in jingle itself, but not for the use in '385?

  31. sonny

    splitting would prevent those issues from arising - XEPs have been split before

  32. jonas’

    no

  33. jonas’

    it is still in jingles namespace

  34. jonas’

    which would then be the confusion part

  35. jonas’

    or we move it into a different namespace -> exactly what file-metadata.html does

  36. flow

    I am not sure how splitting would help here. the problem with the namespace would still exists. I guess the lesson here is that namespace should be minimally scoped

  37. jonas’

    that

  38. sonny

    file-metadata isn't a 1:1 with jingle so no

  39. flow

    whatever "namespaces should be minimally scoped" means in practice, there is probably a to fine-grained variant too

  40. sonny

    ok so the problem is sharing namespace between xeps?

  41. jonas’

    sonny, that is part of the problem

  42. jonas’

    flow, most certainly there is

  43. flow

    otoh I we hardly blame people that the <file/> element was designed under the jingle namespace: back then, it was probably not foreseable that other means of file transport would emerge

  44. flow

    otoh I can hardly blame people that the <file/> element was designed under the jingle namespace: back then, it was probably not foreseable that other means of file transport would emerge

  45. sonny

    how would you send File metadata element in a chat message? using reference type=data as well?

  46. jonas’

    sonny, https://xmpp.org/extensions/inbox/sfs.html

  47. sonny

    thank you

  48. jonas’

    with encryption: https://xmpp.org/extensions/inbox/esfs.html

  49. jonas’

    sonny, file-metadata has been assigned XEP-0446 FYI