<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:09:45 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-5744] `edit` shell command should be more flexible</title>
                <link>https://jira.mongodb.org/browse/SERVER-5744</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Currently, the `edit` command does not allow the following:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Opening an empty &quot;command&quot; (i.e., just typing `edit`)&lt;/li&gt;
	&lt;li&gt;Opening strings that may look like a JavaScript variable, but are not.&lt;/li&gt;
	&lt;li&gt;Strings that do not contain spaces or are not quoted.&lt;br/&gt;
    Works:         edit &quot;asd&quot;&lt;br/&gt;
    Works:         edit asd asd&lt;br/&gt;
    Does not work: edit asd&lt;br/&gt;
    Does not work: edit asd_asd&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Since edit is being used as a connection from Mongo to $EDITOR, this functionality should be enabled.&lt;/p&gt;</description>
                <environment>Any</environment>
        <key id="37612">SERVER-5744</key>
            <summary>`edit` shell command should be more flexible</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="3">Duplicate</resolution>
                                        <assignee username="backlog-server-platform">DO NOT USE - Backlog - Platform Team</assignee>
                                    <reporter username="amcfague">Andrew McFague</reporter>
                        <labels>
                            <label>platforms-re-triaged</label>
                            <label>shell</label>
                    </labels>
                <created>Wed, 2 May 2012 06:59:40 +0000</created>
                <updated>Fri, 17 Aug 2018 17:40:30 +0000</updated>
                            <resolved>Fri, 17 Aug 2018 17:40:30 +0000</resolved>
                                                                    <component>Shell</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1979048" author="asya" created="Fri, 17 Aug 2018 17:40:30 +0000"  >&lt;p&gt;Fixed as part of work on &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-6325&quot; title=&quot;using the `edit` command on undeclared variables could benefit from an error message&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-6325&quot;&gt;&lt;del&gt;SERVER-6325&lt;/del&gt;&lt;/a&gt; available since 2.4&lt;/p&gt;</comment>
                            <comment id="115647" author="amcfague" created="Wed, 2 May 2012 17:15:07 +0000"  >&lt;p&gt;To be honest, I was hyped up on Nyquil last night, so I&apos;m reading over the bug and I&apos;m not quite sure what I meant by those points either.&lt;/p&gt;

&lt;p&gt;Anyways, here&apos;s my best guess&amp;#45;&amp;#45;I expect the edit command to basically be a way of editing a shell command in an external editor&amp;#45;&amp;#45;and unfortunately, it doesn&apos;t always allow me to do that.  For example, typing `edit asd` will just bring me to the next prompt with no error message and no editor.  Basically, anything that looks like a variable (according to the code, anything with alphanumeric chars, underscores, or dots) but isn&apos;t, won&apos;t be opened in an editor.  I would expect it to open up a text editor with `asd` there.&lt;/p&gt;

&lt;p&gt;Does that make sense?  I made some changes to this end here: &lt;a href=&quot;https://github.com/amcfague/mongo/commit/ce4a640403470398c5cde6bac6c95e8b2a9b536b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/amcfague/mongo/commit/ce4a640403470398c5cde6bac6c95e8b2a9b536b&lt;/a&gt;; its nothing complex, and all it really does is allow text that looks like a JavaScript variable to be edited, even if the eval portion on 463-464 fails.&lt;/p&gt;</comment>
                            <comment id="115515" author="tad" created="Wed, 2 May 2012 09:14:09 +0000"  >&lt;p&gt;Can you flesh out your description of what these variations should do, including what you want to see happen with &quot;Opening strings that may look like a JavaScript variable, but are not&quot;?  I imagine that a bare &quot;edit&quot; would place whatever text you create in the editor on the command line the way &quot;edit mistyped-command&quot; does but without the starting text (&quot;mistyped-command&quot;).  What should &quot;edit asd&quot; and &quot;edit asd_asd&quot; do?  We have a feature request to make &quot;edit asd&quot; create the variable for you ... &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5134&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/SERVER-5134&lt;/a&gt; .&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="43554">SERVER-6325</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="31785">SERVER-5134</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 2 May 2012 09:14:09 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 25 weeks, 5 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_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>asya.kamsky@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 25 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>amcfague</customfieldvalue>
            <customfieldvalue>asya.kamsky@mongodb.com</customfieldvalue>
            <customfieldvalue>backlog-server-platform</customfieldvalue>
            <customfieldvalue>tad</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hro48f:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr9itj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5939</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_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|hsdqsn:</customfieldvalue>

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