Update wsmancli to 2.3.1 for Utopic

Bug #1335324 reported by Kent Baxley
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wsmancli (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Version 2.3.1 was released a few months ago. Let's try and get it into Utopic.

Fixes and features include:

- exit with non-zero code if connection fails
- read credentials from environment
  wsman: WSMAN_USER, WSMAN_PASS, WSMAN_EVENT_USER, WSMAN_EVENT_PASS
  wseventmgr: WSEVENTMGR_USER, WSEVENTMGR_PASS, WSEVENTMGR_EVENT_USER, WSEVENTMGR_EVENT_PASS
- add --non-interactive option to prevent asking for credentials in scripts

Kent Baxley (kentb)
tags: added: upgrade-software-version
Revision history for this message
Kent Baxley (kentb) wrote :

Built packages are here:

https://launchpad.net/~kentb/+archive/wsman-upstream/+packages

Sanity checked that an upgrade from 2.3.0 works OK.

Revision history for this message
Kent Baxley (kentb) wrote :
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport and the updated package. It seems like the debian/watch file needs updating as well, I attached a update.

Revision history for this message
Michael Vogt (mvo) wrote :

There appears to be also a typo in the debian/control Homepage field:
  Homepage: http://http://openwsman.github.io/
I will just fix it along the way.

Revision history for this message
Michael Vogt (mvo) wrote :

The other thing I'm slightly confused about is that the tarball in https://launchpad.net/~kentb/+archive/ubuntu/wsman-upstream/+packages does not match the one from https://github.com/Openwsman/wsmancli/releases - am I looking at the wrong downlaod site maybe?

I put a package with the version from github to https://launchpad.net/~mvo/+archive/ubuntu/wsmancli/+packages - it appears to build fine (in my pbuilder) so if you could double check that this makes sense I would opt for going with the tarball from github.

Thanks and sorry for this lengthy review.

Revision history for this message
Kent Baxley (kentb) wrote :

Hi Michael,

Thanks for the review and cleanup. No worries on the length. The build you have from the source tarball from github indeed builds, but, none of the executables are generated in order to run wsman...for example, after installing or upgrading to your package on a Utopic test box, notice that the wsman command doesn't work, nor are there any binaries in the package anymore:

ubuntu@utopic3:~$ wsman
-bash: wsman: command not found

$ dpkg -L wsmancli
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/wsmancli
/usr/share/doc/wsmancli/changelog.Debian.gz
/usr/share/doc/wsmancli/copyright

In the source, a bootstrap script had to be run first to set everything up, then one could proceed with building the package or building from source. Without that step you end up with the result above when trying to build a package. If there's a more proper way to do this, then I'll be glad to make the necessary changes. Thanks, again, for all the review on this. I promise I'm not usually this sloppy with the typos :-)

Revision history for this message
Michael Vogt (mvo) wrote :

Hey Kent, thanks for double checking and sorry for the empty package. I indeed missed the autoreconf bootstrap step. I uploaded a new version of the package that use dh-autoreconf with will do the bootstrap now. Could you please double check again? It does contain the binaries in the deb now at least :)

Revision history for this message
Kent Baxley (kentb) wrote :

Hey Michael,

Looks good now! Thanks for your help.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package wsmancli - 2.3.1-0ubuntu1

---------------
wsmancli (2.3.1-0ubuntu1) utopic; urgency=medium

  [ Kent Baxley ]
  * New upstream release (LP: #1335324).
    - includes all fixes in 2.3.0 Ubuntu versions.
    - new feature - read credentials from environment
      wsman: WSMAN_USER, WSMAN_PASS, WSMAN_EVENT_USER, WSMAN_EVENT_PASS
      wseventmgr: WSEVENTMGR_USER, WSEVENTMGR_PASS, WSEVENTMGR_EVENT_USER,
      WSEVENTMGR_EVENT_PASS
    - new feature - add --non-interactive option to prevent asking
      for credentials in scripts

  [ Michael Vogt ]
  * debian/watch: updated to point to github
  * debian/control: fix typo in Homepage field
  * debian/rules: use dh-autoreconf
 -- Kent Baxley <email address hidden> Thu, 26 Jun 2014 13:10:08 -0500

Changed in wsmancli (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.