-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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: remove obsolete references to files generated by scons #3550
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The files are still there on a developers machine.
If someone still has old files on their machine that they have not cleaned up, that is their problem. That's not relevant to cpack which is executed on GH Actions always in a new VM. |
This file is not only used by GitHub actions. |
What else uses these lines besides GitHub Actions? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Developers are supposed to start the build from a clean checkout. We are not able to exclude any unknown files that might still lay around in the local file system. The common exclude patterns in CPACK_SOURCE_IGNORE_FILES are an acceptable exception.
The only alternative would be to explicitly define all files/patterns that should be included in the set. That would be my preferred approach to avoid unintended inclusions.
That is slightly different here. If you switch from to 2.2 and back the files are there. |
By that logic we should still have these files in |
Ups ... I see that was done here: #2777 |
Considering nobody has complained, I think there is no issue. It is unlikely anyone would accidentally commit scons files to 2.3 because they would be untracked files that would have to be intentionally staged. For CPack it is very unlikely to be a problem because CPack only needs to be run by GH Actions. There is no need for developers to run CPack locally unless they are working on packaging. |
I thought we already decided that we don't want another 2.2 release. Is this really an issue? |
It is probably no real issue but it is extremely annoying if the huge cache directory is packed, running your system out of space. |
You are more likely to notice the build artifacts from 2.2 if they are not in .gitignore so they show up as untracked files in |
ping |
Let's close this. These lines are still helpful. The issue is, if one still has these file and likes to keep them, he as to re-add them and exclude his changes from commits. This is unlike a .git-ignore, where a user version exists that can be used. This is annoying. This comes with the cost of just three extra lines visual clutter.
|
Let's separate those lines from the rest and leave a comment to remove them after some grace period, e.g. branching 2.4.0 beta |
This PR is marked as stale because it has been open 90 days with no activity. |
e1f0216
to
f54296c
Compare
We now have a stable release without SCons. I don't think there's any reason to keep this legacy code. |
f54296c
to
96c6ef6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, now that the 2.2 branch is no longer relevant the risk of problems after merging this is marginal. LGTM
No description provided.