-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
Project is not buildable from git archive #509
Comments
Thanks for the hint, but I'm wondering how this should be used. As far as I read the documentation of the Is there a way to use |
Re: submodules, one recommendation was to use Original this issue regards Fedora packaging where we would get the git archive of each submodule and then just move them inplace where they are expected. Regarding how to use |
The use cases seem minor (compared to |
That would be perfect for us. For reference, here are the changes I am proposing in the Fedora review to make it buildable: $ rm -rf contrib
$ tar -xf %{SOURCE1}
$ mv blesh-contrib-* contrib
$ sed -ie 's/| \.git.*//' GNUmakefile
$ sed -ie 's/#%%\[commit_hash =.*/#%%[commit_hash = "fedora"]/' ble.pp ( |
Small suggestion, how about using
.gitattributes
in order to save the commit reference instead of usinggit format
command in:ble.sh/ble.pp
Line 79 in 32f290d
You can see an example in:
https://github.com/scikit-build/scikit-build-core/blob/main/.git_archival.txt
https://github.com/scikit-build/scikit-build-core/blob/main/.gitattributes
I think one option would be to package a similar
.git_archival.txt
and read the file for the commit hash, and if that fails use thegit format
approach (or vice-versa)The text was updated successfully, but these errors were encountered: