From b61fc348e3ab3e4cc3c0baf900ef5178935c9b14 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sun, 21 Mar 2021 19:32:07 +0100 Subject: [PATCH] Let's forget about ARM & testing CI for now --- app/models/appci.py | 16 +--------------- app/templates/base.html | 4 ---- 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/app/models/appci.py b/app/models/appci.py index b5ffc21..63641c2 100644 --- a/app/models/appci.py +++ b/app/models/appci.py @@ -26,20 +26,6 @@ class AppCIBranch(db.Model): url='https://ci-apps.yunohost.org/ci/logs/list_level_stable_amd64.json', url_per_app='https://ci-apps.yunohost.org/ci/apps/{}/') - yield AppCIBranch(name='arm', - arch="arm", - branch="stable", - display_name='Stable (ARM)', - url='https://ci-apps-arm.yunohost.org/ci/logs/list_level_stable_armhf.json', - url_per_app='https://ci-apps-arm.yunohost.org/ci/apps/{}/') - - yield AppCIBranch(name='testing', - arch="x86", - branch="testing", - display_name='Testing (x86)', - url='https://ci-apps-unstable.yunohost.org/ci/logs/list_level_testing_amd64.json', - url_per_app='https://ci-apps-unstable.yunohost.org/ci/apps/{}/') - yield AppCIBranch(name='unstable', arch="x86", branch="unstable", @@ -103,7 +89,7 @@ class AppCIResult(db.Model): @property def needs_attention(self): - return self.outdated or self.level is None or self.app.public_level == "?" or (int(self.app.public_level) > self.level) + return self.outdated or self.level is None or self.app.public_level == "?" or (int(self.app.public_level) > self.level) class AppCI(): diff --git a/app/templates/base.html b/app/templates/base.html index f76944c..791711a 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -32,14 +32,10 @@