KDAB / KDStateMachineEditor

A framework for creating Qt State Machine metacode using a graphical user interface
https://kdab.github.io/KDStateMachineEditor/
171 stars 31 forks source link

Conan file tag version for git checkout missing 'v' #22

Closed daravi closed 4 years ago

daravi commented 4 years ago

Hi, I am not sure if this is something specific to my git client that has not been caught for you, but the conan recipe tries to check the version number: e.g. "1.2.8", whereas the tag is "v1.2.8". So my conan create command was failing until I added the 'v' prefix.

krf commented 4 years ago

You seem right. It fails like this:

% conan create -o KDStateMachineEditor:build_docs=True -o KDStateMachineEditor:build_examples=True ~/devel/src/kdab/KDStateMachineEditor/conan kdab/stable

(...)

KDStateMachineEditor/1.2.8@kdab/stable: Configuring sources in /home/kfunk/.conan/data/KDStateMachineEditor/1.2.8/kdab/stable/source
ERROR: KDStateMachineEditor/1.2.8@kdab/stable: Error in source() method, line 47
        git.checkout("%s"%self.version)
        CalledProcessErrorWithStderr: Command 'git -c http.sslVerify=true checkout "1.2.8"' returned non-zero exit status 1.
error: pathspec '1.2.8' did not match any file(s) known to git