Comments

Masami created an issue. See original summary.

masami’s picture

Status: Active » Needs review
StatusFileSize
new328 bytes
masami’s picture

StatusFileSize
new329 bytes
masami’s picture

Title: Change the version of Geocoder module to 2.x in composer.json » Support Geocoder module 3.x in composer.json
StatusFileSize
new3.73 KB
yas’s picture

StatusFileSize
new3.73 KB

@masami

Let me test this patch.

yas’s picture

StatusFileSize
new3.7 KB

@masami

Let me try this one.

baldwinlouie’s picture

Status: Needs review » Active
StatusFileSize
new3.41 KB

Just a test patch for CI/CD.

baldwinlouie’s picture

@yas I looked at the Test results from the patch in #7. It seems like CI/CD will automatically pick up the Geocoder composer.json requirements.

Will this work? or do we need to add extra requirements to cloud module's composer.json?

yas’s picture

@baldwinlouie

Thank you for taking care of this issue. Yes, it looks we need the additional library at Geocoder Provider to use the latest version of Geocoder module (3.7).

We can find the following library to add in the patch at #4.

+++ b/composer.json
@@ -5,6 +5,7 @@
     "aws/aws-sdk-php": "3.*.*@dev",
     "google/apiclient": "^2.4",
     "drupal/geocoder": "^3.1",
+    "geocoder-php/nominatim-provider": "^5.2",

Please compare #5 and #6

It looks it works if we don't touch anything about composer.json according to #8?

baldwinlouie’s picture

StatusFileSize
new3.8 KB

@yas, trying geocoder-php/nominatim-provide:5.0 because that is what is in https://git.drupalcode.org/project/geocoder/-/blob/8.x-3.7/composer.json

baldwinlouie’s picture

StatusFileSize
new3.73 KB

attempting the patch again.

baldwinlouie’s picture

StatusFileSize
new3.92 KB

try again.

baldwinlouie’s picture

baldwinlouie’s picture

StatusFileSize
new3.9 KB

switching the order and trying again :)

baldwinlouie’s picture

StatusFileSize
new4.47 KB

Again.

baldwinlouie’s picture

StatusFileSize
new4.52 KB

Once more.

yas’s picture

Trying to keep the fixed version for drupal/geocoder:3.1.

yas’s picture

yas’s picture

baldwinlouie’s picture

StatusFileSize
new4.25 KB

Just curious if this will pass if I just add something other than the require section

yas’s picture

Status: Active » Needs work

@baldwinlouie

Thank you for your attempts. It helps us to figure out the issue :)

@masami

Could you please update from "drupal/geocoder": "^3.1", to "drupal/geocoder": "^3.7", in patch #4?

masami’s picture

Status: Needs work » Needs review
StatusFileSize
new3.78 KB

@yas
I updated the patch. Please review it.

masami’s picture

StatusFileSize
new4.68 KB
masami’s picture

StatusFileSize
new4.74 KB
yas’s picture

Status: Needs review » Needs work

@masami

Thank you for updating the patch. Could you please move cloud_initialize_geocoder to CloudService::initGeocoder()?

masami’s picture

Status: Needs work » Needs review
StatusFileSize
new8.7 KB
baldwinlouie’s picture

Status: Needs review » Reviewed & tested by the community

@masami and @yas, Thank you for the patch. It looks good to me.

yas’s picture

@baldwinlouie

Thank you for your review. Let's wait just for a while for #3158445. I'll merge the patch to 8.x-1.x and 8.x-2.x and close this issue as Fixed.

yas’s picture

@masami
@baldwinlouie

As we discussed, I'll merge the patch.

  • yas committed 885e94a on 8.x-1.x authored by Masami
    Issue #3157104 by baldwinlouie, Masami, yas: Support Geocoder module 3.x...

  • yas committed 78c5caa on 8.x-2.x authored by Masami
    Issue #3157104 by baldwinlouie, Masami, yas: Support Geocoder module 3.x...
yas’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.