Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-12583

Bake the Githash and other info into the binaries

    XMLWordPrintable

Details

    Description

      Problem

      From a given install (tarball, RPM, DEB) you only have the version information available, not the GitHash the binaries were built from.

      Solution

      Compile the following into the binaries

      • GitHash the build was from
      • Buildbot build number

      This info should be available as

      • system variable (e.g. VERSION_GITHASH) - Must
      • from output of 'mysql -v' (but that's just the githash of mysql and not mysqld) - Should
      • from output of 'mysqld --verbose --help' - Must

      Rationale

      Supportability. Given a random build a user may have, there is no simple mechanism to track back to the GitHash of the commit the code was built with. This is especially important for anybody with a custom build (e.g. feature testing, customer patch etc.).

      Workaround

      None

      Attachments

        Activity

          People

            wlad Vladislav Vaintroub
            alvinr Alvin Richards (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1d
                1d
                Remaining:
                Remaining Estimate - 1d
                1d
                Logged:
                Time Spent - Not Specified
                Not Specified

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.