This commit is contained in:
parent
8b0df4b355
commit
3a5695d5e8
30
add-tag.py
30
add-tag.py
|
@ -61,23 +61,23 @@ for i in data:
|
||||||
if k == "i386":
|
if k == "i386":
|
||||||
tagList.append("exagear")
|
tagList.append("exagear")
|
||||||
tagList.append(["box86", "binfmt"])
|
tagList.append(["box86", "binfmt"])
|
||||||
tagList.append(["lat", "i386", "binfmt"])
|
tagList.append(["lat", "lat-i386", "binfmt"])
|
||||||
tagList.append(["qemu-user", "i386", "binfmt"])
|
tagList.append(["qemu-user", "qemu-user-i386", "binfmt"])
|
||||||
if k == "amd64":
|
if k == "amd64":
|
||||||
tagList.append("exagear")
|
tagList.append("exagear")
|
||||||
tagList.append(["box64", "binfmt"])
|
tagList.append(["box64", "binfmt", "!loong64-kernel-8k-pagesize", "!loong64-kernel-16k-pagesize", "!loong64-kernel-32k-pagesize", "!loong64-kernel-64k-pagesize"])
|
||||||
tagList.append(["lat", "amd64", "binfmt"])
|
tagList.append(["lat", "lat-amd64", "binfmt"])
|
||||||
tagList.append(["qemu-user", "amd64", "binfmt"])
|
tagList.append(["qemu-user", "qemu-user-amd64", "binfmt"])
|
||||||
if k == "x86_64":
|
if k == "x86_64":
|
||||||
tagList.append("exagear")
|
tagList.append("exagear")
|
||||||
tagList.append(["box86", "box64", "binfmt"])
|
tagList.append(["box86", "box64", "binfmt", "!loong64-kernel-8k-pagesize", "!loong64-kernel-16k-pagesize", "!loong64-kernel-32k-pagesize", "!loong64-kernel-64k-pagesize"])
|
||||||
tagList.append(["lat", "i386", "amd64", "binfmt"])
|
tagList.append(["lat", "lat-i386", "lat-amd64", "binfmt"])
|
||||||
tagList.append(["qemu-user", "i386", "amd64", "binfmt"])
|
tagList.append(["qemu-user", "qemu-user-i386", "qemu-user-amd64", "binfmt"])
|
||||||
if "wow64" in i[0]:
|
if "wow64" in i[0] or "deepin-wine8-stable" in i[0]:
|
||||||
tagList.append("exagear")
|
tagList.append("exagear")
|
||||||
tagList.append(["box86", "box64", "binfmt"])
|
tagList.append(["box64", "!loong64-kernel-8k-pagesize", "!loong64-kernel-16k-pagesize", "!loong64-kernel-32k-pagesize", "!loong64-kernel-64k-pagesize"])
|
||||||
tagList.append(["lat", "i386", "amd64", "binfmt"])
|
tagList.append(["lat", "lat-amd64", "binfmt"])
|
||||||
tagList.append(["qemu-user", "i386", "amd64", "binfmt"])
|
tagList.append(["qemu-user", "qemu-user-amd64", "binfmt"])
|
||||||
if (not isSearch):
|
if (not isSearch):
|
||||||
tagList = []
|
tagList = []
|
||||||
allTag = ["x86_64"]
|
allTag = ["x86_64"]
|
||||||
|
@ -86,9 +86,9 @@ for i in data:
|
||||||
allTag.append(d)
|
allTag.append(d)
|
||||||
tagList = [allTag]
|
tagList = [allTag]
|
||||||
tagList.append("exagear")
|
tagList.append("exagear")
|
||||||
tagList.append(["box86", "box64", "binfmt"])
|
tagList.append(["box86", "box64", "binfmt", "!loong64-kernel-8k-pagesize", "!loong64-kernel-16k-pagesize", "!loong64-kernel-32k-pagesize", "!loong64-kernel-64k-pagesize"])
|
||||||
tagList.append(["lat", "i386", "amd64", "binfmt"])
|
tagList.append(["lat", "lat-i386", "lat-amd64", "binfmt"])
|
||||||
tagList.append(["qemu-user", "i386", "amd64", "binfmt"])
|
tagList.append(["qemu-user", "qemu-user-i386", "qemu-user-amd64", "binfmt"])
|
||||||
newList.append([i[0], i[1], tagList])
|
newList.append([i[0], i[1], tagList])
|
||||||
jsonStr = json.dumps(newList, ensure_ascii=False, indent=4)
|
jsonStr = json.dumps(newList, ensure_ascii=False, indent=4)
|
||||||
#print(jsonStr)
|
#print(jsonStr)
|
||||||
|
|
|
@ -46,8 +46,7 @@
|
||||||
],
|
],
|
||||||
"exagear",
|
"exagear",
|
||||||
[
|
[
|
||||||
"box64",
|
"box64"
|
||||||
"binfmt"
|
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"lat",
|
"lat",
|
||||||
|
@ -191,8 +190,7 @@
|
||||||
],
|
],
|
||||||
"exagear",
|
"exagear",
|
||||||
[
|
[
|
||||||
"box64",
|
"box64"
|
||||||
"binfmt"
|
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"lat",
|
"lat",
|
||||||
|
|
Loading…
Reference in New Issue