<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:18: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-3458] cmake should check for VERSION_CURRENT file after attempting to compute version</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-3458</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;When computing the build version (i.e. no &lt;tt&gt;BUILD_VERSION&lt;/tt&gt; was&#160;specified in cmake command), cmake first checks for a VERSION_CURRENT file, and if one does not exist, then computes the version from git metadata with calc_release_version.py.&lt;/p&gt;

&lt;p&gt;This could be problematic for users building from source. E.g. if they build from source and generate a VERSION_CURRENT file, future builds won&apos;t regenerate VERSION_CURRENT.&lt;/p&gt;

&lt;p&gt;Perhaps the logic should be:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;attempt to compute the version with calc_release_version.py first
	&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
		&lt;li&gt;if it is greater than VERSION_CURRENT, overwrite it&lt;/li&gt;
		&lt;li&gt;if it is equal, do nothing&lt;/li&gt;
		&lt;li&gt;if it is less, return an error&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;if calc_release_version.py fails to run (e.g. python/git are not installed) then fall back to VERSION_CURRENT&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;For a real life scenario where this almost happened, homebrew caches the repository files of installed packages. If installing from --HEAD, the VERSION_CURRENT file would be generated on first install, but not regenerated on upgrades. (But currently this is not an issue, because passing BUILD_VERSION was the proposed solution in &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-3410&quot; title=&quot;Fix homebrew formula for --HEAD&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-3410&quot;&gt;&lt;del&gt;CDRIVER-3410&lt;/del&gt;&lt;/a&gt;).&lt;/p&gt;</description>
                <environment></environment>
        <key id="1041386">CDRIVER-3458</key>
            <summary>cmake should check for VERSION_CURRENT file after attempting to compute version</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="kevin.albertson@mongodb.com">Kevin Albertson</reporter>
                        <labels>
                            <label>release-improvements</label>
                    </labels>
                <created>Sun, 8 Dec 2019 19:14:00 +0000</created>
                <updated>Fri, 10 Feb 2023 16:25:11 +0000</updated>
                                                                            <component>Build</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                    <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="978240">CDRIVER-3410</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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr6mv3:</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>