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

boulder/draft: Default to autotools on unhandled build system #396

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

joebonrichie
Copy link
Contributor

This will most likely be the closest match, plus we write out the recipe file unconditionally then much to deangst to our packagers.

@joebonrichie joebonrichie force-pushed the write-the-yaml-file-out-damnit branch from bc3b5ba to e411f51 Compare January 7, 2025 00:35
This will most likely be the closest match, plus we write out the recipe
file unconditionally then much to deangst to our packagers.
@joebonrichie joebonrichie force-pushed the write-the-yaml-file-out-damnit branch from e411f51 to 36d095f Compare January 7, 2025 00:38
Comment on lines +58 to +64
let build_system = build.detected_system.unwrap_or_else(|| {
println!(
"{} | Unhandled build system! - Defaulting to autotools",
"Warning".yellow()
);
build::System::Autotools
});
Copy link
Collaborator

Choose a reason for hiding this comment

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

I see you're "logging" like this in a consistent format across various PRs.

We should really use log / some logging library like env_logger / fern / etc, and do this properly so they can be filtered out if need be. Then we can have some moss::logging module with some helpers to produce standardized log messages throughout the codebase

@ikeycode
Copy link
Member

ikeycode commented Jan 9, 2025

For now I'll merge as its definitely necessary and I can't blame lack of logging on anyone but me :D

@ikeycode ikeycode merged commit 614179e into main Jan 9, 2025
2 checks passed
@ikeycode ikeycode deleted the write-the-yaml-file-out-damnit branch January 9, 2025 02:33
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.

3 participants