Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: port certificate-generation condition script to Rust #259

Merged
merged 8 commits into from
Jan 23, 2025

Conversation

leon-xd
Copy link
Contributor

@leon-xd leon-xd commented Jan 9, 2025

Ported last Duckscript condition script to Rust

closes #93

@wmmc88 wmmc88 self-assigned this Jan 10, 2025
@wmmc88 wmmc88 requested review from Copilot and wmmc88 and removed request for Copilot January 10, 2025 23:57
Copy link

@Copilot 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.

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (2)

crates/wdk-build/src/cargo_make.rs:1041

  • The error message 'WDRLocalTestCert already in WDRTestCertStore. Skipping certificate generation.' could be more informative. Consider including more context about why the certificate generation is being skipped.
anyhow::anyhow!("WDRLocalTestCert already in WDRTestCertStore. Skipping certificate generation.")

crates/wdk-build/src/cargo_make.rs:1024

  • Ensure that the new behavior introduced in the generate_certificate_condition_script function is covered by tests.
pub fn generate_certificate_condition_script() -> anyhow::Result<()> {

crates/wdk-build/src/cargo_make.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@wmmc88 wmmc88 left a comment

Choose a reason for hiding this comment

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

some minor comments, but good to merge after

crates/wdk-build/src/cargo_make.rs Outdated Show resolved Hide resolved
crates/wdk-build/src/cargo_make.rs Outdated Show resolved Hide resolved
crates/wdk-build/src/cargo_make.rs Outdated Show resolved Hide resolved
crates/wdk-build/src/cargo_make.rs Outdated Show resolved Hide resolved
crates/wdk-build/src/cargo_make.rs Outdated Show resolved Hide resolved
crates/wdk-build/src/cargo_make.rs Outdated Show resolved Hide resolved
@leon-xd leon-xd requested a review from wmmc88 January 15, 2025 19:41
@leon-xd leon-xd requested a review from wmmc88 January 22, 2025 00:36
@leon-xd leon-xd added this pull request to the merge queue Jan 23, 2025
Merged via the queue into microsoft:main with commit 994e527 Jan 23, 2025
62 checks passed
@leon-xd leon-xd deleted the port-duckscript-to-rust branch January 23, 2025 03:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Port duckscript condition_script blocks to Rust
3 participants