You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
428 B
17 lines
428 B
2 years ago
|
"""Constants for the Gitea integration."""
|
||
|
from __future__ import annotations
|
||
|
|
||
|
from datetime import timedelta
|
||
|
from logging import Logger, getLogger
|
||
|
|
||
|
LOGGER: Logger = getLogger(__package__)
|
||
|
|
||
|
DOMAIN = "gitea"
|
||
|
|
||
|
DEFAULT_REPOSITORIES = ["Freeyourgadget/Gadgetbridge"]
|
||
|
FALLBACK_UPDATE_INTERVAL = timedelta(hours=1, minutes=30)
|
||
|
|
||
|
CONF_HOST = "https://codeberg.org/"
|
||
|
CONF_ACCESS_TOKEN = "access_token"
|
||
|
CONF_REPOSITORIES = "repositories"
|