Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-17782

Generate source tarballs with pre-interpolated version metadata files from SCons

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.5, 3.1.4
    • Component/s: Build
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Completed:
    • Sprint:
      BUILD 2 04/24/15, BUILD 4 06/05/15

      Description

      Currently, the source tarball is produced as part of the sourcepush.py manual build step. It is a simple git archive of the current checkout.

      We should move the responsibility for producing the source archive into SCons, so that SCons can adorn the source archive with pre-interpolated versioning information (e.g. version.cpp).

      Additionally, the build system should be updated so that if it detects pre-interpolated versions of these files, it does not need to regenerate the interpolated files.

      This may require moving some items out of buildinfo.cpp (which should reflect the current build and therefore should not be pre-interpolated) and into version.cpp.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: