<!--
RSS generated by JIRA (4.4#649-r158309) at Tue Jun 18 01:12:35 CDT 2013

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 add field=key&field=summary to the URL of your request.
For example:
http://dev.clojure.org/jira/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+TCLI+ORDER+BY+updated+DESC%2C+priority+DESC%2C+created+ASC&tempMax=1000&field=key&field=summary
-->
<!-- If you wish to do custom client-side styling of RSS, uncomment this:
<?xml-stylesheet href="http://dev.clojure.org/jira/styles/jiraxml2html.xsl" type="text/xsl"?>
-->
<rss version="0.92">
    <channel>
        <title>Clojure JIRA</title>
        <link>http://dev.clojure.org/jira/secure/IssueNavigator.jspa?reset=true&amp;jqlQuery=project+%3D+TCLI+ORDER+BY+updated+DESC%2C+priority+DESC%2C+created+ASC</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="3" total="3"/>
                <build-info>
            <version>4.4</version>
            <build-number>649</build-number>
            <build-date>25-07-2011</build-date>
        </build-info>
<item>
            <title>[TCLI-2] Allow caller-supplied parse-fn</title>
                <link>http://dev.clojure.org/jira/browse/TCLI-2</link>
                <project id="10082" key="TCLI">tools.cli</project>
                        <description>&lt;p&gt;As for :parse-fn, a function can be supplied, this&lt;br/&gt;
is useful for standard use-cases such as: -vv, or when&lt;br/&gt;
you want to build a list from values.&lt;/p&gt;

&lt;p&gt;PR: &lt;a href=&quot;https://github.com/clojure/tools.cli/pull/11&quot;&gt;https://github.com/clojure/tools.cli/pull/11&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="15821">TCLI-2</key>
            <summary>Allow caller-supplied parse-fn</summary>
                <type id="4" iconUrl="http://dev.clojure.org/jira/images/icons/improvement.gif">Enhancement</type>
                                <priority id="3" iconUrl="http://dev.clojure.org/jira/images/icons/priority_major.gif">Major</priority>
                    <status id="1" iconUrl="http://dev.clojure.org/jira/images/icons/status_open.gif">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="gar3thjon3s">Gareth Jones</assignee>
                                <reporter username="pyr">Pierre-Yves Ritschard</reporter>
                        <labels>
                        <label>enhancement</label>
                    </labels>
                <created>Sun, 11 Nov 2012 05:31:25 -0600</created>
                <updated>Thu, 11 Apr 2013 09:48:37 -0500</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="29930" author="jafingerhut" created="Sun, 11 Nov 2012 12:38:17 -0600"  >&lt;p&gt;Pierre-Yves, there are instructions for creating patches under the headings &quot;Development&quot; and &quot;Adding patches&quot; on this page: &lt;a href=&quot;http://dev.clojure.org/display/design/JIRA+workflow&quot;&gt;http://dev.clojure.org/display/design/JIRA+workflow&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Submissions to this module do require the author to sign a CA.  Instructions here: &lt;a href=&quot;http://clojure.org/contributing&quot;&gt;http://clojure.org/contributing&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="30926" author="pyr" created="Thu, 11 Apr 2013 09:48:06 -0500"  >&lt;p&gt;Suggested Patch&lt;/p&gt;</comment>
                    <comment id="30927" author="pyr" created="Thu, 11 Apr 2013 09:48:37 -0500"  >&lt;p&gt;Hello, now that I&apos;m a registered contributor, I attached a file as suggested in the workflow wiki&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="11952" name="TCLI-2.diff" size="2868" author="pyr" created="Thu, 11 Apr 2013 09:48:06 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Global Rank</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[TCLI-3] Change contract to provide access to banner on parse error</title>
                <link>http://dev.clojure.org/jira/browse/TCLI-3</link>
                <project id="10082" key="TCLI">tools.cli</project>
                        <description>&lt;p&gt;If a user provides an invalid option, most applications would want to display the banner.&lt;/p&gt;

&lt;p&gt;tools.cli throws an Exception with minimal information, and (banner-for) is marked private.&lt;/p&gt;

&lt;p&gt;The exception could be replaced with one that provides access to the banner, but I think it would be better (easier to use, more idiomatic?) to change the contract so that the banner is always returned. Given the exception string is also useful, perhaps change cli to return a map with keys &lt;span class=&quot;error&quot;&gt;&amp;#91;:options :extra-args :banner :parse-failure&amp;#93;&lt;/span&gt;?&lt;/p&gt;</description>
                <environment></environment>
            <key id="15996">TCLI-3</key>
            <summary>Change contract to provide access to banner on parse error</summary>
                <type id="4" iconUrl="http://dev.clojure.org/jira/images/icons/improvement.gif">Enhancement</type>
                                <priority id="4" iconUrl="http://dev.clojure.org/jira/images/icons/priority_minor.gif">Minor</priority>
                    <status id="1" iconUrl="http://dev.clojure.org/jira/images/icons/status_open.gif">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="gar3thjon3s">Gareth Jones</assignee>
                                <reporter username="phiipa">Philip Aston</reporter>
                        <labels>
                    </labels>
                <created>Sat, 9 Feb 2013 09:00:19 -0600</created>
                <updated>Fri, 8 Mar 2013 04:19:03 -0600</updated>
                                                                            <due></due>
                    <votes>1</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="30714" author="gv" created="Fri, 8 Mar 2013 04:19:03 -0600"  >&lt;p&gt;I agree with the reporter. Throwing an exception for invalid arguments (&quot;&lt;span class=&quot;error&quot;&gt;&amp;#91;...&amp;#93;&lt;/span&gt; is not a valid argument&quot;) is not appropriate since you usually want to display that error message along with the banner.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Global Rank</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[TCLI-1] Do not include keys when no value provided and no :default</title>
                <link>http://dev.clojure.org/jira/browse/TCLI-1</link>
                <project id="10082" key="TCLI">tools.cli</project>
                        <description>&lt;p&gt;I was trying to use tools.cli in conjunction with a configuration map&lt;br/&gt;
loaded from a file, and use clojure.core/merge to combine the results.&lt;/p&gt;

&lt;p&gt;This didn&apos;t work because tools.cli always uses a default value of&lt;br/&gt;
&lt;tt&gt;nil&lt;/tt&gt;, even when no default value is specified. The &lt;tt&gt;nil&lt;/tt&gt; always&lt;br/&gt;
overrides defaults from another source.&lt;/p&gt;

&lt;p&gt;Example before the patch:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;(def my-defaults
  {:foo 1})

(merge my-defaults
       (first (clojure.tools.cli/cli
               [] ; no arguments given
               [&lt;span class=&quot;code-quote&quot;&gt;&quot;--foo&quot;&lt;/span&gt;]))) ; no &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt; specified
;;=&amp;gt; {:foo nil}&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;


&lt;p&gt;This enhancement modifies tools.cli to completely omit arguments which&lt;br/&gt;
have no default specified and no value given on the command line.&lt;/p&gt;

&lt;p&gt;After the patch, the above example returns:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;;;=&amp;gt; {:foo 1}&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
            <key id="15456">TCLI-1</key>
            <summary>Do not include keys when no value provided and no :default</summary>
                <type id="4" iconUrl="http://dev.clojure.org/jira/images/icons/improvement.gif">Enhancement</type>
                                <priority id="4" iconUrl="http://dev.clojure.org/jira/images/icons/priority_minor.gif">Minor</priority>
                    <status id="6" iconUrl="http://dev.clojure.org/jira/images/icons/status_closed.gif">Closed</status>
                    <resolution id="1">Completed</resolution>
                                <assignee username="stuart.sierra">Stuart Sierra</assignee>
                                <reporter username="stuart.sierra">Stuart Sierra</reporter>
                        <labels>
                    </labels>
                <created>Fri, 18 May 2012 15:35:08 -0500</created>
                <updated>Fri, 24 Aug 2012 08:32:03 -0500</updated>
                    <resolved>Fri, 24 Aug 2012 08:31:59 -0500</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="29003" author="stuart.sierra" created="Fri, 20 Jul 2012 07:41:17 -0500"  >&lt;p&gt;New patch file 0002 fixes syntax error in the previous patch; updated description to show correct results.&lt;/p&gt;</comment>
                    <comment id="29261" author="stuart.sierra" created="Fri, 24 Aug 2012 08:31:59 -0500"  >&lt;p&gt;Patch applied in commit &lt;a href=&quot;https://github.com/clojure/tools.cli/commit/f9d92395cb788dd08cb144035a9d5fd8706d10b5&quot;&gt;https://github.com/clojure/tools.cli/commit/f9d92395cb788dd08cb144035a9d5fd8706d10b5&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="11229" name="TCLI-1-0001.patch" size="2106" author="stuart.sierra" created="Fri, 18 May 2012 15:37:06 -0500" />
                    <attachment id="11390" name="TCLI-1-0002.patch" size="2079" author="stuart.sierra" created="Fri, 20 Jul 2012 07:41:17 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Global Rank</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                <customfieldname>Patch</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10002">Code and Test</customfieldvalue>

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