Oracle MySQL distributions include the files INFO_BIN and INFO_SRC in a "docs" subdirectory of tarball packages. These files show the revision number of the source tree when the build was created, the cmake options used to create the build, etc. I'm not sure whether these are created automatically when "cmake" is executed, or if maybe they're done manually using some other part of a build process.
But they're very useful, and it would be really nice for something like this to be included with MariaDB.
I actually vote against this feature. INFO_* was created by someone who had only vague idea of CMake, with the purpose of learning cmake. The result is bad, the targets are always outdated. That piece of work, imo, should be removed.
For releases, revision corresponds to the git tag. CMake options are -DBUILD_CONFIG=mysql_release. If someone is really interested, which is hopefully not the case, then we should probably include the whole CMakeCache.txt, it has all the options.
Vladislav Vaintroub
added a comment - I actually vote against this feature. INFO_* was created by someone who had only vague idea of CMake, with the purpose of learning cmake. The result is bad, the targets are always outdated. That piece of work, imo, should be removed.
For releases, revision corresponds to the git tag. CMake options are -DBUILD_CONFIG=mysql_release. If someone is really interested, which is hopefully not the case, then we should probably include the whole CMakeCache.txt, it has all the options.
I have no interest in reproducing the exact INFO_SRC/INFO_BIN files ... "something like this" would be fine
The problem is not so much for releases, it's for custom or hotfix builds or builds created by customers or other users. It's important to be able to tell after-the-fact what actually was built, what options were used, and where it came from.
Even CMakeCache.txt won't say exactly what commit or branch something was built from, which is pretty important in trying to reproduce problems. And I think CMakeCache.txt also doesn't show which things were specified on the command line instead of being inferred or inherited from the environment, but I may be wrong about that.
Kolbe Kegel (Inactive)
added a comment - I have no interest in reproducing the exact INFO_SRC/INFO_BIN files ... "something like this" would be fine
The problem is not so much for releases, it's for custom or hotfix builds or builds created by customers or other users. It's important to be able to tell after-the-fact what actually was built, what options were used, and where it came from.
Even CMakeCache.txt won't say exactly what commit or branch something was built from, which is pretty important in trying to reproduce problems. And I think CMakeCache.txt also doesn't show which things were specified on the command line instead of being inferred or inherited from the environment, but I may be wrong about that.
If it is not so much for releases, but for custom builds, why the request to package them in our tarbin?
To cmake command line -there is no way to know the exact command line, even if if INFO_* pretends to know . cmake does not provide this functionality.
Vladislav Vaintroub
added a comment - If it is not so much for releases, but for custom builds, why the request to package them in our tarbin?
To cmake command line -there is no way to know the exact command line, even if if INFO_* pretends to know . cmake does not provide this functionality.
There have been specific cases where customers are given "custom builds" that are produced by buildbot. Those don't come with any information about the specific commit they're built from, which makes it nearly impossible to reliably identify what is actually being used.
My request is that as much of this information as possible be included, by default, in any builds done from our source. That means that someone will get access to this important information no matter where the package they're using has come from.
I want to know the name of the source tree, the name of the branch, the commit, how CMake is invoked, what CMake finds and ultimately uses for the build, etc. It may be some or all of that is not feasible for any number of reasons. But perhaps some of it is?
Kolbe Kegel (Inactive)
added a comment - There have been specific cases where customers are given "custom builds" that are produced by buildbot. Those don't come with any information about the specific commit they're built from, which makes it nearly impossible to reliably identify what is actually being used.
My request is that as much of this information as possible be included, by default, in any builds done from our source. That means that someone will get access to this important information no matter where the package they're using has come from.
I want to know the name of the source tree, the name of the branch, the commit, how CMake is invoked, what CMake finds and ultimately uses for the build, etc. It may be some or all of that is not feasible for any number of reasons. But perhaps some of it is?
People
Sergei Golubchik
Kolbe Kegel (Inactive)
Votes:
1Vote for this issue
Watchers:
5Start watching this issue
Dates
Created:
Updated:
Resolved:
Git Integration
Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.
{"report":{"fcp":1169.8000001907349,"ttfb":289.8999996185303,"pageVisibility":"visible","entityId":50040,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"63271afa-e241-4ae6-8b33-3406a8044a05","navigationType":0,"readyForUser":1227.1999998092651,"redirectCount":0,"resourceLoadedEnd":1447,"resourceLoadedStart":297.80000019073486,"resourceTiming":[{"duration":124.80000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":297.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":297.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":422.6000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":125.19999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":298.1000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":298.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":423.30000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":204,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":298.30000019073486,"connectEnd":298.30000019073486,"connectStart":298.30000019073486,"domainLookupEnd":298.30000019073486,"domainLookupStart":298.30000019073486,"fetchStart":298.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":298.30000019073486,"responseEnd":502.30000019073486,"responseStart":502.30000019073486,"secureConnectionStart":298.30000019073486},{"duration":467,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":298.3999996185303,"connectEnd":298.3999996185303,"connectStart":298.3999996185303,"domainLookupEnd":298.3999996185303,"domainLookupStart":298.3999996185303,"fetchStart":298.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":298.3999996185303,"responseEnd":765.3999996185303,"responseStart":765.3999996185303,"secureConnectionStart":298.3999996185303},{"duration":474.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":298.69999980926514,"connectEnd":298.69999980926514,"connectStart":298.69999980926514,"domainLookupEnd":298.69999980926514,"domainLookupStart":298.69999980926514,"fetchStart":298.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":298.69999980926514,"responseEnd":772.8999996185303,"responseStart":772.8999996185303,"secureConnectionStart":298.69999980926514},{"duration":474.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":298.80000019073486,"connectEnd":298.80000019073486,"connectStart":298.80000019073486,"domainLookupEnd":298.80000019073486,"domainLookupStart":298.80000019073486,"fetchStart":298.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":298.80000019073486,"responseEnd":773.5,"responseStart":773.5,"secureConnectionStart":298.80000019073486},{"duration":474.8999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":299,"connectEnd":299,"connectStart":299,"domainLookupEnd":299,"domainLookupStart":299,"fetchStart":299,"redirectEnd":0,"redirectStart":0,"requestStart":299,"responseEnd":773.8999996185303,"responseStart":773.8999996185303,"secureConnectionStart":299},{"duration":485.30000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":299.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":299.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":784.5,"responseStart":0,"secureConnectionStart":0},{"duration":475.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":299.30000019073486,"connectEnd":299.30000019073486,"connectStart":299.30000019073486,"domainLookupEnd":299.30000019073486,"domainLookupStart":299.30000019073486,"fetchStart":299.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":299.30000019073486,"responseEnd":774.8000001907349,"responseStart":774.8000001907349,"secureConnectionStart":299.30000019073486},{"duration":485.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":299.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":299.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":785,"responseStart":0,"secureConnectionStart":0},{"duration":475.8999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":299.6000003814697,"connectEnd":299.6000003814697,"connectStart":299.6000003814697,"domainLookupEnd":299.6000003814697,"domainLookupStart":299.6000003814697,"fetchStart":299.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":299.6000003814697,"responseEnd":775.5,"responseStart":775.5,"secureConnectionStart":299.6000003814697},{"duration":944.3999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":305.6000003814697,"connectEnd":305.6000003814697,"connectStart":305.6000003814697,"domainLookupEnd":305.6000003814697,"domainLookupStart":305.6000003814697,"fetchStart":305.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":305.6000003814697,"responseEnd":1250,"responseStart":1250,"secureConnectionStart":305.6000003814697},{"duration":1016.0999994277954,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":305.6000003814697,"connectEnd":305.6000003814697,"connectStart":305.6000003814697,"domainLookupEnd":305.6000003814697,"domainLookupStart":305.6000003814697,"fetchStart":305.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":305.6000003814697,"responseEnd":1321.6999998092651,"responseStart":1321.6999998092651,"secureConnectionStart":305.6000003814697},{"duration":547.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":701.3999996185303,"connectEnd":701.3999996185303,"connectStart":701.3999996185303,"domainLookupEnd":701.3999996185303,"domainLookupStart":701.3999996185303,"fetchStart":701.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":701.3999996185303,"responseEnd":1248.8999996185303,"responseStart":1248.8999996185303,"secureConnectionStart":701.3999996185303},{"duration":351.1000003814697,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1132,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1132,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1483.1000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":113,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":1334,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1334,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1447,"responseStart":0,"secureConnectionStart":0},{"duration":74.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":1336.3999996185303,"connectEnd":1336.3999996185303,"connectStart":1336.3999996185303,"domainLookupEnd":1336.3999996185303,"domainLookupStart":1336.3999996185303,"fetchStart":1336.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":1336.3999996185303,"responseEnd":1411.1999998092651,"responseStart":1411.1999998092651,"secureConnectionStart":1336.3999996185303},{"duration":77,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":1338.6999998092651,"connectEnd":1338.6999998092651,"connectStart":1338.6999998092651,"domainLookupEnd":1338.6999998092651,"domainLookupStart":1338.6999998092651,"fetchStart":1338.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1338.6999998092651,"responseEnd":1415.6999998092651,"responseStart":1415.6999998092651,"secureConnectionStart":1338.6999998092651}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":118,"responseStart":290,"responseEnd":301,"domLoading":296,"domInteractive":1619,"domContentLoadedEventStart":1619,"domContentLoadedEventEnd":1863,"domComplete":2102,"loadEventStart":2102,"loadEventEnd":2102,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1513.6000003814697},{"name":"bigPipe.sidebar-id.end","time":1514.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":1514.6999998092651},{"name":"bigPipe.activity-panel-pipe-id.end","time":1516.1000003814697},{"name":"activityTabFullyLoaded","time":1909.6999998092651}],"measures":[],"correlationId":"61b4b4eaa041e7","effectiveType":"4g","downlink":9.2,"rtt":0,"serverDuration":112,"dbReadsTimeInMs":13,"dbConnsTimeInMs":23,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
I actually vote against this feature. INFO_* was created by someone who had only vague idea of CMake, with the purpose of learning cmake. The result is bad, the targets are always outdated. That piece of work, imo, should be removed.
For releases, revision corresponds to the git tag. CMake options are -DBUILD_CONFIG=mysql_release. If someone is really interested, which is hopefully not the case, then we should probably include the whole CMakeCache.txt, it has all the options.