-
-
Notifications
You must be signed in to change notification settings - Fork 8k
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
cmake: Fix build directory exclusion #11501
Conversation
I'm not sure if the "proper" fix is to remove the tarball entirely - given that only one user has reported that defect (and didn't even notice the entire extent of it), it seems like we already spent too much maintenance effort on a very niche requirement. |
@PatTheMav The tarball including the whole source is required as it includes submodules (like obs-browser/obs-websocket) which would be missing otherwise. The reason why you're not seeing others complaining is probably because no proper distribution actually bothers with trying to package beta versions, you'll likely see these pop up when a proper release has been done with the things being broken. As I/we were hit by issues previously I got cautious in regards to obs and try to temporarily package beta versions as well so we can try to catch these issues early e.g. before a proper release has been done. |
70aa0b0
to
5e96fa4
Compare
Pushed a change that should no longer exclude This should exclude:
This should include:
|
5e96fa4
to
26b634f
Compare
After reviewing obs-studio/.github/scripts/.package.zsh Lines 51 to 55 in 7979421
obs-studio/.github/scripts/.package.zsh Lines 239 to 240 in 7979421
We could just do this instead: set(CPACK_SOURCE_IGNORE_FILES "/.git" "/build_x86_64" "/.ccache" "/.deps") Perhaps it's not as elegant, but it would resolve the issue. |
The |
In that specific part of the script, it isn't dynamic per se. The That said, |
The regex was incorrectly excluding any file with build in the name. The intent was to exclude any build directories, so we should be able to restrict this.
26b634f
to
a885b23
Compare
Description
The regex was incorrectly excluding any file with build in the name. The intent was to exclude any build directories, so we should be able to restrict this.
Motivation and Context
Fixes #11443.
How Has This Been Tested?
It hasn't.
Types of changes
Checklist: