Hello community, here is the log from the commit of package xonsh for openSUSE:Factory checked in at 2018-11-08 09:48:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xonsh (Old) and /work/SRC/openSUSE:Factory/.xonsh.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xonsh" Thu Nov 8 09:48:30 2018 rev:10 rq:646484 version:0.8.1 Changes: -------- --- /work/SRC/openSUSE:Factory/xonsh/xonsh.changes 2018-09-24 13:13:30.929680288 +0200 +++ /work/SRC/openSUSE:Factory/.xonsh.new/xonsh.changes 2018-11-08 09:48:36.109091940 +0100 @@ -1,0 +2,172 @@ +Mon Nov 5 18:08:28 UTC 2018 - Matej Cepl <mc...@suse.com> + +- changelog.sh is an internal script for generating changelog. + +------------------------------------------------------------------- +Sun Oct 21 08:48:16 UTC 2018 - Sebastian Wagner <sebix+novell....@sebix.at> + +- update to version 0.8.1 + - Added: + - ``SubprocSpec`` has a new ``pipeline_index`` integer attribute that indicates + the commands position in a pipeline. For example, in + .. code-block:: sh + p = ![ls -l | grep x] + The ``ls`` command would have a pipeline index of 0 + (``p.specs[0].pipeline_index == 0``) and ``grep`` would have a pipeline index + of 1 (``p.specs[1].pipeline_index == 1``). This may be usefule in callable + alaises which recieve the spec as an argument. + - Changed: + - Removed ``fish`` from list of supported foreign shells in the wizard. + - Circle CI config updated to use a pinned version of ``black`` (18.9b0) + - Pytest plugin now uses ``xonsh.main.setup()`` to setup test environment. + - Linux platform discovery will no longer use ``platform.linux_distribution()`` + on Python >=3.6.6. due to pending deprecation warning. + - Updated Linux Guide as Xonsh is now available in Arch Linux official repositories. + - Fixed: + - Builtin dynamic proxies and deprecation warning proxies were not deleting + attributes and items properly. + - Fixed stdout/sdterr writing infinite recurssion error that would occur in + long pipelines of callable aliases. + - Fixed a bug which under very rare conditions could cause the shell + to die with PermissionError exception while sending SIGSTOP signal + to a child process. + - Fixed further raw string deprecation warnings thoughout the code base. +- update to version 0.8.0 + - Added: + - Windows CI jobs on Azure Pipelines + - The ``cryptop`` command will no longer have its output captured + by default. + - Added new env-var ``PTK_STYLE_OVERRIDES``. The variable is + a dictionary containing custom prompt_toolkit style definitions. + For instance:: + $PTK_STYLE_OVERRIDES['completion-menu'] = 'bg:#333333 #EEEEEE' + will provide for more visually pleasing completion menu style whereas:: + $PTK_STYLE_OVERRIDES['bottom-toolbar'] = 'noreverse' + will prevent prompt_toolkit from inverting the bottom toolbar colors + (useful for powerline extension users) + Note: This only works with prompt_toolkit 2 prompter. + - Changed: + - All ``__xonsh_*__`` builtins have been migrated to a ``XonshSession`` instance at + ``__xonsh__``. E.g. ``__xonsh_env__`` is now ``__xonsh__.env``. + - Other xonsh-specific builtins (such as ``XonshError``) have been proxied to + the ``__xonsh__`` session object as well. + - Deprecated: + - All ``__xonsh_*__`` builtins are deprected. Instead, the corresponding + ``__xonsh__.*`` accessor should be used. The existing ``__xonsh_*__`` accessors + still work, but issue annoying warnings. + - Fixed: + - Fixed deprecation warnings from unallowed escape sequences as well as importing abstract base classes directly from ``collections`` + - Fix for string index error in stripped prefix + - bash_completions to include special characters in lprefix + Previously, glob expansion characters would not be included in lprefix for replacement + .. code-block:: sh + $ touch /tmp/abc + $ python + >>> from bash_completion import bash_completions + >>> + >>> def get_completions(line): + ... split = line.split() + ... if len(split) > 1 and not line.endswith(' '): + ... prefix = split[-1] + ... begidx = len(line.rsplit(prefix)[0]) + ... else: + ... prefix = '' + ... begidx = len(line) + ... endidx = len(line) + ... return bash_completions(prefix, line, begidx, endidx) + ... + >>> get_completions('ls /tmp/a*') + ({'/tmp/abc '}, 0) + Now, lprefix begins at the first special character: + .. code-block:: sh + $ python + >>> from bash_completion import bash_completions + >>> + >>> def get_completions(line): + ... split = line.split() + ... if len(split) > 1 and not line.endswith(' '): + ... prefix = split[-1] + ... begidx = len(line.rsplit(prefix)[0]) + ... else: + ... prefix = '' + ... begidx = len(line) + ... endidx = len(line) + ... return bash_completions(prefix, line, begidx, endidx) + ... + >>> get_completions('ls /tmp/a*') + ({'/tmp/abc '}, 7) + - The ``xonsh.main.setup()`` function now correctly passes the + ``shell_type`` argument to the shell instance. + - try_subproc_toks now works for subprocs with trailing and leading whitespace + Previously, non-greedy wrapping of commands would fail if they had leading and trailing whitespace: + .. code-block:: sh + $ true && false || echo a + xonsh: For full traceback set: $XONSH_SHOW_TRACEBACK = True + NameError: name 'false' is not defined + $ echo; echo && echo a + xonsh: For full traceback set: $XONSH_SHOW_TRACEBACK = True + NameError: name 'echo' is not defined + Now, the commands are parsed as expected: + .. code-block:: sh + $ true && false || echo a + a + $ echo; echo && echo a + a + +------------------------------------------------------------------- +Wed Sep 26 20:15:36 UTC 2018 - Sebastian Wagner <sebix+novell....@sebix.at> + +- update to version 0.7.10 + - Added: + - 'off' can be passed as falsy value to all flags accepting boolean argument. + - DragonFly BSD support + - Format strings (f-strings) now allow environment variables to be looked up. + For example, ``f"{$HOME}"`` will yield ``"/home/user"``. Note that this will + look up and fill in the ``detype()``-ed version of the environment variable, + i.e. it's native string representation. + - Changed: + - Running ``aurman`` command will now be predicted to be unthreaded by default. + - Fixed: + - The xonsh ``xonfig wizard`` would crash if an unknown foreign shell was + provided. This has been fixed. + - The ``hg split`` command will now predict as unthreadable. + - Fixed path completer crash on attempted f-string completion +- update to version 0.7.9 + - Added: + - The python-mode ``@(expr)`` syntax may now be used inside of subprocess + arguments, not just as a stand-alone argument. For example: + .. code-block:: sh + $ x = 'hello' + $ echo /path/to/@(x) + /path/to/hello + This syntax will even properly expand to the outer product if the ``expr`` + is a list (or other non-string iterable) of values: + .. code-block:: sh + $ echo /path/to/@(['hello', 'world']) + /path/to/hello /path/to/world + $ echo @(['a', 'b']):@('x', 'y') + a:x a:y b:x b:y + Previously this was not possible. + - New ``$DOTGLOB`` environment variable enables globs to match + "hidden" files which start with a literal ``.``. Set this + variable to ``True`` to get this matching behavior. + Cooresponding API changes have been made to + ``xonsh.tools.globpath()`` and ``xonsh.tools.iglobpath()`` + - New environment variable ``$FOREIGN_ALIASES_SUPPRESS_SKIP_MESSAGE`` + enables the removal of skipping foreign alias messages. + - New ``--suppress-skip-message`` command line option for skipping + foreign alias messages when sourcing foreign shells. + - Fixed: + - In Bash completions, if there are no files to source, a ``set()`` will + no longer be inserted into the completion script. + - Fixed issue with TAB completion in readline not replacing values + with spaces properly when the prefix was unquoted. +- update to version 0.7.8 + - Added: + - ``xonsh.lib.collections.ChainDB``, a chain map which merges mergable fields + - Fixed: + - Pass all params to voxapi.create + - PTK tab-completion now auto-accepts completion if only one option is present + (note that fix is only for PTK2) + +------------------------------------------------------------------- Old: ---- 0.7.7.tar.gz New: ---- 0.8.1.tar.gz changelog.sh ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xonsh.spec ++++++ --- /var/tmp/diff_new_pack.dRk81w/_old 2018-11-08 09:48:36.649091304 +0100 +++ /var/tmp/diff_new_pack.dRk81w/_new 2018-11-08 09:48:36.649091304 +0100 @@ -17,13 +17,15 @@ Name: xonsh -Version: 0.7.7 +Version: 0.8.1 Release: 0 Summary: A general purpose, Python-ish shell License: BSD-3-Clause AND BSD-2-Clause Group: Development/Languages/Python Url: https://xonsh.org -Source: https://github.com/xonsh/xonsh/archive/%{version}.tar.gz +Source0: https://github.com/xonsh/xonsh/archive/%{version}.tar.gz +# Internal script for generating changelog +Source1: changelog.sh # SECTION docs BuildRequires: python3-Sphinx BuildRequires: python3-numpydoc ++++++ 0.7.7.tar.gz -> 0.8.1.tar.gz ++++++ ++++ 49066 lines of diff (skipped) ++++++ changelog.sh ++++++ #!/bin/bash xclip -o | sed -E 's/\*\*([A-Za-z]+:)\*\*/ - \1/' | sed -E 's/^ / /' | sed -E 's/^[-\*] (.*)$/ - \1/' | grep -v '^$' | sed -E 's/^v([0-9\.]+)$/- update to version \1/' | egrep -v '^=+$' | xclip -i