1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-27 02:16:12 +01:00
github.com_openSUSE_osc/osc
Dr. Peter Poeml fc6eaf68da - update cmdln.py to planned 1.0 version. The main changes are
related to points that were raised during employment in osc:

  # v0.8.3
  - Fix a bug where errors with passing an incorrect number of args to
    functions in do_foo() implementations would be masked.
  
  # v1.0.0
  - [backward incompat] `Cmdln.main()` no longer takes an `optparser`
    argument. Top-level option parsing has been changed so that top-level
    options for a `Cmdln` subclass can more naturally be defined and
    handled on the class definition. Changes:
    - `Cmdln.main()` calls `self.get_optparser` to get an option handler.
      Subclasses should overload this method for custom top-level options.
    - After option parsing, but before sub-command handling, the
      `self.postoptparse()` hook is called.
  - Add a `version` attribute on `Cmdln` subclasses. If set, the default
    top-level option parser will have a `--version` attribute.
  - [backward incompat] Simplify the StopProcessing/opts.stop handling for
    option handling in subcommands. The "opts" argument to "do_*"
    sub-command functions will no longer have a "stop" value.
    StopProcessing is now called StopOptionProcessing. This shouldn't
    affect simple usage of cmdln.py.
  
- adjust osc.commandline for these changes.
2007-05-16 10:55:05 +00:00
..
__init__.py fix osc/__init__.py to contain new modules 2006-07-17 13:15:21 +00:00
build.py osc build: add --userootforbuild option 2007-05-14 08:29:50 +00:00
cmdln.py - update cmdln.py to planned 1.0 version. The main changes are 2007-05-16 10:55:05 +00:00
commandline.py - update cmdln.py to planned 1.0 version. The main changes are 2007-05-16 10:55:05 +00:00
conf.py - don't need config['pass'] anymore 2007-05-10 14:29:04 +00:00
core.py rebuildpac: fix mistyped repository parameter 2007-05-14 10:13:47 +00:00
fetch.py improve key import instructions after suggestion by Michael Wolf 2007-05-02 19:17:10 +00:00
meter.py fix the download progress meter to be small enough to work with terminals 80 characters wide [#266989] 2007-04-24 21:10:01 +00:00