#microformats 2018-02-17
2018-02-17 UTC
PeterFD, chrisaldrich, tantek, globbot, [mrkrndvs], [colinwalker], [kevinmarks], sknebel, Zegnet and KartikPrabhu joined the channel
tantek, [jeremycherfas], KartikPrabhu, [kevinmarks] and [cleverdevil] joined the channel
#
KartikPrabhu has there been any consensus on the implied p-name issue?

chrisaldrich and tantek joined the channel
#
KartikPrabhu I might already have a working version for mf2py

#
KartikPrabhu now have to install all the libraries so I can test it :P

#
KartikPrabhu <sigh> why is there a Flask requirement for a mf2 parser!

#
KartikPrabhu the frontend should be different from the parser code

vivus and gRegorLove joined the channel
#
KartikPrabhu ok have the stopped implied name working in mf2py. What was the consensus on versioning?

#
KartikPrabhu I was using the cases reported in https://github.com/microformats/microformats2-parsing/issues/6

#
KartikPrabhu there does not seem to be "expected output" associated to those so if tantek or Zegnat have examples with expected output of new rules that would be great

#
KartikPrabhu yeah. I am not sure what is the expected output though

#
KartikPrabhu yes.

#
KartikPrabhu tantek: if you could add some simple example to that issue with expected before/after outputs that would be great

#
KartikPrabhu since I haven't been really following the motivation for this change I am not sure what the new expected output is

[jeremycherfas] joined the channel
#
KartikPrabhu Zegnat: testing now

#
KartikPrabhu Zegnat: could you add those simple examples to the issue with old and new expected outputs?

#
KartikPrabhu I could test all of them pretty quickly before making the change on github

#
KartikPrabhu Zegnat: yup no worries

#
KartikPrabhu Zegnat: yup confirmed the example you mentioned works as expected

barpthewire joined the channel
#
Zegnat Almost exactly 10 minutes? :P https://github.com/microformats/microformats2-parsing/issues/6#issuecomment-366473390

#
KartikPrabhu Zegnat: thanks will check those

#
KartikPrabhu Zegnat++

#
KartikPrabhu my code currently fails only the third one so will fix that

#
KartikPrabhu boom! done passes all three test cases!

#
KartikPrabhu is not sure if he should update version numbers since my repo is not canonical

#
KartikPrabhu yes there is. But then tommorris has to merge them

#
KartikPrabhu so I guess using semantic versioning this will be bumped to 2.0.0 from 1.0.5 ?

#
KartikPrabhu does not know these rules

#
KartikPrabhu ok 1.1.5 it is

#
gRegorLove KartikPrabhu++ for mf2py updates!

#
KartikPrabhu Zegnat: who knows. don't understand vague rules :P

#
KartikPrabhu this does not change the "API" i.e. the way you interact with the parser

#
gRegorLove Since the "name" property isn't guaranteed in all parsed results now, seems like a breaking change

#
gRegorLove Similar to how adding 'rel-urls' and removing 'alternates' in this php-mf2 commit is a breaking change https://github.com/indieweb/php-mf2/pull/125

#
KartikPrabhu hmmm

#
KartikPrabhu since my code is not canonical anyway I am not sure it matters at the moment (?)

#
gRegorLove True, this decision matters once it's merged and a new mf2py release is put out.

#
gRegorLove So not immediately, but "soon" hopefully :)

#
KartikPrabhu does 1.0.5 become 1.1.0 or 1.1.5 ?

#
gRegorLove 1.1.0

#
KartikPrabhu oh ok

#
KartikPrabhu this new math is weird

#
gRegorLove Everything "below" the number you're incrementing gets reset to 0 afaik

#
KartikPrabhu now looks up git commands

tantek joined the channel
#
KartikPrabhu no! I stay away from TeX conventions if I can

#
KartikPrabhu <sigh>

#
KartikPrabhu ok uploaded mf2py implied name fix to https://github.com/kartikprabhu/mf2py/tree/implied-name-fix

#
KartikPrabhu feel free to test and what not

[tantek], [miklb], KartikPrabhu and [kevinmarks] joined the channel
#
[kevinmarks] I'll have a look. I'd like to redo my connection of the tests in the microformats repository to mf2py

tantek and [cleverdevil] joined the channel