Warning: Error with navigation contributor "BrowserModule"

Changeset ferringb@gmail.com-20070119041641-1vpbga8n0eutcji6 in releases/pkgcore-checks/0.2


Ignore:
Timestamp:
01/19/07 04:16:41 (4 years ago)
Author:
Brian Harring <ferringb@…>
branch-nick:
test-runner
Message:

news updates, revert --describe-* to --list-*

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEWS

    rferringb@gmail.com-20070116021847-rqhf3ku7vk0mla0a rferringb@gmail.com-20070119041641-1vpbga8n0eutcji6  
    99  use pcheck. 
    1010* test suite added; not yet complete coverage, but 90% of the way there. 
    11 * --list-checks was renamed to --describe-checks, and the output format  
    12   changed to be less terse. 
     11* --list-checks output format is fair bit more human-readable now. 
    1312* better support for overlays (should work fine with appropriate commandline 
    1413  options supplied) 
     
    1615* new checks can be added via pkgcore 0.2 plugins cache. 
    1716* UI improvements; color, and human readable output. 
    18 * --xml option was dropped, use --reporter= 
     17* --xml option was dropped, use --reporter to specify the desired reporter, 
     18  and --list-reporters to see what reporters are available 
    1919* added --enable, --disable options to prune add/remove specific checks from 
    2020  the run. 
  • pkgcore_checks/pcheck.py

    rferringb@gmail.com-20070119034532-gba4ge6rczpqld83 rferringb@gmail.com-20070119041641-1vpbga8n0eutcji6  
    9696            help='Specify the configuration suite to use') 
    9797        self.add_option( 
    98             "--describe-checks", action="store_true", default=False, 
     98            "--list-checks", action="store_true", default=False, 
    9999            help="print what checks are available to run and exit") 
    100100        self.add_option( 
     
    102102            help="Use a non-default reporter (defined in pkgcore's config).") 
    103103        self.add_option( 
    104             '--describe-reporters', action='store_true', default=False, 
     104            '--list-reporters', action='store_true', default=False, 
    105105            help="print known reporters") 
    106106 
     
    130130        if values.describe_checks or values.describe_reporters: 
    131131            if values.describe_reporters == values.describe_checks: 
    132                 raise optparse.OptionValueError("--describe-checks and " 
    133                     "--describe-reporters are mutually exclusive options- " 
     132                raise optparse.OptionValueError("--list-checks and " 
     133                    "--list-reporters are mutually exclusive options- " 
    134134                    "one or the other.") 
    135135            return values, () 
     
    229229                if not func: 
    230230                    self.error("no reporter matches %r\n" 
    231                         "please see --describe-reporter for a list of " 
     231                        "please see --list-reporter for a list of " 
    232232                        "valid reporters" % values.reporter) 
    233233                elif len(func) > 1: 
Note: See TracChangeset for help on using the changeset viewer.