Hammer CLI CSV: Issueshttps://projects.theforeman.org/https://projects.theforeman.org/favicon.ico?16970236342017-12-01T21:27:28ZForeman
Redmine Bug #21843 (New): Extract the strings for the foreman-admin pluginhttps://projects.theforeman.org/issues/218432017-12-01T21:27:28ZBryan Kearneybryan.kearney@gmail.com
<p>The strings are old, and not connected to transifex.</p> Bug #19972 (Closed): Release 2.3.0https://projects.theforeman.org/issues/199722017-06-08T10:37:50ZAndrew Kofinkakofink@redhat.comFeature #18097 (New): As a user, I want to name :export: config sections for convenient use on th...https://projects.theforeman.org/issues/180972017-01-16T12:34:43ZThomas McKaythomasmckay@redhat.com
<p>For example, I have a custom export defined for content-hosts</p>
<pre>
:csv:
:enable_module: true
:columns:
:content-hosts:
:define:
- :name: Subscription Status
:json:
- subscription_status_label
- :name: Last Checkin
:json:
- subscription_facet_attributes
- last_checkin
:export:
- Name
- Organization
- Subscription Status
- Last Checkin
</pre>
<p>Currently the above config means that --export will always export just those four columns.</p>
<p>Instead, let me add a :name: to the :export: section that may be referred to. Something like this if I had included ":name: substatus" in the conf</p>
<p>hammer csv content-hosts --export --export-name substatus</p> Bug #17833 (Closed): release 2.2.1https://projects.theforeman.org/issues/178332016-12-22T11:23:20ZThomas McKaythomasmckay@redhat.comBug #17682 (Closed): release 2.2.0https://projects.theforeman.org/issues/176822016-12-15T06:44:08ZThomas McKaythomasmckay@redhat.com
<p>New hammer-cli-csv release 2.2.0</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> Bug #17624 (Closed): session api breaks hammer csvhttps://projects.theforeman.org/issues/176242016-12-10T15:24:01ZThomas McKaythomasmckay@redhat.com
<p><a class="external" href="https://github.com/theforeman/hammer-cli-foreman/pull/269">https://github.com/theforeman/hammer-cli-foreman/pull/269</a></p>
<p>hammer csv no longer works</p>
<pre>
[ERROR 2016-12-10T15:07:29 Exception] Error: uninitialized constant HammerCLIForeman::BasicCredentials
Did you mean? BasicSocket
Error: uninitialized constant HammerCLIForeman::BasicCredentials
Did you mean? BasicSocket
[ERROR 2016-12-10T15:07:29 Exception]
NameError (uninitialized constant HammerCLIForeman::BasicCredentials
Did you mean? BasicSocket):
/home/thomasmckay/code/hammer-cli-csv/lib/hammer_cli_csv/utils/config.rb:5:in `credentials'
/home/thomasmckay/code/hammer-cli-csv/lib/hammer_cli_csv/utils/config.rb:15:in `resource_config'
/home/thomasmckay/code/hammer-cli-csv/lib/hammer_cli_csv/utils/config.rb:35:in `api_connection'
/home/thomasmckay/code/hammer-cli-csv/lib/hammer_cli_csv/base.rb:52:in `execute'
</pre> Bug #16957 (Closed): release v2.1.2https://projects.theforeman.org/issues/169572016-10-14T12:24:09ZThomas McKaythomasmckay@redhat.comBug #16880 (Closed): add --search option for use during exporthttps://projects.theforeman.org/issues/168802016-10-12T07:05:11ZThomas McKaythomasmckay@redhat.com
<p>To facilitate exporting a subset of data, a --search option could be used to export only matching resources.</p> Bug #16848 (Closed): locale missing from gemspechttps://projects.theforeman.org/issues/168482016-10-10T09:36:29ZThomas McKaythomasmckay@redhat.com
<p>The locale dir is missing from gemspec</p> Bug #16155 (New): having no user or passwd specified in conf file gives unclear error messagehttps://projects.theforeman.org/issues/161552016-08-17T14:00:06ZThomas McKaythomasmckay@redhat.com
<p>If the user has not specified a default username/password in the hammer conf files, nor have they specified in on the command line, the error message just says " 'undefined method `clear' for nil:NilClass'". This is part of the stack trace when it fails to make http call.</p>
<p>A better error message is appropriate. (If this is general issue w/ hammer and not specific to csv, change project of this issue.)</p> Bug #15916 (Closed): As a developer, I want VCR test infrastructure added.https://projects.theforeman.org/issues/159162016-07-29T15:36:45ZThomas McKaythomasmckay@redhat.com
<p>The rake tests should be runnable against either a live server or with saved VCR output. Add this to hammer-cli-csv.</p> Feature #15752 (Closed): add option to continue importing csv even if a row failshttps://projects.theforeman.org/issues/157522016-07-20T08:21:31ZThomas McKaythomasmckay@redhat.com
<p>Currently, when a row fails to import the run is aborted. Add option to allow continuing import.</p> Bug #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> Bug #15744 (Closed): bump version to 2.1https://projects.theforeman.org/issues/157442016-07-19T13:47:15ZThomas McKaythomasmckay@redhat.com