Skip to content

Conversation

KatsuhiroWatanabe
Copy link
Contributor

Pull Request: Add Support for Offline Catalog Files in OSD Module

This update introduces support for using offline catalog files in the OSD environment, enhancing flexibility for scenarios where the default OSD module cache may not be suitable.

Background

Since mid-April, daily OSD module updates have included OS and DriverPack catalog files (JSON and XML) under the cache folder. These daily updates ensure access to the latest download information.

However, some users may require customized or alternative catalog files. To support this, the update allows placing user-defined catalog files in the USB\OSDCloud\Catalogs folder.

Key Features

  • Offline Catalog Support: Users can now override the default cache by placing their own catalog files in the Catalogs folder.
  • URL Validation: To prevent issues from outdated or invalid URLs in custom catalogs, a curl-based validation step has been added. This has proven effective in internal testing.
  • Non-Intrusive: This change does not affect normal operations unless the Catalogs folder is explicitly created.

Request

Please consider merging this enhancement into the master branch of the OSD project.

@OSDeploy OSDeploy self-assigned this Jun 4, 2025
@OSDeploy
Copy link
Owner

OSDeploy commented Jun 4, 2025

This will take some time to review ... probably not until July as I'll be at WPNinjasUK later this month. Thanks for contributing this work!

@KatsuhiroWatanabe
Copy link
Contributor Author

Thank you for the update, and I completely understand that the review will take some time — I hope WPNinjasUK goes well!

In the meantime, I'm happy to make any changes or improvements you might suggest once you're able to review. I'll also keep my branch in sync with the upstream repository, since I noticed it's updated frequently.

Thanks again for the opportunity to contribute!

Import offline catalog in Get-OSDCloudOperatingSystems.ps1 v2
….ps1

Fix Json Conversion error with OSD 25.6.10.1

Start-OSDCloudGUIDev may be able to display Kanji in indexNames
…/OSD into feature/support-offline-catalog"

This reverts commit f0ec679, reversing
changes made to 511f311.
…hub.com/KatsuhiroWatanabe/OSD into feature/support-offline-catalog"

This reverts commit 0121fb5, reversing
changes made to f0ec679.
@KatsuhiroWatanabe
Copy link
Contributor Author

I mixed up and broke my OSD fork. I will re-post my Pull Request again. Thanks.

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