Hammer CLI CSV: Issueshttps://projects.theforeman.org/https://projects.theforeman.org/favicon.ico?16970236342018-01-19T07:50:29ZForeman
Redmine Bug #22321 (New): hammer csv content-hosts create empty csv filehttps://projects.theforeman.org/issues/223212018-01-19T07:50:29ZDjebran Lezzoumldjebran@gmail.com
<p>hammer csv content-hosts create empty csv file<br />The automation test case cover customer bug <a class="external" href="https://bugzilla.redhat.com/show_bug.cgi?id=1296978">https://bugzilla.redhat.com/show_bug.cgi?id=1296978</a><br />The test in question seems randomly passing and failing, but when debugging that command we realize that command lead to other operations, where one of them is retrieving organizations, noticed that when the organization is not in that list (the list seems to be sorted by org name with limit 20) the csv file is empty, there is no error logged</p> Bug #17645 (New): add a --import just because it's natural to type it after using --exporthttps://projects.theforeman.org/issues/176452016-12-12T16:09:50ZThomas McKaythomasmckay@redhat.com
<p>The default is to import the specified --file, however it is natural for user to think that --import is an option to use. Add that option (make it conflict with --export) but no need to actually check it since code should always "if !--export, then import"</p>