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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.0.5, 3.1.4
    • None
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: