Skip to content

Update Git.clone usage from deprecated path option to chdir #384

Description

@srappel

GeoCombine emits the following warning when cloning OpenGeoMetadata repositories:

DEPRECATION WARNING: The :path option for Git.clone is deprecated and will be removed in v6.0.0. Use :chdir instead.

This occurs during tasks such as:

bundle exec rake geocombine:pull[edu.uwm]

Observed with:
GeoCombine 0.9.2
git gem 5.0.2
Ruby 3.2.1
The clone still completes successfully, but the current call will become incompatible with git gem 6. Please update the Git.clone invocation to use the supported chdir: option.

DEPRECATION WARNING: The :path option for Git.clone is deprecated and will be removed in v6.0.0. Use :chdir instead. (called from invoke_task at /var/www/rubyapps/uwm-geoblacklight/releases/20260805153419/lib/tasks/uwm.rake:55)

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency file

    Type

    No type

    Projects

    Status
    Considering

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions