-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Component manager can't use GIT version with leading 'v' (PACMAN-796) #51
Comments
@higaski Thank you for opening the issue, At the same time, the https://github.com/espressif/upload-components-ci-action is not affected and should work with any tags. |
Thanks, the upload-components action is also what I finally ended up using. The compote utility however does not work for me. I've a second component I just wanted to upload so you're in luck. ;) Here is the manifest file: And here is the error I'm getting ╰─λ compote component upload --namespace zimo-elektronik --name DCC --version git --dry-run
Selected profile "default" from the idf_component_manager.yml config file
ERROR: 2 problems were found in the manifest file /home/vinci/Develop/VSCode/DCC/idf_component.yml:
Invalid manifest format
Component version should be valid semantic version I have not yet tagged this particular release so the old tag is 2 months old. But as far as I can tell this doesn't matter. Specifying a particular version seems to work: compote component upload --namespace zimo-elektronik --name DCC --version 1.2.3 --dry-run
Selected profile "default" from the idf_component_manager.yml config file
Saving archive to "/home/vinci/Develop/VSCode/DCC/dist/DCC_1.2.3.tgz"
... |
@higaski There is a difference how git traits tags created with |
I don't think that this is the issue. I only create annotated tags. |
Hello @higaski. Could you please verify if you still have this problem with the component manager 1.5.1? While we only fixed the support for light-weight tags, we also improved logging, so even if the problem is still there, we can get a better idea of what is going on. |
@higaski I'm closing this issue now, if you face it once again, please feel free to reopen. |
The Component Manager version
v1.4.2
ESP-IDF Version
v5.2-beta1
python Version
3.11.6
Operating System
Linux
Browser (for https://components.espressif.com Issues)
No response
Description
The
--version git
option does not work for GIT tags containing a leadingv
or so it seems.I have a component with the following manifest file.
The latest tag is v0.15.0
Uploading this component with
does not work.
Using any tag without leading
v
does not give me any errors.For some weird reason
To Reproduce
Expected behaviour
GIT version should be parsed correctly according to https://semver.org/
Additional info
No response
I have checked existing issues and online Documentation
The text was updated successfully, but these errors were encountered: