Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-2006

Regenerate source lists for libmongoc-version build variants

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Unknown Unknown
    • 1.17.3
    • Affects Version/s: None
    • Component/s: Tests
    • None

      When testing variants in the libmongoc-version axis, a different libmongoc branch is checked out in the existing submodule. While make libmongoc-version-current is executed, the source lists in config.m4 and config.w32 are not. This poses a problem when files differ between branches. For example, mongo-shared.c was introduced in 1.20-dev and does not exist in 1.19.x.

      There are several possible solutions:

      • Forgo checking out submodules and instead install custom libmongoc versions as system libraries. This would have the benefit of granting test coverage for the mongodb-system-libs configure option.
      • Create a script that updates the various source lists in config.m4 and config.w32. Such a script would also prove useful when manually updating the libmongoc submodule (similar to why make libmongoc-version-current was created).

            Assignee:
            andreas.braun@mongodb.com Andreas Braun
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: