- Issue created by @Project Update Bot
- last update
8 months ago 29 pass This is an automated patch generated using Upgrade Status and Drupal Rector. Please see the issue summary for more details. A merge request is also openend and updated.
It is important that any automated tests available are run and that you manually test the changes.
Drupal 11 Compatibility
According to the Upgrade Status module → these changes make this module compatible with Drupal 11! 🎉
Therefore these changes update theinfo.yml
file for Drupal 11 compatibility.Leaving this issue open, even after committing the current patch, will allow the Project Update Bot → to post additional Drupal 11 compatibility fixes as they become available in Drupal Rector.
Debug info
Bot run #11-121090This patch was created using these packages:
- drupal/upgrade_status: 4.1.0
- mglaman/phpstan-drupal: 1.2.7
- palantirnet/drupal-rector: 0.20.1
- First commit to issue fork.
- last update
6 months ago 27 pass, 2 fail - last update
6 months ago 26 pass, 4 fail - last update
6 months ago 26 pass, 4 fail - last update
6 months ago 26 pass, 4 fail - last update
6 months ago 26 pass, 4 fail - Status changed to Needs work
6 months ago 6:45pm 26 May 2024 - 🇺🇸United States tr Cascadia
Please open a new issue for changes to .gitlab-ci.yml
That file needs to be changed to support simultaneous testing against the current supported D10 version and also the future D11 version. It needs to configure the tests to run against the minimum supported version of PHP as well as the most recent version of PHP.
The purpose of these tests against the lowest-supported versions of Drupal core and PHP are so that new patches/MRs don't break existing sites.
The purpose of the tests against the latest Drupal core and PHP are so we get early warning of changes to core and/or PHP that might affect the operation of this module.
All these tests need to be run against all new MRs - it is not sufficient just to test the module against the latest HEAD.
Also read #3325483-4: Drupal Coding Standards Issues | phpcs → about some of your other changes. Likewise your changes to the header tests are unrelated and cause test failures. Regardless, this current issue is solely about D11 compatibility, not about PHPCS issues or testing configurations or anything else. Please don't mix unrelated changes together in one MR.
- First commit to issue fork.
- last update
6 months ago 29 pass - 🇮🇳India chandu7929 Pune
Running command
./vendor/bin/drush upgrade_status:analyze honeypot
give following status which can be ignored, because its false positivecontact/feedback-form
is not a library.================================================================================ Honeypot, -- Scanned on Fri, 05/31/2024 - 08:21 FILE: modules/contrib/honeypot/tests/src/Functional/HoneypotFormTest.php STATUS LINE MESSAGE -------------------------------------------------------------------------------- Check manually 304 The 'contact/feedback-form' library is not defined because the defining extension is not installed. Cannot decide if it is deprecated or not. -------------------------------------------------------------------------------- FILE: modules/contrib/honeypot/tests/src/Functional/HoneypotFormCacheTest.php STATUS LINE MESSAGE -------------------------------------------------------------------------------- Check manually 93 The 'contact/feedback' library is not defined because the defining extension is not installed. Cannot decide if it is deprecated or not. -------------------------------------------------------------------------------- Check manually 96 The 'contact/feedback' library is not defined because the defining extension is not installed. Cannot decide if it is deprecated or not. -------------------------------------------------------------------------------- Check manually 103 The 'contact/feedback' library is not defined because the defining extension is not installed. Cannot decide if it is deprecated or not. -------------------------------------------------------------------------------- Check manually 105 The 'contact/feedback' library is not defined because the defining extension is not installed. Cannot decide if it is deprecated or not. -------------------------------------------------------------------------------- Check manually 110 The 'contact/feedback' library is not defined because the defining extension is not installed. Cannot decide if it is deprecated or not. --------------------------------------------------------------------------------
Regarding the the remaining test failure see MR:https://git.drupalcode.org/project/rules/-/merge_requests/26/diffs
- Status changed to Needs review
6 months ago 8:53am 31 May 2024 - Status changed to Needs work
6 months ago 3:57am 1 June 2024 - 🇺🇸United States tr Cascadia
Looks like all false errors in #7. Did you check it manually like the upgrade_status command told you to?
Honeypot does not define or use a
contact/feedback
library, so none of the output in #7 is valid.The header asserts in the test cases are being addressed by 📌 PHPUnit: Fix Functional Tests 'HoneypotFormCacheTest' Needs review .
- Status changed to Needs review
6 months ago 1:32pm 3 June 2024 - 🇮🇳India chandu7929 Pune
Thanks @TR, I ran the scan again today and I don't those issue reported in #7 hence moving in review.
================================================================================ Honeypot, -- Scanned on Mon, 06/03/2024 - 13:29 No known issues found.
- Status changed to Needs work
6 months ago 9:36am 5 June 2024 - last update
6 months ago 29 pass - 🇮🇳India chandu7929 Pune
@vishalkhode - I have remove those changes since its already covered here https://www.drupal.org/project/honeypot/issues/3450488 📌 PHPUnit: Fix Functional Tests 'HoneypotFormCacheTest' Needs review
The header asserts in the test cases are being addressed by #3450488: PHPUnit: Fix Functional Tests 'HoneypotFormCacheTest'
- Status changed to Needs review
6 months ago 11:08am 5 June 2024 - Status changed to RTBC
6 months ago 11:36am 5 June 2024 - 🇮🇳India vishalkhode
Ok, changes looks good to me.
@vishalkhode - I have remove those changes since its already covered here https://www.drupal.org/project/honeypot/issues/3450488 📌 PHPUnit: Fix Functional Tests 'HoneypotFormCacheTest' Needs review
The header asserts in the test cases are being addressed by #3450488: PHPUnit: Fix Functional Tests 'HoneypotFormCacheTest'
- 🇮🇳India vipin.mittal18 Greater Noida
Hello @TR,
As you are the only active maintainer, It would be helpful if you could inform us when you intend to release a pre/stable version of honeypot as Drupal 11 stable is nearing its release date. Thanks!
- Status changed to Needs work
4 months ago 6:50pm 17 July 2024 - 🇮🇳India deepakkm
deepakkm → changed the visibility of the branch project-update-bot-only to hidden.
- Status changed to Needs review
4 months ago 7:02am 24 July 2024 - Status changed to Needs work
4 months ago 7:37am 24 July 2024 - 🇮🇳India rajeshreeputra Pune
Changes looks good, however I don't see CI running for Drupal 11, please add next major support in gitlab CI.
- Assigned to chandu7929
- Issue was unassigned.
- Status changed to Needs review
4 months ago 11:38am 24 July 2024 - Status changed to RTBC
4 months ago 11:59am 24 July 2024 - 🇮🇳India ankitv18
Changes looks good and pipelines are executed a successful jobs, hence marking this one as RTBC
- 🇮🇳India vipin.mittal18 Greater Noida
Hello @TR,
We are approaching the release of Drupal 11, so should we expect this module to be compatible with Drupal 11? Thanks!
- First commit to issue fork.
- 🇦🇺Australia VladimirAus Brisbane, Australia
To test Drupal 11 add to composer.json
repositories
section:"repositories": [ { "type": "vcs", "url": "https://git.drupalcode.org/issue/honeypot-3430920.git" },
and then run
composer require drupal/honeypot:dev-3430920-automated-drupal-11
- 🇺🇸United States tr Cascadia
The 2.2.x branch is working on D11 for more than a week now, and it is being tested against D11 on a regular basis.
https://git.drupalcode.org/project/honeypot/-/pipeline_schedulesThe 2.1.x branch will not be changed to support D11.
There will be a 2.2.0 release for the 2.2.x branch in the next week or so after I have seen if anyone reports problems with the upgrade.
- 🇦🇺Australia VladimirAus Brisbane, Australia
Pull the finger out and update module description then. 👆
- Status changed to Fixed
3 months ago 6:52am 26 August 2024 Automatically closed - issue fixed for 2 weeks with no activity.