<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:16:00 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-2682] Add an uninstall target</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-2682</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;Suggested by &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=matt.broadstone&quot; class=&quot;user-hover&quot; rel=&quot;matt.broadstone&quot;&gt;matt.broadstone&lt;/a&gt;, adding a target to allow &lt;tt&gt;make uninstall&lt;/tt&gt; would be useful. It might be as simple as removing all files listed in &lt;tt&gt;install_manifest.txt&lt;/tt&gt; &lt;a href=&quot;https://stackoverflow.com/a/44649542/774658&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;suggested here&lt;/a&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="553471">CDRIVER-2682</key>
            <summary>Add an uninstall target</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="roberto.sanchez@mongodb.com">Roberto Sanchez</assignee>
                                    <reporter username="kevin.albertson@mongodb.com">Kevin Albertson</reporter>
                        <labels>
                    </labels>
                <created>Sat, 2 Jun 2018 18:52:33 +0000</created>
                <updated>Sat, 28 Oct 2023 11:29:48 +0000</updated>
                            <resolved>Wed, 29 Aug 2018 00:01:48 +0000</resolved>
                                                    <fixVersion>1.13.0</fixVersion>
                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1991391" author="xgen-internal-githook" created="Sat, 1 Sep 2018 12:46:50 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;email&apos;: &apos;jesse@mongodb.com&apos;, &apos;username&apos;: &apos;ajdavis&apos;}
&lt;p&gt;Message: Merge branch &apos;master&apos; of github.com:mongodb/mongo-c-driver&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&apos;master&apos; of github.com:mongodb/mongo-c-driver:&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2682&quot; title=&quot;Add an uninstall target&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2682&quot;&gt;&lt;del&gt;CDRIVER-2682&lt;/del&gt;&lt;/a&gt; add an uninstall target&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/9d3d237d1c4dcbb8ddfe03b1a1610d564a923a28&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/9d3d237d1c4dcbb8ddfe03b1a1610d564a923a28&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="1988349" author="xgen-internal-githook" created="Tue, 28 Aug 2018 23:49:19 +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-2682&quot; title=&quot;Add an uninstall target&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2682&quot;&gt;&lt;del&gt;CDRIVER-2682&lt;/del&gt;&lt;/a&gt; add an uninstall target&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/3c0ace57b0517de65203a0c3fe0be82ccab35e6f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/3c0ace57b0517de65203a0c3fe0be82ccab35e6f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1961380" author="roberto.sanchez" created="Tue, 31 Jul 2018 14:34:42 +0000"  >&lt;p&gt;&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;, thanks for the feedback.&lt;/p&gt;</comment>
                            <comment id="1961334" author="kevin.albertson" created="Tue, 31 Jul 2018 14:01:57 +0000"  >&lt;p&gt;I like that approach. Having a CMake uninstall target to call the script, so the user can still &lt;tt&gt;make uninstall&lt;/tt&gt;, would be convenient if the build directory is still around. But it&apos;ll still be possible to uninstall if the build directory has been cleaned.&lt;/p&gt;</comment>
                            <comment id="1961071" author="roberto.sanchez" created="Tue, 31 Jul 2018 04:19:40 +0000"  >&lt;p&gt;So, I have started looking into this and I wonder if we could consider an alternate approach.  The main drawback of the uninstall target is that it only works if the build directory is still around (and hasn&apos;t been cleaned).  That may not always be the case.&lt;/p&gt;

&lt;p&gt;A more complete/robust solution might be to have in the install target convert the install_manifest.txt into a script appropriate for the platform (batch or powershell for Windows and POSIX shell for others) that uses the platform-specific remove commands to eliminate the files and directories (the latter only if empty after removing known files).  The script would be installed to a common location (like &lt;tt&gt;&amp;lt;prefix&amp;gt;/share/mongo-c-driver/uninstall.sh&lt;/tt&gt;) and could be called directly by the user.  The CMake build could still support an actual uninstall target that just calls that script (determining the prefix based on how the build directory was configured).&lt;/p&gt;

&lt;p&gt;This would be a bit more work than the naive approach proposed in the StackOverflow posting, but I do not think it would be a great deal more.&lt;/p&gt;

&lt;p&gt;Would this be a viable approach?&lt;/p&gt;</comment>
                            <comment id="1915530" author="jesse" created="Fri, 8 Jun 2018 18:46:54 +0000"  >&lt;p&gt;Roberto, something to put at the back of your queue.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                            <outwardlinks description="split to">
                                        <issuelink>
            <issuekey id="596350">CDRIVER-2806</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                            <outwardlinks description="causes">
                                        <issuelink>
            <issuekey id="606337">CDRIVER-2827</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="616442">CDRIVER-2849</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="618376">CXX-1669</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|htql7b:</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>