<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-openembedded.git/meta-python/recipes-devtools/python/python3-cmd2_2.1.2.bb, branch mickledore-net</title>
<subtitle>Mirror of git.openembedded.org/meta-openembedded</subtitle>
<id>https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=mickledore-net</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=mickledore-net'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/'/>
<updated>2021-09-28T16:15:08+00:00</updated>
<entry>
<title>python3-cmd2: upgrade 2.1.2 -&gt; 2.2.0</title>
<updated>2021-09-28T16:15:08+00:00</updated>
<author>
<name>zhengruoqin</name>
<email>zhengrq.fnst@fujitsu.com</email>
</author>
<published>2021-09-27T18:18:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=6cdaf5cc0681530eebc6405199e0aef0b33131a3'/>
<id>urn:sha1:6cdaf5cc0681530eebc6405199e0aef0b33131a3</id>
<content type='text'>
* Bug Fixes
  * Fixed extra space appended to each alias by "alias list" command
* Enhancements
  * New function `set_default_ap_completer_type()` allows developer to extend and modify the
    behavior of `ArgparseCompleter`.
  * Added `ArgumentParser.get_ap_completer_type()` and `ArgumentParser.set_ap_completer_type()`. These
    methods allow developers to enable custom tab completion behavior for a given parser by using a custom
    `ArgparseCompleter`-based class.
  * Added `ap_completer_type` keyword arg to `Cmd2ArgumentParser.__init__()` which saves a call
    to `set_ap_completer_type()`. This keyword will also work with `add_parser()` when creating subcommands
    if the base command's parser is a `Cmd2ArgumentParser`.
  * New function `register_argparse_argument_parameter()` allows developers to specify custom
    parameters to be passed to the argparse parser's `add_argument()` method. These parameters will
    become accessible in the resulting argparse Action object when modifying `ArgparseCompleter` behavior.
  * Using `SimpleTable` in the output for the following commands to improve appearance.
    * help
    * set (command and tab completion of Settables)
    * alias tab completion
    * macro tab completion
  * Tab completion of `CompletionItems` now includes divider row comprised of `Cmd.ruler` character.
  * Removed `--verbose` flag from set command since descriptions always show now.
  * All cmd2 built-in commands now populate `self.last_result`.
  * Argparse tab completer will complete remaining flag names if there are no more positionals to complete.
  * Updated `async_alert()` to account for `self.prompt` not matching Readline's current prompt.
* Deletions (potentially breaking changes)
  * Deleted ``set_choices_provider()`` and ``set_completer()`` which were deprecated in 2.1.2

Signed-off-by: Zheng Ruoqin &lt;zhengrq.fnst@fujitsu.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Trevor Gamblin &lt;trevor.gamblin@windriver.com&gt;
</content>
</entry>
<entry>
<title>Convert to new override syntax</title>
<updated>2021-08-03T17:21:25+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>Martin.Jansa@gmail.com</email>
</author>
<published>2021-07-29T15:04:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=c61dc077bbd81260e4f167fa2251643ba0ba6974'/>
<id>urn:sha1:c61dc077bbd81260e4f167fa2251643ba0ba6974</id>
<content type='text'>
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3-cmd2: Upgrade 2.1.1 -&gt; 2.1.2</title>
<updated>2021-07-08T16:17:50+00:00</updated>
<author>
<name>Leon Anavi</name>
<email>leon.anavi@konsulko.com</email>
</author>
<published>2021-07-07T13:09:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=4c35a3276e1ec66c6d0ae2e2b4f034a435eb0b66'/>
<id>urn:sha1:4c35a3276e1ec66c6d0ae2e2b4f034a435eb0b66</id>
<content type='text'>
Upgrade to release 2.1.2:

- Added the following accessor methods for cmd2-specific
  attributes to the argparse.Action class:
  * get_choices_callable()
  * set_choices_provider()
  * set_completer()
  * get_descriptive_header()
  * set_descriptive_header()
  * get_nargs_range()
  * set_nargs_range()
  * get_suppress_tab_hint()
  * set_suppress_tab_hint()
- Now that set_choices_provider() and set_completer() have been
  added as methods to the argparse.Action class, the standalone
  functions of the same name will be removed in version 2.2.0.
  To update to the new convention, do the following:
  * Change set_choices_provider(action, provider) to
    action.set_choices_provider(provider)
  * Change set_completer(action, completer) to
    action.set_completer(completer)

License-Update: Update years

Signed-off-by: Leon Anavi &lt;leon.anavi@konsulko.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Trevor Gamblin &lt;trevor.gamblin@windriver.com&gt;
</content>
</entry>
</feed>
