Skip to content

Commit bbfa056

Browse files
Kingdutchhfiguiere
authored andcommitted
Ensure package name matches Drupal standards
Drupal's packagist will rename packages it serves to match format `drupal/<project-name>` where `<project-name>` is the slug of the Project page on Drupal.org (https://www.drupal.org/project/collabora_online). This means that within the Drupal community this package is available as `drupal/collabora_online`. However, trying to pull this in from GitHub (e.g. because you need a specific branch, an unsynced version, or a temporary fork for development) will make composer think this is an entirely separate package. To solve this the package on GitHub is renamed to how it'll be shared with the Drupal community. This helps composer understand that regardless of its origin the package is the same.
1 parent dce0278 commit bbfa056

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "collabora/online",
2+
"name": "drupal/collabora_online",
33
"type": "drupal-module",
44
"description": "Collabora Online connector for Drupal",
55
"license": "MPL-2.0",

0 commit comments

Comments
 (0)