Commit 4bc047b
committed
Added Drupal packages support.
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) |1 parent 817bb8f commit 4bc047b
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
225 | 228 | | |
226 | 229 | | |
227 | 230 | | |
| |||
235 | 238 | | |
236 | 239 | | |
237 | 240 | | |
| 241 | + | |
| 242 | + | |
238 | 243 | | |
239 | 244 | | |
240 | 245 | | |
| |||
268 | 273 | | |
269 | 274 | | |
270 | 275 | | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
271 | 281 | | |
272 | 282 | | |
273 | 283 | | |
| |||
0 commit comments