<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:19:51 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>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-15617] Add shellcheck to prepare-commit-msg</title>
                <link>https://jira.whamcloud.com/browse/LU-15617</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Add shellcheck to prepare-commit-msg.&lt;/p&gt;</description>
                <environment></environment>
        <key id="68966">LU-15617</key>
            <summary>Add shellcheck to prepare-commit-msg</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="arshad512">Arshad Hussain</assignee>
                                    <reporter username="arshad512">Arshad Hussain</reporter>
                        <labels>
                    </labels>
                <created>Fri, 4 Mar 2022 17:00:51 +0000</created>
                <updated>Sat, 11 Jun 2022 15:46:53 +0000</updated>
                            <resolved>Sat, 11 Jun 2022 15:46:53 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="328103" author="gerrit" created="Fri, 4 Mar 2022 17:04:54 +0000"  >&lt;p&gt;&quot;Arshad Hussain &amp;lt;arshad.hussain@aeoncomputing.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/46705&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/46705&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15617&quot; title=&quot;Add shellcheck to prepare-commit-msg&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15617&quot;&gt;&lt;del&gt;LU-15617&lt;/del&gt;&lt;/a&gt; contrib: Add shellcheck to prepare-commit-msg&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: baac4ea013463ff277383afa09aad3abe892f0fb&lt;/p&gt;</comment>
                            <comment id="328673" author="adilger" created="Wed, 9 Mar 2022 23:04:03 +0000"  >&lt;p&gt;The other place where shellcheck could be usefully added (once it is working in &lt;tt&gt;prepare-commit-msg&lt;/tt&gt;) is in &lt;tt&gt;contrib/scripts/gerrit-checkpatch.py&lt;/tt&gt;, which is doing the actual work of calling &lt;tt&gt;checkpatch.pl&lt;/tt&gt; on each submitted patch and posting comments on the patches in Gerrit.&lt;/p&gt;

&lt;p&gt;Like in &lt;tt&gt;prepare-commit-msg&lt;/tt&gt;, it would need to determine which files are shell scripts, and then run &lt;tt&gt;shellcheck&lt;/tt&gt; on the file and limit it to lines which are modified by the patch and call &lt;tt&gt;add_comment()&lt;/tt&gt; for each one, and the script should handle the rest.  The &lt;tt&gt;gerrit-checkpatch.py&lt;/tt&gt; script is in Python, so I can&apos;t help very much with that, but hopefully it is fairly clear.&lt;/p&gt;</comment>
                            <comment id="329225" author="arshad512" created="Tue, 15 Mar 2022 10:39:36 +0000"  >&lt;p&gt;Andreas, will have a go at this one &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15617&quot; title=&quot;Add shellcheck to prepare-commit-msg&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15617&quot;&gt;&lt;del&gt;LU-15617&lt;/del&gt;&lt;/a&gt; &amp;amp; &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15626&quot; title=&quot;Fix &amp;quot;error&amp;quot; reported by shellcheck&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15626&quot;&gt;&lt;del&gt;LU-15626&lt;/del&gt;&lt;/a&gt; are done.&lt;/p&gt;</comment>
                            <comment id="337426" author="gerrit" created="Sat, 11 Jun 2022 05:40:52 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/46705/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/46705/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15617&quot; title=&quot;Add shellcheck to prepare-commit-msg&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15617&quot;&gt;&lt;del&gt;LU-15617&lt;/del&gt;&lt;/a&gt; contrib: Add shellcheck to prepare-commit-msg&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 57abd991ade9a381ac3ec94ca1d02993378c8e7c&lt;/p&gt;</comment>
                            <comment id="337519" author="pjones" created="Sat, 11 Jun 2022 15:46:53 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10322">
                    <name>Gantt End to Start</name>
                                                                <inwardlinks description="has to be done after">
                                        <issuelink>
            <issuekey id="69004">LU-15626</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="65014">LU-14826</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="68933">LU-15612</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="68938">LU-15614</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="67547">LU-15358</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="54044">LU-11673</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i02jzj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>