<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; } @font-face { font-family: 'Cambria Math'; } @font-face { font-family: Calibri; } @font-face { font-family: Consolas; } p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; } a:link, span.MsoHyperlink { color: blue; text-decoration: underline; } a:visited, span.MsoHyperlinkFollowed { color: purple; text-decoration: underline; } span.EmailStyle17 { font-family: Calibri, sans-serif; color: rgb(31, 73, 125); } .MsoChpDefault { font-family: Calibri, sans-serif; } @page WordSection1 { margin: 1in; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><span id="docs-internal-guid-54f7f56b-d7b5-9a64-6717-4d37ef451dc4"><span style="font-size: 13.3333333333333px; font-family: 'Courier New'; vertical-align: baseline; white-space: pre-wrap;">Try this:</span></span></p>
<p><span><span style="font-size: 13.3333333333333px; font-family: 'Courier New'; vertical-align: baseline; white-space: pre-wrap;">openstack congress policy row list classification error</span></span><br>
</p>
<p><br>
</p>
<p><br>
</p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Shiv Haris <sharis@Brocade.com><br>
<b>Sent:</b> Wednesday, September 16, 2015 12:04 PM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> [openstack-dev] [Congress] CLI equivalent</font>
<div> </div>
</div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">Do we have a CLI way for doing the equivalent of:</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt; background:#F7F7F7"><span style="font-size:10.0pt; font-family:Consolas; color:#333333">$ curl -X GET localhost:1789/v1/policies/classification/tables/error/rows</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">As described in the tutorial:</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openstack_congress_blob_master_doc_source_tutorial-2Dtenant-2Dsharing.rst-23listing-2Dpolicy-2Dviolations&d=BQMGaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=djA1lFdIf0--GIJ_8gr44Q&m=m3vnP788yf3Iil8q67Kfx9ViGERr356Hb7b2KBSss9M&s=PUH7xM0t0Uy3ovTTmks2NWmKbdfY_90-EJsXIoNvSEQ&e=">https://github.com/openstack/congress/blob/master/doc/source/tutorial-tenant-sharing.rst#listing-policy-violations</a></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">-Shiv</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> Tim Hinrichs [mailto:tim@styra.com]
<br>
<b>Sent:</b> Thursday, September 10, 2015 8:41 AM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> [openstack-dev] [Congress] Ending feature freeze</span></p>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">Hi all,</p>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">We're now finished with feature freeze. We have our first release candidate and the stable/liberty branch. So master is once again open for new features. Couple of things to note:</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<div>
<p class="MsoNormal">1. Documentation. We should also look through the docs and update them. Documentation is really important. There's one doc patch not yet merged, so be sure to pull that down before editing. That patch officially deprecates a number
of API calls that don't make sense for the new distributed architecture. If you find places where we don't mention the deprecation, please fix that.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"><a href="https://review.openstack.org/#/c/220707/">https://review.openstack.org/#/c/220707/</a></p>
</div>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">2. Bugs. We should still all be manually testing, looking for bugs, and fixing them. This will be true especially as other projects change their clients, which as we've seen can break our datasource drivers. </p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">All bug fixes first go into master, and then we cherry-pick to stable/liberty. Once you've patched a bug on master and it's been merged, you'll create another change for your bug-fix and push it to review. Then one of the cores will +2/+1
it (usually without needing another formal round of reviews). Here's the procedure.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">// pull down the latest changes for master</p>
</div>
<div>
<p class="MsoNormal">$ git checkout master</p>
</div>
<div>
<p class="MsoNormal">$ git pull</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">// create a local branch for stable/liberty and switch to it</p>
</div>
<div>
<p class="MsoNormal">$ git checkout origin/stable/liberty -b stable/liberty</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">// cherry-pick your change from master onto the local stable/liberty</p>
</div>
<div>
<p class="MsoNormal">// The -x records the original <sha1 from master> in the commit msg</p>
</div>
<div>
<p class="MsoNormal">$ git cherry-pick -x <sha1 from master></p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">// Push to review and specify the stable/liberty branch.</p>
</div>
<div>
<p class="MsoNormal">// Notice in gerrit that the branch is stable/liberty, not master</p>
</div>
<div>
<p class="MsoNormal">$ git review stable/liberty</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">// Once your change to stable/liberty gets merged, fetch all the new</p>
</div>
<div>
<p class="MsoNormal">// changes.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">// switch to local version of stable/liberty</p>
</div>
<div>
<p class="MsoNormal">$ git checkout stable/liberty</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">// fetch all the new changes to all the branches</p>
</div>
<div>
<p class="MsoNormal">$ git fetch origin</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">// update your local branch</p>
</div>
<div>
<p class="MsoNormal">$ git rebase origin/stable/liberty</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Tim</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>