diff --git a/src/main.rs b/src/main.rs
index 3a512a8..d8bd3b5 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -53,8 +53,10 @@ async fn main_inner() -> Result<()> {
)
.await?;
+ let notification_repo = format!("https://github.com/{github_owner}/{github_repo}");
+
let builder = build::background_builder(db.clone(), github_client);
- let server = web::webserver(db);
+ let server = web::webserver(db, notification_repo);
tokio::select! {
result = builder => {
diff --git a/src/notification.rs b/src/notification.rs
index 7d4c449..9eb5636 100644
--- a/src/notification.rs
+++ b/src/notification.rs
@@ -7,7 +7,24 @@ use crate::db::{Db, FullBuildInfo, NotificationIssue, NotificationStatus, Status
pub const TABLE_FILE: &str = file!();
pub const TABLE_LINE: u32 = line!() + 1;
-const TARGET_NOTIFICATIONS: &[(&str, &[&str])] = &[("armv7-sony-vita-newlibeabihf", &["pheki"])];
+const TARGET_NOTIFICATIONS: &[(&str, &[&str])] = &[
+ ("aarch64-unknown-linux-musl", &["Gelbpunkt", "famfo"]),
+ (
+ "aarch64_be-unknown-linux-musl",
+ &["Gelbpunkt", "neuschaefer"],
+ ),
+ ("aarch64_be-unknown-none-softfloat", &["Gelbpunkt"]),
+ ("armv7-sony-vita-newlibeabihf", &["pheki"]),
+ ("mips64-unknown-linux-muslabi64", &["Gelbpunkt"]),
+ (
+ "powerpc64-unknown-linux-musl",
+ &["Gelbpunkt", "famfo", "neuschaefer"],
+ ),
+ (
+ "powerpc64le-unknown-linux-musl",
+ &["Gelbpunkt", "famfo", "neuschaefer"],
+ ),
+];
pub fn notification_pr_url() -> String {
format!("https://github.com/Noratrieb/does-it-build/blob/main/{TABLE_FILE}#L{TABLE_LINE}")
diff --git a/src/web.rs b/src/web.rs
index fdb5f37..a667a51 100644
--- a/src/web.rs
+++ b/src/web.rs
@@ -19,9 +19,10 @@ use crate::{
#[derive(Clone)]
pub struct AppState {
pub db: Db,
+ notification_repo: String,
}
-pub async fn webserver(db: Db) -> Result<()> {
+pub async fn webserver(db: Db, notification_repo: String) -> Result<()> {
let app = Router::new()
.route("/", get(web_root))
.route("/build", get(web_build))
@@ -29,7 +30,10 @@ pub async fn webserver(db: Db) -> Result<()> {
.route("/nightly", get(web_nightly))
.route("/index.css", get(index_css))
.route("/index.js", get(index_js))
- .with_state(AppState { db });
+ .with_state(AppState {
+ db,
+ notification_repo,
+ });
info!("Serving website on port 3000 (commit {})", crate::VERSION);
@@ -80,6 +84,7 @@ async fn web_build(State(state): State
+ 🔔 does-it-build supports sending notifications to target maintainers via
+ GitHub issues. You can add yourself with
+ a PR. 🔔
+
diff --git a/templates/nightly.html b/templates/nightly.html
index 3207c90..cc5d5f1 100644
--- a/templates/nightly.html
+++ b/templates/nightly.html
@@ -52,8 +52,11 @@
{{ build.0 }}
{% match build.2 %} {% when Some with (build) %}
-
- {{ build.status.to_emoji() }}
+
+
+ {{ build.status.to_emoji() }}
+
+ [details]
{% when None %}
diff --git a/templates/target.html b/templates/target.html
index c5678ce..6df13d5 100644
--- a/templates/target.html
+++ b/templates/target.html
@@ -1,4 +1,4 @@
-
+
@@ -38,6 +38,12 @@
{% endfor %}
+ There is currently an open issue with a maintainer ping: + {{notification_repo}}/issues/{{issue}} +
+ {% endif %} {% if showing_failures %}show all @@ -57,8 +63,11 @@