drupal-composer / drupal-parse-composer

:mag: Components used in Drupal-Packagist to parse package information from drupal.org
10 stars 11 forks source link

Incorrect type drupal-drush inferred for drupal/omega #1

Closed winmillwill closed 10 years ago

winmillwill commented 10 years ago
composer show drupal/omega 7.4.2
name     : drupal/omega
descrip. : A powerful HTML5 base theme framework utilizing tools like <a href="http://sass-lang.com/" title="Sass">Sass</a>, <a href="http://compass-style.org/" title="Compass">Compass</a>, <a href="http://gruntjs.com/" title="Grunt">Grunt</a>, <a href="http://bower.io/" title="Bower">Bower</a>, <a href="http://rvm.io/" title="Ruby Version Manager">Ruby Version Manager</a>, <a href="http://bundler.io/" title="Bundler">Bundler</a> and more.
keywords :
versions : 7.4.2
type     : drupal-drush
license  :
source   : [git] http://git.drupal.org/project/omega a6c85ed04d103402badc4c1135394eacbd88ec92
dist     : [zip] http://ftp.drupal.org/files/projects/omega-7.x-4.2.zip
names    : drupal/omega, drupal/ohm

requires
drupal/drupal 7.*
drush/drush 6.*

replaces
drupal/ohm self.version
dsdobrzynski commented 10 years ago

Looks like the same issue for Zen.

composer show drupal/zen 7.5.5
name     : drupal/zen
descrip. : Zen sub-themes are the ultimate starting themes for Drupal 7. Read the <a href="https://drupal.org/node/873778">online docs</a> or the included README-FIRST.txt on how to create a theme with Zen.
keywords :
versions : * 7.5.5
type     : drupal-drush
license  :
source   : [git] http://git.drupal.org/project/zen 06b9fea7c6dcb4291659028c40de13ecb7bdfb3e
dist     : [zip] http://ftp.drupal.org/files/projects/zen-7.x-5.5.zip
names    : drupal/zen

requires
drupal/drupal 7.*
drush/drush 6.*
jpstacey commented 10 years ago

I can confirm that with zen and mothership, running composer update against the following composer.json:

{
  "repositories": {
    "drupal": {
      "type": "composer",
      "url": "http://static.drupal-packagist.org/v0.1.0/"
    }
  },
  "require": {
    "drupal/mothership": "7.*",
    "drupal/zen": "7.*",
   "composer/installers": "~1.0",
  }
}
winmillwill commented 10 years ago

Resolved in 0.2.0: http://static.drupal-packagist.org/v0.2.0