ci: handle add device automatically (#157)

This commit is contained in:
Ylarod
2023-01-30 19:41:46 +08:00
committed by GitHub
parent 25a4c2930a
commit 40960f60f8
8 changed files with 192 additions and 88 deletions

View File

@@ -9,7 +9,7 @@ This page is only for you to find the source code corresponding to your device,
:::
<script setup>
import data from '../repos'
import data from '../repos.json'
</script>
<table>

View File

@@ -1,84 +0,0 @@
const repos = [
{
maintainer: 'SpectreDev-007',
maintainer_link: 'https://github.com/SpectreDev-007',
kernel_name: 'kernel_sony_sm8250',
kernel_link: 'https://github.com/XperiaBrickers/kernel_sony_sm8250',
devices: 'Sony sm8250 device'
},
{
maintainer: 'akash07k',
maintainer_link: 'https://github.com/akash07k',
kernel_name: 'nexus_kernel_xiaomi_sm8250',
kernel_link: 'https://github.com/akash07k/nexus_kernel_xiaomi_sm8250/tree/lychee',
devices: 'Poco F4: munch'
},
{
maintainer: 'HMTheBoy154',
maintainer_link: 'https://github.com/hmtheboy154',
kernel_name: 'Darkmatter-kernel',
kernel_link: 'https://github.com/hmtheboy154/Darkmatter-kernel',
devices: 'Generic x86_64 devices running Android-x86'
},
{
maintainer: 'Asuka-mio',
maintainer_link: 'https://github.com/asuka-mio',
kernel_name: 'android_kernel_xiaomi_cas',
kernel_link: 'https://github.com/AcmeUI-Devices/android_kernel_xiaomi_cas',
devices: 'Mi 10 Ultra: cas'
},
{
maintainer: 'xiaoleGun',
maintainer_link: 'https://github.com/xiaoleGun',
kernel_name: 'Miku_kernel_xiaomi_wayne',
kernel_link: 'https://github.com/Diva-Room/Miku_kernel_xiaomi_wayne',
devices: 'wayne'
},
{
maintainer: 'YamazakuraH',
maintainer_link: 'https://github.com/YamazakuraH',
kernel_name: 'kernel_xiaomi_cepheus',
kernel_link: 'https://github.com/169163-Network/kernel_xiaomi_cepheus',
devices: 'cepheus for pixel experience'
},
{
maintainer: 'SakuraNotStupid',
maintainer_link: 'https://github.com/SakuraNotStupid',
kernel_name: 'android_kernel_xiaomi_sdm710',
kernel_link: 'https://github.com/SakuraNotStupid/android_kernel_xiaomi_sdm710',
devices: 'Xiaomi MI 8 SE(sirius)'
},
{
maintainer: 'Aquarius223(paper)',
maintainer_link: 'https://github.com/Aquarius223',
kernel_name: 'android_kernel_xiaomi_msm8998',
kernel_link: 'https://github.com/sticpaper/android_kernel_xiaomi_msm8998-ksu',
devices: 'MI 6 (sagit) and MIX 2 (chiron) for LineageOS'
},
{
maintainer: 'SlackerState',
maintainer_link: 'https://github.com/SlackerState',
kernel_name: 'android_kernel_xiaomi_sm6150',
kernel_link: 'https://github.com/SlackerState/android_kernel_xiaomi_sm6150',
devices: 'Redmi K30 4G (phoenix)'
},
{
maintainer: 'RooGhz720',
maintainer_link: 'https://github.com/RooGhz720',
kernel_name: 'Aghisna_Sweet_Kernel',
kernel_link: 'https://github.com/RooGhz720/Aghisna_Sweet_Kernel',
devices: 'REDMI NOTE 10 PRO (sweet)'
},
{
maintainer: 'OnlyTomInSecond',
maintainer_link: 'https://github.com/onlyTomInSecond/',
kernel_name: 'android_kernel_xiaomi_sdm845',
kernel_link: 'https://github.com/OnlyTomInSecond/android_kernel_xiaomi_sdm845',
device: 'Xiaomi 8 (dipper) for LineageOS',
},
];
export default repos;

79
website/docs/repos.json Normal file
View File

@@ -0,0 +1,79 @@
[
{
"maintainer": "SpectreDev-007",
"maintainer_link": "https://github.com/SpectreDev-007",
"kernel_name": "kernel_sony_sm8250",
"kernel_link": "https://github.com/XperiaBrickers/kernel_sony_sm8250",
"devices": "Sony sm8250 device"
},
{
"maintainer": "akash07k",
"maintainer_link": "https://github.com/akash07k",
"kernel_name": "nexus_kernel_xiaomi_sm8250",
"kernel_link": "https://github.com/akash07k/nexus_kernel_xiaomi_sm8250/tree/lychee",
"devices": "Poco F4: munch"
},
{
"maintainer": "HMTheBoy154",
"maintainer_link": "https://github.com/hmtheboy154",
"kernel_name": "Darkmatter-kernel",
"kernel_link": "https://github.com/hmtheboy154/Darkmatter-kernel",
"devices": "Generic x86_64 devices running Android-x86"
},
{
"maintainer": "Asuka-mio",
"maintainer_link": "https://github.com/asuka-mio",
"kernel_name": "android_kernel_xiaomi_cas",
"kernel_link": "https://github.com/AcmeUI-Devices/android_kernel_xiaomi_cas",
"devices": "Mi 10 Ultra: cas"
},
{
"maintainer": "xiaoleGun",
"maintainer_link": "https://github.com/xiaoleGun",
"kernel_name": "Miku_kernel_xiaomi_wayne",
"kernel_link": "https://github.com/Diva-Room/Miku_kernel_xiaomi_wayne",
"devices": "wayne"
},
{
"maintainer": "YamazakuraH",
"maintainer_link": "https://github.com/YamazakuraH",
"kernel_name": "kernel_xiaomi_cepheus",
"kernel_link": "https://github.com/169163-Network/kernel_xiaomi_cepheus",
"devices": "cepheus for pixel experience"
},
{
"maintainer": "SakuraNotStupid",
"maintainer_link": "https://github.com/SakuraNotStupid",
"kernel_name": "android_kernel_xiaomi_sdm710",
"kernel_link": "https://github.com/SakuraNotStupid/android_kernel_xiaomi_sdm710",
"devices": "MI8SE(sirius) for LineageOS"
},
{
"maintainer": "Aquarius223(paper)",
"maintainer_link": "https://github.com/Aquarius223",
"kernel_name": "android_kernel_xiaomi_msm8998",
"kernel_link": "https://github.com/sticpaper/android_kernel_xiaomi_msm8998-ksu",
"devices": "MI 6 (sagit) and MIX 2 (chiron) for LineageOS"
},
{
"maintainer": "SlackerState",
"maintainer_link": "https://github.com/SlackerState",
"kernel_name": "android_kernel_xiaomi_sm6150",
"kernel_link": "https://github.com/SlackerState/android_kernel_xiaomi_sm6150",
"devices": "Redmi K30 4G (phoenix)"
},
{
"maintainer": "RooGhz720",
"maintainer_link": "https://github.com/RooGhz720",
"kernel_name": "Aghisna_Sweet_Kernel",
"kernel_link": "https://github.com/RooGhz720/Aghisna_Sweet_Kernel",
"devices": "REDMI NOTE 10 PRO (sweet)"
},
{
"maintainer": "OnlyTomInSecond",
"maintainer_link": "https://github.com/onlyTomInSecond/",
"kernel_name": "android_kernel_xiaomi_sdm845",
"kernel_link": "https://github.com/OnlyTomInSecond/android_kernel_xiaomi_sdm845",
"device": "Mi 8 (dipper) for LOS"
}
]

View File

@@ -11,7 +11,7 @@ Trang này chỉ để cho bạn tìm thấy source cho thiết bị của bạn
:::
<script setup>
import data from '../../repos'
import data from '../../repos.json'
</script>
<table>

View File

@@ -9,7 +9,7 @@
:::
<script setup>
import data from '../../repos'
import data from '../../repos.json'
</script>
<table>