Skip to content

Release/v0.8.2#72

Open
tamada wants to merge 5 commits intomainfrom
release/v0.8.2
Open

Release/v0.8.2#72
tamada wants to merge 5 commits intomainfrom
release/v0.8.2

Conversation

@tamada
Copy link
Copy Markdown
Owner

@tamada tamada commented Oct 18, 2025

#71

tamada and others added 3 commits October 18, 2025 13:46
- Introduced new filter options in the CLI for including and excluding build tools and files.
- Updated README to reflect changes in usage syntax from `btmeister` to `btmeister-cli`.
- Enhanced the `BuildToolDefs` struct to support filtering based on user-defined criteria.
@tamada tamada added this to the v2.0.0 milestone Oct 18, 2025
@tamada tamada requested a review from Copilot October 18, 2025 14:11
@tamada tamada self-assigned this Oct 18, 2025
@tamada tamada added the enhancement New feature or request label Oct 18, 2025
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This is a version bump release from v0.7.4 to v0.8.2, updating version badges across documentation and adding new filtering capabilities to the btmeister CLI tool.

  • Updated version references from v0.7.4 to v0.8.2 in documentation and Docker configuration
  • Added comprehensive filtering options for build tool definitions (includes/excludes by tool name or build file name)
  • Modernized string formatting throughout the codebase using Rust's inline format syntax

Reviewed Changes

Copilot reviewed 17 out of 17 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
site/content/usage.md Updated Docker badge version reference
site/content/_index.md Updated version and Docker badges
lib/src/lib.rs Added Filter enum and modernized string formatting
lib/src/extractors/tar.rs Updated println! formatting
lib/src/defs.rs Added filtering functionality and helper functions
cli/src/main.rs Modernized string formatting and integrated new defs_builder module
cli/src/fmt/*.rs Updated string formatting across all formatter modules
cli/src/defs_builder.rs New module implementing filter construction logic
cli/src/cli.rs Added FilterOpts struct and updated CLI argument structure
README.md Updated version references and CLI usage documentation
Dockerfile Updated version argument
Cargo.toml Updated workspace version

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.


fn read_file_content(f: File) -> Vec<String> {
let r = BufReader::new(f).lines()
.filter_map(|s| Some(s.unwrap()))
Copy link

Copilot AI Oct 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using unwrap() on the Result from lines() will panic on I/O errors. Consider using filter_map(Result::ok) instead of filter_map(|s| Some(s.unwrap())).

Suggested change
.filter_map(|s| Some(s.unwrap()))
.filter_map(Result::ok)

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants