-
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
fprime-util new --project
doesn't prompt for fprime branch/tag and creates an fprime submodule checked out at devel
as of fprime-tools
v3.4.0
#2484
Comments
fprime-util new --project
doesn't prompt for fprime version and creates an fprime submodule checked out at devel
as of fprime-tools
v3.40fprime-util new --project
doesn't prompt for fprime branch/tag and creates an fprime submodule checked out at devel
as of fprime-tools
v3.40
fprime-util new --project
doesn't prompt for fprime branch/tag and creates an fprime submodule checked out at devel
as of fprime-tools
v3.40fprime-util new --project
doesn't prompt for fprime branch/tag and creates an fprime submodule checked out at devel
as of fprime-tools
v3.4.0
Thanks for reporting this bug - this is indeed something that slipped through our testing. Opened nasa/fprime-tools#191 to fix it Not prompting for a version is intended though, we made the decision for the tool to checkout the latest release only. This makes its usage simpler, and still allows experimented users to checkout earlier versions if needed. |
Also just FYI, we're planning in the near future to take |
I'm confused, so is it by design that |
It is by design. It was causing issues here with |
Problem Description
Haven't tested to see if the same behavior exists in fprime-tools v3.4.1, but at least in v3.4.0,
fprime-util new --project
creates anfprime
submodule checked out at a graftedHEAD
commit atdevel
without prompting for fprime branch/tag as described in Creating a New F' Project; I'd have to manuallycd
into thefprime
submodule, rungit fetch --tags
followed bygit checkout v3.4.0
How to Reproduce
pip install fprime-tools==3.4.0
fprime-util new --project
# enterMyFPrimeProject
for project namecd MyFPrimeProject/fprime
git show HEAD
Expected Behavior
fprime-util new --project
should prompt for fprime branch/tag as to be able to pin fprime submodule to a version, s.a.,v3.4.0
The text was updated successfully, but these errors were encountered: