Added comments and cleaned up python source code

This commit is contained in:
Lucas
2026-01-12 11:35:59 -08:00
parent e3868dbdad
commit 119f95a492
5 changed files with 17 additions and 19 deletions

View File

@@ -1,8 +1,9 @@
import os
import requests
import json
import os
from datetime import datetime, timedelta
import requests
INPUT_FILE = "core/data/dynamic/applications.json"
OUTPUT_FILE = "resources/maintenance/status_maintenance.md"
GITHUB_TOKEN = os.getenv("GITHUB_TOKEN")
@@ -18,6 +19,7 @@ potentially_abandoned = []
archived = []
no_longer_exists = []
# Check if projects are abandoned, archived, or no longer exist
for app in data.get("applications", []):
repo_url = app.get("repo_url")
if not repo_url or "github.com" not in repo_url: