Use linux distro scanner in mongoc-metadata.c

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 1.5.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The code for the linux distro scanner and its tests got lgtm'd, but we're not actually using it in mongoc-metadata.c. Once we get the code for OS version merged in, refactor mongoc-metadata.c to call _mongoc_linux_distro_scanner_get_distro, to set the OS name correctly under linux.

      I'm filing this as a separate ticket because just getting the linux distro scanner itself in has been pretty complicated, and I don't want to combine that with semi-big changes to the other metadata gathering code.

            Assignee:
            Ian Boros
            Reporter:
            Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: