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

Add a SCons tool to manage export files via scanners

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • 6.0 Desired
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Development Platform

      We now have multiple instances of hand-rolled generators to manage export files for the cases where we need them:

      They are actually all a little bit wrong: using the `csig` like that in the `for_signature` case is effective, in that it means if the file changes the target will be rebuilt, but it will be rebuilt because the signature of the action changed. That isn't really what happened though: the build action is really the same. Instead, if we wrote a scanner, then these would be picked up as implicit dependencies of the target automatically.

      Build a tool to inject a scanner for export files and do all the magic automatically, then replace these usages. We should consider doing this for other places we are abusing the `csig` mechanism to detect changes, like in the sanitizer deny list setup.

            Assignee:
            backlog-server-devplatform [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: