`meson dist` not ignoring git metadata for subprojects.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6.6k
- Forks
- 1.9k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 33
Description
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 here
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the meson dist -C build/ --allow-dirty --no-tests --include-subprojects command and the linked release workflow, then reproduce the archive contents with a subproject. Done means the distribution no longer includes subproject Git metadata, or a documented flag clearly controls whether it is included.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system, release
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100