Add DragonFly BSD and illumos targets#17
Merged
Merged
Conversation
Add the OpenSpec change proposal, design, tasks, parity disposition, and spec deltas plus ADR 0012 capturing the decision to target DragonFly BSD and illumos as new supported platforms.
Add DragonFly BSD and illumos branches to the disks, memory, os, processors, and uptime resolvers, including an /etc/release parser for illumos OS identity, with table-driven tests for each platform.
Mark the supported facts for the new platforms in the schema, extend the schema test coverage, and teach the supportedfacts generator about DragonFly BSD and illumos.
Add per-platform supported-facts pages for DragonFly BSD and illumos, refresh the existing platform tables, and update the README, CONTEXT, CONTRIBUTING, CHANGELOG, and man page to list the new targets.
Add Makefile targets and release-gate scripts for DragonFly BSD and illumos, and wire the integration test workflow to exercise them.
… facts Resolve partition size/filesystem from illumos VTOC slices, report FreeBSD mounted-partition filesystem, and fill DragonFly interface facts from ifconfig plus illumos DHCP server lookups. Updates the schema and regenerated supported-fact pages to match.
Replace the local/asserted native gates with vmactions DragonFly BSD and OmniOS VM jobs that run the platform-sensitive packages and release-gate scripts. illumos coverage is OmniOS-only; Oracle Solaris stays out of scope.
Move the completed change into the dated archive and fold its deltas into the live specs.
DragonFly inherits FreeBSD's kenv smbios.* keys, so reuse the FreeBSD DMI builder and register dragonfly for the bios/manufacturer/product facts it emits. Fixes the TestSnapshotTree_includesStandardCoreRootFacts contract gate on the DragonFly VM, which had no dmi root fact.
Diagnostic only — capture what the DragonFly VM exposes so the dmi resolver can target the real source. Revert after.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds DragonFly BSD and illumos as new supported target platforms for
facts.Commits
/etc/releaseparser for illumos OS identity, with table-driven tests.supportedfactsgenerator about them.Testing
go build ./...go test ./internal/engine/ .— 1258 passed