Skip to content

Commit

Permalink
West v1.2.0
Browse files Browse the repository at this point in the history
Major changes:

- New 'west grep' command for running a "grep tool" in your west workspace's
  repositories. Currently, 'git grep', `ripgrep`, and standard 'grep' are
  supported grep tools.

  To run this command to get 'git grep foo' results from all cloned,
  active repositories, run:

     west grep foo

  For more details, run 'west help grep'.

Other changes:

- The manifest file format now supports a 'description' field in each
  'projects:' element.

- 'west list --format' now accepts '{description}' in the format
  string, which prints the project's 'description:' value.

- 'west compare' now always prints information about
  the manifest-rev branch

Bug fixes:

- 'west init' aborts if the destination directory already exists.

API changes:

- 'west.commands.WestCommand' methods 'check_call()' and
  'check_output()' now take any kwargs that can be passed on
  to the underlying subprocess function.

- 'west.commands.WestCommand.run_subprocess()': new wrapper
  around 'subprocess.run()'. This could not be named 'run()'
  because 'WestCommand' already had a method by this name.

- 'west.commands.WestCommand' methods 'dbg()', 'inf()',
  'wrn()', and 'err()' now all take an 'end' kwarg, which
  is passed on to the call to 'print()'.

- 'west.manifest.Project' now has a 'description' attribute,
  which contains the parsed value of the 'description:' field
  in the manifest data.

Signed-off-by: Martí Bolívar <mbolivar@amperecomputing.com>
  • Loading branch information
mbolivar-ampere committed Oct 6, 2023
1 parent 28d0209 commit abb5cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/west/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is the Python 3 version of option 3 in:
# https://packaging.python.org/guides/single-sourcing-package-version/#single-sourcing-the-version

__version__ = '1.2.0a1'
__version__ = '1.2.0'
#
# MAINTAINERS:
#
Expand Down

0 comments on commit abb5cec

Please sign in to comment.