Build/Test Tools: Add a scoped Composer exception for the WPCS security advisory to unblock CI on the 7.0 branch. - #12741
Conversation
…ty advisory to unblock CI on the 7.0 branch.
Test using WordPress PlaygroundThe changes in this pull request can previewed and tested using a WordPress Playground instance. WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser. Some things to be aware of
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. |
|
This and #12742 are a draft because I don't know the core philosophy (yet) around dependencies with security advisories, when the action to update would trigger a whole range of new issues to fix (code sniffs). |
|
In Slack @aaronjorbin and I discussed additionally excluding the
|
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
aaronjorbin
left a comment
There was a problem hiding this comment.
This feels like the best route to getting things running on all older branches in the shortest amount of time
Scope a Composer audit exception for GHSA-3pwp-g2mj-5p3v so `composer install` resolves on the 7.0 branch. WPCS is a dev-only dependency, and this keeps it at 3.3.0 rather than bumping it and churning the coding standards on a release branch. Developed in: #12741 Reviewed by: jorbin. Props johnbillion. See #65739. git-svn-id: https://develop.svn.wordpress.org/branches/7.0@62876 602fd350-edb4-49c9-b593-d223f7449a82
Scope a Composer audit exception for GHSA-3pwp-g2mj-5p3v so `composer install` resolves on the 7.0 branch. WPCS is a dev-only dependency, and this keeps it at 3.3.0 rather than bumping it and churning the coding standards on a release branch. Developed in: WordPress/wordpress-develop#12741 Reviewed by: jorbin. Props johnbillion. See #65739. Built from https://develop.svn.wordpress.org/branches/7.0@62876 git-svn-id: http://core.svn.wordpress.org/branches/7.0@62154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Scope a Composer audit exception for GHSA-3pwp-g2mj-5p3v so composer install resolves on the 7.0 branch. WPCS is a dev-only dependency, and this keeps it at 3.3.0 rather than bumping it and churning the coding standards on a release branch. Trunk fix: [62874]. Developed in: #12741 Reviewed by: jorbin, lancewillett. Merges [62876] to 6.9 branch. Props johnbillion, jorbin, lancewillett. See #65739. git-svn-id: https://develop.svn.wordpress.org/branches/6.9@62879 602fd350-edb4-49c9-b593-d223f7449a82
Scope a Composer audit exception for GHSA-3pwp-g2mj-5p3v so composer install resolves on the 7.0 branch. WPCS is a dev-only dependency, and this keeps it at 3.3.0 rather than bumping it and churning the coding standards on a release branch. Trunk fix: [62874]. Developed in: #12741 Reviewed by: jorbin, lancewillett. Merges [62876] to 6.8 branch. Props johnbillion, jorbin, lancewillett. See #65739. git-svn-id: https://develop.svn.wordpress.org/branches/6.8@62880 602fd350-edb4-49c9-b593-d223f7449a82
Scope a Composer audit exception for GHSA-3pwp-g2mj-5p3v so composer install resolves on the 7.0 branch. WPCS is a dev-only dependency, and this keeps it at 3.3.0 rather than bumping it and churning the coding standards on a release branch. Trunk fix: [62874]. Developed in: #12741 Reviewed by: jorbin, lancewillett. Merges [62876] to 6.7 branch. Props johnbillion, jorbin, lancewillett. See #65739. git-svn-id: https://develop.svn.wordpress.org/branches/6.7@62881 602fd350-edb4-49c9-b593-d223f7449a82
Scope a Composer audit exception for GHSA-3pwp-g2mj-5p3v so composer install resolves on the 7.0 branch. WPCS is a dev-only dependency, and this keeps it at 3.3.0 rather than bumping it and churning the coding standards on a release branch. Trunk fix: [62874]. Developed in: #12741 Reviewed by: jorbin, lancewillett. Merges [62876] to 6.6 branch. Props johnbillion, jorbin, lancewillett. See #65739. git-svn-id: https://develop.svn.wordpress.org/branches/6.6@62882 602fd350-edb4-49c9-b593-d223f7449a82
Scope a Composer audit exception for GHSA-3pwp-g2mj-5p3v so composer install resolves on the 7.0 branch. WPCS is a dev-only dependency, and this keeps it at 3.3.0 rather than bumping it and churning the coding standards on a release branch. Trunk fix: [62874]. Developed in: #12741 Reviewed by: jorbin, lancewillett. Merges [62876] to 6.5 branch. Props johnbillion, jorbin, lancewillett. See #65739. git-svn-id: https://develop.svn.wordpress.org/branches/6.5@62883 602fd350-edb4-49c9-b593-d223f7449a82
Scope a Composer audit exception for GHSA-3pwp-g2mj-5p3v so composer install resolves on the 7.0 branch. WPCS is a dev-only dependency, and this keeps it at 3.3.0 rather than bumping it and churning the coding standards on a release branch. Trunk fix: [62874]. Developed in: #12741 Reviewed by: jorbin, lancewillett. Merges [62876] to 6.4 branch. Props johnbillion, jorbin, lancewillett. See #65739. git-svn-id: https://develop.svn.wordpress.org/branches/6.4@62884 602fd350-edb4-49c9-b593-d223f7449a82
Scope a Composer audit exception for GHSA-3pwp-g2mj-5p3v so composer install resolves on the 7.0 branch. WPCS is a dev-only dependency, and this keeps it at 3.3.0 rather than bumping it and churning the coding standards on a release branch. Trunk fix: [62874]. Developed in: #12741 Reviewed by: jorbin, lancewillett. Merges [62876] to 6.3 branch. Props johnbillion, jorbin, lancewillett. See #65739. git-svn-id: https://develop.svn.wordpress.org/branches/6.3@62885 602fd350-edb4-49c9-b593-d223f7449a82
Scope a Composer audit exception for GHSA-3pwp-g2mj-5p3v so composer install resolves on the 7.0 branch. WPCS is a dev-only dependency, and this keeps it at 3.3.0 rather than bumping it and churning the coding standards on a release branch. Trunk fix: [62874]. Developed in: #12741 Reviewed by: jorbin, lancewillett. Merges [62876] to 6.2 branch. Props johnbillion, jorbin, lancewillett. See #65739. git-svn-id: https://develop.svn.wordpress.org/branches/6.2@62886 602fd350-edb4-49c9-b593-d223f7449a82
Scope a Composer audit exception for GHSA-3pwp-g2mj-5p3v so composer install resolves on the 7.0 branch. WPCS is a dev-only dependency, and this keeps it at 3.3.0 rather than bumping it and churning the coding standards on a release branch. Trunk fix: [62874]. Developed in: #12741 Reviewed by: jorbin, lancewillett. Merges [62876] to 6.1 branch. Props johnbillion, jorbin, lancewillett. See #65739. git-svn-id: https://develop.svn.wordpress.org/branches/6.1@62887 602fd350-edb4-49c9-b593-d223f7449a82
Scope a Composer audit exception for GHSA-3pwp-g2mj-5p3v so composer install resolves on the 7.0 branch. WPCS is a dev-only dependency, and this keeps it at 3.3.0 rather than bumping it and churning the coding standards on a release branch. Trunk fix: [62874]. Developed in: #12741 Reviewed by: jorbin, lancewillett. Merges [62876] to 6.0 branch. Props johnbillion, jorbin, lancewillett. See #65739. git-svn-id: https://develop.svn.wordpress.org/branches/6.0@62888 602fd350-edb4-49c9-b593-d223f7449a82
Scope a Composer audit exception for GHSA-3pwp-g2mj-5p3v so composer install resolves on the 7.0 branch. WPCS is a dev-only dependency, and this keeps it at 3.3.0 rather than bumping it and churning the coding standards on a release branch. Trunk fix: [62874]. Developed in: #12741 Reviewed by: jorbin, lancewillett. Merges [62876] to 5.9 branch. Props johnbillion, jorbin, lancewillett. See #65739. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@62890 602fd350-edb4-49c9-b593-d223f7449a82
Trac ticket: https://core.trac.wordpress.org/ticket/65739
This adds a scoped Composer audit exception for
GHSA-3pwp-g2mj-5p3vto unblock dependency installation on the 7.0 branch.It keeps WPCS at 3.3.0 and avoids introducing a broad coding-standards delta on the release branch.
Testing
composer validatepassed, with the existing version-field warning.composer installresolved WPCS 3.3.0.composer lint:errorsreported 35 existing errors. This change modifies onlycomposer.json.