feat: add dvd+rw-format support for DVD RW erase#352
Conversation
1. Added new DVDRwFormatEngine class to handle DVD RW erasure using dvd+rw-tools 2. Modified control files to add dvd+rw-tools as a dependency 3. Updated DOpticalDiscManager to detect DVD±RW media and use new engine when available 4. Implemented progress parsing for dvd+rw-format's special output format 5. Added fallback to xorriso when dvd+rw-format is not available Log: Added support for DVD±RW erasure using dvd+rw-format tool Influence: 1. Test DVD+RW and DVD-RW erasure with dvd+rw-tools installed 2. Verify fallback to xorriso when dvd+rw-tools is missing 3. Check progress reporting during erase operations 4. Test with different DVD RW media types 5. Verify no regression in CD/DVD non-RW erase functionality feat: 添加对DVD RW擦除的dvd+rw-format支持 1. 新增DVDRwFormatEngine类用于通过dvd+rw-tools处理DVD RW擦除 2. 修改控制文件添加dvd+rw-tools作为依赖项 3. 更新DOpticalDiscManager以检测DVD±RW介质并在可用时使用新引擎 4. 实现针对dvd+rw-format特殊输出格式的进度解析 5. 添加当dvd+rw-format不可用时回退到xorriso的处理 Log: 新增使用dvd+rw-format工具进行DVD±RW擦除的支持 Influence: 1. 测试dvd+rw-tools安装时的DVD+RW和DVD-RW擦除功能 2. 验证dvd+rw-tools缺失时回退到xorriso的功能 3. 检查擦除过程中的进度报告 4. 使用不同类型的DVD RW介质进行测试 5. 验证普通CD/DVD非RW擦除功能无回归
There was a problem hiding this comment.
Sorry @Johnson-zs, you have reached your weekly rate limit of 500000 diff characters.
Please try again later or upgrade to continue using Sourcery
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Johnson-zs The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Warning
|
deepin pr auto review★ 总体评分:95分■ 【总体评价】
■ 【详细分析】
■ 【改进建议代码示例】 // 优化缓冲区截断逻辑,避免截断完整的进度字符串
while (proc.state() == QProcess::Running) {
proc.waitForReadyRead(pollInterval);
if (proc.bytesAvailable() > 0) {
buffer += proc.readAllStandardOutput();
parseProgress(buffer, totalPhases);
// 移除可能截断完整百分比字符串的截断逻辑
// 光盘擦除输出量极小,无需截断缓冲区
}
}
// 读取进程退出后管道中的剩余数据
if (proc.bytesAvailable() > 0) {
buffer += proc.readAllStandardOutput();
parseProgress(buffer, totalPhases);
} |
|
/forcemerge |
|
This pr force merged! (status: blocked) |
a18cf1a
into
linuxdeepin:release/snipe
dvd+rw-tools
when available
format
Log: Added support for DVD±RW erasure using dvd+rw-format tool
Influence:
feat: 添加对DVD RW擦除的dvd+rw-format支持
Log: 新增使用dvd+rw-format工具进行DVD±RW擦除的支持
Influence: