Problem/Motivation

Currently, when trying to add the module to a D10.1 site, one gets this error with composer require:

  - Root composer.json requires drupal/tracker dev-1.0.x -> satisfiable by drupal/tracker[dev-1.0.x].
  - drupal/tracker dev-1.0.x requires drupal/core ^8 -> found drupal/core[8.0.0-beta6, ..., 8.9.x-dev] but it conflicts with your root composer.json require (10.1.0).

Steps to reproduce

  • Install a fresh D10.1 site with composer
  • Attempt to add this module with composer require drupal/tracker:dev-1.0.x
  • Observe the error

Proposed resolution

Add the missing composer.json establishing D10 core support.

Remaining tasks

Do it.

User interface changes

None.

API changes

None.

Data model changes

None.

CommentFileSizeAuthor
#5 Screenshot 2023-08-07 at 1.34.14 PM.png531.38 KBkeshavv

Issue fork tracker-3379544

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

fgm created an issue. See original summary.

fgm’s picture

Issue summary: View changes
Issue tags: +Drupal 10 compatibility

fgm’s picture

Status: Active » Needs review
keshavv’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new531.38 KB

Confirmed that there is an issue.
The given MR will work for it.
Thank you.

fgm’s picture

@keshavv note that your screen capture shows an unrelated issue, namely that fact that your project requires a stable version and the required module is a dev version : this is not the same problem; and you can fix it by changing minimum-stability in your composer.json.

keshavv’s picture

Status: Reviewed & tested by the community » Needs review

@fgm, Thank you for the help.

sakthi_dev’s picture

Can we get a release with this fix?

vacilando’s picture

Please release this fix.

joelpittet’s picture

Status: Needs review » Reviewed & tested by the community

Might want D11 in this too but it's better than the broken state it's currently in. Check this out it's somehow confused with adoption_navbar:

❯ composer info -a drupal/tracker
name     : drupal/tracker
descrip. : Enables tracking of recent content for users.
keywords :
versions : 1.0.x-dev, dev-1.0.x
type     : metapackage
license  : GNU General Public License v2.0 or later (GPL-2.0-or-later) (OSI approved) https://spdx.org/licenses/GPL-2.0-or-later.html#licenseText
homepage : https://www.drupal.org/project/adoption_navbar
source   : []
dist     : []
names    : drupal/tracker

support
source : https://git.drupalcode.org/project/adoption_navbar

requires
drupal/adoption_navbar ^1
drupal/core ^8

  • fgm committed 0f340492 on 1.0.x
    Issue #3379544 by fgm: Tracker needs to be compatible with Drupal 10+
    
andypost’s picture

Status: Reviewed & tested by the community » Needs work
Issue tags: -Drupal 10 compatibility +Drupal 11 compatibility

Merged and it needs some work for 11.x compatibility

andypost’s picture

Title: Tracker needs to be compatible with Drupal 10+ » Tracker needs to be compatible with Drupal 10 and 11
Status: Needs work » Reviewed & tested by the community

Looks no big changes required

  • andypost committed f2099f57 on 1.0.x
    Issue #3379544 by andypost: Tracker needs to be compatible with Drupal...
andypost’s picture

Status: Reviewed & tested by the community » Fixed
andypost’s picture

Status: Fixed » Closed (fixed)

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