Guts / qgis-deployment-cli

Cross-platform (but focused on Windows) CLI to perform deployment operations: profiles, plugins, etc.
https://guts.github.io/qgis-deployment-cli/
Apache License 2.0
17 stars 2 forks source link

[BUG]: QDT0.28 does not recognise a Git repository as a Git repository #344

Closed NROLLANDGrandlyon closed 10 months ago

NROLLANDGrandlyon commented 10 months ago

Is there an existing issue or a documentation page for this?

Which version of the app are you using?

Windows_QGISDeploymentToolbelt_0-28-0.exe

Operating System

Windows 10+*

Packaging mode

Stand-alone executable (.i.e qdt.exe)

Related resources

No response

Description of the bug

In the scenario repository is defined as protocol: git source: file://\svcficapp01-dev.grandlyon.fr\APPLISIT\APPLI\LSM\QGIS\DEV\qgis3

This directory is a Git repo synchronised with Git Desktop. It works fine with version 0.26 but not with version 0.28 with the error message:

Traceback (most recent call last): File "qgis_deployment_toolbelt\commands\deployment.py", line 201, in run File "qgis_deployment_toolbelt\jobs\job_profiles_synchronizer.py", line 121, in run File "qgis_deployment_toolbelt\profiles\local_git_handler.py", line 68, in init dulwich.errors.NotGitRepository: \svcficapp01-dev.grandlyon.fr\APPLISIT\APPLI\LSM\QGIS\DEV\qgis3 is not a valid Git repository.

Same error with another repo

Steps to reproduce

run Windows QDT 0.28.exe with a Git repo in qprofiles-manager

Relevant log output

No response

Comment

No response

Guts commented 10 months ago

Thanks for taking time to report here. Indeed, the local git repositories were not recognized anymore.

Fix shipped in version 0.29.0: https://github.com/Guts/qgis-deployment-cli/releases/tag/0.29.0