Hammer CLI CSV: Issueshttps://projects.theforeman.org/https://projects.theforeman.org/favicon.ico?16970236342017-05-31T09:20:19ZForeman
Redmine Bug #19718 (Closed): content-views import fails when content view has not yet been publishedhttps://projects.theforeman.org/issues/197182017-05-31T09:20:19ZAndrew Kofinkakofink@redhat.com
<p>hammer_cli_csv-2.2.1.1</p>
<p>1. Create a content view (no repos necessary; do not publish)<br />2. Export content views (`hammer csv content-views --export --file /tmp/content_views.csv`)<br />3. Import the content views (`hammer csv content-views --file /tmp/content_views.csv)</p>
<p>Results:<br />NoMethodError (undefined method `each' for nil:NilClass):<br /> /home/vagrant/hammer-cli-csv/lib/hammer_cli_csv/content_views.rb:155:in `promote_content_view'</p> Bug #17420 (Closed): ActivationKey itemized subscription tests do not use the TestCorp manifest s...https://projects.theforeman.org/issues/174202016-11-21T11:59:59ZAndrew Kofinkakofink@redhat.com
<p>The activation key tests for itemized subscriptions should use the subscriptions included in the TestCorp manifest so that recording VCR tests are easy to set up with consistent data.</p> Bug #17307 (Closed): hammer csv -h fails with uninitialized constanthttps://projects.theforeman.org/issues/173072016-11-10T07:15:20ZAndrew Kofinkakofink@redhat.com
<p>To reproduce:</p>
<p>$ hammer csv -h<br />Error: uninitialized constant HammerCLICsv::Help</p> Bug #17223 (Closed): SortedBuilder undefined because HammerCLI renamed it to TextBuilderhttps://projects.theforeman.org/issues/172232016-11-04T09:55:24ZAndrew Kofinkakofink@redhat.com
<p>Trying to run `hammer -vd` with csv module enabled gives:</p>
<p>Warning: An error occured while loading module hammer_cli_csv<br />[ERROR 2016-11-04T09:54:44 Modules] <NameError> uninitialized constant HammerCLICsv::CsvCommand::SortedBuilder<br /> /home/vagrant/hammer-cli-csv/lib/hammer_cli_csv/csv.rb:10:in `<class:CsvCommand>'<br /> /home/vagrant/hammer-cli-csv/lib/hammer_cli_csv/csv.rb:5:in `<module:HammerCLICsv>'<br /> /home/vagrant/hammer-cli-csv/lib/hammer_cli_csv/csv.rb:4:in `<top (required)>'<br /> /home/vagrant/hammer-cli-csv/lib/hammer_cli_csv/base.rb:6:in `require'<br /> /home/vagrant/hammer-cli-csv/lib/hammer_cli_csv/base.rb:6:in `<top (required)>'<br /> /home/vagrant/hammer-cli-csv/lib/hammer_cli_csv.rb:11:in `require'<br /> /home/vagrant/hammer-cli-csv/lib/hammer_cli_csv.rb:11:in `<module:HammerCLICsv>'</p> Bug #17051 (Closed): activation-keys import PUT request quantity is the total quantity, not the q...https://projects.theforeman.org/issues/170512016-10-20T14:51:04ZAndrew Kofinkakofink@redhat.comBug #15748 (Closed): Test with Ruby 2.0, 2.1, 2.2, and 2.3 and not with 1.9.3https://projects.theforeman.org/issues/157482016-07-19T15:36:39ZAndrew Kofinkakofink@redhat.com
<p>hammer-cli, hammer-cli-foreman, and hammer-cli-katello have all already done so. This should be a simple change to the .travis.yml</p>