[CDRIVER-1464] Use linux distro scanner in mongoc-metadata.c Created: 09/Aug/16  Updated: 19/Oct/16  Resolved: 12/Aug/16

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.5.0

Type: Improvement Priority: Major - P3
Reporter: Ian Boros Assignee: Ian Boros
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on CDRIVER-1395 Fill out os.name on Linux correctly Closed
depends on CDRIVER-1396 Fill out os.version correctly Closed
Epic Link: mongodb-handshake

 Description   

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.



 Comments   
Comment by Githook User [ 11/Aug/16 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@10gen.com'}

Message: Merge pull request #392 from puppyofkosh/CDRIVER-1464

CDRIVER-1464 use linux distro scanner in metadata
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/0a1ed8f93c1a6a03c4cb042bd6cbc162cf3c14a5

Comment by Githook User [ 11/Aug/16 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@10gen.com'}

Message: Merge pull request #392 from puppyofkosh/CDRIVER-1464

CDRIVER-1464 use linux distro scanner in metadata
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/0a1ed8f93c1a6a03c4cb042bd6cbc162cf3c14a5

Comment by Githook User [ 11/Aug/16 ]

Author:

{u'name': u'ian boros', u'email': u'ian.boros@10gen.com'}

Message: CDRIVER-1464 use linux distro scanner in metadata
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/d543c7a904114b12238028b27820b56da391228f

Generated at Wed Feb 07 21:12:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.