#wordpress 2017-06-30

2017-06-30 UTC
tantek and [miklb] joined the channel
#
GWG
[miklb]: I've been thinking about logging
#
[miklb]
what did you come up with?
#
GWG
Well, I built in a logging hook into Webmentions a while back, but how to log...
#
GWG
There are a few options.
#
GWG
Log as a custom post type, for one. Log in a text file.
#
GWG
I'm not sure what makes sense.
#
[miklb]
something accessible via the admin might be the best case scenario so anyone could look and see what’s going, especially trying to debug something via chat and not technically proficient enough to access a log file on the server i.e. debug.log
#
GWG
So, the custom post type log
#
GWG
The log will grow a lot.
#
[miklb]
yeah, I’ve seen some plugins have an option to turn logging on/off. Mostly, turn on if having an issue so you can see what’s breaking, then turn off again.
#
[miklb]
not saying that’s a good solution, just one Iv’e seen used.
#
GWG
Right now, recent changes have ensured that webmentions store source url, target url, target_fragment, and creation time.
#
GWG
That is close to a log
#
[miklb]
pretty much. Just need response right?
#
GWG
So, storing in the comment table perhaps.
#
GWG
If we ever want to do asynchronous webmentions, we need verification status.
#
[miklb]
stored as as a serialized array?
#
GWG
Verification is a Boolean, isn't it?
#
[miklb]
I’m not sure what verification is, but was thinking about the rest of the log data.
#
GWG
miklb, whether it has been verified. If it links back
#
[miklb]
oh, gotcha.
tantek and [miklb] joined the channel
#
[miklb]
GWG I’m seeing a 2.6.3 available in the WP admin for post-kinds, but README says 2.6.2. When I look at the commits in GUI tree, 2.6.3 is outside the master branch it looks like. I think I’m missing something
#
[miklb]
yeah, looks like the commits on 6/27 to the 2.6.3 tag aren’t in master
#
GWG
miklb, pfefferle made me an autodeploy config. It should have worked.
#
GWG
miklb, will have a look
#
[miklb]
just looks like you tagged off of the checkin branch before merging it into master.
#
GWG
Oops
Billbennettnz, ricmac, [cleverdevil], [miklb], dougbeal|mb1, tantek, [colinwalker], [eddie], [chrisaldrich], [kiai] and [grantcodes] joined the channel
ricmac and [eddie] joined the channel