Files
2025-07-23 20:41:13 +08:00

28 lines
720 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 测试项1 - repodata 检查
## 脚本简介
本脚本用于批量测试每周更新仓库的repodata是否正常。
## 使用方法
python3 repo_rpmlist_check_all.py
## 输入
repo_configs1
1.每周仓库测试仓库地址 一般情况下不需要变更,可直接检查所有更新仓库;
2.可修改reo_config1中仓库为待其他测试仓库地址
3.需注意仓库地址链接(eg:8U8)与其他仓库地址链接不一致;
## 输出文件
完整日志repo_rpmlist_check_results.log
失败记录repo_rpmlist_check_fail.log
## 脚本流程说明
脚本通过获取repodata内的数据库文件得到rpmlist 与网页解析获得rpmlist进行对比
内网python3 环境,即可运行;