Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package redfishtool for openSUSE:Factory checked in at 2021-03-16 15:45:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/redfishtool (Old) and /work/SRC/openSUSE:Factory/.redfishtool.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "redfishtool" Tue Mar 16 15:45:23 2021 rev:4 rq:879211 version:1.1.5 Changes: -------- --- /work/SRC/openSUSE:Factory/redfishtool/redfishtool.changes 2020-07-27 17:44:43.539243476 +0200 +++ /work/SRC/openSUSE:Factory/.redfishtool.new.2401/redfishtool.changes 2021-03-16 15:46:34.377244407 +0100 @@ -1,0 +2,8 @@ +Sat Mar 6 12:24:00 UTC 2021 - Martin Hauke <mar...@gmx.de> + +- Update to version 1.1.5 + * Added --no-proxy option. + * Fixed missing documentation to show PowerCycle is a valid + reset option. + +------------------------------------------------------------------- Old: ---- redfishtool-1.1.4.tar.gz New: ---- redfishtool-1.1.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ redfishtool.spec ++++++ --- /var/tmp/diff_new_pack.nW3IE1/_old 2021-03-16 15:46:34.857245152 +0100 +++ /var/tmp/diff_new_pack.nW3IE1/_new 2021-03-16 15:46:34.861245159 +0100 @@ -1,8 +1,8 @@ # # spec file for package redfishtool # -# Copyright (c) 2020 SUSE LLC -# Copyright (c) 2020, Martin Hauke <mar...@gmx.de> +# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2020-2021, Martin Hauke <mar...@gmx.de> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ Name: redfishtool -Version: 1.1.4 +Version: 1.1.5 Release: 0 Summary: A CLI tool for accessing the Redfish API License: BSD-3-Clause ++++++ redfishtool-1.1.4.tar.gz -> redfishtool-1.1.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Redfishtool-1.1.4/CHANGELOG.md new/Redfishtool-1.1.5/CHANGELOG.md --- old/Redfishtool-1.1.4/CHANGELOG.md 2020-07-24 21:35:30.000000000 +0200 +++ new/Redfishtool-1.1.5/CHANGELOG.md 2021-03-02 16:46:48.000000000 +0100 @@ -1,5 +1,9 @@ # Change Log +## [1.1.5] - 2021-03-02 +- Added --no-proxy option +- Fixed missing documentation to show PowerCycle is a valid reset option + ## [1.1.4] - 2020-07-24 - Renamed the package to not conflict with the name of the script - Added additional redfishtool.py script for Windows compatibility diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Redfishtool-1.1.4/README.md new/Redfishtool-1.1.5/README.md --- old/Redfishtool-1.1.4/README.md 2020-07-24 21:35:30.000000000 +0200 +++ new/Redfishtool-1.1.5/README.md 2021-03-02 16:46:48.000000000 +0100 @@ -130,6 +130,7 @@ the specified redfish protocol version before executing a sub-command. The -C flag is auto-set if the -R Latest or -W ... options are selected -N, --NonBlocking -- Do not wait for asynchronous requests to complete. + -n, --no-proxy -- Ignore any PROXY environment variables. -H <hdrs>, --Headers=<hdrs> -- Specify the request header list--overrides defaults. Format "{ A:B, C:D...}" -D <flag>, --Debug=<flag> -- Flag for dev debug. <flag> is a 32-bit uint: 0x<hex> or <dec> format @@ -166,7 +167,7 @@ list -- list information about the Systems collection members("Id", URI, and AssetTag) patch {A: B,C: D,...} -- patch the json-formatted {prop: value...} data to the object reset <resetType> -- reset a system. <resetType>= On, GracefulShutdown, GracefulRestart, - ForceRestart, ForceOff, ForceOn, Nmi, PushPowerButton + ForceRestart, ForceOff, ForceOn, Nmi, PushPowerButton, PowerCycle setAssetTag <assetTag> -- set the system's asset tag setIndicatorLed <state> -- set the indicator LED. <state>=redfish defined values: Off, Lit, Blinking setBootOverride <enabledVal> <targetVal> -- set Boot Override properties. <enabledVal>=Disabled|Once|Continuous @@ -228,7 +229,7 @@ list -- list information about the Managers collection members("Id", URI, and UUID) patch {A: B,C: D,...} -- patch the json-formatted {prop: value...} data to the object reset <resetType> -- reset a Manager. <resetType>= On, GracefulShutdown, GracefulRestart, - ForceRestart, ForceOff, ForceOn, Nmi, PushPowerButton + ForceRestart, ForceOff, ForceOn, Nmi, PushPowerButton, PowerCycle setDateTime <dateTimeString>--set the date and time setTimeOffset offset=<offsetString> --set the time offset w/o changing time setting <offsetString> is of form "[+/-]mm:ss". Ex: "-10:01" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Redfishtool-1.1.4/redfishtoollib/Managers.py new/Redfishtool-1.1.5/redfishtoollib/Managers.py --- old/Redfishtool-1.1.4/redfishtoollib/Managers.py 2020-07-24 21:35:30.000000000 +0200 +++ new/Redfishtool-1.1.5/redfishtoollib/Managers.py 2021-03-02 16:46:48.000000000 +0100 @@ -64,7 +64,7 @@ print(" list -- list information about the Managers collection members(\"Id\", URI, and UUID)") print(" patch {A: B,C: D,...} -- patch the json-formatted {prop: value...} data to the object") print(" reset <resetType> -- reset a Manager. <resetType>= On, GracefulShutdown, GracefulRestart, ") - print(" ForceRestart, ForceOff, ForceOn, Nmi, PushPowerButton") + print(" ForceRestart, ForceOff, ForceOn, Nmi, PushPowerButton, PowerCycle") print(" setDateTime <dateTimeString>--set the date and time") print(" setTimeOffset offset=<offsetString> --set the time offset w/o changing time setting") print(" <offsetString> is of form \"[+/-]mm:ss\". Ex: \"-10:01\" ") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Redfishtool-1.1.4/redfishtoollib/Systems.py new/Redfishtool-1.1.5/redfishtoollib/Systems.py --- old/Redfishtool-1.1.4/redfishtoollib/Systems.py 2020-07-24 21:35:30.000000000 +0200 +++ new/Redfishtool-1.1.5/redfishtoollib/Systems.py 2021-03-02 16:46:48.000000000 +0100 @@ -67,7 +67,7 @@ print(" list -- list information about the Systems collection members(\"Id\", URI, and AssetTag)") print(" patch {A: B,C: D,...} -- patch the json-formatted {prop: value...} data to the object") print(" reset <resetType> -- reset a system. <resetType>= On, GracefulShutdown, GracefulRestart, ") - print(" ForceRestart, ForceOff, ForceOn, Nmi, PushPowerButton") + print(" ForceRestart, ForceOff, ForceOn, Nmi, PushPowerButton, PowerCycle") print(" setAssetTag <assetTag> -- set the system's asset tag ") print(" setIndicatorLed <state> -- set the indicator LED. <state>=redfish defined values: Off, Lit, Blinking") print(" setBootOverride <enabledVal> <targetVal> -- set Boot Override properties. <enabledVal>=Disabled|Once|Continuous") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Redfishtool-1.1.4/redfishtoollib/redfishtoolMain.py new/Redfishtool-1.1.5/redfishtoollib/redfishtoolMain.py --- old/Redfishtool-1.1.4/redfishtoollib/redfishtoolMain.py 2020-07-24 21:35:30.000000000 +0200 +++ new/Redfishtool-1.1.5/redfishtoollib/redfishtoolMain.py 2021-03-02 16:46:48.000000000 +0100 @@ -18,6 +18,7 @@ import getopt import re import json +import os from .redfishtoolTransport import RfTransport from .ServiceRoot import RfServiceRoot from .Systems import RfSystemsMain @@ -86,6 +87,7 @@ print(" the specified redfish protocol version before executing a sub-command. ") print(" The -C flag is auto-set if the -R Latest or -W ... options are selected") print(" -N, --NonBlocking -- Do not wait for asynchronous requests to complete.") + print(" -n, --no-proxy -- Ignore any PROXY environment variables.") print(" -H <hdrs>, --Headers=<hdrs> -- Specify the request header list--overrides defaults. Format \"{ A:B, C:D...}\" ") print(" -D <flag>, --Debug=<flag> -- Flag for dev debug. <flag> is a 32-bit uint: 0x<hex> or <dec> format") print("") @@ -122,13 +124,13 @@ rft=RfTransport() try: - opts, args = getopt.gnu_getopt(argv[1:],"Vhvsqu:p:r:t:c:T:P:d:EI:M:F1L:i:m:l:aW:A:S:R:H:D:CN", + opts, args = getopt.gnu_getopt(argv[1:],"Vhvsqu:p:r:t:c:T:P:d:EI:M:F1L:i:m:l:aW:A:S:R:H:D:CNn", ["Version", "help", "verbose", "status", "quiet", "user=", "password=", "rhost=", "token=", "config=", "Timeout=", "Prop=", "data=", "Entries", "Id=", "Match=", "First", "One", "Link=", "id=", "match=", "link", "all", "Wait=", "Auth=","Secure=", "RedfishVersion=", "Headers=", "Debug=", - "CheckRedfishVersion", "NonBlocking"]) + "CheckRedfishVersion", "NonBlocking", "no-proxy"]) except getopt.GetoptError: rft.printErr("Error parsing options") displayUsage(rft) @@ -287,6 +289,8 @@ rft.checkProtocolVer=True elif opt in ("-N", "--NonBlocking"): rft.blocking=False + elif opt in ("-n", "--no-proxy"): + rft.no_proxy = True else: rft.printErr("Error: Unsupported option: {}".format(opt)) displayUsage(rft) @@ -350,6 +354,10 @@ rft.subcommand=args[0] rft.subcommandArgv=list(args) + # disable reading of proxy environment variables for --no-proxy + if rft.no_proxy: + os.environ['NO_PROXY'] = '*' + rft.printVerbose(5,"Main: subcmd: {}, subCmdArgs:{}".format(rft.subcommand,rft.subcommandArgv)) rft.printVerbose(5,"Main: verbose={}, status={}, user={}, password={}, rhost={}".format(rft.verbose, rft.status, rft.user,rft.password,rft.rhost)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Redfishtool-1.1.4/redfishtoollib/redfishtoolTransport.py new/Redfishtool-1.1.5/redfishtoollib/redfishtoolTransport.py --- old/Redfishtool-1.1.4/redfishtoollib/redfishtoolTransport.py 2020-07-24 21:35:30.000000000 +0200 +++ new/Redfishtool-1.1.5/redfishtoollib/redfishtoolTransport.py 2021-03-02 16:46:48.000000000 +0100 @@ -60,8 +60,8 @@ def __init__(self): # constant parameters-- these dont change and are not updated self.program="redfishtool" # program name (in case we want to change it) - self.version="1.1.4" # this redfishtool version - self.releaseDate="07/24/2020" # release date for this version of redfishtool + self.version="1.1.5" # this redfishtool version + self.releaseDate="03/02/2021" # release date for this version of redfishtool self.downloadFrom="https://github.com/DMTF/Redfishtool" # where to find redfishtool self.magic="12345" # used for debug to test for a known parameter in this object self.UNAUTHENTICATED_API=1 # unauthenticated API that doesn't send credentials in body data @@ -91,6 +91,7 @@ self.timeout=10 # http transport timeout in seconds, stored as int here self.checkProtocolVer=False # if -C option, then we need to check/verify the protocol ver. dflt=false self.blocking=True + self.no_proxy=False # more option parsing variables self.prop=None diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Redfishtool-1.1.4/setup.py new/Redfishtool-1.1.5/setup.py --- old/Redfishtool-1.1.4/setup.py 2020-07-24 21:35:30.000000000 +0200 +++ new/Redfishtool-1.1.5/setup.py 2021-03-02 16:46:48.000000000 +0100 @@ -6,7 +6,7 @@ long_description = f.read() setup(name='redfishtool', - version='1.1.4', + version='1.1.5', description='Redfishtool package and command-line client', long_description=long_description, long_description_content_type='text/markdown', @@ -21,7 +21,7 @@ ], keywords='Redfish', url='https://github.com/DMTF/Redfishtool', - download_url='https://github.com/DMTF/Redfishtool/archive/1.1.4.tar.gz', + download_url='https://github.com/DMTF/Redfishtool/archive/1.1.5.tar.gz', packages=['redfishtoollib'], scripts=['scripts/redfishtool', 'scripts/redfishtool.py'], install_requires=['python-dateutil', 'requests']