<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style>
<!--
@font-face
        {font-family:SimSun}
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:"Bookman Old Style"}
@font-face
        {font-family:FangSong}
@font-face
        {font-family:Tahoma}
@font-face
        {font-family:"Trebuchet MS"}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
a:link, span.MsoHyperlink
        {color:#0563C1;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:#954F72;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Bookman Old Style",serif;
        color:#1F4E79;
        letter-spacing:0pt;
        text-decoration:none none}
span.EmailStyle18
        {font-family:"Calibri",sans-serif;
        color:#1F497D}
span.EmailStyle19
        {font-family:"Bookman Old Style",serif;
        color:#1F497D;
        text-decoration:none none}
span.EmailStyle20
        {font-family:"Calibri",sans-serif;
        color:#1F497D}
span.EmailStyle21
        {font-family:"Bookman Old Style",serif;
        color:#1F497D;
        text-decoration:none none}
.MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
-->
</style><style type="text/css" id="owaParaStyle"></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">The code is no longer used. I will setup a task to do some cleanup. 
<div><br>
</div>
<div>Bin<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF473855" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> Liu, Changcheng [changcheng.liu@intel.com]<br>
<b>Sent:</b> Tuesday, January 08, 2019 7:57 AM<br>
<b>To:</b> Bailey, Henry Albert (Al); Qian, Bin<br>
<b>Cc:</b> starlingx-discuss@lists.starlingx.io<br>
<b>Subject:</b> RE: [Starlingx-discuss] What is the function of patches directory in StarlingX source code<br>
</font><br>
</div>
<div></div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Bookman Old Style",serif; color:#1F497D">Hi AI & Bin,</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Bookman Old Style",serif; color:#1F497D">      Please help submit patch to remove them from source code if we could make sure they’re not needed anymore.</span></p>
<p class="MsoNormal"><a name="_MailEndCompose"><span style="font-size:10.0pt; font-family:"Bookman Old Style",serif; color:#1F497D"> </span></a></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Bookman Old Style",serif; color:#1F497D">B.R.</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Bookman Old Style",serif; color:#1F497D">Changcheng</span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><a name="_____replyseparator"></a><b>From:</b> Bailey, Henry Albert (Al) [mailto:Al.Bailey@windriver.com]
<br>
<b>Sent:</b> Tuesday, January 8, 2019 10:08 PM<br>
<b>To:</b> Liu, Changcheng <changcheng.liu@intel.com>; Qian, Bin <Bin.Qian@windriver.com><br>
<b>Cc:</b> starlingx-discuss@lists.starlingx.io<br>
<b>Subject:</b> RE: [Starlingx-discuss] What is the function of patches directory in StarlingX source code</p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="color:#1F497D">I don’t think any of those files in that patches folder are needed anymore.  They were added to the c ode back to 2015.</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Bin will know for sure, whether or not they can be removed.</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">Al</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif"> Liu, Changcheng [<a href="mailto:changcheng.liu@intel.com" target="_blank" rel="noopener noreferrer">mailto:changcheng.liu@intel.com</a>]
<br>
<b>Sent:</b> Monday, January 07, 2019 8:26 PM<br>
<b>To:</b> Bailey, Henry Albert (Al); Qian, Bin<br>
<b>Cc:</b> <a href="mailto:starlingx-discuss@lists.starlingx.io" target="_blank" rel="noopener noreferrer">
starlingx-discuss@lists.starlingx.io</a><br>
<b>Subject:</b> RE: [Starlingx-discuss] What is the function of patches directory in StarlingX source code</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Bookman Old Style",serif; color:#1F497D">Hi AI & Bin,</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Bookman Old Style",serif; color:#1F497D">     Does sm_patch.py make effect when installing the ISO image or it makes effect to apply all the patches when building the source code?</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Bookman Old Style",serif; color:#1F497D">     Specifically, what’s below patch used for? Could I remove it from source code directly?</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Bookman Old Style",serif; color:#1F4E79">            cgcs-root/stx/stx-ha/service-mgmt/sm-db-1.0.0/patches/sm_db_ceph_install.patch</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Bookman Old Style",serif; color:#1F4E79">     I’m removing ceph-rest-api from source code and replace it with other service. The above patch define some service realted with ceph-rest-api. I don’t
 know whether I need change that patch file.</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Bookman Old Style",serif; color:#1F4E79"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Bookman Old Style",serif; color:#1F4E79">B.R.</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Bookman Old Style",serif; color:#1F4E79">Changcheng</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Bookman Old Style",serif; color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Bailey, Henry Albert (Al) [<a href="mailto:Al.Bailey@windriver.com" target="_blank" rel="noopener noreferrer">mailto:Al.Bailey@windriver.com</a>]
<br>
<b>Sent:</b> Monday, January 7, 2019 9:50 PM<br>
<b>To:</b> Liu, Changcheng <<a href="mailto:changcheng.liu@intel.com" target="_blank" rel="noopener noreferrer">changcheng.liu@intel.com</a>>;
<a href="mailto:starlingx-discuss@lists.starlingx.io" target="_blank" rel="noopener noreferrer">
starlingx-discuss@lists.starlingx.io</a><br>
<b>Cc:</b> Qian, Bin <<a href="mailto:Bin.Qian@windriver.com" target="_blank" rel="noopener noreferrer">Bin.Qian@windriver.com</a>><br>
<b>Subject:</b> RE: [Starlingx-discuss] What is the function of patches directory in StarlingX source code</p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="color:#1F497D">I believe the contents of that folder are installed into a patches folder, and acted upon by the sm-patch utility</span></p>
<p class="MsoNormal"><span style="color:#1F497D"><a href="https://github.com/openstack/stx-ha/blob/master/service-mgmt-tools/sm-tools/sm_tools/sm_patch.py" target="_blank" rel="noopener noreferrer">https://github.com/openstack/stx-ha/blob/master/service-mgmt-tools/sm-tools/sm_tools/sm_patch.py</a></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">It looks like they populate “V1”  tables.   Bin should be able to indicate if we still make use of the V1 tables or not.</span></p>
<p class="MsoNormal"><span style="color:#1F497D"><br>
Al</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif"> Liu, Changcheng [<a href="mailto:changcheng.liu@intel.com" target="_blank" rel="noopener noreferrer">mailto:changcheng.liu@intel.com</a>]
<br>
<b>Sent:</b> Sunday, January 06, 2019 10:57 PM<br>
<b>To:</b> <a href="mailto:starlingx-discuss@lists.starlingx.io" target="_blank" rel="noopener noreferrer">
starlingx-discuss@lists.starlingx.io</a><br>
<b>Subject:</b> [Starlingx-discuss] What is the function of patches directory in StarlingX source code</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Bookman Old Style",serif; color:#1F4E79">Hi all,</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Bookman Old Style",serif; color:#1F4E79">     What’s the function of patches directory in StartlingX source code?</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Bookman Old Style",serif; color:#1F4E79">     For example: cgcs-root/stx/stx-ha/service-mgmt/sm-db-1.0.0/patches/sm_db_ceph_install.patch</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Bookman Old Style",serif; color:#1F4E79"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Bookman Old Style",serif; color:#1F4E79">Regards,</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Bookman Old Style",serif; color:#1F4E79">Changcheng</span><span style="font-family:"Trebuchet MS",sans-serif; color:#171717"></span></p>
<p class="MsoNormal"> </p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>