<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:18:26 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-3573] Do not hardcode VERSION_CURRENT in patch builds or old branches</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-3573</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;calc_release_version.py reports the wrong version if on a non-release non-master branch. This was the cause of abi-compliance-check always failing on patches from GitHub PRs (because they were running from non-master branches).&lt;/p&gt;

&lt;p&gt;Additionally, calc_release_version.py run from a release non-master branch, uses the &lt;tt&gt;--merged&lt;/tt&gt; option in git, which requires a newer version of git than we have on all variants. &lt;a href=&quot;https://evergreen.mongodb.com/task/mongo_c_driver_r1.17_clang34ubuntu_debug_compile_nosasl_nossl_33fe00fd23fa1dd2c3b2aab216e87bd1f9e2bb48_20_06_09_00_26_23&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Example of a failing task on the r1.17 evergreen project&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;As a temporary workaround, I&apos;ve hardcoded VERSION_CURRENT in the evergreen config.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1276111">CDRIVER-3573</key>
            <summary>Do not hardcode VERSION_CURRENT in patch builds or old branches</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="5" iconUrl="https://jira.mongodb.org/images/icons/priorities/trivial.svg">Trivial - P5</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="kevin.albertson@mongodb.com">Kevin Albertson</assignee>
                                    <reporter username="kevin.albertson@mongodb.com">Kevin Albertson</reporter>
                        <labels>
                    </labels>
                <created>Mon, 16 Mar 2020 17:30:02 +0000</created>
                <updated>Sat, 28 Oct 2023 11:28:52 +0000</updated>
                            <resolved>Sun, 13 Feb 2022 16:45:55 +0000</resolved>
                                                    <fixVersion>1.22.0</fixVersion>
                    <fixVersion>1.22.0-beta0</fixVersion>
                                    <component>tests</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="4352417" author="xgen-internal-githook" created="Sun, 13 Feb 2022 16:45: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-3573&quot; title=&quot;Do not hardcode VERSION_CURRENT in patch builds or old branches&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-3573&quot;&gt;&lt;del&gt;CDRIVER-3573&lt;/del&gt;&lt;/a&gt; remove hard-coded versions from test scripts (#941)&lt;/p&gt;

&lt;p&gt;Add --next-minor option to calc_release_version.py&lt;/p&gt;

&lt;p&gt;This allows build scripts to calculate the next minor release.&lt;/p&gt;

&lt;p&gt;In Evergreen, git will be in a detached HEAD state. Not on a branch.&lt;/p&gt;

&lt;p&gt;Co-authored-by: Roberto C. S&#225;nchez &amp;lt;roberto@connexer.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/28c2ca827d318cb3ff3c832982e65b39408707c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/28c2ca827d318cb3ff3c832982e65b39408707c2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3393758" author="xgen-internal-githook" created="Tue, 15 Sep 2020 00:53:08 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Roberto C. S&#225;nchez&apos;, &apos;email&apos;: &apos;roberto@connexer.com&apos;, &apos;username&apos;: &apos;rcsanchez97&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-3573&quot; title=&quot;Do not hardcode VERSION_CURRENT in patch builds or old branches&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-3573&quot;&gt;&lt;del&gt;CDRIVER-3573&lt;/del&gt;&lt;/a&gt; only hardcode version for GitHub PRs and patch builds&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/0ff7c37125496710c870a4b445d6d5286da60e71&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/0ff7c37125496710c870a4b445d6d5286da60e71&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3301715" author="xgen-internal-githook" created="Fri, 24 Jul 2020 19:36:40 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Roberto C. S&#225;nchez&apos;, &apos;email&apos;: &apos;roberto@connexer.com&apos;, &apos;username&apos;: &apos;rcsanchez97&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-3573&quot; title=&quot;Do not hardcode VERSION_CURRENT in patch builds or old branches&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-3573&quot;&gt;&lt;del&gt;CDRIVER-3573&lt;/del&gt;&lt;/a&gt; only hardcode version for GitHub PRs&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/164e8716771c15f7817df514e423dea662d53648&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/164e8716771c15f7817df514e423dea662d53648&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3301131" author="roberto.sanchez" created="Fri, 24 Jul 2020 16:11:51 +0000"  >&lt;p&gt;After discussing this &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=kevin.albertson&quot; class=&quot;user-hover&quot; rel=&quot;kevin.albertson&quot;&gt;kevin.albertson&lt;/a&gt; and I have concluded that this hard coding is only required for GitHub PRs.  Since Evergreen has an expansion that specifically identifies GitHub PRs (${github_pr_number}) that should be the basis for hard coding the version.  Since the reason this is necessary results from the &lt;tt&gt;calc_release_version.py&lt;/tt&gt; script not correctly handling branches of the &lt;tt&gt;master&lt;/tt&gt; branch that are not release branches (i.e., &lt;tt&gt;rX.Y&lt;/tt&gt; form), a future improvement would be to update &lt;tt&gt;calc_release_version.py&lt;/tt&gt; to have an option that treats the current branch the same as the &lt;tt&gt;master&lt;/tt&gt; branch for reasons of computing the version.  Once that change is made, the hard coding in &lt;tt&gt;config.yml&lt;/tt&gt; can be updated to communicate that option to &lt;tt&gt;calc_release_version.py&lt;/tt&gt; instead of actually hard coding the version.&lt;/p&gt;</comment>
                            <comment id="3281151" author="xgen-internal-githook" created="Sat, 11 Jul 2020 16:20:38 +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-3573&quot; title=&quot;Do not hardcode VERSION_CURRENT in patch builds or old branches&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-3573&quot;&gt;&lt;del&gt;CDRIVER-3573&lt;/del&gt;&lt;/a&gt; fix hardcode&lt;br/&gt;
Branch: r1.17&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/90a7ac432f4e9a8d2fbb4b55d07a739d2f6394be&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/90a7ac432f4e9a8d2fbb4b55d07a739d2f6394be&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3269026" author="xgen-internal-githook" created="Thu, 2 Jul 2020 19:20:04 +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-3573&quot; title=&quot;Do not hardcode VERSION_CURRENT in patch builds or old branches&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-3573&quot;&gt;&lt;del&gt;CDRIVER-3573&lt;/del&gt;&lt;/a&gt; fix hardcode&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/16cf75da76264a28353652171a76c154cee0dc3a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/16cf75da76264a28353652171a76c154cee0dc3a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3197355" author="xgen-internal-githook" created="Tue, 9 Jun 2020 15:29:02 +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-3573&quot; title=&quot;Do not hardcode VERSION_CURRENT in patch builds or old branches&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-3573&quot;&gt;&lt;del&gt;CDRIVER-3573&lt;/del&gt;&lt;/a&gt; do not hardcode version&lt;br/&gt;
Branch: r1.17&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/f4724daf1fa6e4df3c4537c9e2b4ab2b6b56ecb3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/f4724daf1fa6e4df3c4537c9e2b4ab2b6b56ecb3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3197354" author="xgen-internal-githook" created="Tue, 9 Jun 2020 15:28:41 +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-3573&quot; title=&quot;Do not hardcode VERSION_CURRENT in patch builds or old branches&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-3573&quot;&gt;&lt;del&gt;CDRIVER-3573&lt;/del&gt;&lt;/a&gt; do not hardcode version&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/529a2be72907aeb6823e9ebbf830f9dbe7baa91c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/529a2be72907aeb6823e9ebbf830f9dbe7baa91c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3106173" author="xgen-internal-githook" created="Mon, 25 May 2020 21:14:08 +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-3573&quot; title=&quot;Do not hardcode VERSION_CURRENT in patch builds or old branches&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-3573&quot;&gt;&lt;del&gt;CDRIVER-3573&lt;/del&gt;&lt;/a&gt; hard code version on patches&lt;/p&gt;

&lt;p&gt;Not all evergreen variants have a new enough version of git to run calc_release_version.py on a non-master branch. This fixes patch builds made through GitHub PRs&lt;br/&gt;
Branch: r1.17&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/790b89cb8a74fce34d9fd025eb87641153f698c0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/790b89cb8a74fce34d9fd025eb87641153f698c0&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3073017" author="xgen-internal-githook" created="Thu, 7 May 2020 00:15:52 +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-3573&quot; title=&quot;Do not hardcode VERSION_CURRENT in patch builds or old branches&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-3573&quot;&gt;&lt;del&gt;CDRIVER-3573&lt;/del&gt;&lt;/a&gt; hard code version on patches&lt;/p&gt;

&lt;p&gt;Not all evergreen variants have a new enough version of git to run calc_release_version.py on a non-master branch. This fixes patch builds made through GitHub PRs&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/d54d03c300bfb8c0f181b1eb5c161298cfde299b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/d54d03c300bfb8c0f181b1eb5c161298cfde299b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2983582" author="xgen-internal-githook" created="Tue, 17 Mar 2020 17:20:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-3573&quot; title=&quot;Do not hardcode VERSION_CURRENT in patch builds or old branches&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-3573&quot;&gt;&lt;del&gt;CDRIVER-3573&lt;/del&gt;&lt;/a&gt; hardcode version for abi check&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/08458e5308567c38a51994ae19bb79573dcd7243&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/08458e5308567c38a51994ae19bb79573dcd7243&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hwwlgn:</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>