<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:01:19 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>[CXX-1076] Generate .deb with CPack and make available through evergreen?</title>
                <link>https://jira.mongodb.org/browse/CXX-1076</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;Investigate using CPack to create .deb files for Ubuntu 16.04 and Debian 8 in evergreen.&lt;/p&gt;

&lt;p&gt;See &lt;a href=&quot;https://groups.google.com/forum/#!topic/mongodb-user/Q8diQJspbCA&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://groups.google.com/forum/#!topic/mongodb-user/Q8diQJspbCA&lt;/a&gt; for background.&lt;/p&gt;</description>
                <environment></environment>
        <key id="322327">CXX-1076</key>
            <summary>Generate .deb with CPack and make available through evergreen?</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="roberto.sanchez@mongodb.com">Roberto Sanchez</assignee>
                                    <reporter username="andrew.morrow@mongodb.com">Andrew Morrow</reporter>
                        <labels>
                    </labels>
                <created>Sun, 9 Oct 2016 22:47:38 +0000</created>
                <updated>Fri, 23 Jul 2021 02:29:32 +0000</updated>
                            <resolved>Thu, 13 Sep 2018 18:59:21 +0000</resolved>
                                                                    <component>Build</component>
                    <component>Release</component>
                                        <votes>1</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="2002641" author="roberto.sanchez" created="Fri, 14 Sep 2018 00:50:13 +0000"  >&lt;p&gt;Jesse, that sounds good.  Thanks for the heads up.&lt;/p&gt;</comment>
                            <comment id="2002290" author="jesse" created="Thu, 13 Sep 2018 18:59:21 +0000"  >&lt;p&gt;Roberto, I&apos;m closing this in favor of &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-1647&quot; title=&quot;Package the C++ Driver for Debian&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-1647&quot;&gt;&lt;del&gt;CXX-1647&lt;/del&gt;&lt;/a&gt; for tracking the C++ Debian work.&lt;/p&gt;</comment>
                            <comment id="1999582" author="roberto.sanchez" created="Tue, 11 Sep 2018 16:32:35 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jesse&quot; class=&quot;user-hover&quot; rel=&quot;jesse&quot;&gt;jesse&lt;/a&gt;, looking at the of this ticket, it didn&apos;t seem accurate anymore given the direction we will be taking.  I have gone ahead and updated the title.  Let me know if you would like something different than what I chose.&lt;/p&gt;</comment>
                            <comment id="1997461" author="roberto.sanchez" created="Mon, 10 Sep 2018 01:45:50 +0000"  >&lt;p&gt;No problem.  Once you have given some feedback on my comment to &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-584&quot; title=&quot;Design C++11 driver release process&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-584&quot;&gt;&lt;del&gt;CXX-584&lt;/del&gt;&lt;/a&gt; I should be able to begin working on that in earnest.&lt;/p&gt;</comment>
                            <comment id="1997459" author="jesse" created="Mon, 10 Sep 2018 01:25:26 +0000"  >&lt;p&gt;Thanks for the analysis! I believe (I could be wrong) that it makes sense to do the release process first, since that will have implications for the Debian and RPM packages: how the version number is determined and what set of files constitute the package will change as we improve the release process.&lt;/p&gt;</comment>
                            <comment id="1997304" author="roberto.sanchez" created="Sun, 9 Sep 2018 12:37:00 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jesse&quot; class=&quot;user-hover&quot; rel=&quot;jesse&quot;&gt;jesse&lt;/a&gt;, I have performed a more thorough analysis and I propose not using CPack for this.  The .deb module for CPack provides considerably less flexibility than we require.  The principal value that I see in the CPackDeb module is for use in internal-only deployments where we might not want to hassle with all the requirements of a &quot;proper&quot; Debian package.  Since we intend to provide the packages of the C++ driver for public consumption and especially because we intend to upload them to Debian proper (and have them eventually end up in Ubuntu), the best course is to apply the pattern we have in the C driver.&lt;/p&gt;

&lt;p&gt;The structure of the two is sufficiently similar that I would use the C driver packaging as a starting point and adapt it to the C++ driver.  The main effort there is going through everything to ensure all the copyrights and whatnot are properly reflected in debian/copyright and making sure that there are no incompatible (from a policy perspective) components.  Once the packaging is done I should be able to drop the build_snapshot.sh script I did for the C driver directly into the C++ driver and then duplicate the debian-package-build Evergreen so that we can produce Debian packages in Evergreen and test that they install everything as expected.&lt;/p&gt;

&lt;p&gt;I looked back through my old email and I assessed the effort require for packaging the C++ driver in response to a request from Drew in January 2016.  Since then, we have learned quite a bit through the C driver packaging, which makes the C++ driver effort smaller and less complex.  The only thing that was not a part of the assessment that I gave Drew was the Evergreen task.  However, the heavy lift for that is already complete with the C driver, so it would be a very small effort to do the same for the C++ driver.&lt;/p&gt;

&lt;p&gt;Am I correct in understanding that you could want the release process (&lt;a href=&quot;https://jira.mongodb.org/browse/CXX-584&quot; title=&quot;Design C++11 driver release process&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-584&quot;&gt;&lt;del&gt;CXX-584&lt;/del&gt;&lt;/a&gt;) sorted out before taking on the packaging?&lt;/p&gt;</comment>
                            <comment id="1997042" author="roberto.sanchez" created="Fri, 7 Sep 2018 23:18:47 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jesse&quot; class=&quot;user-hover&quot; rel=&quot;jesse&quot;&gt;jesse&lt;/a&gt;, we investigated CPack for creating the source distribution tarball and it was not sufficient for our needs, which resulted in the implementation of the MakeDist CMake module based on the one in GNUCash.  I would not expect CPack to add any value to what we have in the C driver, since the official packaging scripts that we maintain are more robust than what CPack can generate.  It might be useful for the C++ driver to bootstrap the initial set of packages, but I would need to look at both the C++ driver code and also the CPack capabilities that exist for the generation of .deb packages.  I will report back with an analysis of the situation.&lt;/p&gt;</comment>
                            <comment id="1996800" author="jesse" created="Fri, 7 Sep 2018 20:04:04 +0000"  >&lt;p&gt;Roberto I can&apos;t remember, have we investigated CPack already for generating C Driver Debian packages? What was our conclusion about that, and will the same conclusion apply here to the C++ Driver?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10020">
                    <name>Gantt Dependency</name>
                                            <outwardlinks description="has to be done before">
                                        <issuelink>
            <issuekey id="601393">CXX-1647</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="601395">CXX-1648</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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hss9z3:</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>