Support project browser 2.0

Created on 12 March 2025, 3 months ago

Problem/Motivation

By default when installing this module with composer the project_browser version 1.0 is installed, probably because it is beta and 2.0 is alpha. But it seems that 1.0 is not supported anymore.

Proposed resolution

Use project browser 2.x instead.

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇩🇪Germany a.dmitriiev

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

Merge Requests

Comments & Activities

  • Issue created by @a.dmitriiev
  • 🇩🇪Germany a.dmitriiev

    It seems that project browser 2.x changed the sorting options structure and also the Project object. I made the adjustments and tested with Drupal 11.1.

    There are some other improvements needed, as at the moment the project type is hardcoded to module and the `composer` commands are not always correct in case the project is in Gitlab's subgroup. But that should be in a separate issues.

  • 🇫🇷France vbouchet

    Hi Artem. Thank you for your work and the patch. It looks good to me but I will try to find some time to try it. I initiated this module 9 months ago and did not reviewed the progress of Project Browser recently. At this time, 1.x was the only version.

    I confirm that it needs a lot of improvements, I simply miss time to work on it ;-)

  • 🇩🇪Germany a.dmitriiev

    I will create some more issues, that I think can improve this module. There are not so many breaking changes that were introduced in the newest version of Project Browser, so I hope the transfer will be as smooth as possible.

  • Status changed to Needs review 21 days ago
  • 🇩🇪Germany a.dmitriiev

    Hey @vbouchet,

    Any chance that you can review this change? I tried to make it compatible with current state of Project Browser version 2. Everything works smoothly. I haven't checked the change with "Package manager" (I haven't tried to require and install the package from admin UI) yet. But maybe first this needs to be fixed.

    Thank you.

  • 🇫🇷France vbouchet

    Hi Artem,

    Thanks for the reminder, I forgot about it. I tested it locally and it seems to work well.

    I made a small addition post-merge as it seems the derivative was missing the local_task entry to make it visible in the admin/modules/browse.

    I will create a new release with these change.

  • 🇩🇪Germany a.dmitriiev

    Thank you, Vincent!

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024