Skip to content

Conversation

@jibran
Copy link
Contributor

@jibran jibran commented Sep 6, 2019

Drupal packages can have following endpoints:

This PR adds support for Drupal contributed modules.
To support the Drupal 8, a contrib module can have a version like 8.x-1.2.
Drupal packagist script converts it to semver 1.2.0 to make it compatible with composer package versions.
Right now only Drupal 8 modules can be installed using composer that is why the fix is specific to Druapl 8 version.

Here is the sample output:

Production Changes From To Compare
drupal/metatag 1.9.0 1.10.0 ...

Drupal packages can have following endpoints:

* https://git.drupalcode.org/project/metatag.git
* git@git.drupal.org:project/metatag.git

This PR adds support for Drupal contributed modules.
To support the Drupal 8, a contrib module can have a version like `8.x-1.0`.
Drupal packagist script converts it to semver `1.0.0` to make it compatible with composer package versions.
Right now only Drupal 8 modules can be installed using composer that is why the fix is specific to Druapl 8 version.

Here is the sample output:

| Production Changes         | From    | To       | Compare                                                                      |
|----------------------------|---------|----------|------------------------------------------------------------------------------|
| drupal/metatag             | 1.9.0   | 1.10.0   | [...](https://git.drupalcode.org/project/metatag/compare/8.x-1.9...8.x-1.10) |
@davidrjonas davidrjonas merged commit 200b5fe into davidrjonas:master Sep 6, 2019
@davidrjonas
Copy link
Owner

Nice and clean. Thanks again.

@jibran jibran deleted the support-drupal-pacakges branch September 6, 2019 03:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants