Hammer CLI CSV: Issueshttps://projects.theforeman.org/https://projects.theforeman.org/favicon.ico?16970236342017-06-05T11:30:06ZForeman
Redmine Bug #19927 (Closed): Hammer csv import package rules doesn't handle rules with the same namehttps://projects.theforeman.org/issues/199272017-06-05T11:30:06ZDavid Davisdaviddavis@redhat.com
<p>Steps to reproduce:</p>
<p>1. Create a content view with a package filter<br />2. Create two rules on this filter with the same name (e.g. exclude vim version > 3.0 and vim version = 3.0)<br />3. Export your filters<br />4. Remove the filters<br />5. Do an import</p>
<p>Expected results:</p>
<p>Your filter should have two rules (e.g. exclude vim version > 3.0 and vim version = 3.0)</p>
<p>Actual result:</p>
<p>Your filter only has one rule, the second one (e.g. vim version = 3.0).</p>
<p>The problem is that name isn’t unique across filter rules but hammer csv assumes it is:</p>
<p><a class="external" href="https://git.io/vHVBG">https://git.io/vHVBG</a><br /><a class="external" href="https://git.io/vHVBE">https://git.io/vHVBE</a></p> Feature #19759 (Closed): Add the ability to skip publish and promote when importing content viewshttps://projects.theforeman.org/issues/197592017-06-02T13:42:28ZDavid Davisdaviddavis@redhat.com
<p>Publishing and promoting content views during import is kind of useless because you can't import filters before you import content views. Publishing content views generates useless versions if these content views are supposed to have filters.</p>
<p>Also, publish/promote takes a long time so import could take several hours.</p>
<p>Add some options like --no-publish and --no-promote.</p>