drupal-composer / drupal-packagist

:package: Drupal Packagist server to automatically build package information from projects on drupal.org
http://packagist.drupal-composer.org
28 stars 4 forks source link

Mandrill depends on libraries: >=7.2.x-dev in packagist, but not in its .info file #44

Closed pbuyle closed 7 years ago

pbuyle commented 8 years ago

As visible on https://packagist.drupal-composer.org/packages/drupal/mandrill, the drupal/mandrill package depends on libraries: >=7.2.x-dev. But according to the matching info file, it should depends on libraries >= 7.2.x (ie. no need for -dev).

As a workaround, we use an inline alias alias to trick composer:

  "require": {
    "drupal/libraries": "7.2.2 as 7.2.x-dev",
    "drupal/mandrill": "7.2.2"
  }
webflo commented 8 years ago

Sorry, this got our of my slipped out of my radar last year. I take a look tomorrow.

bangpound commented 8 years ago

Thanks for the workaround @pbuyle!

dsdobrzynski commented 8 years ago

This actually is a larger issue, as the Information added by Drupal.org packaging script (including version) is missing from the .info(.yml) file. This means that any module that sets a version constraint on a dependency will not be able to be enabled. Rather than a workaround, I think we should fix the underlying issue.

@webflo Any update on this or eta?

webflo commented 7 years ago

No sorry, Drupal Packagist won't receive any bugfixes anymore.