drupal-composer/drupal-parse-composer

Some packages don't have version information.

dutchiexl opened this issue · 6 comments

So projects pulled from the packagist are missing the

; Information added by Drupal.org packaging script on 2015-01-06
version = "7.x-3.6"
core = "7.x"
project = "context"
datestamp = "1420573188"

This makes it impossible to use patches. Is there a solution ?

At the moment I have an issue with conditional_fields module.

This depends on how you run composer install. Drupal-Packagist has no packaging script. We use the package urls from d.o. You can look at the package definition for conditional_fields. There are links to drupal.org http://packagist.drupal-composer.org/packages/drupal/conditional_fields.json

You could run composer install --prefer-distto get the packages from d.o instead of git sources.

#23 is related. You could use git_deploy or a custom hook as work around.

Ok, I will try that. I will also try and find a more solid solution, and if I find one share it here.

One small question though, what is d.o. :)

d.o = drupal.org ;)

Ah yes, FYI --prefer-dist did the trick for now

I think here's not much we can do. We just need documentation somewhere.