-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
135 lines (130 loc) · 7.64 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta charset="UTF-8">
<meta name="description" content="Nightly builds of Plasma Mobile, packages built for Alpine Linux/postmarketOS and device images">
<meta name="keywords" content="HTML, CSS, JavaScript">
<!-- Opengraph -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:title" content="Plasma Mobile Nightly on Alpine">
<meta property="og:site_name" content="Sineware ProLinux Distributions">
<meta property="og:url" content="https://sineware.ca/prolinux/plasma-mobile-nightly/">
<meta property="og:description" content="Nightly development builds of Plasma Mobile: packages built for Alpine Linux/postmarketOS and device images">
<meta property="og:type" content="article">
<meta property="og:image" content="https://sineware.ca/prolinux/plasma-mobile-nightly/plasma_mobile_nightly.png">
<title>Plasma Mobile Nightly on Alpine</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-iYQeCzEYFbKjA/T2uDLTpkwGzCiq6soy8tYaI1GyVh/UjpbCx/TYkiZhlZB6+fzT" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
code {
background-color: #f1f1f1;
border: 1px solid #ccc;
border-radius: 3px;
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
font-size: 90%;
margin: 0 2px;
padding: 0 5px;
}
</style>
</head>
<body>
<!--Centered card-->
<div class="container" style="margin-top: 1em">
<h1 class="display-6">Plasma Mobile Nightly on Alpine</h1>
<hr/>
<p class="card-text">Development builds of <a href="https://plasma-mobile.org/" class="text-black">Plasma Mobile</a> packages for Alpine Linux, built every night from git. Easily develop and test KDE packages on postmarketOS.</p>
<p class="card-text">Available as an Alpine Linux repository, and as pre-built postmarketOS images for the various devices (including the PinePhone).</p>
<div class="row" style="margin-top: 2%;">
<div class="col-sm-5">
<div class="card">
<div class="card-body">
<h3 class="card-title text-danger">Warning</h3>
<p class="card-text">These packages and images <strong>will be broken</strong>! These are not official builds, and Sineware provides this service for development and testing convenience.
<br /><br />Please, do not pester KDE/postmarketOS/etc devs when things break! Issues can be reported to our <a href="https://discord.com/invite/wUHKeEVh" target="_blank">discord</a> first.</p>
</div>
</div>
<br />
<div class="card">
<div class="card-body">
<h3>Build Status</h3>
<a href='https://update.sineware.ca/ci/job/plasma-mobile-nightly-alpine-aarch64/'><img src='https://update.sineware.ca/ci/buildStatus/icon?job=plasma-mobile-nightly-alpine-aarch64&subject=repo%20aarch64'></a>
<a href='https://update.sineware.ca/ci/job/plasma-mobile-nightly-alpine-x86_64/'><img src='https://update.sineware.ca/ci/buildStatus/icon?job=plasma-mobile-nightly-alpine-x86_64&subject=repo%20x86_64'></a>
<a href='https://update.sineware.ca/ci/job/plasma-mobile-nightly-images/'><img src='https://update.sineware.ca/ci/buildStatus/icon?job=plasma-mobile-nightly-images&subject=device%20images'></a>
</div>
</div>
<br />
<div class="card">
<div class="card-body">
<h5 class="card-title">Resources</h1>
<a href="https://github.com/Sineware/plasma-mobile-nightly" class="btn btn-primary"><i class="fa fa-git"></i> Build Script Git Repo</a>
<a href="https://update.sineware.ca/ci/" class="btn btn-primary"><i class="fa fa-wrench"></i> Build Server (Jenkins)</a>
</div>
</div>
</div>
<div class="col-sm-7">
<div class="card" style="height: 100%;">
<div class="card-body">
<h3 class="card-title">Downloads</h3>
<p class="card-text">
<p>Default Pin: 147147</p>
<div id="device-images">
<button class="btn btn-primary" type="button" disabled>
<span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
Loading latest device images...
</button>
<hr />
</div>
<h4>Other Devices</h4>
<p>
If you own a device that doesn't have an auto-generated image, it may still be supported by postmarketOS and its <code>pmbootstrap</code> utility.
<br />You can find a list of supported devices <a href="https://wiki.postmarketos.org/wiki/Devices" target="_blank">here</a>.
<br />Once installed, you can follow the instructions below to add the nightly repository.
</p>
<hr />
<h3 class="card-title">Alpine Repository</h3>
<a href="https://espi.sineware.ca/repo/alpine/prolinux-nightly/" class="text-black">Alpine Repository (aarch64, x86_64)</a>
<br /><a href="https://sineware.ca/prolinux/plasma-mobile-nightly/swadmin-632219ce.rsa.pub" class="text-black">Alpine Repository Key</a></p>
<h6><b>Converting an existing postmarketOS Install</b></h6>
<p>Add the repository URL to the <code>/etc/apk/repositories</code> file and the key to the <code>/etc/apk/keys</code> folder.</p>
<p>Then run <code>apk update && apk upgrade</code> and your installed packages will upgrade to the development builds.</p>
</div>
</div>
</div>
</div>
<br />
<hr />
<a href="https://sineware.ca/"><img src="https://sineware.ca/cloud-services-logo.png" class="img-fluid" style="width: 256px;" alt="Sineware Cloud Services Logo"></a>
<p>© 2022 Seshan Ravikumar</p>
<br />
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-u1OknCvxWvY5kfmNBILK2hRnQC3Pr17a+RTT6rIHI7NnikvbZlHgTPOOmMi466C8" crossorigin="anonymous"></script>
<script defer>
async function loadDeviceImages() {
let response = await fetch('https://espi.sineware.ca/json/images/plasma-mobile-nightly/images/');
let data = await response.json();
console.log(data);
// Parse JSON and add buttons
let html = "";
for (let i = 0; i < data.length; i++) {
let item = data[i];
if(item.name.includes("sha256"))
continue;
if (item.type == "file") {
let name = item.name;
let size = item.size;
let mtime = item.mtime;
let url = "https://espi.sineware.ca/images/plasma-mobile-nightly/images/" + name;
let sha256 = url + ".sha256";
html += "<a href='" + url + "' class='btn btn-dark'><i class='fa fa-download'></i> " + name + "</a><br/><br/><a href='" + sha256 + "' class='btn btn-dark'><i class='fa fa-key'></i> SHA256</a><hr />";
}
}
if(html == "") {
html = "<p>No device images found. A build may be running, come back later!</p><hr />";
}
document.getElementById("device-images").innerHTML = html;
}
loadDeviceImages();
</script>
</body>
</html>