Skip to content
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

Drop unused build log column #2145

Merged
merged 1 commit into from
May 8, 2024

Conversation

williamjallen
Copy link
Collaborator

The log column in the build table appears to be unused. Information can be written to the column, but there is no way to extract the contents. Since this appears to be a legacy feature which is obsolete in CDash today, I have removed the log column and all remaining references to it. Build.xml files containing the LOG element will be ignored.

While I've done a significant amount of digging to try to find additional references to the log column, it is theoretically possible that the column is still referenced in a SQL query or via reflection somewhere.

@williamjallen
Copy link
Collaborator Author

@zackgalbreath Do you feel comfortable including this in 3.4, or should we push this to 3.5?

@zackgalbreath
Copy link
Contributor

For reference, here's a link to the relevant code in CTest:

https://gitlab.kitware.com/cmake/cmake/-/blob/master/Source/CTest/cmCTestBuildHandler.cxx?ref_type=heads#L652

Unless I'm overlooking something, I don't think there's currently any way for Build.xml's Log element to contain any data.

@zackgalbreath zackgalbreath added this to the v3.5 milestone Apr 16, 2024
Copy link
Member

@josephsnyder josephsnyder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Migration runs in Docker environment without issue. LGTM

@williamjallen williamjallen added this pull request to the merge queue May 8, 2024
Merged via the queue into Kitware:master with commit 4595d9a May 8, 2024
6 checks passed
@williamjallen williamjallen deleted the drop-build-log-column branch May 8, 2024 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants