2019-06-24 UTC
[fluffy] and [Michael_Beckwit joined the channel
# 00:45 [Michael_Beckwit i wish more services offered webhooks, it’d help with syndication
MarcoZDe joined the channel
# 00:52 [Michael_Beckwit at least if you’re posting on their things first
[jgmac1106], [eddie], Nebulous[m], gRegorLove, gRegorLove_, ritewhose[m], nellkate1[m], [infominer], [kevinmarks786] and [xavierroy] joined the channel
[jgmac1106], jgmac1106, sacha[m], aeddi[m]1, kiwibe[m], manfred[m], Giyomu[m] and jeremycherfas joined the channel
jgmac1106, chimo, [kevinmarks786], new0ne[m], [grantcodes], jackjamieson, [jgmac1106], jackjami_ and gRegorLove joined the channel
# 17:54 jackjamieson GWG, thanks for that - seems good but actually I'm still checking a few things. The copy-files command doesn't seem to run upon update, and when I try to run it directly I'm getting an error. Probably just a misunderstanding of composer - I'll poke around a bit and write a comment to the PR with more info if needed
# 17:55 jackjamieson Jacks-MacBook-Pro-3:yarns-microsub-server jackjamieson$ php composer.phar copy-files
# 17:56 jackjamieson usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_file
# 17:56 jackjamieson cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file ... target_directory
# 17:56 jackjamieson Script cp -u -r vendor/parse-this/*.php lib/parse-this handling the copy-files event returned with error code 64
# 17:57 jackjamieson Just ran self-update on composer to see if that made a difference, but no luck
# 17:57 GWG Try adding --parents to the copy command on each line?
# 17:58 GWG I may have created the directory first
# 17:59 GWG I am only using composer as a dev tool, as opposed to a dependency
# 18:00 GWG Is the new Post Kinds working for you too?
# 18:00 jackjamieson Tried adding --parents to each line and also creating an empty 'lib/parse-this' directory first, but no luck
# 18:01 jackjamieson For the meanwhile, I can just copy the files manually until I figure it out
# 18:01 GWG Can you try running each copy entry on the command line?
# 18:01 GWG Wonder when -u entered the cp command
# 18:04 GWG I checked, Linux has more options in its cp entry
# 18:05 GWG Linux -r is recursive, and MacOS -R
# 18:09 GWG Never occurred to me that MacOS would not have a copy command that matched mine
# 18:12 GWG I use just a basic copy script to extract only the files I need out of the dependencies
# 18:12 GWG So, Post Kinds doesn't bundle Simple Pie
# 18:13 GWG In a future refactor, I might not have it bundle the Parse This RSS and jsonfeed classes
# 18:14 GWG You just ask if a class exists and it loads it if it can
# 18:15 GWG It's the first PHP 5.3 feature I've really adopted
# 18:20 jackjamieson Autoload seems pretty great - I haven't looked at it closely but I'm happy to have a simpler way to manage dependencies in WordPress
# 18:20 GWG jackjamieson, there is still the issue of load order
# 18:22 GWG But that's why I am going to try to remove the global functions
# 18:23 jackjamieson Yeah, I've been thinking of moving all of Yarns' global functions into classes
# 18:25 GWG Namespaces are an alternative in 5.3 and above
# 18:29 jackjamieson that composer-copy-file seems to have done the trick. Just double-checking now. Then I'm spending some time writing a blog post about how to set up Yarns this afternoon. In the process I should be able to discover if there are any compatibility issue with post kinds
# 18:40 GWG I am behind on everything post 5.2
[kevinmarks786], [jansauer], jackjami_, ritewhose[m], jackjamieson, [tantek] and [jgmac1106] joined the channel
# 22:33 [jgmac1106] 1 billion IPO for a theme builder...Even if you assume automattic takes a 50% haircut on $375 mill they raised still north of unicorn valuation
# 22:36 [jgmac1106] Though Automattic remains quite Indie in it's model. So thats cool as well
balupton[m], sander[m]1, [jansauer], [benatwork], [fluffy], [jackjamieson] and jgmac1106 joined the channel