ITADN

feat: Provide help tips for decompress error issues

#62Pull Requestz-Fng 创建于 2025-10-11
Z
z-Fngcommented
### Motivation and Context > ~~Updating extraction dependencies before installing an app is a feature that has not yet been implemented in Scoop.~~ Most extraction errors reported by users can usually be resolved by simply providing [some helpful tips](https://github.com/ScoopInstaller/Scoop/issues/6378). However, maintainers must repeatedly guide users through the same steps. Delays in responses prevent users from resolving their issues, resulting in a growing backlog of open reports. ### Description #### Major This PR implements a feature to provide help tips for decompression error issues: - If one or more specific extraction tool names (7zip|msi|innounp|dark) are mentioned in the issue description, related help tips will be added in comment. (A simple implementation, which may need further refinement later.) - None of the specificextraction tool names are mentioned in the issue description, all help tips will be added in comment #### Minor - Update README.md to document this feature; remove extra brackets/whitespace. - Remove unused issue type entry: `extract_dir`. ### Related Issues - https://github.com/ScoopInstaller/Scoop/issues/6378 The fact that this issue has been mentioned so many times speaks for itself. - https://github.com/ScoopInstaller/Extras/issues/16053 - https://github.com/ScoopInstaller/Extras/issues/16149 - https://github.com/ScoopInstaller/Extras/issues/16195 - https://github.com/ScoopInstaller/Extras/issues/16151 - https://github.com/ScoopInstaller/Extras/issues/16057 - https://github.com/ScoopInstaller/Extras/issues/16345 - https://github.com/ScoopInstaller/Extras/issues/16397 - https://github.com/ScoopInstaller/Main/issues/7281 ### Test Cases - This feature works: - https://github.com/z-Fng/scoop-games/issues/6 (Tested by updating the issue title and description.) - The original functionality works well: - https://github.com/z-Fng/scoop-games/issues/7 - https://github.com/z-Fng/scoop-games/issues/8 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Clarified PR validation trigger wording. * Fixed validator overview heading and list formatting; added items for autoupdate status and hash extraction completion. * Added a "Decompression/Extraction error" subsection with a decision flow for guidance. * **New Features** * Extraction-error guidance now shows tool-specific help when a known extractor is referenced, or full extraction guidance when none is mentioned. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
合并状态:未合并 5 条评论