Skip to content

Add functions to retrieve operating system and driver pack records - #7

Merged
OSDeploy merged 3 commits into
mainfrom
core
Jun 26, 2026
Merged

Add functions to retrieve operating system and driver pack records#7
OSDeploy merged 3 commits into
mainfrom
core

Conversation

@OSDeploy

Copy link
Copy Markdown
Collaborator

Introduce functions to fetch operating system records and driver pack catalogs for various manufacturers, including Dell, HP, Lenovo, Panasonic, and Microsoft Surface. Update paths and references to align with the new core structure.

Copilot AI review requested due to automatic review settings June 26, 2026 07:07
@OSDeploy OSDeploy self-assigned this Jun 26, 2026
@OSDeploy
OSDeploy merged commit b40ee75 into main Jun 26, 2026
1 check passed
@OSDeploy
OSDeploy deleted the core branch June 26, 2026 07:07

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR introduces new “core” helper functions to retrieve operating system catalog records and manufacturer driver pack catalogs, while migrating driver pack assets from catalogs/driverpack/ to the new core/driverpacks/ structure and updating automation/workflows accordingly.

Changes:

  • Added core OS catalog ingestion/parsing (Get-CoreOperatingSystems, Get-OSDCloudCoreOperatingSystems) and a default OS selection helper (Get-OSDCloudDefaultOS).
  • Added/updated driver pack catalog retrieval for Dell/HP/Lenovo/Panasonic/Surface and a unified entry point (Get-CoreDriverPacks).
  • Updated module configuration and GitHub Actions workflows/prompts/docs to reflect the new core/driverpacks/ layout.

Reviewed changes

Copilot reviewed 11 out of 25 changed files in this pull request and generated no comments.

Show a summary per file
File Description
OSDCloud/private/Initialize-OSDCloudDeploy.ps1 Switches driver pack lookup to the new Get-CoreDriverPacks entry point.
OSDCloud/private/core/Get-OSDCloudDefaultOS.ps1 New helper to pick a default OS record based on architecture + language preference sources.
OSDCloud/private/core/Get-OSDCloudCoreOperatingSystems.ps1 New parser that converts “core” OS catalog records into normalized OS objects.
OSDCloud/private/core/Get-OSDCloudCatalogSurface.ps1 Updates Surface catalog pathing to use core/driverpacks/surface.json via module config.
OSDCloud/private/core/Get-OSDCloudCatalogPanasonic.ps1 New Panasonic catalog fetch/build function with online/offline fallback.
OSDCloud/private/core/Get-OSDCloudCatalogLenovo.ps1 New Lenovo catalog fetch/build function with online/offline fallback.
OSDCloud/private/core/Get-OSDCloudCatalogHP.ps1 New HP catalog fetch/build function (CAB download + expand + parse).
OSDCloud/private/core/Get-OSDCloudCatalogDell.ps1 New Dell catalog fetch/build function (CAB download + expand + parse).
OSDCloud/private/core/Get-CoreOperatingSystems.ps1 New enumerator that reads core/operatingsystems/*.xml into record objects.
OSDCloud/private/core/Get-CoreDriverPacks.ps1 Renames/standardizes driver pack selection and updates default catalog pathing.
OSDCloud/core/module.json Adds default and surface entries and migrates OEM catalog paths to core/driverpacks/*.
OSDCloud/core/driverpacks/surface.xml Adds a large Surface XML snapshot (currently appears unused vs docs/runtime).
OSDCloud/core/driverpacks/surface.json Adds/migrates Surface JSON catalog used by runtime enrichment.
OSDCloud/core/driverpacks/panasonic.json Adds/migrates Panasonic JSON catalog used for offline fallback.
OSDCloud/core/driverpacks/default.json Adds/migrates default driver pack catalog for ARM64/generic fallback.
.github/workflows/update-catalog-microsoft.yaml Updates the Surface catalog automation to target core/driverpacks/surface.json.
.github/workflows/update-catalog-lenovo.yaml Updates Lenovo catalog workflow paths to core/driverpacks/lenovo.xml.
.github/workflows/update-catalog-hp.yaml Updates HP catalog workflow paths to core/driverpacks/hp.xml.
.github/workflows/update-catalog-dell.yaml Updates Dell catalog workflow paths to core/driverpacks/dell.xml.
.github/prompts/osdcloud-update-driverpack-catalog.prompt.md Updates maintenance prompt instructions to reference surface.json + core/driverpacks/*.
.github/instructions/osdcloud-catalog-update.instructions.md Updates catalog update guidance to the new core/driverpacks/ layout.
.github/copilot-instructions.md Updates documented driver pack location to core/driverpacks/.

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