Skip to content

Commit b1d1eaa

Browse files
committed
fix(eui-neo): 0.5.8 as a plain-string GLOBAL url — no CN mirror yet
The { GLOBAL, CN } pair pointed at a gitcode release that does not exist, and CI's mirror check probes every CN url. A plain string is exempt from that check (and falls back to upstream for CN users); the maintainer flips it to the pair when the mcpp-res mirror lands.
1 parent 96d9359 commit b1d1eaa

1 file changed

Lines changed: 9 additions & 11 deletions

File tree

pkgs/e/compat.eui-neo.lua

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,12 @@ package = {
124124
CN = "https://gitcode.com/mcpp-res/eui-neo/releases/download/0.5.7/eui-neo-0.5.7.tar.gz" },
125125
sha256 = "2d3ec0a36e34b98d13dbdaf67afa4fe178cb4b52841eb17529517cb48be43551",
126126
},
127-
-- 0.5.8 has no CN mirror yet either (never published to mcpp-res);
128-
-- same fallback as 0.5.7. Flip to a real mirror if it gets one —
129-
-- sha256 stays the same.
127+
-- 0.5.8 has no CN mirror yet (never published to mcpp-res), so it
128+
-- is a plain-string GLOBAL url — check_mirror_urls.lua exempts
129+
-- plain strings, and the maintainer flips it to { GLOBAL, CN }
130+
-- when the mirror lands. sha256 stays the same.
130131
["0.5.8"] = {
131-
url = { GLOBAL = "https://github.com/sudoevolve/EUI-NEO/archive/refs/tags/v0.5.8.tar.gz",
132-
CN = "https://gitcode.com/mcpp-res/eui-neo/releases/download/0.5.8/eui-neo-0.5.8.tar.gz" },
132+
url = "https://github.com/sudoevolve/EUI-NEO/archive/refs/tags/v0.5.8.tar.gz",
133133
sha256 = "004d46f34d986030b1351080b381bcc48053eb24ebbdf52602b78364f285cd38",
134134
},
135135
},
@@ -157,10 +157,9 @@ package = {
157157
CN = "https://gitcode.com/mcpp-res/eui-neo/releases/download/0.5.7/eui-neo-0.5.7.tar.gz" },
158158
sha256 = "2d3ec0a36e34b98d13dbdaf67afa4fe178cb4b52841eb17529517cb48be43551",
159159
},
160-
-- 0.5.8: see the linux block — no CN mirror yet, same fallback.
160+
-- 0.5.8: see the linux block — plain-string GLOBAL, no CN mirror.
161161
["0.5.8"] = {
162-
url = { GLOBAL = "https://github.com/sudoevolve/EUI-NEO/archive/refs/tags/v0.5.8.tar.gz",
163-
CN = "https://gitcode.com/mcpp-res/eui-neo/releases/download/0.5.8/eui-neo-0.5.8.tar.gz" },
162+
url = "https://github.com/sudoevolve/EUI-NEO/archive/refs/tags/v0.5.8.tar.gz",
164163
sha256 = "004d46f34d986030b1351080b381bcc48053eb24ebbdf52602b78364f285cd38",
165164
},
166165
},
@@ -188,10 +187,9 @@ package = {
188187
CN = "https://gitcode.com/mcpp-res/eui-neo/releases/download/0.5.7/eui-neo-0.5.7.tar.gz" },
189188
sha256 = "2d3ec0a36e34b98d13dbdaf67afa4fe178cb4b52841eb17529517cb48be43551",
190189
},
191-
-- 0.5.8: see the linux block — no CN mirror yet, same fallback.
190+
-- 0.5.8: see the linux block — plain-string GLOBAL, no CN mirror.
192191
["0.5.8"] = {
193-
url = { GLOBAL = "https://github.com/sudoevolve/EUI-NEO/archive/refs/tags/v0.5.8.tar.gz",
194-
CN = "https://gitcode.com/mcpp-res/eui-neo/releases/download/0.5.8/eui-neo-0.5.8.tar.gz" },
192+
url = "https://github.com/sudoevolve/EUI-NEO/archive/refs/tags/v0.5.8.tar.gz",
195193
sha256 = "004d46f34d986030b1351080b381bcc48053eb24ebbdf52602b78364f285cd38",
196194
},
197195
},

0 commit comments

Comments
 (0)