Add filter by project dependencies (ecosystem)

Created on 8 October 2021, about 3 years ago
Updated 29 May 2024, 6 months ago

Problem/Motivation

Very often users looking for modules, that can extend functionality of some exact module, eg Search API module does almost nothing serious without any of additional modules like Search API Solr or Elasticsearch Connector, but now users can't find modules, that depends on Search API.

Steps to reproduce

Try to find in project browser all modules, that can extend the Search API functionality.

Proposed resolution

To solve this problem will be good to add filter "Depends on module", via which we can find all modules, that extends functionality of Search API from previous example, find modules that can connect two other modules (eg Flag Search API via dependency on search_api + flag), etc.

Module developers and community can manually manage list of related modules like this https://www.drupal.org/node/1999262 but it's more exclusion, than common thing, and very often they becomes outdated.

But dependencies in MODULE.info.yml file are always actual and already filled in all projects!

Remaining tasks

  • ✅ File an issue about this project
  • ☐ Addition/Change/Update/Fix to this project
  • ☐ Testing to ensure no regression
  • ☐ Automated unit/functional testing coverage
  • ☐ Developer Documentation support on feature change/addition
  • ☐ User Guide Documentation support on feature change/addition
  • ☐ Code review from 1 Drupal core team member
  • ☐ Full testing and approval
  • ☐ Credit contributors
  • ☐ Review with the product owner
  • ☐ Release

User interface changes

API changes

Data model changes

Release notes snippet

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇦🇲Armenia murz Yerevan, Armenia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇪🇨Ecuador jwilson3

    IMHO ecosystem should rather be used for modules that can be listed as "Compatible with" whereas "Depends on" should be a new separate entity reference. It shouldn't be a taxonomy like the Ecosystem feature is, but a direct relationship to the module(s) it is dependent upon.

    Ideally, this would be:

    * populated and synced automatically with dependency data in the modules primary *.info.yml (ie, do not recurse into submodules).
    * only (optionally) exposed in the UI to people with an elevated admin role (so as to avoid interference with the aforementioned sync).

  • 🇱🇹Lithuania mindaugasd

    Dependencies is very useful idea.
    Like the most popular module is ctools in the project browser. But how to use it exactly? I know Panels used it back in the day, but ctools remains a mysterious module to me without knowing the dependents. It would be very helpful to see what modules implements it in order to discover tons of examples of how it can actually be used. Maybe it is useful since being so popular? Maybe it saves time? It would be even more useful for new site builders, whom this module can be extra confusing.

  • 🇱🇹Lithuania mindaugasd

    Dependency tree of themes is also needed.
    For example, what sub-themes depend on barrio ?
    drupal.org search does not return any results... If there are no sub-themes, there has to be for a site builder.
    Having sub-themes easy-to-find might encourage people to submit new sub-themes, and branching out barrio with more advanced sub-themes could provide better user experience.

Production build 0.71.5 2024