[#12607] 更新 Allure 至公开的归档仓库
变更摘要
由于 Allure mod 仓库已归档导致测试失败,本 PR 将测试中获取该 mod 的链接替换为公开的归档版本。此归档仅用于运行测试,不包含任何资产且不再维护。
状态 Open · 目标 master ← patch-4
文件 1 · 代码变化 +2 / -2
类型 测试更新 · 依赖替换
主要变更
- 将
ModTestAllure中获取 Allure mod 的 URL 替换为公开的归档仓库链接 - 移除了跳过测试的
if(true) return;语句以恢复测试执行 - 更新了代码注释以说明使用的是 Allure 的归档版本
影响范围
- 自动化测试
- Mod 测试
可能影响
- 恢复 Allure mod 的 JSON 测试
- 确保测试环境可正常获取 mod 文件
以上影响分析根据 PR 描述及代码修改推断,不代表维护者正式结论。
重点文件
tests/src/test/java/ModTestAllure.java
修改 · +2 / -2
- 移除了直接返回以跳过测试的
if(true) return;语句。 - 将
grabMod的 URL 参数更改为https://github.com/JasonP01/AllureMod/archive/6781eec0838e114f1de1ce572ebbe5790943cfaa.zip。 - 更新了注释,标明当前使用的是 Allure 的归档版本。
作者说明
由于 Allure mod 已被归档,目前缺乏良好的 JSON 测试。本 PR 将获取链接替换为 Allure 转为私有前的“归档”版本。已获得 LixieWulf 的许可,并已向 Anuken 发送仓库协作者邀请以便其自行处理。
image
此归档仅用于使测试能够运行,我不会对其进行维护,任何人也不应尝试游玩此 mod,因为应要求已移除其所有资产。有关更多信息,请查看仓库 https://github.com/JasonP01/AllureMod 的 README.md。
GitHub 原文
Since the Allure mod has been archived, there is no good json test. This replaces the fetch with an "archived" version of allure before it went private. Permission to do this has been gotten from LixieWulf, and an invite as collaborator to the repository has been given to Anuken for him to do as he wishes image
This archive is solely so the test can run, i will not be maintaining it, and nobody should attempt to play this mod as it has been removed of all assets as per request. Check the repo https://github.com/JasonP01/AllureMod README.md for slightly more information regarding that
由 MDT GitHub 同步机器人自动同步。中文翻译、摘要及代码影响分析由 AI 生成,仅供参考。