From 87651eb21a0f83bc77b9e2df5efa9fe13118fb1c Mon Sep 17 00:00:00 2001 From: Benedikt Bertsch Date: Mon, 20 Apr 2026 18:29:50 +0200 Subject: [PATCH 1/3] fix: dont strip expected boolean values --- molior/api2/mirror.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/molior/api2/mirror.py b/molior/api2/mirror.py index b7ea92a1..382b1c5e 100644 --- a/molior/api2/mirror.py +++ b/molior/api2/mirror.py @@ -576,8 +576,8 @@ async def edit_mirror(request): mirrordist = params.get("mirrordist").strip() # noqa: E221 mirrorcomponents = params.get("mirrorcomponents").strip() # noqa: E221 architectures = params.get("architectures") # noqa: E221 - mirrorsrc = params.get("mirrorsrc").strip() # noqa: E221 - mirrorinst = params.get("mirrorinst").strip() # noqa: E221 + mirrorsrc = params.get("mirrorsrc") # noqa: E221 + mirrorinst = params.get("mirrorinst") # noqa: E221 mirrorkeyurl = params.get("mirrorkeyurl").strip() # noqa: E221 mirrorkeyids = params.get("mirrorkeyids").strip() # noqa: E221 mirrorkeyserver = params.get("mirrorkeyserver").strip() # noqa: E221 From 4d169a1f4494b96c7ff283f05ccaa62ff1ad7093 Mon Sep 17 00:00:00 2001 From: Benedikt Bertsch Date: Mon, 20 Apr 2026 18:31:54 +0200 Subject: [PATCH 2/3] chore: update README.md to setup the docker environment for molior --- README.md | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b466d37d..36c7b962 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ The molior Debian Build System consists of the following components: ## Login to the Web UI -Point your browser to the URL of the molior server, login with admin and the password defined in /etc/molior/molior/yml. +Point your browser to the URL of the molior server, login with admin and the password defined in `/etc/molior/molior.yml`. ## Creating Mirrors @@ -125,7 +125,7 @@ The following will mirror Debian/stretch for amd64 and arm64. It will take appro Depending on the network and disk performance, this might take a 2-3 hours. -Note: if you are mirroring Debian/buster use these keys: 04EE7237B7D453EC 648ACFD622F3D138 DCC9EFBF77E11517) +Note: if you are mirroring Debian/buster use these keys: 04EE7237B7D453EC 648ACFD622F3D138 DCC9EFBF77E11517 ## Example a non-base mirrors @@ -222,6 +222,22 @@ Debian packages can be build with: debuild -us -uc -b ``` +## Docker Compose Environment + +Its important to clone the [molior-web2]() repository next to molior, the docker compose of the web service relies on it. + +Start the docker setup with the following commands: + +```bash +docker compose up -d # to start all docker containers +``` + +Additionally the default login credentials are the following: +Username: admin +Password: molior-dev + +Note: If the login resets everytime you login, clear your application data specifically your cookies to make sure that there is nothing that was left from a previous login test. + # Authors - André Roth From 032617f5f043a11c814e8e04346ad936b8347eb8 Mon Sep 17 00:00:00 2001 From: Benedikt Bertsch Date: Mon, 20 Apr 2026 20:02:56 +0200 Subject: [PATCH 3/3] fix: missing link in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 36c7b962..da5108b3 100644 --- a/README.md +++ b/README.md @@ -224,7 +224,7 @@ debuild -us -uc -b ## Docker Compose Environment -Its important to clone the [molior-web2]() repository next to molior, the docker compose of the web service relies on it. +Its important to clone the [molior-web2](https://github.com/molior-dbs/molior-web2) repository next to molior, the docker compose of the web service relies on it. Start the docker setup with the following commands: