Congratulations!

[Valid RSS] This is a valid RSS feed.

Recommendations

This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.

Source: https://bbpress.trac.wordpress.org/ticket/3610?format=rss

  1. <?xml version="1.0"?>
  2. <rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  3.  <channel>
  4.    <title>bbPress Trac: Ticket #3610: Upgrading composer, npm and adding wp-env for PHPUnit</title>
  5.    <link>https://bbpress.trac.wordpress.org/ticket/3610</link>
  6.    <description>&lt;p&gt;
  7. After checking buddypress docs, I noticed that they were using wp-env, which is massive for WP development with Docker, plus the complimentary scripts for PHPUnit testing with WP-Env running in the background.
  8. &lt;/p&gt;
  9. &lt;p&gt;
  10. First, trying to make my way through it, I noticed that both &lt;code&gt;composer.json&lt;/code&gt; and &lt;code&gt;package.json&lt;/code&gt; had dependencies issues.
  11. &lt;/p&gt;
  12. &lt;p&gt;
  13. For &lt;code&gt;package.json&lt;/code&gt;, &lt;code&gt;stylelint&lt;/code&gt; could not be in the latest version, only 14 or lower worked. And some other dependencies broke. So I've fixed all versions to make it happen
  14. Same for &lt;code&gt;composer.json&lt;/code&gt;, I simply upgraded to the latest &lt;code&gt;phpcodesniffer-composer-installer&lt;/code&gt; compatible with the latest PHP 8+, and added PHPUnit 9 because I noticed that 10 and 11 were breaking tests. I will be opening an issue to sort this specifically in the future.
  15. &lt;/p&gt;
  16. &lt;p&gt;
  17. After this, for now, I've introduced two basic scripts similarly to the Buddypress implementation
  18. &lt;/p&gt;
  19. &lt;p&gt;
  20. One for WP-ENV
  21. &lt;/p&gt;
  22. &lt;p&gt;
  23. &lt;code&gt;npm run wp-env start&lt;/code&gt;
  24. &lt;/p&gt;
  25. &lt;p&gt;
  26. Which runs the WP virtual environment via docker, and through &lt;code&gt;.wp-env.json&lt;/code&gt;, we can define to bring the root, bbPress folder to it, install the plugin and ready to rumble.
  27. &lt;/p&gt;
  28. &lt;p&gt;
  29. And then another script for basic PHPUnit running.
  30. &lt;/p&gt;
  31. &lt;p&gt;
  32. &lt;code&gt;npm run test-php&lt;/code&gt;
  33. &lt;/p&gt;
  34. &lt;p&gt;
  35. Probably more scripts should be added in the future, but this is just a proof of concept to have this up and running.
  36. &lt;/p&gt;
  37. &lt;p&gt;
  38. Furthermore, I've added the necessary tweaks in the repo to start passing test with this script command, removing all deprecation warnings for PHP 8.2.
  39. &lt;/p&gt;
  40. &lt;p&gt;
  41. For now, I think this is ideal to have a good and more modern dev environment.
  42. &lt;/p&gt;
  43. </description>
  44.    <language>en-us</language>
  45.    <image>
  46.      <title>bbPress Trac</title>
  47.      <url>https://bbpress.trac.wordpress.org/chrome/site/your_project_logo.png</url>
  48.      <link>https://bbpress.trac.wordpress.org/ticket/3610</link>
  49.    </image>
  50.    <generator>Trac 1.2.2</generator>
  51.    <item>
  52.      
  53.        <dc:creator>SirLouen</dc:creator>
  54.  
  55.      <pubDate>Sat, 02 Nov 2024 02:55:53 GMT</pubDate>
  56.      <title>attachment set</title>
  57.      <link>https://bbpress.trac.wordpress.org/ticket/3610</link>
  58.      <guid isPermaLink="false">https://bbpress.trac.wordpress.org/ticket/3610</guid>
  59.      <description>
  60.          &lt;ul&gt;
  61.            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
  62.                set to &lt;em&gt;wp-env-phpunit-upgrade.patch&lt;/em&gt;
  63.            &lt;/li&gt;
  64.          &lt;/ul&gt;
  65.        &lt;p&gt;
  66. This patch upgrades build tools for WP-ENV and PHPUnit working over it
  67. &lt;/p&gt;
  68.      </description>
  69.      <category>Ticket</category>
  70.    </item><item>
  71.      
  72.        <dc:creator>prbot</dc:creator>
  73.  
  74.      <pubDate>Sat, 02 Nov 2024 03:06:03 GMT</pubDate>
  75.      <title>keywords changed</title>
  76.      <link>https://bbpress.trac.wordpress.org/ticket/3610#comment:1</link>
  77.      <guid isPermaLink="false">https://bbpress.trac.wordpress.org/ticket/3610#comment:1</guid>
  78.      <description>
  79.          &lt;ul&gt;
  80.            &lt;li&gt;&lt;strong&gt;keywords&lt;/strong&gt;
  81.              &lt;em&gt;has-unit-tests&lt;/em&gt; added
  82.            &lt;/li&gt;
  83.          &lt;/ul&gt;
  84.        &lt;p&gt;
  85. &lt;em&gt;This ticket was mentioned in &lt;a class="ext-link" href="https://github.com/bbpress/bbPress/pull/18"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;PR #18&lt;/a&gt; on &lt;a class="ext-link" href="https://github.com/bbpress/bbPress/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;bbpress/bbPress&lt;/a&gt; by &lt;a class="ext-link" href="https://profiles.wordpress.org/sirlouen/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;@SirLouen&lt;/a&gt;.&lt;/em&gt;
  86. As described here:
  87. &lt;/p&gt;
  88. &lt;p&gt;
  89. &lt;a class="ext-link" href="https://bbpress.trac.wordpress.org/ticket/3610"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://bbpress.trac.wordpress.org/ticket/3610&lt;/a&gt;
  90. &lt;/p&gt;
  91. &lt;p&gt;
  92. After checking buddypress docs, I noticed that they were using wp-env, which is massive for WP development with Docker, plus the complimentary scripts for PHPUnit testing with WP-Env running in the background.
  93. &lt;/p&gt;
  94. &lt;p&gt;
  95. First, trying to make my way through it, I noticed that both &lt;code&gt;composer.json&lt;/code&gt; and &lt;code&gt;package.json&lt;/code&gt; had dependencies issues.
  96. &lt;/p&gt;
  97. &lt;p&gt;
  98. For &lt;code&gt;package.json&lt;/code&gt;, &lt;code&gt;stylelint&lt;/code&gt; could not be in the latest version, only 14 or lower worked. And some other dependencies broke. So I've fixed all versions to make it happen
  99. Same for &lt;code&gt;composer.json&lt;/code&gt;, I simply upgraded to the latest &lt;code&gt;phpcodesniffer-composer-installer&lt;/code&gt; compatible with the latest PHP 8+, and added PHPUnit 9 because I noticed that 10 and 11 were breaking tests. I will be opening an issue to sort this specifically in the future.
  100. &lt;/p&gt;
  101. &lt;p&gt;
  102. After this, for now, I've introduced two basic scripts similarly to the Buddypress implementation
  103. &lt;/p&gt;
  104. &lt;p&gt;
  105. One for WP-ENV
  106. &lt;/p&gt;
  107. &lt;pre class="wiki"&gt;npm run wp-env start
  108. &lt;/pre&gt;&lt;p&gt;
  109. Which runs the WP virtual environment via docker, and through &lt;code&gt;.wp-env.json&lt;/code&gt;, we can define to bring the root, bbPress folder to it, install the plugin and ready to rumble.
  110. &lt;/p&gt;
  111. &lt;p&gt;
  112. And then another script for basic PHPUnit running.
  113. &lt;/p&gt;
  114. &lt;pre class="wiki"&gt;npm run test-php
  115. &lt;/pre&gt;&lt;p&gt;
  116. Probably more scripts should be added in the future, but this is just a proof of concept to have this up and running.
  117. &lt;/p&gt;
  118. &lt;p&gt;
  119. Furthermore, I've added the necessary tweaks in the repo to start passing test with this script command, removing all deprecation warnings for PHP 8.2.
  120. &lt;/p&gt;
  121. &lt;p&gt;
  122. For now, I think this is ideal to have a good and more modern dev environment.
  123. &lt;/p&gt;
  124.      </description>
  125.      <category>Ticket</category>
  126.    </item><item>
  127.      
  128.        <dc:creator>prbot</dc:creator>
  129.  
  130.      <pubDate>Sun, 03 Nov 2024 03:42:57 GMT</pubDate>
  131.      <title></title>
  132.      <link>https://bbpress.trac.wordpress.org/ticket/3610#comment:2</link>
  133.      <guid isPermaLink="false">https://bbpress.trac.wordpress.org/ticket/3610#comment:2</guid>
  134.      <description>
  135.        &lt;p&gt;
  136. &lt;em&gt;This ticket was mentioned in &lt;a class="ext-link" href="https://github.com/bbpress/bbPress/pull/21"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;PR #21&lt;/a&gt; on &lt;a class="ext-link" href="https://github.com/bbpress/bbPress/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;bbpress/bbPress&lt;/a&gt; by &lt;a class="ext-link" href="https://profiles.wordpress.org/sirlouen/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;@SirLouen&lt;/a&gt;.&lt;/em&gt;
  137. &lt;/p&gt;
  138.      </description>
  139.      <category>Ticket</category>
  140.    </item>
  141. </channel>
  142. </rss>

If you would like to create a banner that links to this page (i.e. this validation result), do the following:

  1. Download the "valid RSS" banner.

  2. Upload the image to your own server. (This step is important. Please do not link directly to the image on this server.)

  3. Add this HTML to your page (change the image src attribute if necessary):

If you would like to create a text link instead, here is the URL you can use:

http://www.feedvalidator.org/check.cgi?url=https%3A//bbpress.trac.wordpress.org/ticket/3610%3Fformat%3Drss

Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda