pcp
[Top] [All Lists]

pcp updates: getopts (done, merge pending)

To: PCP Mailing List <pcp@xxxxxxxxxxx>
Subject: pcp updates: getopts (done, merge pending)
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue, 18 Mar 2014 03:24:30 -0400 (EDT)
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1695992048.1228252.1395127418067.JavaMail.zimbra@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: qf/GcsbDij9vcyANUIdID5gsrgZilQ==
Thread-topic: pcp updates: getopts (done, merge pending)
Changes committed to git://oss.sgi.com/nathans/pcp.git dev

 man/man3/pmgetoptions.3 |  266 ++++++++++++++
 qa/.gitignore           |    5 
 qa/054                  |    4 
 qa/145                  |   20 -
 qa/145.out              |   78 ++++
 qa/145.out.1            |   83 ----
 qa/145.out.2            |   78 ----
 qa/207                  |   14 
 qa/207.out              |   18 
 qa/259                  |   13 
 qa/259.out              |   19 -
 qa/293                  |    2 
 qa/294                  |    2 
 qa/326                  |    4 
 qa/344                  |   14 
 qa/344.out              |  884 ++++++++++++++++++++++++++++++++++++++++++++++++
 qa/344.out.1            |  666 ------------------------------------
 qa/344.out.2            |  688 -------------------------------------
 qa/344.out.3            |  686 -------------------------------------
 qa/417                  |   56 ---
 qa/417.irix.1           |  405 ---------------------
 qa/417.linux.1          |  405 ---------------------
 qa/417.linux.2          |  405 ---------------------
 qa/417.linux.3          |  405 ---------------------
 qa/417.out              |  405 +++++++++++++++++++++
 qa/434.out              |   59 +--
 qa/464                  |    8 
 qa/464.out              |   67 +++
 qa/464.out.1            |   69 ---
 qa/464.out.2            |   67 ---
 qa/569.out              |   72 ++-
 qa/614                  |    5 
 qa/614.out              |    2 
 qa/728.out              |binary
 qa/750                  |   25 -
 qa/750.out              |  203 +++++++++++
 qa/750.out.3            |  203 -----------
 qa/src/getoptions.c     |   21 -
 src/include/pcp/pmapi.h |    6 
 src/libpcp/src/exports  |    1 
 src/libpcp/src/getopt.c |  236 +++++++-----
 src/pmclient/pmclient.c |   25 -
 src/pminfo/pminfo.c     |   33 -
 src/pmprobe/pmprobe.c   |   32 -
 src/pmstat/pmstat.c     |   38 --
 src/pmval/pmval.c       |   66 ++-
 46 files changed, 2254 insertions(+), 4609 deletions(-)

commit e44891b37c92645120abaab97f81ca71b1c3c76c
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Mar 18 18:21:05 2014 +1100

    Keep track of hosts used in test 054 via .full file

commit f7b82c5db6b7f269d0f445488c740d26e396159e
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Mar 18 18:18:45 2014 +1100

    Complete the man page for pmGetOptions family of interfaces

commit ab160fda9f707537bd2c4f859d9f140fb096177b
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Mar 18 18:17:57 2014 +1100

    Tackle race condition in test 750 and remove conditional output

commit fcc04de26f91c64ab0938f6098506d3da9b7a7bb
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Mar 18 15:53:04 2014 +1100

    Final getopts changes to get all QA tests passing again
    
    Small bug found in the pmstat command, where it would not
    honour the TZ environment variable due to effectively being
    in -z mode by default (stray pmNewContextZone call).
    
    Some optimisations introduced too - pminfo no longer calls
    pmGetArchiveEnd unless it needs to (i.e. given an offset).
    All (pmGetOptions-converted) tools now share its behaviour
    of printing a warning if the search for the end fails, and
    continuing on, instead of failing outright.
    
    QA notes: for affected QA tests, begun process of removing
    back-compatibility output variants.  Some messages changed
    for some tools, as we've now got consistent error messages
    for all tools with the same options.  Some diagnostics have
    slightly changed order, potentially, too (e.g. order of the
    pmFetch for pmcd.timezone may differ) - several tests were
    changed to deal with this anomoly.  Another class of tests
    were those containing usage messages of the standard tools
    like pminfo - they have been unconditional remade (and now
    with long options too!)

commit da27fff915703da941c57be867c8049ca4434d9a
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Mon Mar 17 14:30:13 2014 +1000

    Add pmGetContextOptions interface for time zone and windows
    
    Some option processing requires a context to be established
    before it can be performed.  Timezones and time windows, in
    particular, but perhaps other similar things someday.  In
    order to share this code, introduce pmGetContextOptions to
    the common option parsing APIs encapsulating this, and also
    cleaning up some aspects that were problematic before (time
    window parsing in particular, is now delayed to a much more
    appropriate point).

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: getopts (done, merge pending), Nathan Scott <=