- Issue created by @tokosefi
- Status changed to Postponed: needs info
12 months ago 11:13am 2 January 2024 - 🇮🇳India rushiraval
Please provide step to reproduce issue. or provide screenshot.
i have adaptive theme 2, where a user created version 2 because it was not comatible with version 9 and i switched all my sites to adaptive theme 2.0 but now it is abandoned and i cant update my site to 10....I used the upgrade preview module and it shows it will not work
this is so lame, the dev does not even respond he made us switch to version 2 and now he gave up on it....great....I am sure he reads these posts i even send him pm directly....but seems other things are more important than maintaining this theme where he promised it will be actively maintained...i guess it is time to put adaptive them to rest
- 🇮🇹Italy apaderno Brescia, 🇮🇹
Notice that the composer.json file for this module contains the following lines.
Branch 2.0.x
"require": { "drupal/adaptivetheme": "^5.0", "drupal/core": "^9.3 || ^10" }
Branch 1.0.x
"require": { "drupal/adaptivetheme": "^8 || ^9", "drupal/core": "^8 || ^9" }
Sorry it's taken so long, I'm working a new job. It's not abandoned, things just might take a little longer. I'd also welcome any help if offered. But those things have been fixed and will make their way into a release later today.
i want to switch back from adaptive theme 2 to 1, more users use that version and it is 10 compatible, but how to switch back?
- 🇺🇸United States mudd
Is there a mistake in a source file?
2.0.x branch:
at_tool/composer.json:"require": { "drupal/adaptivetheme": "^5.0", "drupal/core": "^9.3 || ^10" }
at_tool/at_tool.info.yml:
name: AT Tool type: module description: Module level features to support Adpativetheme. This is a new version of AT Tools that supports Drupal 9 core_version_requirement: ^9.3 || ^10 package: Adaptivethemes
But with adaptivetheme 5.4 installed I get the problem that drupal/at_tool 2.0.0 requires drupal/adaptivetheme ^9.3 || ^10
$ composer require 'drupal/at_tool:^2.0' ./composer.json has been updated Running composer update drupal/at_tool Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires drupal/at_tool 2.0 -> satisfiable by drupal/at_tool[2.0.0]. - drupal/at_tool 2.0.0 requires drupal/adaptivetheme ^9.3 || ^10 -> found drupal/adaptivetheme[dev-1.x, dev-2.x, dev-3.x, dev-4.x, dev-5.x, dev-6.x, 1.0.0-rc1, 1.0.0-rc2, 1.0.0, 1.x-dev (alias of dev-1.x), 2.0.0, 2.1.0, 2.x-dev (alias of dev-2.x), 3.0.0, 3.1.0, 3.x-dev (alias of dev-3.x), 4.0.0, 4.1.0, 4.x-dev (alias of dev-4.x), 5.0.0, ..., 5.x-dev (alias of dev-5.x), 6.0.0, 6.1.0, 6.x-dev (alias of dev-6.x)] but it does not match the constraint.
Why is this " drupal/at_tool 2.0.0 requires drupal/adaptivetheme ^9.3 || ^10 -> found ..." ?,,, Shouldn't it be " drupal/at_tool 2.0.0 requires drupal/adaptivetheme ^5.0 " ??? (and then it wouldn't barf, and the install would succeed). What am I missing?
we need a better developer MattBloomfelt I think has no idea what is going on
- 🇮🇹Italy apaderno Brescia, 🇮🇹
@mudd I just run
composer require drupal/at_tool:2.0.3
in a project where no other modules are required.composer info drupal/at_tool
shows me the following information.name : drupal/at_tool descrip. : Tools to support Adaptivetheme 8.x and sub-themes, includes the AT Theme Generator. keywords : versions : * 2.0.3 type : drupal-module license : GNU General Public License v2.0 or later (GPL-2.0+) (OSI approved) https://spdx.org/licenses/GPL-2.0+.html#licenseText homepage : https://www.drupal.org/project/at_tool source : [git] https://git.drupalcode.org/project/at_tool.git 2.0.3 dist : [zip] https://ftp.drupal.org/files/projects/at_tool-2.0.3.zip 2.0.3 path : /home/kiamlaluno/test/vendor/drupal/at_tool names : drupal/at_tool support source : http://git.drupal.org/project/at_tool.git issues : https://www.drupal.org/project/issues/at_tool irc : irc://irc.freenode.org/drupal-contribute requires drupal/adaptivetheme ^5.0 drupal/core ^9.3 || ^10
If I instead run
composer require drupal/at_tool
in a project where no other modules are required,composer info drupal/at_tool
shows me the following information.name : drupal/at_tool descrip. : Tools to support Adaptivetheme 8.x and sub-themes, includes the AT Theme Generator. keywords : versions : * 3.1.2 type : drupal-module license : GNU General Public License v2.0 or later (GPL-2.0+) (OSI approved) https://spdx.org/licenses/GPL-2.0+.html#licenseText homepage : https://www.drupal.org/project/at_tool source : [git] https://git.drupalcode.org/project/at_tool.git 3.1.2 dist : [zip] https://ftp.drupal.org/files/projects/at_tool-3.1.2.zip 3.1.2 path : /home/kiamlaluno/test/vendor/drupal/at_tool names : drupal/at_tool support source : http://git.drupal.org/project/at_tool.git issues : https://www.drupal.org/project/issues/at_tool irc : irc://irc.freenode.org/drupal-contribute requires drupal/adaptivetheme ^7.0 drupal/core ^10 || ^11
In any cases, Composer should not complain that
drupal/adaptivetheme ^9.3 || ^10
is not installed, since it showsdrupal/adaptivetheme ^5.0
ordrupal/adaptivetheme ^7.0
as requirement. - 🇮🇹Italy apaderno Brescia, 🇮🇹
As a side note for what the issue summary reports: To update an existing project, where AT Tools 2.0 is already a requirement, you would not use
composer require
, butcomposer update
.