Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information