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

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.0.5, 3.1.4
    • Build
    • None
    • Fully Compatible
    • 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

              jonathan.reams@mongodb.com Jonathan Reams
              andrew.morrow@mongodb.com Andrew Morrow
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: