<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:56:39 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>[SERVER-41038] The results of git describe for MONGO_VERSION vary by git version</title>
                <link>https://jira.mongodb.org/browse/SERVER-41038</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Newer versions of git have changed the way the number of abbrev characters are computed.&lt;/p&gt;

&lt;p&gt;The result is that MONGO_VERSION may be computed differently in the compile expansions depending on what git version is running locally.&lt;/p&gt;

&lt;p&gt;This manifested in the embedded builders, where the build of the SDK ran on a machine that generated a 10 character abbrev string, but a consuming task ran on a machine with an older version of git that expected only 7. Since the filenames didn&apos;t match, the consuming task failed:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Produce:&lt;br/&gt;
&lt;a href=&quot;https://evergreen.mongodb.com/task_log_raw/mongodb_mongo_master_embedded_sdk_iphoneos_embedded_sdk_s3_put_96e96c3af633f856dc0bb695c3fe0691a16459e0_19_05_07_13_40_17/0?type=T#L283&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://evergreen.mongodb.com/task_log_raw/mongodb_mongo_master_embedded_sdk_iphoneos_embedded_sdk_s3_put_96e96c3af633f856dc0bb695c3fe0691a16459e0_19_05_07_13_40_17/0?type=T#L283&lt;/a&gt; &lt;/li&gt;
&lt;/ul&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Consume:  &lt;a href=&quot;https://evergreen.mongodb.com/task_log_raw/mongodb_mongo_master_embedded_sdk_apple_multiarch_embedded_sdk_multiarch_apple_package_96e96c3af633f856dc0bb695c3fe0691a16459e0_19_05_07_13_40_17/0?type=T#L102&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://evergreen.mongodb.com/task_log_raw/mongodb_mongo_master_embedded_sdk_apple_multiarch_embedded_sdk_multiarch_apple_package_96e96c3af633f856dc0bb695c3fe0691a16459e0_19_05_07_13_40_17/0?type=T#L102&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;There seems to be another issue as well, where even though the same machine image is used, sometimes we get a 10 digit abbrev, and sometimes 7.&lt;/p&gt;

&lt;p&gt;On the same commit:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;7 digit abbrev: &lt;a href=&quot;https://evergreen.mongodb.com/task_log_raw/mongodb_mongo_master_embedded_sdk_macos_embedded_sdk_s3_put_96e96c3af633f856dc0bb695c3fe0691a16459e0_19_05_07_13_40_17/0?type=T#L261&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://evergreen.mongodb.com/task_log_raw/mongodb_mongo_master_embedded_sdk_macos_embedded_sdk_s3_put_96e96c3af633f856dc0bb695c3fe0691a16459e0_19_05_07_13_40_17/0?type=T#L261&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;10 digit abbrev: &lt;a href=&quot;https://evergreen.mongodb.com/task_log_raw/mongodb_mongo_master_embedded_sdk_iphoneos_embedded_sdk_s3_put_96e96c3af633f856dc0bb695c3fe0691a16459e0_19_05_07_13_40_17/0?type=T#L283&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://evergreen.mongodb.com/task_log_raw/mongodb_mongo_master_embedded_sdk_iphoneos_embedded_sdk_s3_put_96e96c3af633f856dc0bb695c3fe0691a16459e0_19_05_07_13_40_17/0?type=T#L283&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;So this suggests that perhaps we have a gitconfig or inconsistent git versions across the macOS fleet.&lt;/p&gt;

&lt;p&gt;In any event, we should hardcode an abbrev size in all locations where we invoke &lt;tt&gt;git describe&lt;/tt&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="759793">SERVER-41038</key>
            <summary>The results of git describe for MONGO_VERSION vary by git version</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="13201">Fixed</resolution>
                                        <assignee username="mathew.robinson@mongodb.com">Mathew Robinson</assignee>
                                    <reporter username="andrew.morrow@mongodb.com">Andrew Morrow</reporter>
                        <labels>
                    </labels>
                <created>Tue, 7 May 2019 17:15:28 +0000</created>
                <updated>Sun, 29 Oct 2023 22:21:15 +0000</updated>
                            <resolved>Tue, 7 May 2019 17:58:17 +0000</resolved>
                                                    <fixVersion>4.0.10</fixVersion>
                    <fixVersion>4.1.11</fixVersion>
                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="2252715" author="xgen-internal-githook" created="Mon, 20 May 2019 15:31:46 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;chasinglogic@gmail.com&apos;, &apos;name&apos;: &apos;Mathew Robinson&apos;, &apos;username&apos;: &apos;chasinglogic&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-41038&quot; title=&quot;The results of git describe for MONGO_VERSION vary by git version&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-41038&quot;&gt;&lt;del&gt;SERVER-41038&lt;/del&gt;&lt;/a&gt; Add --abbrev to git describe in build.gradle&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 76a51318e3d46bae41f72bfcf88c3f1782ad093f)&lt;br/&gt;
Branch: v4.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/1abaaa8acfee22098bf357683e4b4d7d47a51350&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/1abaaa8acfee22098bf357683e4b4d7d47a51350&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2252714" author="xgen-internal-githook" created="Mon, 20 May 2019 15:31:05 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;chasinglogic@gmail.com&apos;, &apos;name&apos;: &apos;Mathew Robinson&apos;, &apos;username&apos;: &apos;chasinglogic&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-41038&quot; title=&quot;The results of git describe for MONGO_VERSION vary by git version&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-41038&quot;&gt;&lt;del&gt;SERVER-41038&lt;/del&gt;&lt;/a&gt; Guarantee that git describe returns the same number of digits regardless of version&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 14c4a6e66351e07b1965622b4e8fb8d5bf0a04e2)&lt;br/&gt;
Branch: v4.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/9dddfaf93ce1c63acdb9b720fd5841dde4b402c7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/9dddfaf93ce1c63acdb9b720fd5841dde4b402c7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2238469" author="xgen-internal-githook" created="Wed, 8 May 2019 14:05:34 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;chasinglogic@gmail.com&apos;, &apos;name&apos;: &apos;Mathew Robinson&apos;, &apos;username&apos;: &apos;chasinglogic&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-41038&quot; title=&quot;The results of git describe for MONGO_VERSION vary by git version&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-41038&quot;&gt;&lt;del&gt;SERVER-41038&lt;/del&gt;&lt;/a&gt; Add --abbrev to git describe in build.gradle&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/76a51318e3d46bae41f72bfcf88c3f1782ad093f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/76a51318e3d46bae41f72bfcf88c3f1782ad093f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2237408" author="xgen-internal-githook" created="Tue, 7 May 2019 17:55:10 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Mathew Robinson&apos;, &apos;username&apos;: &apos;chasinglogic&apos;, &apos;email&apos;: &apos;chasinglogic@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-41038&quot; title=&quot;The results of git describe for MONGO_VERSION vary by git version&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-41038&quot;&gt;&lt;del&gt;SERVER-41038&lt;/del&gt;&lt;/a&gt; Guarantee that git describe returns the same number of digits regardless of version&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/14c4a6e66351e07b1965622b4e8fb8d5bf0a04e2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/14c4a6e66351e07b1965622b4e8fb8d5bf0a04e2&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="15640"><![CDATA[v4.0]]></customfieldvalue>
    <customfieldvalue key="15141"><![CDATA[v3.6]]></customfieldvalue>
    <customfieldvalue key="14340"><![CDATA[v3.4]]></customfieldvalue>
    <customfieldvalue key="13440"><![CDATA[v3.2]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10011"><![CDATA[Minor Change]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 7 May 2019 17:31:32 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 38 weeks, 2 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <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>PM-1218</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 38 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>andrew.morrow@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>mathew.robinson@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|huy50v:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|huo47r:</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>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="2911">Dev Tools 2019-05-20</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|huxra7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>