Skip to content

Instantly share code, notes, and snippets.

View getsource's full-sized avatar

Kira Schroder getsource

View GitHub Profile
@getsource
getsource / junit.xml
Created March 31, 2020 09:38
Test WordPress phpunit `junit.xml` file with failures from PDF disable in `policy.xml`.
This file has been truncated, but you can view the full file.
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite name="" tests="10279" assertions="51407" failures="3" errors="1" time="169.605525">
<testsuite name="default" tests="10254" assertions="51160" failures="3" errors="1" time="169.142043">
<testsuite name="Tests_Actions" file="/tmp/wp-current-test/tests/phpunit/tests/actions.php" tests="25" assertions="98" failures="0" errors="0" time="0.102243">
<testcase name="test_simple_action" class="Tests_Actions" file="/tmp/wp-current-test/tests/phpunit/tests/actions.php" line="10" assertions="3" time="0.003842"/>
<testcase name="test_remove_action" class="Tests_Actions" file="/tmp/wp-current-test/tests/phpunit/tests/actions.php" line="27" assertions="4" time="0.003248"/>
<testcase name="test_has_action" class="Tests_Actions" file="/tmp/wp-current-test/tests/phpunit/tests/actions.php" line="46" assertions="6" time="0.002852"/>
<testcase name="test_multiple_actions" class="Tests_Actions" file="/tmp/wp-current-test/tes
@getsource
getsource / services-start.sh
Created September 21, 2020 11:37 — forked from Jimmy-Z/services-start.sh
multi SSID with VLAN script, for ASUS AC86U with merlin
#!/bin/sh
# multi SSID with VLAN script, for ASUS AC86U with merlin
#
# setup before hand:
# set "router" to "AP Mode"
# this will put all ports and wireless in br0
# create 2 guest network
# enable Administration => System => Enable JFFS custom scripts and configs
# put this script in /jffs/scripts/, name should be "services-start"
@getsource
getsource / gutenberg_manual_release.md
Last active September 21, 2021 05:20
Resuming a failed Gutenberg ZIP build Notes

First, I re-ran the ZIP build. This doesn't bump the version number a second time (which is great), but it does fail with release draft creation.

Here's a message that I sent to Riad to check assumptions (Riad mentioned it was 👍, and this worked when we tried it):


Okay! I’ve been working on the release today.

I dug into the scripts a bit, and it looks like while build-plugin-zip does put new commits on top of the new (pending) Release Notes, it does not seem to handle tagging or updating the changelog following updates in the RC Release / Notes to reflect any changes during RC. So, my current hypothesis is to recreate these conditions: