Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
There's a false "composer install" command reference in GPX & geometry data submodules. Should be "composer require":
modules/geolocation_geometry/modules/geolocation_geometry_data/geolocation_geometry_data.info.yml
-description: 'Import and provide geometry data. ATTENTION: Requires "composer install gasparesganga/php-shapefile".'
+description: 'Import and provide geometry data. ATTENTION: Requires "composer require gasparesganga/php-shapefile".'
modules/geolocation_gpx/geolocation_gpx.info.yml
-description: 'GPX file field type, widget & formatter. ATTENTION: Requires "composer install sibyx/phpgpx"'
+description: 'GPX file field type, widget & formatter. ATTENTION: Requires "composer require sibyx/phpgpx"'
Issue fork geolocation-3302558
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3302558-false-composer-install changes, plain diff MR !21
Comments
Comment #3
tormiComment #4
ressa CreditAttribution: ressa at Ardea commentedThanks @tormi, I also just saw this, while trying out the module. Your patch fixes it, and the correct Composer commands are now shown.
Comment #5
Manoj Raj.R CreditAttribution: Manoj Raj.R as a volunteer commented@tormi
composer require is a good catch.
Patch looks good for me.
Comment #8
ChristianAdamski CreditAttribution: ChristianAdamski commentedThere was issue with me merging automatically. So I did it manually. But the name is not showing up?
Anyway, fixed. Thanks!
Comment #9
ChristianAdamski CreditAttribution: ChristianAdamski commented