-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
meson dist
not ignoring git metadata for subprojects.
#14005
Comments
meson dist
not ignoring git metadata for subjprojects.meson dist
not ignoring git metadata for subprojects.
I got a bit curious about this, and after a quick investigation, it seems this happens for any subproject that's fetched with git, and where the Note that there might be more corner cases. This is just the first one observed. For context, this occurs because |
Thank you for investigating the source of this problem :). |
Describe the bug
In the docs it is said that git metadata are stripped, but using --include-subprojects will copy subprojects with their git intact, which adds a significant weight in the final distribution.
To Reproduce
For example, check https://github.com/KaruroChori/vs-fltk/releases/tag/v0.1.1-alpha . The distributed file
vs-fltk-0.1.1-alpha.tar.xz
has git folder for its suprojectes.Expected behavior
Git metadata should be stripped, or a flag should govern their presence.
system parameters
Using meson 1.6, the exact command is
meson dist -C build/ --allow-dirty --no-tests --include-subprojects
from the workflow hereThe text was updated successfully, but these errors were encountered: