chore: Rename project to service-update-alerts

Update project metadata, docs, and systemd unit names to match the new service-update-alerts naming.
This commit is contained in:
Jeena 2026-03-12 15:50:38 +00:00
parent 413766ed2b
commit 501a84e0a9
8 changed files with 19 additions and 19 deletions

View file

@ -536,7 +536,7 @@ def send_matrix_message(message: str, timeout: float) -> None:
fetch_response(
url,
timeout=timeout,
user_agent="check-for-updates",
user_agent="service-update-alerts",
extra_headers=headers,
data=payload,
method="PUT",
@ -556,7 +556,7 @@ def join_matrix_room(homeserver: str, room_id: str, token: str, timeout: float)
fetch_response(
url,
timeout=timeout,
user_agent="check-for-updates",
user_agent="service-update-alerts",
extra_headers=headers,
data=b"{}",
method="POST",
@ -570,7 +570,7 @@ def send_uptime_kuma_ping(timeout: float) -> None:
if not push_url:
return
try:
fetch_response(push_url, timeout=timeout, user_agent="check-for-updates")
fetch_response(push_url, timeout=timeout, user_agent="service-update-alerts")
except Exception as exc:
print(f"Uptime Kuma push failed: {exc}", file=sys.stderr)
@ -580,7 +580,7 @@ def main() -> int:
parser.add_argument("--config", default="services.yaml", help="Path to services YAML")
parser.add_argument("--all", action="store_true", help="Show all services")
parser.add_argument("--timeout", type=float, default=10.0, help="HTTP timeout in seconds")
parser.add_argument("--user-agent", default="check-for-updates/1.0", help="HTTP user agent")
parser.add_argument("--user-agent", default="service-update-alerts/1.0", help="HTTP user agent")
args = parser.parse_args()
load_dotenv()