<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:05:28 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-13936] Contrib: script to automate commit message updates for porting</title>
                <link>https://jira.whamcloud.com/browse/LU-13936</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;gitport.py is intended to be used instead of the git editor&lt;br/&gt;
when needing to modify a large number of commit messages&lt;br/&gt;
to match the porting convention used by lustre.&lt;/p&gt;

&lt;p&gt;1. Cherry-pick all the patches you want to port over into&lt;br/&gt;
your local git repo&lt;/p&gt;

&lt;p&gt;2. Modify PATH (or use another method) to make gitport.py&lt;br/&gt;
executable from the command line.&lt;/p&gt;

&lt;p&gt;3.&lt;br/&gt;
In ~/.gitconfig add:&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;
[core]
     editor = gitport.py&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;4.&lt;br/&gt;
Export a list of all the commits from the branch you&apos;re porting&lt;br/&gt;
from:&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;
git log --pretty=oneline &amp;gt; lustre-log.out
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;5.&lt;br/&gt;
Export GITLOG environment variable which points to that file:&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;
export GITLOG=/path/to/lustre-log.out
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;6.&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;
git rebase -i HEAD~&amp;lt;num of patches which need commit messages updated&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;NOTE: this script is not intended for normal editing. It&apos;ll modify&lt;br/&gt;
all the commit messages following the porting convention.&lt;/p&gt;</description>
                <environment></environment>
        <key id="60610">LU-13936</key>
            <summary>Contrib: script to automate commit message updates for porting</summary>
                <type id="2" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11311&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="ashehata">Amir Shehata</assignee>
                                    <reporter username="ashehata">Amir Shehata</reporter>
                        <labels>
                    </labels>
                <created>Mon, 31 Aug 2020 22:37:38 +0000</created>
                <updated>Mon, 31 Aug 2020 22:45:23 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="278429" author="gerrit" created="Mon, 31 Aug 2020 22:45:23 +0000"  >&lt;p&gt;Amir Shehata (ashehata@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/39778&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/39778&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13936&quot; title=&quot;Contrib: script to automate commit message updates for porting&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13936&quot;&gt;LU-13936&lt;/a&gt; contrib: automate commit message updated&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 64aea729b93632199f995d5d1c7f71af7e05d134&lt;/p&gt;</comment>
                    </comments>
                    <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|i018qf:</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>