Problem/Motivation
I recently try the Project Browser module (version 2.0.0-beta1) on a fresh installation of Drupal CMS (version 11) (running with PHP 8.3). While testing the "Browse projects" feature, I noticed that one of my modules Opquast Checklist does not appear in the list.
Steps to reproduce
- Install a fresh Drupal CMS (version 11) site with PHP 8.3
- Check that
project_browsermodule (v2.0.0-beta1) is enabled - Go to the "Browse projects" tab
- Clear all filters
- Search for the "Opquast Checklist" module
Expected behavior
The opquast_checklist module should appear in the results, as it is compatible with Drupal 11 and listed on Drupal.org.
Actual behavior
The module is missing from the list in the Project Browser UI. When all filters are cleared, I see 4,861 results available, whereas Drupal.org lists 5,918 compatible modules for Drupal 11 under the same conditions.
Questions / Suggestions
- What could explain the discrepancy in the number of modules shown between Drupal.org and the Project Browser?
- Are there specific rules or metadata requirements that a module must follow to be included in the Project Browser list?
- Would it be helpful to document these prerequisites more clearly — e.g., in the README or the Project Browser handbook — so that maintainers can ensure their projects are discoverable?
Thanks
Comments
Comment #2
martygraphie commentedComment #3
chrisfromredfinThe real reason for the discrepancy is that we are actually doing a nightly migration to a Drupal 9 site which hosts the endpoint for the project browser module data. New modules may take a while to show up, or something may fail in the migration.
(In addition to other things, like our filters - we will not show modules that are not compatible with the version of Drupal that's running, and we only show ones by default that have security coverage, etc.)
I will see if Fran can take a look at the migration to check on this.
Comment #4
drummYou can see the project is migrated at https://www.drupal.org/jsonapi/node/project_module?filter[field_project_...
How project browser is setting up filters for querying might be filtering out the project for some reason.
Comment #5
fjgarlin commentedhttps://www.drupal.org/jsonapi/node/project_module?filter[field_project_...
That initially had
field_core_semver_maximum: 11000000, that's why it wouldn't show on Drupal 11.1.3.I re-triggered the semver range calculation and we now have:
So the project should appear now.
The reason for the 12999999 is is because release 2.0.5 of that project has
core_version_requirement: ">=8"and we have D12 as max value here.I think that the issue can be closed as there are no changes required in Project Browser.
Comment #6
jeremy.declerckI can also confirm this is working now.
The altcha module was not showing up before, but is now.
Comment #7
martygraphie commentedHi,
I confirm this is working now.
Thank you for your analysis. This will indeed help other maintainers understand why their module isn’t showing up in project browser.
Sincerely,
Marc
Comment #8
chrisfromredfinFran - I am leaving this open for you, in case there is anything that needs to change on the infra side. But if there's not, or you are tracking it in a separate issue, please mark this Fixed. I have assigned credit.
Comment #9
fjgarlin commentedI reviewed the logic on our end and it really seems ok, so I am going to close this issue. If it were to happen again, I'll implement a workaround that is a one-line change, but only if it's needed.