Draft: GeneralUpdate.Drivelution component documentation#59
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
5bbfd5a to
86836de
Compare
There was a problem hiding this comment.
Pull request overview
This PR rewrites the GeneralUpdate.Drivelution documentation to reflect the current driver-update pipeline behavior across Windows, Linux, and macOS, and adds guidance for validation, backup/rollback, restart intent, logging, and batch/parallel processing.
Changes:
- Replaces the previous high-level/FAQ-heavy docs with a pipeline-oriented explanation (Validate/Backup/Install/Verify + rollback entry points).
- Adds detailed platform-difference sections (Windows INF + pnputil, Linux modules/packages, macOS kext/dext/pkg) and clarifies restart behavior responsibility.
- Expands guidance on batch/parallel updates and on controlling diagnostics via
GeneralTracer.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Drivelution.md | Updates the default (zh-Hans) Drivelution doc to a pipeline + platform-differences structure with examples. |
| website/i18n/en/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Drivelution.md | Updates the English translation to match the rewritten pipeline-focused documentation and examples. |
| website/docs/doc/GeneralUpdate.Drivelution.md | Updates the source docs page (default locale content) to the rewritten Drivelution documentation. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
||
| // 3. Define driver information | ||
| var driverInfo = new DriverInfo | ||
| var strategy = new UpdateStrategy |
Comment on lines
+289
to
+293
| var batch = await GeneralDrivelution.BatchUpdateAsync( | ||
| drivers, | ||
| strategy, | ||
| BatchMode.Parallel, | ||
| progress); |
|
|
||
| // 3. 定义驱动信息 | ||
| var driverInfo = new DriverInfo | ||
| var strategy = new UpdateStrategy |
Comment on lines
+289
to
+293
| var batch = await GeneralDrivelution.BatchUpdateAsync( | ||
| drivers, | ||
| strategy, | ||
| BatchMode.Parallel, | ||
| progress); |
| }; | ||
|
|
||
| // 4. Define update strategy | ||
| var strategy = new UpdateStrategy |
Comment on lines
+289
to
+293
| var batch = await GeneralDrivelution.BatchUpdateAsync( | ||
| drivers, | ||
| strategy, | ||
| BatchMode.Parallel, | ||
| progress); |
This was referenced Jun 3, 2026
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.
Refs #50
Summary
Validation