-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Dictionary versions with just a Git Commit SHA produce a confusing error message #2231
Comments
From @ThibFrgsGmz: I have it too! I thought it was due to my wobbly personal setup at the moment. 😅 |
Thanks for the "me, too!" comment. I was worried I might be reporting something only I encountered because I did something unexpected. There's a bunch of reasons people might not end up with tags in their local checkout, though. |
I was just looking through the project to get a better sense of whether I could write a fix for this. Looks like there's a comment that defines the expected behavior as ignoring version strings that are not formatted with |
From @thomas-bc: I just had this happen to me, good thing I had seen this issue here before! Yes it looks we're catching that there's an issue with the value of the version, but not really handling it (https://github.com/fprime-community/fprime-gds/blob/bbae3d6275b18706dc757a965fce8a1a4214adfd/src/fprime_gds/common/loaders/xml_loader.py#L128-L129). |
I think have this issue too. At least, I have the same error message. Edit: confirmed, I fixed it the same way. Also, because it might be related, I'd like to make sure when I'm developing that I'm running the latest version of F' in my project's |
@evanmayer the recommended way to do that would be to go in the |
Revisit after fpp-to-dictionary |
From @nbering
Problem Description
GDS suggests upgrading when builds from a Git checkout - without tags - produce a dictionary with just a commit SHA as version, like this:
How to Reproduce
fprime-gds
as documented in the Install guideI have a longer-form description of the problem and how I encountered it in this blog post.
Expected Behaviour
Suggested solutions:
fprime-util
so it doesn't produce invalid versionsThe text was updated successfully, but these errors were encountered: