-
Notifications
You must be signed in to change notification settings - Fork 11
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
release is missing rust submodule #25
Comments
Yes, it is necessary to clone the submodules when cloning the repo, as described here: https://github.com/oxfordcontrol/Clarabel.cpp#clone-this-repo Maybe I am misunderstanding though. Are you saying that you were hoping for the submodules to already be packaged with the archived bundles that appear as part of a tagged release, e.g. here?: https://github.com/oxfordcontrol/Clarabel.cpp/releases/tag/v0.6.0. That seems a completely reasonable request and we could do it that way if it makes sense for you, assuming I can work out how. |
Appears to be a known github issue: dear-github/dear-github#214 I will see if some workaround can be found, but there is seemingly no trivial fix. |
Yes you understood it exactly. That github issue doesn't look like it'll be closed any time soon. For now I'll just git clone the release tag directly. I'm not sure if the release tarball is usable, since it's missing source code and there is no way to submodule update. Maybe the command to git clone using the release tag should be in the top-level readme as a workaround. |
FYI On the github release page, the automatically-provided download links (with this icon: ) are known to be difficult to use correctly for almost any purpose, because they are regenerated on the fly every time, which means their checksum might change, which means that they cannot be used where software supply chain integrity is important. (See here for some details.) To work around that, you can define a GitHub Action to upload a source archive as part of releases. Here's one example: In the case of Clarabel.cpp, you could ensure that the right submodule commands are run as part of creating that archive. That would be one way to resolve this request. Alternatively, for the release tags in this project, you could change the cargo file to fetch clarabel from crates.io instead of from a submodule. The submodule makes sense for the |
The V0.6.0 release has an empty
Clarabel.rs/
folder. Whatever script builds the release could be missing thegit clone --recurse-submodules
part.The text was updated successfully, but these errors were encountered: