Skip to content

feat: support macOS in product - #473

Merged
jaypipes merged 1 commit into
jaypipes:mainfrom
mdevils:feat/support-macos-product
Aug 20, 2026
Merged

jaypipes merged 1 commit into
jaypipes:mainfrom
mdevils:feat/support-macos-product

Conversation

@mdevils

@mdevils mdevils commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Hello! Here's a quick implementation of product info source for macOS.

Signed-off-by: Marat Dulin <github-commit@maratd.com>
ctx := context.TODO()
ctx = context.WithValue(ctx, chrootKey, EnvOrDefaultChroot())
ctx = context.WithValue(ctx, toolsEnabledKey, EnvOrDefaultDisableTools())
ctx = context.WithValue(ctx, toolsEnabledKey, !EnvOrDefaultDisableTools())

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I guess this was a mistype or so in the current code. Logically enabled = !disabled.

@jaypipes jaypipes left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

@mdevils thank you so much for this! At first glance it looks awesome. I will do a thorough review later today or tomorrow. Thanks again! :)

@jaypipes jaypipes left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Awesome work. Can't see anything wrong with this at all. :) Thank you again @mdevils!

@jaypipes
jaypipes merged commit 063cf88 into jaypipes:main Aug 20, 2026
15 checks passed
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.

2 participants