[theme-reviewers] Theme Unit Tests on GitHub?

Tammie Lister karmatosed at gmail.com
Thu Oct 16 17:44:18 UTC 2014


Sure, I'll pop it over next week.

Thanks
Tammie

On 16/10/2014 18:42, Emil Uzelac wrote:
> Tammie would you like to start?
>
> On Thursday, October 16, 2014, Tammie Lister <karmatosed at gmail.com 
> <mailto:karmatosed at gmail.com>> wrote:
>
>     Hi
>
>     I'm down with putting it on GH but we do need to make sure we have
>     a process and particularly how it's prepared.
>
>     Thanks
>     Tammie
>
>     On 16/10/2014 18:29, Edward Caissie wrote:
>>     Fine by me ...
>>
>>
>>     Edward Caissie
>>     aka Cais.
>>
>>     On Thu, Oct 16, 2014 at 1:23 PM, Emil Uzelac <emil at uzelac.me
>>     <javascript:_e(%7B%7D,'cvml','emil at uzelac.me');>> wrote:
>>
>>         Awesome and thanks. So guys should we push over to TRT GH or?
>>
>>
>>         On Thursday, October 16, 2014, Lance Willett
>>         <nanobar at gmail.com
>>         <javascript:_e(%7B%7D,'cvml','nanobar at gmail.com');>> wrote:
>>
>>             Here's the checklist for preparing a new XML file, next
>>             time you need to do it.
>>
>>             Often when I get the new XML file from
>>             http://wpthemetestdata.wordpress.com/ it needs a bit of
>>             massaging
>>             before commit to our pub repo.
>>
>>             Here’s the process
>>
>>             1. WPTRT admins make changes to the test site on WP.com.
>>             2. Go to http://wpthemetestdata.wordpress.com/ and export
>>             the full XML
>>             file, and open it locally in a text editor.
>>             3. Clean it up.
>>             4. Diff it with the previous version to be sure of no
>>             weird changes or
>>             additions, other than the expected ones.
>>             5. Push to GitHub.
>>             6. Go to http://codex.wordpress.org/Theme_Unit_Test, edit
>>             the page,
>>             change the UTC timestamp to “now” to show the most
>>             current update
>>             timestamp. **You can stop doing this probably since
>>             GitHub will have a
>>             history going forward.**
>>
>>             Notes for the XML clean up, step 3.
>>
>>             Remove the following metadata elements that are specific
>>             to WP.com.
>>
>>             superawesome
>>             _edit_last
>>             email_notification
>>             _searchme
>>             jabber_published
>>             geo_public
>>             _elasticsearch_indexed_on
>>
>>             I look for these patterns using a text editor like
>>             TextMate or Sublime
>>             Text, with regex search turned on:
>>
>>             1. https://gist.github.com/lancewillett/a7c849026e2e403399a0
>>             2. https://gist.github.com/lancewillett/127085c444ec6ff398d1
>>
>>             Then search/replace with an empty string to remove from
>>             the XML file.
>>
>>             It's not end of the world if they make it into the Unit
>>             Test XML file,
>>             but it's just clutter.
>>
>>             – Lance
>>
>>             On Thu, Oct 16, 2014 at 11:15 AM, Lance Willett
>>             <nanobar at gmail.com> wrote:
>>             > The history of the file changes is public, it's part of
>>             our WP.com
>>             > public themes SVN repo.
>>             >
>>             > You can see the history by doing something like:
>>             > svn log
>>             https://wpcom-themes.svn.automattic.com/demo/theme-unit-test-data.xml
>>             >
>>             > I'm totally happy for the file to move to GitHub. If
>>             WPTRT has an
>>             > account and you'd like to maintain it going
>>             forward—please just grab
>>             > the latest copy and start from there; I don't need to
>>             do anything
>>             > further.
>>             >
>>             > Then edit the Codex page at
>>             http://codex.wordpress.org/Theme_Unit_Test
>>             > to point to the GitHub repo instead of the SVN repo.
>>             >
>>             > Done. :)
>>             >
>>             > – Lance
>>             _______________________________________________
>>             theme-reviewers mailing list
>>             theme-reviewers at lists.wordpress.org
>>             http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>
>>
>>         _______________________________________________
>>         theme-reviewers mailing list
>>         theme-reviewers at lists.wordpress.org
>>         <javascript:_e(%7B%7D,'cvml','theme-reviewers at lists.wordpress.org');>
>>         http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>
>>
>>
>>
>>     _______________________________________________
>>     theme-reviewers mailing list
>>     theme-reviewers at lists.wordpress.org  <javascript:_e(%7B%7D,'cvml','theme-reviewers at lists.wordpress.org');>
>>     http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>     -- 
>     Thanks
>     Tammie Lister
>
>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers

-- 
Thanks
Tammie Lister

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20141016/abf202e8/attachment.html>


More information about the theme-reviewers mailing list