From 12d071075d0539f17f4eaf660f3b297c54ee84a9 Mon Sep 17 00:00:00 2001 From: phil Date: Thu, 5 Dec 2024 14:59:03 +0100 Subject: [PATCH] Update base url for doc and container --- CONTAINER.md | 8 ++++---- Containerfile | 2 +- README.md | 8 ++++---- pyproject.toml | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/CONTAINER.md b/CONTAINER.md index 5ee352d..279d65e 100644 --- a/CONTAINER.md +++ b/CONTAINER.md @@ -3,13 +3,13 @@ Use `podman` or `docker`: ```sh -podman run registry.philo.ydns.eu/philo/sms-handler +podman run code.philo.ydns.eu/philorg/sms-handler ``` Parameters are given as environment variables, eg.: ```sh -podman run -e SMS_HANDLER_MAIL_SERVER_PORT=8025 -e SMS_HANDLER_MAIL_SENDER=snoopy@peanuts.com SMS_HANDLER_MAIL_TO=snoopy@peanuts.com registry.philo.ydns.eu/philo/sms-handler +podman run -e SMS_HANDLER_MAIL_SERVER_PORT=8025 -e SMS_HANDLER_MAIL_SENDER=snoopy@peanuts.com SMS_HANDLER_MAIL_TO=snoopy@peanuts.com code.philo.ydns.eu/philorg/sms-handler ``` ## Container as a systemd service @@ -26,7 +26,7 @@ The configuration is given as environment variables (email addresses `snoopy@pea ContainerName=sms-handler Environment=SMS_HANDLER_MAIL_SENDER=snoopy@peanuts.com Environment=SMS_HANDLER_MAIL_TO=snoopy@peanuts.com -Image=registry.philo.ydns.eu/philo/sms-handler +Image=code.philo.ydns.eu/philorg/sms-handler Network=podman PublishPort=8025:8025 @@ -64,7 +64,7 @@ For a rootless container, create a file in `/etc/containers/systemd/sms-handler. ContainerName=sms-handler Environment=SMS_HANDLER_MAIL_SENDER=snoopy@peanuts.com Environment=SMS_HANDLER_MAIL_TO=snoopy@peanuts.com -Image=registry.philo.ydns.eu/philo/sms-handler +Image=code.philo.ydns.eu/philorg/sms-handler Network=podman PublishPort=8025:8025 diff --git a/Containerfile b/Containerfile index 88bf1c6..d413c9b 100644 --- a/Containerfile +++ b/Containerfile @@ -1,4 +1,4 @@ -# Build: podman build -t registry.philo.ydns.eu/philo/sms-handler -f Containerfile +# Build: podman build -t code.philo.ydns.eu/philorg/sms-handler -f Containerfile FROM docker.io/python:3.12-alpine COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/ diff --git a/README.md b/README.md index d9428de..61a39af 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # About sms-handler -[sms-handler](https://philo.ydns.eu/code/Philome/sms-handler) is a simple companion service of the +[sms-handler](https://code.philo.ydns.eu/philorg/sms-handler) is a simple companion service of the *SMS to URL Forwarder* app available on [F-Droid](https://f-droid.org/en/packages/tech.bogomolov.incomingsmsgateway/), to send notification mails on reception of SMSes. @@ -10,14 +10,14 @@ or configured as a relay. ## Installation ```sh -PIP_EXTRA_INDEX_URL=https://pypi.org/simple/ pip install --index-url https://philo.ydns.eu/code/api/packages/Philome/pypi/simple/ sms-handler +PIP_EXTRA_INDEX_URL=https://pypi.org/simple/ pip install --index-url https://code.philo.ydns.eu/api/packages/philorg/pypi/simple/ sms-handler ``` Debian and other systems prefer using `pipx` instead of `pip`: ```sh sudo apt install -y pipx -PIP_EXTRA_INDEX_URL=https://pypi.org/simple/ pipx install --index-url https://philo.ydns.eu/code/api/packages/Philome/pypi/simple/ sms-handler +PIP_EXTRA_INDEX_URL=https://pypi.org/simple/ pipx install --index-url https://code.philo.ydns.eu/api/packages/philorg/pypi/simple/ sms-handler ``` *sms-handler* can be run with any unprivileged user. @@ -142,7 +142,7 @@ the destination IP:port `127.0.0.1:8025` for your setup. Download source code, create a Python virtual environment, install dependencies and run the tests: ```sh -git clone https://philo.ydns.eu/code/Philome/sms-handler.git +git clone https://code.philo.ydns.eu/philorg/sms-handler.git cd sms-handler uv venv uv sync diff --git a/pyproject.toml b/pyproject.toml index 0d4cd7d..5d99793 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "sms_handler" -version = "0.0.6" +version = "0.0.7" #dynamic = ["version"] description = "Listen to messages from the SMS Forwarder app on Android and send mail" readme = "README.md"