<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:17:06 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CDRIVER-3091] c driver binaries on Windows are missing a VERSIONINFO resource</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-3091</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;On Windows, it is a best practice for binaries to have a VERSIONINFO resource. This enables users to check the version of the binary without running the code. The version info can be viewed from Explorer, sigcheck from sysinternals or other tools.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;References:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://docs.microsoft.com/en-us/windows/desktop/menurc/versioninfo-resource&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.microsoft.com/en-us/windows/desktop/menurc/versioninfo-resource&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://stackoverflow.com/questions/3526794/how-do-i-build-a-win32-app-with-a-resource-file-using-cmake-and-mingw&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://stackoverflow.com/questions/3526794/how-do-i-build-a-win32-app-with-a-resource-file-using-cmake-and-mingw&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Example from server:&#160;&lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/src/mongo/db/db.rc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/master/src/mongo/db/db.rc&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="740480">CDRIVER-3091</key>
            <summary>c driver binaries on Windows are missing a VERSIONINFO resource</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="kevin.albertson@mongodb.com">Kevin Albertson</assignee>
                                    <reporter username="mark.benvenuto@mongodb.com">Mark Benvenuto</reporter>
                        <labels>
                    </labels>
                <created>Wed, 17 Apr 2019 17:39:29 +0000</created>
                <updated>Fri, 27 Oct 2023 19:19:59 +0000</updated>
                            <resolved>Tue, 24 Oct 2023 17:28:38 +0000</resolved>
                                                    <fixVersion>1.25.0</fixVersion>
                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="5816852" author="xgen-internal-githook" created="Fri, 27 Oct 2023 19:19:59 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-3091&quot; title=&quot;c driver binaries on Windows are missing a VERSIONINFO resource&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-3091&quot;&gt;&lt;del&gt;CDRIVER-3091&lt;/del&gt;&lt;/a&gt; fix copyrights and `OriginalFilename` (#1457)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;use `*OUTPUT_BASENAME ` to define `OriginalFilename`&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;use project inception date as copyright year&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;quote macros in .rc file, not CMake&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;The MinGW resource compiler (windres) does not appear to keep quotes on arguments passed to the preprocessor.&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;use `configure_file` to simplify&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;use `API_VERSION` macros in place of `1.0` literals&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;guard config of `.rc` files in `if(WIN32)`&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;For consistency with C++ driver.&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;set `InternalName` to `OriginalFilename` without extension&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/30455d02705b1c55490ed695b7eae7086a8fe08c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/30455d02705b1c55490ed695b7eae7086a8fe08c&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="5802754" author="xgen-internal-githook" created="Tue, 24 Oct 2023 17:28:26 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-3091&quot; title=&quot;c driver binaries on Windows are missing a VERSIONINFO resource&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-3091&quot;&gt;&lt;del&gt;CDRIVER-3091&lt;/del&gt;&lt;/a&gt; add VERSIONINFO to dlls (#1451)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/1b0a49ae1dd2a5fff380dd06873437444cb069af&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/1b0a49ae1dd2a5fff380dd06873437444cb069af&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2227922" author="mark.benvenuto" created="Mon, 29 Apr 2019 17:15:17 +0000"  >&lt;p&gt;Yes. This also applies to the C++ driver. Filed &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-1766&quot; title=&quot;C++ driver binaries on Windows are missing a VERSIONINFO resource&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-1766&quot;&gt;&lt;del&gt;CXX-1766&lt;/del&gt;&lt;/a&gt; and linked it to this ticket.&lt;/p&gt;</comment>
                            <comment id="2227675" author="kevin.albertson" created="Mon, 29 Apr 2019 15:02:17 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mark.benvenuto&quot; class=&quot;user-hover&quot; rel=&quot;mark.benvenuto&quot;&gt;mark.benvenuto&lt;/a&gt; would this apply to the C++ as well? If so, would you mind creating a CXX ticket and linking?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="750073">CXX-1766</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>CDRIVER-4577</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_21553" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Quarter</customfieldname>
                        <customfieldvalues>
                                        <label>FY24Q4</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1tqhw:i</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>