Project

General

Profile

Actions

Bug #21864

open

hammer --version prints unknown version for the foreman tasks plugin

Added by Tomáš Strachota over 6 years ago. Updated over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

$ hammer --version
hammer (0.11.0)
 * hammer_cli_foreman (0.11.0)
 * hammer_cli_foreman_tasks (unknown version)
 * hammer_cli_katello (0.11.0)
Actions #1

Updated by Adam Ruzicka over 6 years ago

I'm failing to reproduce this issue with hammer-cli-0.11.0 and hammer-cli-foreman-tasks-0.0.12

$ basename $(pwd)
hammer-cli-foreman-tasks

$ git show HEAD | head -n 5
commit c4cb774427ed12260691805788ec41e75813c57c (HEAD, tag: v0.0.12)
Author: Ivan Nečas <inecas@redhat.com>
Date:   Wed Oct 25 14:21:12 2017 +0200

    Bump version to 0.0.12

$ cd ../hammer-cli

$ git show HEAD | head -n 5
commit b7a68b6f51a2d84ac76ac92b82c756178f6b1f70 (HEAD, tag: 0.11.0, origin/0.11-stable)
Author: Tomas Strachota <tstrachota@redhat.com>
Date:   Tue Aug 1 10:49:39 2017 +0200

    Bump version to 0.11.0

$ bundle exec bin/hammer --version --verbose --debug
No permissions to create log dir /var/log/hammer
File /var/log/hammer/hammer.log not writeable, won't log anything to the file!
[ INFO 2017-12-06T15:47:50 Init] Initialization of Hammer CLI (0.11) has started...
[DEBUG 2017-12-06T15:47:50 Init] Running at ruby 2.4.1-p111
[ INFO 2017-12-06T15:47:50 Init] Configuration from the file /home/aruzicka/git/hammer-cli/config/cli.modules.d/foreman.yml has been loaded
[ INFO 2017-12-06T15:47:50 Init] Configuration from the file /home/aruzicka/git/hammer-cli/config/cli.modules.d/foreman_tasks.yml has been loaded
[DEBUG 2017-12-06T15:47:50 SSLoptions] SSL options: {
    :verify_ssl => true
}
[DEBUG 2017-12-06T15:47:50 API] Global headers: {
        :content_type => "application/json",
              :accept => "application/json;version=2",
    "Accept-Language" => "en" 
}
[DEBUG 2017-12-06T15:47:50 API] Follow redirects: never
[DEBUG 2017-12-06T15:47:50 Connection] Registered: foreman
[ INFO 2017-12-06T15:47:50 Modules] Extension module hammer_cli_foreman (0.11.0) loaded
[ INFO 2017-12-06T15:47:50 Modules] Extension module hammer_cli_foreman_tasks (0.0.12) loaded
[DEBUG 2017-12-06T15:47:50 Init] Using locale 'en'
[DEBUG 2017-12-06T15:47:50 Init] 'mo' files for locale domain 'hammer-cli' loaded from '/home/aruzicka/git/hammer-cli/locale'
[DEBUG 2017-12-06T15:47:50 Init] 'mo' files for locale domain 'hammer-cli-foreman' loaded from '/home/aruzicka/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/hammer_cli_foreman-0.11.0/locale'
hammer (0.11)
 * hammer_cli_foreman (0.11.0)
 * hammer_cli_foreman_tasks (0.0.12)

Actions

Also available in: Atom PDF